07.12.2012, 23:22
Crash plugin prints this:
ForRcon.amx:
I get that error after sending 30 rcon cmds around 150 chars long,
as reference I used https://sampwiki.blast.hk/wiki/OnRconCommand, made seperated FS to work with OnRconCommand in gamemode
so is there some OnRconCommand lenght limit or?
Код:
[02:29:52] [debug] Run time error 3: "Stack/heap collision (insufficient stack size)" [02:29:52] [debug] Stack pointer (STK) is 0x5C04, heap pointer (HEA) is 0x5D38 [02:29:52] [debug] AMX backtrace: [02:29:52] [debug] #0 00000008 in public OnRconCommand () from ForRcon.amx
pawn Код:
public OnRconCommand(cmd[])
{
return 0;
}
as reference I used https://sampwiki.blast.hk/wiki/OnRconCommand, made seperated FS to work with OnRconCommand in gamemode
Код:
Important Note: You will need to include this callback in a loaded filterscript for it to work in the gamemode!