plugin give an error

Posted by Sherazod on Thu 20 Aug 2009 06:18 AM — 2 posts, 12,394 views.

#0
So the game I play has a plugin created for it by someone from the player base. I have not been able to contact the author. When I try to install the plugin it gives an error.
The initial error is.

Error number: 0
Event: Run-time error

[string "Plugin"]:155: module 'InfoBox' not found:
no field package.preload['InfoBox']
no file '.\InfoBox.lua'
no file 'C:\Program Files\MUSHclient\lua\InfoBox.lua'
no file 'C:\Program Files\MUSHclient\lua\InfoBox\init.lua'
no file 'C:\Program Files\MUSHclient\InfoBox.lua'
no file 'C:\Program Files\MUSHclient\InfoBox\init.lua'
stack traceback:
[C]: in function 'require'
[string "Plugin"]:155: in main chunk



Also throws and XML important warnings-
Line 60: Error parsing script (problem in this file)


The code is quite complex and I must admit above me. If I could get any insights as to why it has these errors occur I would greatly appreciates it.

The code it to long to place in this forum it can bee found at:
http://cid-73890baf188d56e7.skydrive.live.com/self.aspx/Public/MushClient%20plugins%20for%20Portal%20MIP/Gauges|_MIP.xml
Australia Forum Administrator #1
See this post:

http://www.gammon.com.au/forum/bbshowpost.php?id=9097

I suggest you download the file:

http://www.gammon.com.au/mushclient/plugins/InfoBox.zip

Unzip it and copy InfoBox.lua into the "lua" subdirectory under wherever you installed MUSHclient. That should certainly help.