Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Petethemeat
Newbie


Joined: 25 Dec 2010
Posts: 2

PostPosted: Sat Dec 25, 2010 5:55 pm   

Port a Cmud script to Lua
 
I kindly wonder if anyone could help me port a Cmud script to Lua ?
I tried to work it out my own way but I give up, its just not my thing i guess!

I rather not publish the script here, however, I could publish parts of it here but I would be very glad to discuss it over PM instead.

Regards
Jacob
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Sat Dec 25, 2010 7:20 pm   
 
I can't help you with the Lua, but I have to wonder, is there some reason you want this script in Lua? If it's not your thing, then zscript should work just fine. Porting to Lua probably isn't going to give any advantages.
Reply with quote
Petethemeat
Newbie


Joined: 25 Dec 2010
Posts: 2

PostPosted: Sat Dec 25, 2010 7:54 pm   
 
My friend uses Mushclient and wish to use my script, I would gladly hand it over to him but we have no knowledge of how to port it !
Reply with quote
Yetzederixx
Beginner


Joined: 19 Oct 2010
Posts: 14
Location: Sulphur, LA

PostPosted: Mon Dec 27, 2010 8:02 am   
 
Since you're not willing to share the only alternative is to start reading...

ZS Object: http://forums.zuggsoft.com/modules/mx_kb/kb.php?page=3&mode=doc&k=2926
How to Program in Lua: http://www.lua.org/pil/index.html
Lua Reference Manual: http://www.lua.org/manual/5.1/
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon Jan 03, 2011 6:14 pm   
 
Your friend using MUSHclient won't be able to use your script even if you write it in Lua. Even though both CMUD and MUSHclient use Lua, the interface between Lua and the MUD client itself is completely different. For example, CMUD uses the "ZS Object" as linked above, which is completely different than what MUSHclient uses.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net