SA-MP Forums Archive
Anyone understand this: - 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: Anyone understand this: (/showthread.php?tid=367136)



Anyone understand this: - Riddy - 08.08.2012

Код:
[23:00:55] [debug]  Stack pointer (STK) is 0x1204DF8, heap pointer (HEA) is 0x1204EC8
[23:00:55] [debug] Run time error 3: "Stack/heap collision (insufficient stack size)"
[22:38:55] [debug] #10 ???????? in public OnPlayerConnect () from HE_RP.amx
[22:38:55] [debug] #9 ???????? in public SSCANF_OnPlayerConnect () from HE_RP.amx
[22:38:55] [debug] #8 ???????? in public Audio_OnPlayerConnect () from HE_RP.amx
[22:38:55] [debug] #7 ???????? in public Itter_OnPlayerConnect () from HE_RP.amx
[22:38:55] [debug] #6 ???????? in public RL_OnPlayerConnect () from HE_RP.amx
[22:38:55] [debug] #5 ???????? in public Streamer_OnPlayerConnect () from HE_RP.amx
[22:38:55] [debug] #4 ???????? in public OnPlayerDisconnect () from HE_RP.amx
[22:38:55] [debug] #3 ???????? in public SSCANF_OnPlayerDisconnect () from HE_RP.amx
[22:38:55] [debug] #2 ???????? in public Audio_OnPlayerDisconnect () from HE_RP.amx
[22:38:55] [debug] #1 ???????? in public Itter_OnPlayerDisconnect () from HE_RP.amx
[22:38:55] [debug] #0 ???????? in public Streamer_OnPlayerDisconnect () from HE_RP.amx
[22:38:55] [debug] AMX backtrace:
[22:38:55] [debug]  Stack pointer (STK) is 0x1204BC0, heap pointer (HEA) is 0x1204EC8
[22:38:55] [debug] Run time error 3: "Stack/heap collision (insufficient stack size)"
Anyone know what these problems are?


Respuesta: Anyone understand this: - [DOG]irinel1996 - 08.08.2012

https://sampwiki.blast.hk/wiki/Heapspace
Seems that you reached the max value of the stack size.
To be honest, I don't know very much about that.


Re: Respuesta: Anyone understand this: - Riddy - 08.08.2012

Quote:
Originally Posted by irinel1996
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/Heapspace
Seems that you reached the max value of the stack size.
To be honest, I don't know very much about that.
Is there a way to fix something like this?***


Respuesta: Anyone understand this: - [DOG]irinel1996 - 08.08.2012

Take a look: https://sampforum.blast.hk/showthread.php?tid=55261
I won't say anything because I can't confirm nothing. Between, give a try.


Re: Respuesta: Anyone understand this: - Riddy - 08.08.2012

Quote:
Originally Posted by irinel1996
Посмотреть сообщение
Take a look: https://sampforum.blast.hk/showthread.php?tid=55261
I won't say anything because I can't confirm nothing. Between, give a try.
This pretty much would be the problem, I just found like thousands of strings in this script (a heavy badly scripted edit)


Re: Anyone understand this: - Babul - 09.08.2012

try to change your compiler options (currently like "-r") to
Код:
-r -S65536
...this will increase your heap/stacksize to an adequate value ^^


Re: Anyone understand this: - leonardo1434 - 09.08.2012

Take a look at this post, it gonna fix.

http://forum.sa-mp.com/showpost.php?...10&postcount=3