AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Stack error on HAM_SUPERCEDE (https://forums.alliedmods.net/showthread.php?t=94548)

ConnorMcLeod 06-12-2009 13:25

Stack error on HAM_SUPERCEDE
 
I have a strange error in a plugin, only happen few times a week.
Anybody have any clue on the reason ?

Code:

SZ_GetSpace: overflow on netchan->message
SZ_GetSpace: overflow on netchan->message
L 06/12/2009 - 20:17:11: [AMXX] Displaying debug trace (plugin "kz_misc.amxx")
L 06/12/2009 - 20:17:11: [AMXX] Run time error 3: stack error
L 06/12/2009 - 20:17:11: [AMXX] Displaying debug trace (plugin "kz_misc.amxx")
L 06/12/2009 - 20:17:11: [AMXX] Run time error 3: stack error
L 06/12/2009 - 20:17:11: [AMXX] Displaying debug trace (plugin "kz_misc.amxx")
L 06/12/2009 - 20:17:11: [AMXX] Run time error 3: stack error
L 06/12/2009 - 20:17:11: [AMXX] Displaying debug trace (plugin "kz_misc.amxx")
L 06/12/2009 - 20:17:11: [AMXX] Run time error 3: stack error
L 06/12/2009 - 20:17:11: [AMXX] Displaying debug trace (plugin "kz_misc.amxx")
L 06/12/2009 - 20:17:11: [AMXX] Run time error 3: stack error
L 06/12/2009 - 20:17:11: [AMXX] Displaying debug trace (plugin "kz_misc.amxx")
L 06/12/2009 - 20:17:11: [AMXX] Run time error 3: stack error
L 06/12/2009 - 20:17:11: [AMXX] Displaying debug trace (plugin "kz_misc.amxx")
L 06/12/2009 - 20:17:11: [AMXX] Run time error 3: stack error
L 06/12/2009 - 20:17:11: [AMXX] Displaying debug trace (plugin "kz_misc.amxx")
L 06/12/2009 - 20:17:11: [AMXX] Run time error 3: stack error
L 06/12/2009 - 20:17:11: [AMXX] Displaying debug trace (plugin "kz_misc.amxx")
L 06/12/2009 - 20:17:11: [AMXX] Run time error 3: stack error
L 06/12/2009 - 20:17:11: [AMXX] Displaying debug trace (plugin "kz_misc.amxx")
L 06/12/2009 - 20:17:11: [AMXX] Run time error 3: stack error
L 06/12/2009 - 20:17:11: [AMXX] Displaying debug trace (plugin "kz_misc.amxx")
L 06/12/2009 - 20:17:11: [AMXX] Run time error 5: memory access
L 06/12/2009 - 20:17:11: [AMXX]    [0] comp_zkz_misc.sma::Player_Killed (line 273)
L 06/12/2009 - 20:17:11: [AMXX] Displaying debug trace (plugin "kz_misc.amxx")
L 06/12/2009 - 20:17:11: [AMXX] Run time error 3: stack error
SZ_GetSpace: overflow on netchan->message
SZ_GetSpace: overflow on netchan->message
L 06/12/2009 - 20:17:11: FATAL ERROR (shutting down): SZ_GetSpace: overflow without FSB_ALLOWOVERFLOW set on Server Spectator Buffer
FATAL ERROR (shutting down): SZ_GetSpace: overflow without FSB_ALLOWOVERFLOW set on Server Spectator Buffer

Line 273 highlighted.
Code:
public Player_Killed(id, iKiller) {     if( IsPlayer(id) && fm_cs_get_user_team(id) == TEAM_CT )     {         message_begin(MSG_ONE_UNRELIABLE, gmsgDeathMsg, _, id)         write_byte(id)         write_byte(id)         write_byte(1)         write_string("knife")         message_end()         message_begin(MSG_ONE_UNRELIABLE, gmsgScoreAttrib, _, id)         write_byte(id)         write_byte(0)         message_end()         ExecuteHamB(Ham_Spawn, id)         return HAM_SUPERCEDE     }     return HAM_IGNORED }

joaquimandrade 06-12-2009 13:55

Re: Stack error on HAM_SUPERCEDE
 
The players are not getting killed on spawn?

ConnorMcLeod 06-12-2009 14:01

Re: Stack error on HAM_SUPERCEDE
 
Seems that it makes the server crash, so i can't tell what happens in-game.
Thought about a special case where the game would try to kill the player again and again.

joaquimandrade 06-12-2009 14:03

Re: Stack error on HAM_SUPERCEDE
 
Quote:

Originally Posted by ConnorMcLeod (Post 847353)
Seems that it makes the server crash, so i can't tell what happens in-game.
Thought about a special case where the game would try to kill the player again and again.

I mean, if there is some problems with spawn points (or something) that makes the players get killed on spawn. Because I think that that problem exists because of something like infinite recursion.

ConnorMcLeod 06-12-2009 14:04

Re: Stack error on HAM_SUPERCEDE
 
I see, gonna check spawns on that map.


All times are GMT -4. The time now is 13:55.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.