"Heap Underflow
#1



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

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

what about vehicleUpdater()? it gives error there too

quick search tells u to update mysql plugin r8
Reply
#4

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

Bump, please!? Anyone??
Reply
#6

Try
pawn Code:
return 0;
after OnPlayerUpdate
Reply
#7

Quote:
Originally Posted by shadowdog
View Post
Try
pawn Code:
return 0;
after OnPlayerUpdate
Don't because your update will not be replicated to other clients.
Reply
#8

Quote:
Originally Posted by doreto
View Post
Don't because your update will not be replicated to other clients.
To check if there's anything wrong with his OnPlayerUpdate.
Reply
#9

Quote:
Originally Posted by shadowdog
View Post
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 !
Reply
#10

Quote:
Originally Posted by shadowdog
View Post
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.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)