 |
intoK Apprentice
Joined: 18 Feb 2007 Posts: 190
|
Posted: 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? )
| 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
another thing, it apparently needs use threads for command line enabled to break stuff |
|
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Wed Oct 29, 2008 4:44 pm |
Added to bug list. Looks like another threading issue with Lua.
|
|
|
|
 |
intoK Apprentice
Joined: 18 Feb 2007 Posts: 190
|
Posted: 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
|
|
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Thu Feb 05, 2009 7:05 pm |
Fixed for v3.04
|
|
|
|
 |
|
|
|