22.04.2013, 22:45
Today I learned why this problem exists:
I was basing all my code on the source code for the 3.2.3664 build of PAWN as that's what the compiler reports. However, I had a brainwave and remembered that I had upgraded the compiler independently from the VM when I was a dev, so I got the 3.0.3367 source code and discovered that it was missing these two important lines from the "op_halt" code:
Which entirely explains why it broke when I didn't call "SYSREQ" first.
Quote:
Edit: It turns out I missed something very important. Once I was done with the code I removed all the debug prints and it instantly stopped working! I'm still not 100% sure of the issue, but I think it might be this in amx.c:
pawn Код:
|
pawn Код:
amx->frm=frm;
amx->stk=stk;