Server gets a runtime error. [stack/heap collision]
#1

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.
Reply
#2

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.
Reply
#3

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...
Reply
#4

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)
Reply
#5

Check this out https://sampforum.blast.hk/showthread.php?tid=482429
Reply
#6

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...
Reply
#7

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)