Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ Wine
➜ Scripting in WINE
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Anatole
(2 posts) Bio
|
Date
| Fri 16 Dec 2005 04:43 PM (UTC) |
Message
| My computer is being repaired but in the mean time I can use my friend's Win XP box. I`d like to create a script for my IRE MUD, thing is, I usually run Linux thus would like to use it there using Wine / Cedega (which one runs MC best ?). So the question would be, which languange is best supported by MC under Wine ?
p.s.
I dont have the priv to change registry in Win XP box, so my registration key doesnt work i.e. the next time I start MC it stays unregistered. Hopefully it wont be that way in cedega /wine | Top |
|
Posted by
| Anatole
(2 posts) Bio
|
Date
| Reply #1 on Fri 16 Dec 2005 05:22 PM (UTC) |
Message
| looks like the best supported languange would be LUA, I'd rather use python since I am already familiar with it. Is it possible to use Perl / Python in MC running under Wine or Cedega ? | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #2 on Fri 16 Dec 2005 09:42 PM (UTC) |
Message
| I haven't tried Cedega.
As for Wine, try seaching this forum. Here is a page which shows reasonable success getting it to work:
http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=4232
I would recommend Lua for Wine, as that is a simple DLL which ships with MUSHclient anyway, and doesn't use the COM interface, which may cause problems.
I have had VBscript working under Wine, however the installer didn't, so I had to manually copy the vbscript.dll from my Windows PC to the Wine one.
You may have similar problems with Perl / Python. They might work, if you can get the installer to work.
I would give Lua a try, it isn't that hard to learn, and is nicely integrated with MUSHclient now. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| 1of10
Canada (54 posts) Bio
|
Date
| Reply #3 on Tue 18 Mar 2008 10:51 AM (UTC) |
Message
| Nick:
I don't suppose you could offer any basic tips on getting VBscript working under Wine? I just installed MUSHclient under Wine 0.9.56-1 on Fedora Core 8. Most all of my own plugins are written in Perl, but there's the odd one that still uses VBscript.
I used to be very much at home with Linux... way back around the time of Slackware 7. I've recently started using Linux again -- installed FC8 as second/default OS on my notebook PC -- and I'm still re-familiarizing myself with everything. Tips would be very much appreciated! :-)
Some basic questions I'm looking for answers to are:
1) You mentioned the installer not working... I presume that's the Microsoft scripting languages installer? So, if I just copy the DLL files from my Windows XP partition into the Wine-specific Windows directory, is that all to make it work, or do I need more DLLs, such as for COM?
2) After MUSHclient crashed under Wine while attempting to open a world that uses a plug-in written in VBscript, I removed that plug-in and had the same result for another plug-in, but this one written in Perl (using PerlScript provided by ActivePerl on Microsoft Windows). Since you mentioned possible issues with Perl/Python as well, do you know of any quick solutions to that -- copy DLLs like above? Or, do you know of anything I can look for with regards to a package I can install via yum/apt/etc.?
These plugins are not important; not required for the worlds to work correctly, however, there are a few in-line scripts used by the odd trigger, alias or macro inside the world...
I'd love to continue using MUSHclient with Fedora, and I have only a very limited copy-hack-n-paste knowledge of Lua that I got from re-writing a couple of tiny Lua functions for SciTe (my favourite text/code editor). I don't really know much of anything about Lua yet.
I will continue searching these forums. I would also value any wisdom you could pass on. :-) |
One of Ten
Secondary Adjunct of Unimatrix Z03 | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #4 on Tue 18 Mar 2008 07:48 PM (UTC) |
Message
| Wine is improving, so the first approach would be to grab the VBscript (and Perlscript) installers and trying them. You would need to use Wine to run them. So you might put them into your home directory, start a "console" application, and then type "wine <installer-name>".
If that doesn't work, I would:
- Go to a working Windows installation, and grab the appropriate DLL (eg. vbscript.dll).
- Put that into the same directory as mushclient.exe.
- Start MUSHclient.
- Go the scripting configuration tab (in one of your worlds).
- Change the script language temporarily to the new one (eg. Vbscript).
- Click on the "Register DLL" button. That should make the appropriate entries in the Registry so it knows that DLL exists.
That might work. :)
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Shaun Biggs
USA (644 posts) Bio
|
Date
| Reply #5 on Tue 18 Mar 2008 08:22 PM (UTC) |
Message
| Nick's second suggestion should work for VBScript. I used those exact methods to get JScript working before I converted everything over to Lua. I was unable to get VBScript working, but this is with an ancient version, so it might work on newer builds of Wine. If I remember correctly, I grabbed the JScript dll from http://www.dll-files.com/
|
It is much easier to fight for one's ideals than to live up to them. | Top |
|
Posted by
| Shaun Biggs
USA (644 posts) Bio
|
Date
| Reply #6 on Thu 27 Mar 2008 10:15 PM (UTC) |
Message
| Well, as a bit of an update to this post, it looks like Wine is now adding jscript.dll support. Also, with the additional work on the MSI, it appears that they are working on getting VBScript to work as well.
Quote:
This is release 0.9.58 of Wine, a free implementation of Windows on Unix.
...
- Beginning of jscript dll support.
|
It is much easier to fight for one's ideals than to live up to them. | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
29,917 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top