|
zeiuszeppo Novice
Joined: 22 Nov 2001 Posts: 48 Location: Italy
|
Posted: Tue Mar 05, 2002 7:05 pm
lagged trigger |
I made a trigger not complex, but as it
starts the mouse cursor freeze lagging the
execution. Is there a way to see every line of code that zmud generates from a trigger.
I think that my trigger runs a hard code |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Tue Mar 05, 2002 8:06 pm |
zMUD doesn't generate any code from the lines of a trigger. It just reads it line, interprets it, and executes it.
Could you post your trigger for all to see?
Kjata |
|
|
|
zeiuszeppo Novice
Joined: 22 Nov 2001 Posts: 48 Location: Italy
|
Posted: Tue Mar 05, 2002 8:22 pm |
pattern: ^%s(%w)%s(%*)%sHP: (%d)~% MANA
value:
#MATH NumberPG @NumberoPG+1
#VAR PG@NumberoPG %1
#IF (@NumberPG=1) {#VAR Leader %1}
#IF (%3<@WoundedQ) {
#MATH WoundedQ %3
#VAR Wounded%1
}
The code freeze the zmud for a while if
zmud must executes this code a lot of times
(tipically 5-6 at the same time, because
I receive from the mud 5-6 string one after
another that matches the pattern)
this is the accused code (i suppose!)
I'm sure the freezing is caused in this
pattern, but not sure for the code! |
|
|
|
|
|