PDA

View Full Version : Zasm scripts crashing...



Revfan9
02-17-2007, 02:13 AM
I'm not sure if this is something I'm doing wrong, or a bug, but whenever I try to run this script, the player crashes, but it parses just fine:


COMPARER gd252,gd251
GOTOFALSE AFFECT
GOTOTRUE SCAP
COMPARER gd253,gd251
GOTOFALSE AFFECT
GOTOTRUE SCAP
COMPARER gd254,gd251
GOTOFALSE AFFECT
GOTOTRUE SCAP
COMPARER gd255,gd251
GOTOFALSE AFFECT
GOTOTRUE SCAP
AFFECT COMPAREV INPUTUP,1
GOTOTRUE ACCUP
COMPAREV INPUTDOWN,1
GOTOTRUE ACCDOWN
COMPAREV INPUTLEFT,1
GOTOTRUE ACCLEFT
COMPAREV INPUTRIGHT,1
GOTOTRUE ACCRIGHT
QUIT
ACCUP ADDV gd252,0.001
SUBR linky,gd252
COMPAREV INPUTUP,1
GOTOFALSE UPREL
QUIT
UPREL SETV gd252,0
QUIT
ACCDOWN ADDV gd253,0.001
ADDR linky,gd253
COMPAREV INPUTDOWN,1
GOTOFALSE DOWNREL
QUIT
DOWNREL SETV gd253,0
QUIT
ACCLEFT ADDV gd254,0.001
SUBR linkx,gd254
COMPAREV INPUTLEFT,1
GOTOFALSE LEFTREL
QUIT
LEFTREL SETV gd254,0
QUIT
ACCRIGHT ADDV gd255,0.001
ADDR linkx,gd255
COMPAREV INPUTRIGHT,1
GOTOFALSE RIGHTREL
QUIT
RIGHTREL SETV gd255,0
QUIT
CAP SETV gd252,0
SETV gd253,0
SETV gd254,0
SETV gd255,0
QUIT

It's a global script, so I tried to run it, but ZC crashed as soon as the quest opened. I thought there was a bug with global scripts so I converted it to an FFC script, but the crash still happened. Possibly the bug is related to the usage of gd's?

Saffith
02-21-2007, 07:02 PM
It crashes for you? For me, it's hanging instead...
Well, the first thing to do would be to throw some traces in there to see how far it gets.