"Heap Underflow - 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: "Heap Underflow (
/showthread.php?tid=447846)
"Heap Underflow -
MattSlater - 01.07.2013
Says it all, when I start the server it's fine, when a player or I (me) connects to the server it's when it starts spamming the console NONE-STOP with that, it takes about 5 minutes after someone connects to do that.
I removed all the OnPlayerConnect code so it can't do account checks, whatever to see if that was causing it but as it shows in the image on the OnPlayerUpdate code, yet nothing is on OnPlayerUpdate so that's not possible? It also spams it with my timer functions?
OnPlayerUpdate -
Thanks in-advance!
Re: "Heap Underflow -
Jeffry - 01.07.2013
Any FS's running? Any plugins?
Unload everything except your GM (the code which you posted a part of), then see if it still spams. It might be caused by another FS.
Re: "Heap Underflow -
jamesbond007 - 01.07.2013
what about vehicleUpdater()? it gives error there too
quick search tells u to update mysql plugin r8
Re: "Heap Underflow -
MattSlater - 01.07.2013
Tried that, no luck.
I disabled VehicleUpdated, waiting to see if the spams started again.
There is no R8 plugin, I am on R7 now.
Thanks guys
EDIT: Didn't work, now OnQueryFinish is being spammed with the same error thing
Re: "Heap Underflow -
MattSlater - 02.07.2013
Bump, please!?
Anyone??
Re: "Heap Underflow -
shadowdog - 02.07.2013
Try
after OnPlayerUpdate
Re: "Heap Underflow -
doreto - 02.07.2013
Quote:
Originally Posted by shadowdog
|
Don't because your update will not be replicated to other clients.
Re: "Heap Underflow -
shadowdog - 02.07.2013
Quote:
Originally Posted by doreto
Don't because your update will not be replicated to other clients.
|
To check if there's anything wrong with his OnPlayerUpdate.
Re: "Heap Underflow -
doreto - 02.07.2013
Quote:
Originally Posted by shadowdog
To check if there's anything wrong with his OnPlayerUpdate.
|
Problem is code inside OnPlayerUpdate( i can't understand why people use it for thing like that insted of timers : check 8-10 times in second if player is any vehicile while you can check him or theys even wichout timers) insted whatever you will updates to others!
OT: can you paste CheckSealtBelt function !
Re: "Heap Underflow -
Vince - 02.07.2013
Quote:
Originally Posted by shadowdog
To check if there's anything wrong with his OnPlayerUpdate.
|
How will that help? It's not like you can cancel out OnPlayerUpdate by putting return 0. The updates are still sent to the server and processed as such. They just aren't sent out to any other players.