[sampgdk] error: Too many callback arguments (at most 32 allowed) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: [sampgdk] error: Too many callback arguments (at most 32 allowed) (
/showthread.php?tid=571110)
[sampgdk] error: Too many callback arguments (at most 32 allowed) -
Andrei1255 - 16.04.2015
Hi ! I made some changes to my gamemode (not to the streamer plugin) , and I get the error from bellow in server_log.txt, and the commands don't work anymore, the players can only type in chat .
Code:
[12:24:39] [sampgdk] error: Too many callback arguments (at most 32 allowed)
[12:24:39] [sampgdk] error: Too many callback arguments (at most 32 allowed)
[12:24:39] [sampgdk] error: Too many callback arguments (at most 32 allowed)
[12:24:39] [sampgdk] error: Too many callback arguments (at most 32 allowed)
[12:24:39] [sampgdk] error: Too many callback arguments (at most 32 allowed)
[12:24:39] [sampgdk] error: Too many callback arguments (at most 32 allowed)
[12:24:39] [sampgdk] error: Too many callback arguments (at most 32 allowed)
[12:24:39] [sampgdk] error: Too many callback arguments (at most 32 allowed)
[12:24:39] [sampgdk] error: Too many callback arguments (at most 32 allowed)
I don't know why I get this error ... Can you help, please ? Thanks !
Re: [sampgdk] error: Too many callback arguments (at most 32 allowed) -
xeeZ - 16.04.2015
It could be a result of a runtime error in one of your callbacks, you need to find where that is and fix it. One option is install the CrashDetect plugin:
https://sampforum.blast.hk/showthread.php?tid=262796
and watch your server log for "Runtime error N: blahblah" errors.
The reason that sampgdk error message is shown is that callback parameters are not popped off the stack by the runtime when such an error happens, so they add up with each call and eventually exceed 32.
Re: [sampgdk] error: Too many callback arguments (at most 32 allowed) -
Andrei1255 - 16.04.2015
I installed crashdetect, I will look for errors shown by this plugin .
The server doesn't crash, but the functions don't work anymore . I made no change to the streamer plugin, only to another things in the gamemode .
This is hapenned only when many players join the server (15-25) , but when there are only 5-10 players , there happens nothing .