StatusGauge COMponent and the AutoHealer plugin

Posted by Ked on Thu 13 May 2004 06:14 PM — 2 posts, 15,607 views.

Russia #0
My lengthy quest for a wxPython COM object that can be used with Mushclient has finally been resolved by wxPython developers, who've finally changed the library's initialization mechanism to where you don't need to act like a thief when importing wx in a secondary thread. To commemorate that heroic effort on their part I've quickly finished the component and wrapped it up with a StatusGauge plugin for interfacing to it from Mushclient, and a new and improved version of the AutoHealer plugin for Achaea, which now supports the OnPluginPartialLine event, has a better prompt regexp, and can use the StatusGauge to display health and mana. Please read the plugins' descriptions and the readme file included in the archive here: http://www.geocities.com/keldar_atavian/

If you have problems downloading it, then you can use the links from this post: http://www.darkfenixxx.biz/achaeaforum/viewtopic.php?t=731

[EDIT] Those links are no longer valid, use the Geocities address above.
Amended on Wed 19 May 2004 02:39 PM by Ked
Poland #1
StatusGauge doesnt really work for me.. I installed Python 2.3.4 (from python.org), win32all from the site you pointed in the readme file, and wxPython, first the current version: 2.5.2.8, and now the previous 2.5.2.7 (couldnt find the 2.5.1 one, the wxPython site pointed to SourceForge where I only got the 2.5.2.7).
The problem is that the SG window is blank - there are no bars. All I see is the caption, the title, and the outline of the window. The inside is grey. I tried to 'gauge.update' with several arguments, and never got any response from the SG (although I'm 100% sure that the statgauge.update sub is being called with the right arguments). Also, I didnt touch the init settings, left them at default. This might be caused by different version of wxPython used.. although I have no idea if that is indeed the case.
Another problem is that the gauge doesnt seem to close properly - when I close the world window the SG window remains open. So when I open the world window again, I get an exception and MUSHC crashes. Also, sometimes the gauge.close alias doesnt seem to work - running it seems to have no effect whatsoever.