MUSHclient using wine freezing after adding plugin with error in code

Posted by Zantiln on Fri 07 Nov 2008 06:09 PM — 4 posts, 18,550 views.

#0
I am using Ubuntu Hardy with Wine to run MUSHclient. I have recently been playing with plugins and scripts to get more practice with them. Immediately after adding a plugin that I made (I'm guessing there was an error in the lua code), MUSHclient crashed and I have been unable to run it again. Whenever I try to open MUSHclient now, it brings up the first starting image (with the genie lamp thing), then immediately crashes again.

I did not see the plugin that I added last in the file Aardwolf.MCL, so I'm not really sure how to "undo" the last plugin added. Do I have to completely reinstall?? Or is there some line and/or file that I am missing?
Russia #1
There's a problem with the notepad in Wine, which might be causing this. Try setting Wine to emulate Windows 98 for Mushclient.
Australia Forum Administrator #2
I agree, a bug in your plugin is probably trying to open the notepad window to show you the bug, and that is crashing MUSHclient under Wine. The setting of Wine to emulate Windows 98 should fix that.

As for where the plugins are in the world file, inside the world file (open in some text editor) you should see:


<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE muclient>
<!-- Saved on Saturday, November 08, 2008, 2:50 PM -->
<!-- MuClient version 4.37 -->
<!-- Written by Nick Gammon -->
<!-- Home Page: http://www.mushclient.com/ -->
<muclient>
<world

.... a whole lot of stuff here ....

<!-- plugins -->
<include name="Copy_Output.xml" plugin="y" />
<include name="Aardwolf\AFK_Detector.xml" plugin="y" />
<include name="Aardwolf\Playing_Detector.xml" plugin="y" />
</muclient>


In other words, they are at almost the end of the world file.

Amended on Sat 08 Nov 2008 03:00 AM by Nick Gammon
#3
I ended up reinstalling MUSHclient anyway, but after setting wine to emulate win98, I could not recreate the same crash.

THANKS FOR THE TIP!!