I got things about half wrong when looking at this. The wxLua implimentation for windows *comes* with the dlls for wxWidgets, *however*, there is now .lua or other binding method to tie them into Lua5.1. Instead, it appears that you have to link against wxlua.dll?, which itself links against lua5.1.dll to get the main language elements. Its not possible to simply drop wxlua into the directory with Mushclient and have it work.
Now, the "good" thing about it is that, in theory, if wxlua was added/traded for the script engine for the client, the connect functions for events are part of the wxlua libraries, no need for luacom to be added. And the only line you should have to change in the code for their example on the main page is the first one:
This would expand what the client can do by a lot, since it would give access to all functions available through wxWidgets, including windows, buttons, images, etc. Basically, everything that at the moment is a pain in the rear to impliment with an external application (which is in turn a lot harder for people to program). My only real complaint is the sketchy documentation for it, which, while it gives examples, isn't 100% clear on just how the bits fit together. I guess you are supposed to look at the source code, which includes the source for an exe that impliments it. I presume its pretty much the same as the existing lua5.1.
Anyway, you might want to take a look at it and see if it is implimentable. It shouldn't assuming the way it ties in is the same, effect existing scripts, just extend what they are capable of. The only drawback I can see is that a significantly new release of Lua may not be immediately usable with wxlua (such as going to a lua5.2.dll, etc.).
http://wxlua.sourceforge.net/index.php
Now, the "good" thing about it is that, in theory, if wxlua was added/traded for the script engine for the client, the connect functions for events are part of the wxlua libraries, no need for luacom to be added. And the only line you should have to change in the code for their example on the main page is the first one:
frame = wx.wxFrame(wx.wxNull, wx.wxID_ANY, "wxLua Minimal Demo",
wx.wxDefaultPosition, wx.wxSize(450, 450),
wx.wxDEFAULT_FRAME_STYLE)
to
frame = wx.wxFrame(World.GetFrame, wx.wxID_ANY, "wxLua Minimal Demo",
wx.wxDefaultPosition, wx.wxSize(450, 450),
wx.wxDEFAULT_FRAME_STYLE)This would expand what the client can do by a lot, since it would give access to all functions available through wxWidgets, including windows, buttons, images, etc. Basically, everything that at the moment is a pain in the rear to impliment with an external application (which is in turn a lot harder for people to program). My only real complaint is the sketchy documentation for it, which, while it gives examples, isn't 100% clear on just how the bits fit together. I guess you are supposed to look at the source code, which includes the source for an exe that impliments it. I presume its pretty much the same as the existing lua5.1.
Anyway, you might want to take a look at it and see if it is implimentable. It shouldn't assuming the way it ties in is the same, effect existing scripts, just extend what they are capable of. The only drawback I can see is that a significantly new release of Lua may not be immediately usable with wxlua (such as going to a lua5.2.dll, etc.).
http://wxlua.sourceforge.net/index.php