SA-MP Forums Archive
Function Not Registered - 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: Function Not Registered (/showthread.php?tid=459809)



Function Not Registered - 13 - 24.08.2013

Can someone please help me, I downloaded nativechecker.so and I went ahead and posted this
I get these errors in my logs

[18:14:38] Error: Function not registered: 'SSCANF_Init'
[18:14:38] Error: Function not registered: 'SSCANF_Join'
[18:14:38] Error: Function not registered: 'SSCANF_Leave'
[18:14:38] Error: Function not registered: 'Audio_RenamePlayer'
[18:14:38] Error: Function not registered: 'Audio_SetPosition'

I've got updated everything and stuff, my server.cfg is this
echo Executing Server Config...
lanmode 0
rcon_password ********
maxplayers 100
hostname test server
gamemode0 NERP 1
filterscripts buttons
plugins streamer.so audio.so sscanf.so nativechecker.so
announce 1
query 1
weburl www.sa-mp.com
maxnpc 0
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000

If anyone could help me that would mean alot thank you!
I've updated my sscanf2.inc and mostly everything(maybe i missed some stuff but i dont think so)

Thanks alot!


Re: Function Not Registered - x96664 - 24.08.2013

Well I'd suggest you to assemble the plugin names in this way audio.so sscanf.so streamer.so nativechecker.so I had a similar problem and alphabetical ording helped me to solve the problem.


Re: Function Not Registered - Konstantinos - 24.08.2013

Show us what it's been printed in the server_log.txt file. For some reason, sscanf and audio plugins failed to load. Are you sure you have .so files into plugins folder? And .so is for Linux.

Quote:
Originally Posted by x96664
Посмотреть сообщение
Well I'd suggest you to assemble the plugin names in this way audio.so sscanf.so streamer.so nativechecker.so I had a similar problem and alphabetical ording helped me to solve the problem.
True! But those two plugins are written in lowercase letters (their file name).


Re: Function Not Registered - 13 - 24.08.2013

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3x, ©2005-2013 SA-MP Team

[18:14:38]
[18:14:38] Server Plugins
[18:14:38] --------------
[18:14:38] Loading plugin: streamer.so
[18:14:38]

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

[18:14:38] Loaded.
[18:14:38] Loading plugin: audio.so
[18:14:38]
*** Audio Plugin v0.4 by Incognito loaded ***

[18:14:38] Loaded.
[18:14:38] Loading plugin: sscanf.so
[18:14:38]

[18:14:38] ===============================

[18:14:38] sscanf plugin loaded.

[18:14:38] © 2009 Alex "******" Cole

[18:14:38] ===============================

[18:14:38] Loaded.
[18:14:38] Loading plugin: nativechecker.so
[18:14:38] Loaded.
[18:14:38] Loaded 4 plugins.

[18:14:38]
[18:14:38] Filterscripts
[18:14:38] ---------------
[18:14:38] Loading filterscript 'buttons.amx'...
[18:14:38] Loaded 1 filterscripts.

[18:14:38] Error: Function not registered: 'SSCANF_Init'
[18:14:38] Error: Function not registered: 'SSCANF_Join'
[18:14:38] Error: Function not registered: 'SSCANF_Leave'
[18:14:38] Error: Function not registered: 'Audio_RenamePlayer'
[18:14:38] Error: Function not registered: 'Audio_SetPosition'
[18:14:38] Script[gamemodes/NERP.amx]: Run time error 19: "File or function is not found"
[18:14:38] Number of vehicle models: 0


Re: Function Not Registered - Konstantinos - 24.08.2013

Your plugins are old versions. For example, Audio plugin is in 0.5 version and you've loaded the previous one which Audio_SetPosition function did not exist.


Re: Function Not Registered - 13 - 24.08.2013

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Your plugins are old versions. For example, Audio plugin is in 0.5 version and you've loaded the previous one which Audio_SetPosition function did not exist.
Thank you, now the audio part is fixed..
I believe I know how to fix the sscanf part


Re: Function Not Registered - Konstantinos - 24.08.2013

You're welcome. Your sscanf plugin is old as well. It should say 2012 in the console, but it says 2009 to you.


Re: Function Not Registered - 13 - 24.08.2013

Does anyone know how to fix this
[19:03:24] Error: Function not registered: 'SSCANF_Init'
[19:03:24] Error: Function not registered: 'SSCANF_Join'
[19:03:24] Error: Function not registered: 'SSCANF_Leave'
[19:03:24] Script[gamemodes/NERP.amx]: Run time error 19: "File or function is not found"
[19:03:24] Number of vehicle models: 0