i get some strange runtime errors with a crash on a plugin im working with
it crashes when i die if XtraSpawn is true and Respawnible is true
the error i get in the logs:
Code:
[AMXX]Run time error 3 (stack error) on line 249 (file "skills.sma").
[AMXX]Run time error 3 (stack error) on line 254 (file "skills.sma").
SZ_GetSpace: overflow on netchan->message
after the error it crashes with this message:
Code:
Fatal error - Dedicated server
SZ_GetSpace: overflow without FSB_ALLOWOVERFLOW set on Server Reliable Datagram
and here is the piece of code it crashes on:
Code:
public Event_DeathMsg() {
new victim = read_data(2)//Line 249
if (XtraSpawn[victim] == true && Respawnible[victim] == true) {
spawn(victim)
set_task(0.5,"spawnagain",victim)//Line 254
Respawnible[victim] = false
}
return PLUGIN_CONTINUE
}
public spawnagain(id) {
spawn(id)
return PLUGIN_CONTINUE
}
if you need i can send the whole code