[Server Log] sscanf warning: Format specifier does not match parameter count
#1

Hi all,

When I go to start up the server script and when it loads in the server log I get: "sscanf warning: Format specifier does not match parameter count" x14 warning messages, what does this mean and how do I fix it?

Also I will be running the script on Linux hosting, I'm only testing it on Windows atm.

Cheers.

Server Log:
Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7, ©2005-2015 SA-MP Team

[21:32:26] password = ""  (string)
[21:32:26] 
[21:32:26] Server Plugins
[21:32:26] --------------
[21:32:26]  Loading plugin: audio.dll
[21:32:26] 

*** Audio Plugin v0.5 R2 by Incognito loaded ***

[21:32:26]   Loaded.
[21:32:26]  Loading plugin: sscanf.dll
[21:32:26] 

[21:32:26]  ===============================

[21:32:26]       sscanf plugin loaded.     

[21:32:26]    © 2009 Alex "******" Cole

[21:32:26]    0.3d-R2 500 Players "dnee"

[21:32:26]  ===============================

[21:32:26]   Loaded.
[21:32:26]  Loading plugin: streamer.dll
[21:32:26] 

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

[21:32:26]   Loaded.
[21:32:26]  Loading plugin: nativechecker.dll
[21:32:26]   Loaded.
[21:32:26]  Loaded 4 plugins.

[21:32:26] 
[21:32:26] Ban list
[21:32:26] --------
[21:32:26]  Loaded: samp.ban
[21:32:26] 
[21:32:26] 
[21:32:26] Filterscripts
[21:32:26] ---------------
[21:32:26]   Loading filterscript 'anims.amx'...
[21:32:26]   Loading filterscript 'buttons.amx'...
[21:32:26]   Loading filterscript 'Mall.amx'...
[21:32:26]   Unable to load filterscript 'Mall.amx'.
[21:32:26]   Loading filterscript 'Map.amx'...
[21:32:26]   Unable to load filterscript 'Map.amx'.
[21:32:26]   Loading filterscript 'speedo.amx'...
[21:32:26]   Unable to load filterscript 'speedo.amx'.
[21:32:26]   Loading filterscript 'speedometr.amx'...
[21:32:26]   Loading filterscript 'AdminHouse.amx'...
[21:32:26] 
--------------------------------------
[21:32:26]  Loaded Young Capone's Admin House!
[21:32:26] --------------------------------------

[21:32:26]   Loaded 4 filterscripts.

[21:32:26]  
[21:32:26]  ======================================= 
[21:32:26]  |                                     | 
[21:32:26]  |        YSI version 1.03.0011        | 
[21:32:26]  |        By Alex "******" Cole        | 
[21:32:26]  |                                     | 
[21:32:26]  |  Checking the latest YSI version..  | 
[21:32:26]  |                                     | 
[21:32:26]  ======================================= 
[21:32:26]  
[21:32:26] *** Audio Plugin: Started TCP server on port 7777
[21:32:26] Gamemode started.
[21:32:26] Gamemode started.
[21:32:26] Gamemode started.
[21:32:26] Paintball Arena 1 loaded
[21:32:26] Paintball Arena 2 loaded
[21:32:26] Paintball Arena 3 loaded
[21:32:26] Paintball Arena 4 loaded
[21:32:26] Paintball Arena 5 loaded
[21:32:26] Paintball Arena 6 loaded
[21:32:26] Paintball Arena 7 loaded
[21:32:26] Paintball Arena 8 loaded
[21:32:26] Paintball Arena 9 loaded
[21:32:26] Paintball Arena 10 loaded
[21:32:26] LoadEventPoints.
[21:32:26] TestingEventPoints.
[21:32:26] Gates Loaded.
[21:32:26] Testing Gates.
[21:32:26] LoadGameMode.
[21:32:26] sscanf warning: Format specifier does not match parameter count.
[21:32:26] sscanf warning: Format specifier does not match parameter count.
[21:32:26] sscanf warning: Format specifier does not match parameter count.
[21:32:26] sscanf warning: Format specifier does not match parameter count.
[21:32:26] sscanf warning: Format specifier does not match parameter count.
[21:32:26] sscanf warning: Format specifier does not match parameter count.
[21:32:26] sscanf warning: Format specifier does not match parameter count.
[21:32:26] sscanf warning: Format specifier does not match parameter count.
[21:32:26] sscanf warning: Format specifier does not match parameter count.
[21:32:26] sscanf warning: Format specifier does not match parameter count.
[21:32:26] sscanf warning: Format specifier does not match parameter count.
[21:32:26] sscanf warning: Format specifier does not match parameter count.
[21:32:26] sscanf warning: Format specifier does not match parameter count.
[21:32:26] sscanf warning: Format specifier does not match parameter count.
[21:32:27] Loading Phase 1/2...
[21:32:27] Loading Phase 2/3...
[21:32:30] Loading Phase : Complete
[21:32:30] Loading Phase 3/3...
[21:32:30] [script] 3DTEXTDRAW LIMIT: 1024 (Static, non-streamed) | 3DTEXTDRAW COUNT: 1396
[21:32:30] [script] PICKUP LIMIT: 4096 (Static, non-streamed) | PICKUP COUNT: 1241
[21:32:30] [script] OBJECT LIMIT: 1000 (Static, non-streamed) | OBJECT COUNT: 6486
[21:32:30]  
[21:32:30] -------------------------------------------
[21:32:30] Connected To Test RP [Beta]........
[21:32:30] Welcome to Test RP [Beta].........
[21:32:30] -------------------------------------------
[21:32:30]  
[21:32:30] Number of vehicle models: 109
[21:32:30]  
[21:32:30]  ======================================= 
[21:32:30]  |                                     | 
[21:32:30]  |   Error: Could not connect to YSI   | 
[21:32:30]  |  update server (response was 404).  | 
[21:32:30]  |                                     | 
[21:32:30]  ======================================= 
[21:32:30]
Reply
#2

This can be caused when you don't have the same amount of specifiers as you do of parameters.

Check your sscanf lines, and ensure you have an equality of those.

If it is something you added recently that caused this to happen, please provide code if you don't know how to figure it out properly.

format specifiers:
"us[64]I(45)"

Parameters:
playerid, GetPlayerIP(), and so on..
Reply
#3

Quote:
Originally Posted by denNorske
Посмотреть сообщение
This can be caused when you don't have the same amount of specifiers as you do of parameters.

Check your sscanf lines, and ensure you have an equality of those.

If it is something you added recently that caused this to happen, please provide code if you don't know how to figure it out properly.

format specifiers:
"us[64]I(45)"

Parameters:
playerid, GetPlayerIP(), and so on..
Thanks for the quick reply, I know this is a newbie question but, where can I find some of my sscanf Lines? It's been awhile since I've doing SA-MP Scripting etc....

Cheers.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)