Pyron Beginner
Joined: 11 Mar 2003 Posts: 19 Location: USA
|
Posted: Wed Jul 19, 2006 12:50 pm
[1.03] #GAG Command Crashes/Enters Last Command |
This is a bug I noticed in 1.02 as well and it has 2 parts:
1) Creating a trigger that uses the gag command will crash Cmud or it will work but will cause the last command to repeat itself, which may cause a loop if the last command creates the text that you were trying to gag.
ie:
Code: |
#tr {Dispel what?} {#gag}
#al di {dispel greater winds;cast layered winds me outer high} |
(If you don't have winds casted it will say "Dispel what?", which will get gagged. However, it will also do the cast layered winds command multiple times instead of just once and cause a loop that amazingly stops itself after 1-3 times.)
ie:
Hp: 2105(2105) Gp: 9240(9240) Xp: 407392(120000000)
Code: |
#tr {Hp: (%d)~((%d)~) Gp: (%d)~((%d)~) Xp: (%d)~((%d)~)(*)} {#var hp %1;#var maxhp %2;#var gp %3;#var maxgp %4;#var xp %5;#var maxxp %6} |
This trigger works now and will update the variables properly. However, add a #gag; in there and it'll cause a crash.
I'd submit a bug report but I can't connect to the server through my firewall for some reason.
Pyron |
|