Creating a plugin to interface with an app..

Posted by Zirnitra on Tue 22 Dec 2009 05:45 PM — 6 posts, 20,361 views.

#0
I followed a tutorial on creating a compass walking panel in Python, using UDP to communicate with the MUD, or something. The problem is the tutorial never had a Part Three which was to build the MUSH plugin. If I provided enough information would someone be able to explain how this is done?
USA #1
Perhaps. It would help if you could point out where the tutorial is located.

If the app is just intended to be a compass panel that you can click on to move, or just as a visual reminder of the exits you can use, then why don't you use MUSHclient's miniwindow functionality? It allows you to create visual widgets right in the output area of MUSHclient, which you can draw graphics to (lines, gradients, images, the list goes on). Then it would all be encapsulated into a plugin without any external app to deal with.

It's worth mentioning, by the way, that a friend of mine did just that to make a compass plugin for Achaea (one of the Iron Realms MUDs). If you'd like the source I'm sure I could find it for you.
Amended on Tue 22 Dec 2009 05:51 PM by Twisol
#2
Oh, that sounds perfect. I've been reading old information. I thought the client was never going to support UI features.

Heres the tutorial: http://forums.lusternia.com/index.php?showtopic=1701

Part two is linked in a post some way down.

I'll see what I can do with those features and hopefully not have to come back for help.
#3
Oh and I'd love to have that source if it's not too much trouble. Not that I'd know what to do with it first. (anything to avid a near zMUD experience)
USA #4
Oh, yes, I've seen that one before. I was also a bit annoyed that it didn't have a part three.

Here's a link to the page where my friend put his plugins [1]. He's retired from Achaea and he took his site down for the most part, so all of his MUSHclient plugins are compressed into a single .zip. It's the nexus compass plugin that you want. Note that it uses ATCP, so if you'd rather get your compass data through other means, you'll have to do that yourself.

Shameless plug, by the way: I'm working on a widget framework for MUSHclient, that I hope will eventually make it a lot easier to develop graphical widgets in MUSHclient. It's moving along quite nicely right now, so it shouldn't be too long...


[1] http://sites.google.com/site/trevizemoonflair/
#5
Thanks. I cheated in the end and found a JScript compass made for Lusternia. Only problem now is Java not working, but that shouldn't be hard to fix in the Java forum.

I've bookmarked your sig as I intend to figure out UI scripting. :)