SA-MP Forums Archive
Something wrong with Heap/Stack - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Something wrong with Heap/Stack (/showthread.php?tid=412220)



Something wrong with Heap/Stack - pasha97 - 01.02.2013

I don't know what it is (lol), but many commands from my server stopped working. When someone types them, he sees:" Server: Unknown command". And the crashdetect says this:

Код:
[15:53:19] [debug] Run time error 3: "Stack/heap collision (insufficient stack size)"
[15:53:19] [debug]  Stack pointer (STK) is 0x12D4E0, heap pointer (HEA) is 0x12D51C
[15:53:19] [debug] AMX backtrace:
[15:53:19] [debug] #0 000c7d78 in public OnPlayerCommandText () from UFFtest.amx
How to fix it?


Re: Something wrong with Heap/Stack - Threshold - 01.02.2013

Can you show your OnPlayerCommandText? If you're using ZCMD or YCMD in the same script as your strcmp commands, this can occasionally cause errors.