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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
intoK
Apprentice


Joined: 18 Feb 2007
Posts: 190

PostPosted: Wed Oct 29, 2008 2:10 pm   

[2.36 lua] zs.send breaking zs.param
 
finally isolated one, not related to cd path after all

1. esc for empty session
2. create new trigger and alias and paste below respective xml to tab (-- for some reason pasting to class will make triggers invisible... 2.37 time after all? Wink )

Code:

   <trigger priority="10" copy="yes" language="Lua">
      <pattern>^(a)</pattern>
      <value>print("- " .. zs.param(1))
      </value>
   </trigger>


    <alias name="test" copy="yes" language="Lua">
      <value>send("test")</value>
    </alias>

3. type "#SA a"
4. type "test" - notice processing delay
5. type "#SA a" again ... notice ?!???!!

screennie below


forgot to add it needs to be done directly from alias, zs.send from comm line works fine... its also the same thing that breaks sub psub and causes general havoc Very Happy

another thing, it apparently needs use threads for command line enabled to break stuff
Reply with quote
Zugg
MASTER


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

PostPosted: Wed Oct 29, 2008 4:44 pm   
 
Added to bug list. Looks like another threading issue with Lua.
Reply with quote
intoK
Apprentice


Joined: 18 Feb 2007
Posts: 190

PostPosted: Wed Oct 29, 2008 7:34 pm   
 
nods, not clue how you realize threading in cmud, so cannot really comment, but heres nice overview of lua threading expansions
Reply with quote
Zugg
MASTER


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

PostPosted: Thu Feb 05, 2009 7:05 pm   
 
Fixed for v3.04
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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