[sampgdk] error: Too many callback arguments (at most 32 allowed)
#1

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 !
Reply
#2

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.
Reply
#3

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 .
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)