Mushclient with python scripts in a memory stick

Posted by Mpa on Fri 29 Sep 2006 05:39 PM — 9 posts, 41,085 views.

#0
Back in the days when MC only supported JavaScript and VBScript, I used to play MUD in a random internet cafe or campus computer room by sticking a CD containing Mushclient, my scripts and the world file.

These days, I usually only play in my own computer since I have long since converted my VBScripts to Python.

I still would like to play MC from anywhere by using a memory stick or CD. Is it doable if the computer where I play it doesnt have activestate python ? Is there a way to put python in the memory stick and tell mushclient to use it from there ?

And no, Lua is kinda out of the question right now. Changing all my achaean scripts to Lua would take hours just to write and days to test them out, that is if I could even do it in the first place.

Any ideas ?
USA #1
I have no idea when it come to python, but I SERIOUSLY recommend using LUA, as is has now become the main language being used in scripts, as it is universal, and needs no additional installs, and even will work on Linux, when running MUSHclient via 'Wine'.

I might be able to convert your scripts to LUA, just upload them somewhere, or e-mail them to me at onoitsu2@yahoo.com

I do not play on Archea, but am quite proficient at converting nearly any language to LUA, as I have done for MANY personal friends.

Laterzzz,
Onoitsu2
Australia Forum Administrator #2
I've tried for about an hour to make this work, but can't even get anything to happen.

Unlike some other scripting engines, where you can grab the DLL and do regsvr32 (dll) - Python seems more complex. I hate this sort of stuff where even installing is a major problem.

There is a python script you are supposed to run to enable the scripting engine. However to run that script you need python installed.

All I can suggest is put the complete Python installer on the memory stick and hope they don't mind you installing it. And even then, make sure you run the python script installer as well, see:

http://www.gammon.com.au/forum/?id=3099

If that doesn't work, well maybe Lua is looking more attractive. ;)
USA #3
I have often run MUSH off of a memory stick, and the biggest problem was running it on non-priviledged computers. This I solved by putting a copy of regedit.exe on the memory stick, as well as a copy of my local computer's MUSHclient registry section. Drag the .reg file onto regedit.exe, and you're good to go!
USA #4
some systems have regedit disabled, I have a program called reg3dit, which is a hacked version of regedit, that allows you to alter the registry even in those situations.

E-mail me at onoitsu2@yahoo.com if you would like me to reply with it attached in a zip, cause I cannot upload exe on yahoo, or at least not 90% of the time.

Laterzzz,
Onoitsu2
USA #5
W98 has a bug I think, where even if you aren't allowed to use the regedit.exe in the system folder, any copy of regedit from another allowed computer on a flash drive or something will work. Least, that was how I got around it ;)
USA #6
Well any NT based Windows OS is smarter in that respect.
It looks at the executable itself and will diallow execution of it.

Laterzzz,
Onoitsu2
#7
Oo

Does it allow you to change registry (install activepython) without admin privileges.
#8
Oh and right now I am using Tsunami's ACS and start making my own scripts in Lua.