Hello,
How can I catch the moment when a player receives an overflow error ? I want to execute log_amx("Overflow on player %s", name) when this is happening.
Thank you!
Later Edit:
Also, I have this error which crashes the server:
Code:
L 09/21/2012 - 19:09:53: [test.amxx] Event "HLTV" - New Round Event
L 09/21/2012 - 19:09:53: FATAL ERROR (shutting down): SZ_GetSpace: overflow without FSB_ALLOWOVERFLOW set on Server Reliable Datagram
FATAL ERROR (shutting down): SZ_GetSpace: overflow without FSB_ALLOWOVERFLOW set on Server Reliable Datagram
email debug.log to [email protected]
Fri Sep 21 19:09:53 EEST 2012: Server restart in 30 seconds
I get this only when there are 15 or more players on the server (usually 20+), and every time in this situation and order:
- (1) New Round Event ("HLTV");
- (2) triggered "Spawned_With_The_Bomb";
- (3) FATAL ERROR (shutting down): SZ_GetSpace: overflow without FSB_ALLOWOVERFLOW set on Server Reliable Datagram.
I checked every event-hooks and function calls which crossed my mind, but I didn't identify the problem.
Which event could be between (2) and (3) ? I think there is something which causes the problem...
Running Furien Mod.
LE: OK... I've done some more checks and the crash is happening between triggered "Spawned_With_The_Bomb" and World triggered "Round_Start".
So, the order is this:
- triggered "Spawned_With_The_Bomb";
- crash (the error written above);
- World triggered "Round_Start" (which doesn't happen because of the crash).
Thank you!
Later Edit:
After a few more checks I come with new information.
Problem rephrased: I get overflow errors on players OR overflow error on server ("FATAL ERROR (shutting down): SZ_GetSpace: overflow without FSB_ALLOWOVERFLOW set on Server Reliable Datagram") ONLY AFTER "triggered "Spawned_With_The_Bomb" and BEFORE round start (which is new round + freezetime).
Sometimes all players are disconnected by "overflow" errors, sometimes the server crashes with the error written above. This is happening when 20 or more players are connected on the server and it never takes too long before these problems appear.
I suppose the player spawn catch is responsable for all these errors.
This is the only player spawn function I have and must be something wrong with it because I have only one plugin installed on the server and this is the closest function call to the moment the errors appear.
Besides the problem explained above, it is all perfectly working, no other errors or strange things.
Later Edit:
I've tested without Player_Spawn function and errors still apear.
This is my plugin_init():
Do you see anything which can lead to the errors posted above, which appear on round_start ? (right after "triggered "Spawned_With_The_Bomb")
I repeat: the problem appears only when 20 or more players are connected and always in the same circumstance: on the round start right after "triggered "Spawned_With_The_Bomb" (this is the last message in log).
Thank you!