Server gets a runtime error. [stack/heap collision] -
Ahmad45123 - 14.01.2015
I made some edits to the script... And since that.
The server loads a part of the onGameModeInit and the rest isnot loaded...
Here is the error that I get when I added crashdetect:
So, what may be causing this ?
+REP if helped.
Re: Server gets a runtime error. [stack/heap collision] -
CodyHawkins - 14.01.2015
Can you show the code that might be related to this?
- You might have a missing include.
- If I'm not wrong there should be more of this [debug] below that, try to optimize your script, it might be using too much resources which causes this.
Re: Server gets a runtime error. [stack/heap collision] -
Ahmad45123 - 14.01.2015
Quote:
Originally Posted by CodyHawkins
Can you show the code that might be related to this?
- You might have a missing include.
- If I'm not wrong there should be more of this [debug] below that, try to optimize your script, it might be using too much resources which causes this.
|
I actually removed the dJson include.
Thats all what I did...
Re: Server gets a runtime error. [stack/heap collision] -
CodyHawkins - 14.01.2015
Quote:
Originally Posted by Ahmad45123
I actually removed the dJson include.
Thats all what I did...
|
Sorry, I might be misunderstanding you, but have you solved the problem now by adding it back?
- But as mentioned, try to optimize your script (decrease unneccessary lines, shorten it)
Re: Server gets a runtime error. [stack/heap collision] -
Ironboy - 14.01.2015
Check this out
https://sampforum.blast.hk/showthread.php?tid=482429
Re: Server gets a runtime error. [stack/heap collision] -
Ahmad45123 - 14.01.2015
Quote:
Originally Posted by CodyHawkins
Sorry, I might be misunderstanding you, but have you solved the problem now by adding it back?
- But as mentioned, try to optimize your script (decrease unneccessary lines, shorten it)
|
Yeah, When i included it back...
It works...
But I don't use it in the script anymore.... And I want to remove it.
Help appreciated...
Re: Server gets a runtime error. [stack/heap collision] -
Ahmad45123 - 14.01.2015
Quote:
Originally Posted by Ironboy
|
Ah...
When I added "#pragma dynamic x" it worked...
And when I checked the dJson include, It had "#pragma dynamic 4000000" in the code...
Thanks for mentioning that link