SA-MP Forums Archive
[sampgdk:error] Too many callback arguments (at most 32 allowed) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [sampgdk:error] Too many callback arguments (at most 32 allowed) (/showthread.php?tid=592852)



[sampgdk:error] Too many callback arguments (at most 32 allowed) - feartonyb - 30.10.2015

I wasn't working on the gamemode for like 3 months or more and now I came back and installed 0.3.7 and updated plugins but script now doesn't load login or any functions. Just maps are loaded. I spawn in CJ skin and none of the commands are working. In console/server log it spams:

Код:
[sampgdk:error] Too many callback arguments (at most 32 allowed)
[sampgdk:error] Too many callback arguments (at most 32 allowed)
[sampgdk:error] Too many callback arguments (at most 32 allowed)
[sampgdk:error] Too many callback arguments (at most 32 allowed)
[sampgdk:error] Too many callback arguments (at most 32 allowed)
[sampgdk:error] Too many callback arguments (at most 32 allowed)
[sampgdk:error] Too many callback arguments (at most 32 allowed)
[sampgdk:error] Too many callback arguments (at most 32 allowed)
[sampgdk:error] Too many callback arguments (at most 32 allowed)
[sampgdk:error] Too many callback arguments (at most 32 allowed)
[sampgdk:error] Too many callback arguments (at most 32 allowed)
[sampgdk:error] Too many callback arguments (at most 32 allowed)
[sampgdk:error] Too many callback arguments (at most 32 allowed)
[sampgdk:error] Too many callback arguments (at most 32 allowed)
[sampgdk:error] Too many callback arguments (at most 32 allowed)
[sampgdk:error] Too many callback arguments (at most 32 allowed)
[sampgdk:error] Too many callback arguments (at most 32 allowed)
[sampgdk:error] Too many callback arguments (at most 32 allowed)
[sampgdk:error] Too many callback arguments (at most 32 allowed)
[sampgdk:error] Too many callback arguments (at most 32 allowed)
[sampgdk:error] Too many callback arguments (at most 32 allowed)
[sampgdk:error] Too many callback arguments (at most 32 allowed)
[sampgdk:error] Too many callback arguments (at most 32 allowed)
[sampgdk:error] Too many callback arguments (at most 32 allowed)
[sampgdk:error] Too many callback arguments (at most 32 allowed)



Re: [sampgdk:error] Too many callback arguments (at most 32 allowed) - AbyssMorgan - 30.10.2015

update all plugins and plugins include in all script
plugins

and show used plugins


Re: [sampgdk:error] Too many callback arguments (at most 32 allowed) - feartonyb - 30.10.2015

plugins streamer sscanf regex mysql MapAndreas nativechecker

streamer: updated to latest version 2.7.8
sscanf2: updated to latest version 2.8.1
mysql: version r5
regex: updated to latest version 0.2.1
MapAndreas: updated to latest version 1.0


Re: [sampgdk:error] Too many callback arguments (at most 32 allowed) - AbyssMorgan - 30.10.2015

update sscanf and mapandreas


Re: [sampgdk:error] Too many callback arguments (at most 32 allowed) - feartonyb - 30.10.2015

It's already latest versions... sscanf 2.8.1 and mapandreas 1.0

Those are latest versions right?

EDIT: sscanf is 2.8.2


Re: [sampgdk:error] Too many callback arguments (at most 32 allowed) - AbyssMorgan - 30.10.2015

sscanf 2.8.2
mapandreas 1.2.1
https://github.com/AbyssMorgan/ADM/tree/master/plugins


Re: [sampgdk:error] Too many callback arguments (at most 32 allowed) - feartonyb - 30.10.2015

Код:
SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[17:08:50] 
[17:08:50] Server Plugins
[17:08:50] --------------
[17:08:50]  Loading plugin: streamer
[17:08:50] 

*** Streamer Plugin v2.7.8 by Incognito loaded ***

[17:08:50]   Loaded.
[17:08:50]  Loading plugin: sscanf
[17:08:50] 

[17:08:50]  ===============================

[17:08:50]       sscanf plugin loaded.     

[17:08:50]          Version:  2.8.1        

[17:08:50]    © 2012 Alex "******" Cole  

[17:08:50]  ===============================

[17:08:50]   Loaded.
[17:08:50]  Loading plugin: regex
[17:08:50] 


[17:08:50] ______________________________________


[17:08:50]  Regular Expression Plugin v0.2.1 loaded
[17:08:50] ______________________________________


[17:08:50]  By: Fro © Copyright <TBG> 2009-2011
[17:08:50] ______________________________________


[17:08:50]   Loaded.
[17:08:50]  Loading plugin: mysql
[17:08:50] 

  > MySQL plugin R5 successfully loaded.

[17:08:50]   Loaded.
[17:08:50]  Loading plugin: MapAndreas
[17:08:50]   Loaded.
[17:08:50]  Loading plugin: nativechecker
[17:08:50]   Loaded.
[17:08:50]  Loaded 6 plugins.

[17:08:51] 
[17:08:51] Filterscripts
[17:08:51] ---------------
[17:08:51]   Loaded 0 filterscripts.

[17:08:51]  
[17:08:51]  
[17:08:51]  
[17:08:51]  ======================================= 
[17:08:51]  |                                     | 
[17:08:51]  |        YSI version 3.09.0684        | 
[17:08:51]  |        By Alex "******" Cole        | 
[17:08:51]  |                                     | 
[17:08:51]  =======================================
I did update it but it still shows in serverlog that sscanf version is 2.8.1 except 2.8.2, but I replaced the include and plugins and recompiled the script.

Also, still not working

Thanks.


Re: [sampgdk:error] Too many callback arguments (at most 32 allowed) - AbyssMorgan - 30.10.2015

what version of the server ?
0.3.7 R2-1 ?


Re: [sampgdk:error] Too many callback arguments (at most 32 allowed) - feartonyb - 30.10.2015

Yes it is


Re: [sampgdk:error] Too many callback arguments (at most 32 allowed) - AbyssMorgan - 30.10.2015

hmm, somewhere you are using more than 31 parameters ?