sscanf help
#1

I get some errors every time I try to launch my server, and apparently it is a sscanf problem.
This is what i have in my server log:

PHP код:
[12:06:24] ---------------
[
11:44:02]   Loading filterscript 'time.amx'...
[
11:44:02]   Unable to load filterscript 'time.amx'.
[
11:44:02]   Loading filterscript 'glastowers.amx'...
[
11:44:02]   Unable to load filterscript 'glastowers.amx'.
[
11:44:02]   Loading filterscript 'santa.amx'...
[
11:44:02]   Unable to load filterscript 'santa.amx'.
[
11:44:02]   Loading filterscript 'RandomMSG.amx'...
[
11:44:02]   Unable to load filterscript 'RandomMSG.amx'.
[
11:44:02]   Loaded 15 filterscripts.
[
12:06:24]   Loading filterscript 'DSpeedo.amx'...
[
12:06:24Clock Speedometer load
[12:06:24]   Loading filterscript 'allraces.amx'...
[
12:06:24]    Error: Function not registered'SSCANF_Init'
[12:06:24]    Error: Function not registered'SSCANF_Join'
[12:06:24]    Error: Function not registered'SSCANF_Leave'
[12:06:24]    Error: Function not registered'sscanf'
[12:06:24]   Loading filterscript '0Admin.amx'...
[
12:06:24]    Error: Function not registered'sscanf'
[12:06:24]   Loading filterscript 'dms.amx'...
[
12:06:24]   Loading filterscript 'irc.amx'...
[
12:06:24]    Error: Function not registered'IRC_GetUserChannelMode'
[12:06:24]    Error: Function not registered'IRC_Connect'
[12:06:24]    Error: Function not registered'IRC_SetIntData'
[12:06:24]    Error: Function not registered'IRC_CreateGroup'
[12:06:24]    Error: Function not registered'IRC_Quit'
[12:06:24]    Error: Function not registered'IRC_DestroyGroup'
[12:06:24]    Error: Function not registered'IRC_GroupSay'
[12:06:24]    Error: Function not registered'IRC_JoinChannel'
[12:06:24]    Error: Function not registered'IRC_AddToGroup'
[12:06:24]    Error: Function not registered'IRC_RemoveFromGroup'
[12:06:24]    Error: Function not registered'IRC_Say'
[12:06:24]    Error: Function not registered'IRC_Notice'
[12:06:24]    Error: Function not registered'IRC_ReplyCTCP'
[12:06:24]    Error: Function not registered'sscanf'
[12:06:24]   Loading filterscript 'weapons.amx'...
[
12:06:24
--------------------------------------
[
12:06:24WWF Weapon Shop
[12:06:24] --------------------------------------
[
12:06:24]   Loading filterscript 'minigun.amx'...
[
12:06:24
--------------------------------------
[
12:06:24]  Minigun Madness has loaded
[12:06:24] --------------------------------------
[
12:06:24]   Loading filterscript 'd_dm.amx'...
[
12:06:24
--------------------------------------
[
12:06:24]  WWF DM Arena
[12:06:24] -------------14.10.2012-----------------
[
12:06:24]   Loading filterscript 'KReaction.amx'...
[
12:06:24]   Loading filterscript 'Anims2.amx'...
[
12:06:24]   Loading filterscript 'Rep.amx'...
[
12:06:24]    Error: Function not registered'SSCANF_Init'
[12:06:24]    Error: Function not registered'SSCANF_Join'
[12:06:24]    Error: Function not registered'SSCANF_Leave'
[12:06:24]    Error: Function not registered'sscanf'
[12:06:24]   Loading filterscript 'objecteditor.amx'...
[
12:06:24]    Error: Function not registered'SSCANF_Init'
[12:06:24]    Error: Function not registered'SSCANF_Join'
[12:06:24]    Error: Function not registered'SSCANF_Leave'
[12:06:24]    Error: Function not registered'sscanf'
[12:06:24]   Loading filterscript 'sp.amx'... 
As you can see, none of my filterscripts load. I have nativechecker and I have this sscanf version:
https://sampforum.blast.hk/showthread.php?tid=120356

Any help or advice would be much appreciated.
Reply
#2

Do you have the plugin AND the include of sscanf?
Reply
#3

Quote:
Originally Posted by LarzI
Посмотреть сообщение
Do you have the plugin AND the include of sscanf?
yes, I do.
Reply
#4

Make sure "NATIVECHECKER" is in the LAST to load from your plugins
Reply
#5

Quote:
Originally Posted by park4bmx
Посмотреть сообщение
Make sure "NATIVECHECKER" is in the LAST to load from your plugins
It is at the end, and I installed nativechecker right after I had this problem, which basically was 15 minutes ago.

EDIT: I forgot. I had this at the end too:
[12:28:16] Error: Function not registered: 'sscanf'
[12:28:16] Script[gamemodes/5Freeroam.amx]: Run time error 19: "File or function is not found"
[12:28:16] Number of vehicle models: 0
Reply
#6

then you need to start debugging.
unload all FS
run the GM see what happens then just start loading the FS 1 by 1 so you can come closer to the problem.
Because we cant really help you without looking at anything.

Quote:

This forum requires that you wait 120 seconds between posts.

Hate that ;X
Reply
#7

Quote:
Originally Posted by ******
Посмотреть сообщение
Do you have anything in your server log about loading the plugins? You need to add them to server.cfg, it's not enough to just have them downloaded.
PHP код:
[07:51:19]   Loaded.
[
07:51:19]  Loaded 5 plugins
This is what I have on my 'plugins' line:

plugins sscanf2 streamer whirlpool iTD mysql regex nativechecker
Reply
#8

From 7 plugins, only 5 loaded. Show the server log, not only the part that filterscripts load, but few lines above this you showed.
Reply
#9

The full log:

PHP код:
----------
Loaded log file"server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3e, (C)2005-2012 SA-MP Team
[13:09:02
[
13:09:02Server Plugins
[13:09:02] --------------
[
13:09:02]  Loading pluginsscanf2
[13:09:02]   Failed.
[
13:09:02]  Loading pluginstreamer
[13:09:02
*** 
Streamer Plugin v2.6 by Incognito loaded ***
[
13:09:02]   Loaded.
[
13:09:02]  Loading pluginwhirlpool
[13:09:02]  
[
13:09:02]  ==================
[
13:09:02]  
[
13:09:02]   Whirlpool loaded
[13:09:02]  
[
13:09:02]  ==================
[
13:09:02]  
[
13:09:02]   Loaded.
[
13:09:02]  Loading pluginiTD
[13:09:02
iTD Plugin loaded. (Support for textdraw editor mouse/keyboard)
[
13:09:02]   Loaded.
[
13:09:02]  Loading pluginmysql
[13:09:02
  > 
MySQL plugin R7 successfully loaded.
[
13:09:02]   Loaded.
[
13:09:02]  Loading pluginregex
[13:09:02
[
13:09:02______________________________________
[13:09:02]  Regular Expression Plugin v0.2.1 loaded
[13:09:02______________________________________
[13:09:02]  ByFro (cCopyright <TBG2009-2011
[13:09:02______________________________________
[13:09:02]   Loaded.
[
13:09:02]  Loading pluginnativechecker
[13:09:02]   Loaded.
[
13:09:02]  Loaded 6 plugins.
[
13:09:02
[
13:09:02Ban list
[
13:09:02] --------
[
13:09:02]  Loadedsamp.ban
[13:09:02
[
13:09:02
[
13:09:02Filterscripts
[13:09:02] ---------------
[
13:09:02]   Loading filterscript 'DSpeedo.amx'...
[
13:09:02Clock Speedometer load
[13:09:02]   Loading filterscript 'allraces.amx'...
[
13:09:02]    Error: Function not registered'SSCANF_Init'
[13:09:02]    Error: Function not registered'SSCANF_Join'
[13:09:02]    Error: Function not registered'SSCANF_Leave'
[13:09:02]    Error: Function not registered'sscanf'
[13:09:02]   Loading filterscript '0Admin.amx'...
[
13:09:02]    Error: Function not registered'sscanf'
[13:09:02]   Loading filterscript 'dms.amx'...
[
13:09:02]   Loading filterscript 'irc.amx'...
[
13:09:02]    Error: Function not registered'IRC_GetUserChannelMode'
[13:09:02]    Error: Function not registered'IRC_Connect'
[13:09:02]    Error: Function not registered'IRC_SetIntData'
[13:09:02]    Error: Function not registered'IRC_CreateGroup'
[13:09:02]    Error: Function not registered'IRC_Quit'
[13:09:02]    Error: Function not registered'IRC_DestroyGroup'
[13:09:02]    Error: Function not registered'IRC_GroupSay'
[13:09:02]    Error: Function not registered'IRC_JoinChannel'
[13:09:02]    Error: Function not registered'IRC_AddToGroup'
[13:09:02]    Error: Function not registered'IRC_RemoveFromGroup'
[13:09:02]    Error: Function not registered'IRC_Say'
[13:09:02]    Error: Function not registered'IRC_Notice'
[13:09:02]    Error: Function not registered'IRC_ReplyCTCP'
[13:09:02]    Error: Function not registered'sscanf'
[13:09:02]   Loading filterscript 'weapons.amx'...
[
13:09:02
--------------------------------------
[
13:09:02WWF Weapon Shop
[13:09:02] --------------------------------------
[
13:09:02]   Loading filterscript 'minigun.amx'...
[
13:09:02
--------------------------------------
[
13:09:02]  Minigun Madness loaded
[13:09:02] --------------------------------------
[
13:09:02]   Loading filterscript 'd_dm.amx'...
[
13:09:02
--------------------------------------
[
13:09:02]  WWF DM Arena
[13:09:02] -------------14.10.2012-----------------
[
13:09:02]   Loading filterscript 'KReaction.amx'...
[
13:09:02]   Loading filterscript 'Anims2.amx'...
[
13:09:02]   Loading filterscript 'Rep.amx'...
[
13:09:02]    Error: Function not registered'SSCANF_Init'
[13:09:02]    Error: Function not registered'SSCANF_Join'
[13:09:02]    Error: Function not registered'SSCANF_Leave'
[13:09:02]    Error: Function not registered'sscanf'
[13:09:02]   Loading filterscript 'objecteditor.amx'...
[
13:09:02]    Error: Function not registered'SSCANF_Init'
[13:09:02]    Error: Function not registered'SSCANF_Join'
[13:09:02]    Error: Function not registered'SSCANF_Leave'
[13:09:02]    Error: Function not registered'sscanf'
[13:09:02]   Loading filterscript 'sp.amx'...
[
13:09:02
-------------------------------------------------
[
13:09:02]  Speed Boost With Car Fly Has been loaded by Boom
[13:09:02] -------------------------------------------------
[
13:09:02]   Loading filterscript 'radio.amx'...
[
13:09:02
--------------------------------------
[
13:09:02]  WWF Radio v1.0
[13:09:02] --------------------------------------
[
13:09:02]   Loading filterscript 'iTD.amx'...
[
13:09:02]    Error: Function not registered'SSCANF_Init'
[13:09:02]    Error: Function not registered'SSCANF_Join'
[13:09:02]    Error: Function not registered'SSCANF_Leave'
[13:09:02]    Error: Function not registered'sscanf'
[13:09:02]   Loading filterscript 'hayDM.amx'...
[
13:09:02
--------------------------------------
[
13:09:02]  Hay Minigame By ScRaT
[13:09:02] --------------------------------------
[
13:09:02]   Loading filterscript 'time.amx'...
[
13:09:02]   Unable to load filterscript 'time.amx'.
[
13:09:02]   Loading filterscript 'glastowers.amx'...
[
13:09:02]   Unable to load filterscript 'glastowers.amx'.
[
13:09:02]   Loading filterscript 'santa.amx'...
[
13:09:02]   Unable to load filterscript 'santa.amx'.
[
13:09:02]   Loading filterscript 'RandomMSG.amx'...
[
13:09:02]   Unable to load filterscript 'RandomMSG.amx'.
[
13:09:02]   Loaded 16 filterscripts.
[
13:09:02]    Error: Function not registered'sscanf'
[13:09:02Script[gamemodes/5Freeroam.amx]: Run time error 19"File or function is not found"
[13:09:02Number of vehicle models
Reply
#10

well, I'm really new to all this, so It isn't that clear to me :<

EDIT: I managed to fix this error:
PHP код:
[14:07:58]    Error: Function not registered'sscanf'
[14:07:58Script[gamemodes/5Freeroam.amx]: Run time error 19"File or function is not found"
[14:07:58Number of vehicle models
and now i get this:

PHP код:
----------
Loaded log file"server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3e, (C)2005-2012 SA-MP Team
[14:11:02
[
14:11:02Server Plugins
[14:11:02] --------------
[
14:11:02]  Loading pluginsscanf
[14:11:02
[
14:11:02]  ===============================
[
14:11:02]       sscanf plugin loaded.     
[
14:11:02]    (c2009 Alex "******" Cole
[14:11:02]  ===============================
[
14:11:02]   Loaded.
[
14:11:02]  Loading pluginstreamer
[14:11:02
*** 
Streamer Plugin v2.6 by Incognito loaded ***
[
14:11:02]   Loaded.
[
14:11:02]  Loading pluginwhirlpool
[14:11:02]  
[
14:11:02]  ==================
[
14:11:02]  
[
14:11:02]   Whirlpool loaded
[14:11:02]  
[
14:11:02]  ==================
[
14:11:02]  
[
14:11:02]   Loaded.
[
14:11:02]  Loading pluginiTD
[14:11:02
iTD Plugin loaded. (Support for textdraw editor mouse/keyboard)
[
14:11:02]   Loaded.
[
14:11:02]  Loading pluginmysql
[14:11:02
  > 
MySQL plugin R7 successfully loaded.
[
14:11:02]   Loaded.
[
14:11:02]  Loading pluginregex
[14:11:02
[
14:11:02______________________________________
[14:11:02]  Regular Expression Plugin v0.2.1 loaded
[14:11:02______________________________________
[14:11:02]  ByFro (cCopyright <TBG2009-2011
[14:11:02______________________________________
[14:11:02]   Loaded.
[
14:11:02]  Loading pluginnativechecker
[14:11:02]   Loaded.
[
14:11:02]  Loaded 7 plugins.
[
14:11:02
[
14:11:02Ban list
[
14:11:02] --------
[
14:11:02]  Loadedsamp.ban
[14:11:02
[
14:11:02
[
14:11:02Filterscripts
[14:11:02] ---------------
[
14:11:02]   Loading filterscript 'DSpeedo.amx'...
[
14:11:02Clock Speedometer load
[14:11:02]   Loading filterscript 'allraces.amx'...
[
14:11:02]    Error: Function not registered'SSCANF_Init'
[14:11:02]    Error: Function not registered'SSCANF_Join'
[14:11:02]    Error: Function not registered'SSCANF_Leave'
[14:11:02]   Loading filterscript '0Admin.amx'...
[
14:11:02]  
[
14:11:02]  
[
14:11:02]  
[
14:11:02]  ======================================= 
[
14:11:02]  |                                     | 
[
14:11:02]  |        YSI version 1.06.0002        
[
14:11:02]  |        By Alex "******" Cole        
[
14:11:02]  |                                     | 
[
14:11:02]  ======================================= 
[
14:11:02]  
[
14:11:02]  
[
14:11:02]  
[
14:11:02]   Loading filterscript 'dms.amx'...
[
14:11:02]   Loading filterscript 'irc.amx'...
[
14:11:02]    Error: Function not registered'IRC_GetUserChannelMode'
[14:11:02]    Error: Function not registered'IRC_Connect'
[14:11:02]    Error: Function not registered'IRC_SetIntData'
[14:11:02]    Error: Function not registered'IRC_CreateGroup'
[14:11:02]    Error: Function not registered'IRC_Quit'
[14:11:02]    Error: Function not registered'IRC_DestroyGroup'
[14:11:02]    Error: Function not registered'IRC_GroupSay'
[14:11:02]    Error: Function not registered'IRC_JoinChannel'
[14:11:02]    Error: Function not registered'IRC_AddToGroup'
[14:11:02]    Error: Function not registered'IRC_RemoveFromGroup'
[14:11:02]    Error: Function not registered'IRC_Say'
[14:11:02]    Error: Function not registered'IRC_Notice'
[14:11:02]    Error: Function not registered'IRC_ReplyCTCP'
[14:11:02]   Loading filterscript 'weapons.amx'...
[
14:11:02
--------------------------------------
[
14:11:02WWF Weapon Shop
[14:11:02] --------------------------------------
[
14:11:02]   Loading filterscript 'minigun.amx'...
[
14:11:02
--------------------------------------
[
14:11:02]  Minigun Madness has loaded
[14:11:02] --------------------------------------
[
14:11:02]   Loading filterscript 'd_dm.amx'...
[
14:11:02
--------------------------------------
[
14:11:02]  WWF DM Arena
[14:11:02] -------------14.10.2012-----------------
[
14:11:02]   Loading filterscript 'KReaction.amx'...
[
14:11:02]   Loading filterscript 'Anims2.amx'...
[
14:11:02]   Loading filterscript 'Rep.amx'...
[
14:11:02]    Error: Function not registered'SSCANF_Init'
[14:11:02]    Error: Function not registered'SSCANF_Join'
[14:11:02]    Error: Function not registered'SSCANF_Leave'
[14:11:02]   Loading filterscript 'objecteditor.amx'...
[
14:11:02]    Error: Function not registered'SSCANF_Init'
[14:11:02]    Error: Function not registered'SSCANF_Join'
[14:11:02]    Error: Function not registered'SSCANF_Leave'
[14:11:02]   Loading filterscript 'sp.amx'...
[
14:11:02
-------------------------------------------------
[
14:11:02]  Speed Boost With Car Fly Has been loaded by Boom
[14:11:02] -------------------------------------------------
[
14:11:02]   Loading filterscript 'radio.amx'...
[
14:11:02
--------------------------------------
[
14:11:02]  WWF Radio v1.0
[14:11:02] --------------------------------------
[
14:11:02]   Loading filterscript 'iTD.amx'...
[
14:11:02]    Error: Function not registered'SSCANF_Init'
[14:11:02]    Error: Function not registered'SSCANF_Join'
[14:11:02]    Error: Function not registered'SSCANF_Leave'
[14:11:02]   Loading filterscript 'hayDM.amx'...
[
14:11:02
--------------------------------------
[
14:11:02]  Hay Minigame By ScRaT
[14:11:02] --------------------------------------
[
14:11:02]   Loading filterscript 'time.amx'...
[
14:11:02]   Unable to load filterscript 'time.amx'.
[
14:11:02]   Loading filterscript 'glastowers.amx'...
[
14:11:02]   Unable to load filterscript 'glastowers.amx'.
[
14:11:02]   Loading filterscript 'santa.amx'...
[
14:11:02]   Unable to load filterscript 'santa.amx'.
[
14:11:02]   Loading filterscript 'RandomMSG.amx'...
[
14:11:02]   Unable to load filterscript 'RandomMSG.amx'.
[
14:11:02]   Loaded 16 filterscripts
so it still appears to be a problem with sscanf. I'd appreciate if anybody could help me with this issue..
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)