![](templates/Classic/images/spacer.gif) |
acaykath Wanderer
Joined: 03 Aug 2005 Posts: 84
|
Posted: Sat Jun 30, 2007 6:02 am
Syntax Check Causeing Freeze |
Code: |
#CLASS {Color Damage}
#TRIGGER {Your clumsy * ({misses|bruises}) *.} {#PCOL #FFFFFF %x1}
#TRIGGER {Your wobbly * ({scrapes|scratches}) *.} {#PCOL #DDDDFF %x1}
#TRIGGER {Your amateur * ({lightly wounds}) %w *.} {#PCOL #BBBBFF %x1}
#TRIGGER {Your amateur * ({injures}) *.} {#PCOL #9999FF %x1}
#TRIGGER {Your competent * ({harms}) *, creating a bruise.} {#PCOL #7777FF %x1}
#TRIGGER {Your competent * ({thrashes}) *, leaving marks!} {#PCOL #5555FF %x1}
#TRIGGER {Your skillful * ({mauls}) *!} {#PCOL #3333FF %x1}
#TRIGGER {Your skillful * ({maims}) *!} {#PCOL #1111FF %x1}
#TRIGGER {Your cunning * ({decimates)) *, the wound bleeds!} {#PCOL #1100FF %x1}
#TRIGGER {Your cunning * ({devastates}) *, hitting organs!} {#PCOL #3300FF %x1}
#TRIGGER {Your calculated * ({mutilates}) *, shredding flesh!} {#PCOL #5500FF %x1}
#TRIGGER {Your calculated * ({cripples}) *, leaving ({GAPING}) holes!} {#PCOL #7700FF %x1;#PCOL #7700FF %x2}
#TRIGGER {Your calm * ({DISEMBOWELS}) *, guts spill out!} {#PCOL #9900FF %x1}
#TRIGGER {Your calm * ({DISMEMBERS}) *, blood sprays forth!} {#PCOL #BB00FF %x1}
#TRIGGER {Your furious * ({ANNIHILATES})! *, revealing bones!} {#PCOL #DD00FF %x1}
#TRIGGER {Your furious * ({OBLITERATES})! *, rending organs!} {#PCOL #FF00FF %x1}
#TRIGGER {Your frenzied * (EVISCERATES)!! *, severing arteries!} {#PCOL #FF00CC %x1}
#TRIGGER {Your frenzied * ({DESTROYS})!! *, shattering bones!} {#PCOL #FF00AA %x1}
#TRIGGER {Your barbaric * ({MASSACRES})!!! *, gore splatters everywhere!} {#PCOL #FF0088 %x1}
#TRIGGER {Your fierce * !({ERADICATES})! *, leaving little remaining!} {#PCOL #FF0066 %x1}
#TRIGGER {Your deadly * !(DECAPITATES)! *, scrambling some brains!} {#PCOL #FF0044 %x1}
#TRIGGER {Your legendary * !!({SHATTERS})!! * into tiny pieces!} {#PCOL #FF0022 %x1}
#CLASS 0
|
Either sent by command line, or in the code editor, a syntax check of this causes Cmud to freeze. I am no genius, but an ok or error would be more appropriate than causing the program to freeze. |
|
|
![](templates/Classic/images/spacer.gif) |
Fang Xianfu GURU
![](images/avatars/1763170544a2093e7e85da.gif)
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Sat Jun 30, 2007 11:08 am |
Obviously it's not deliberate that CMUD freezes in this situation, it's some kind of untrapped error. Confirmed, CMUD starts using 100% processor and refuses to respond when I paste that onto the command line and press enter.
|
|
|
![](templates/Classic/images/spacer.gif) |
Arminas Wizard
Joined: 11 Jul 2002 Posts: 1265 Location: USA
|
Posted: Sat Jun 30, 2007 1:25 pm |
The error that is bringing everything to it's knees is this.
#TRIGGER {Your cunning * ({decimates)) *, the wound bleeds!} {#PCOL #1100FF %x1}
It should be.
#TRIGGER {Your cunning * ({decimates}) *, the wound bleeds!} {#PCOL #1100FF %x1}
Or I daresay.
#TRIGGER {Your cunning * (~{decimates~}) *, the wound bleeds!} {#PCOL #1100FF %x1}
If you just paste that line in by itself it properly shows you the syntax error.
If however you paste it and the line beneath it in it locks up Cmud.
#TRIGGER {Your cunning * ({decimates)) *, the wound bleeds!} {#PCOL #1100FF %x1}
#TRIGGER {Your cunning * ({devastates}) *, hitting organs!} {#PCOL #3300FF %x1} |
|
_________________ Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram |
|
|
![](templates/Classic/images/spacer.gif) |
acaykath Wanderer
Joined: 03 Aug 2005 Posts: 84
|
Posted: Sat Jun 30, 2007 3:04 pm |
Thanks for fixing my script :) I'd still like it not to freeze though if I make such an error again.
|
|
|
![](templates/Classic/images/spacer.gif) |
Arminas Wizard
Joined: 11 Jul 2002 Posts: 1265 Location: USA
|
Posted: Sun Jul 01, 2007 1:40 pm |
acaykath,
The reason for my post was three fold.
First, I thought you might like to be able to actually use your script.
Next, by finding the error causing the script to lock up Cmud it makes it that much easier for Zugg to fix the error faster, since he does not need to find the error himself.
Finally, during the time between now and when Zugg does fix the error the post will help others who have the same problem that you had.
If you post something that actually turns out to be a bug it is pretty much a cinch that Zugg is gonna fix the problem. The thing is that Zugg is the only one that works on Cmud.
So the gurus try to help when we can. Zugg's time is stretched pretty thin. |
|
_________________ Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram |
|
|
![](templates/Classic/images/spacer.gif) |
Zugg MASTER
![](images/avatars/164475849040f41c23b22fe.gif)
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Jul 02, 2007 5:21 pm |
Added to the bug list. Thanks for the extra info Arminas!
|
|
|
![](templates/Classic/images/spacer.gif) |
|
|