SScanf Linux error
#1

So I got a linux server running but whenever I start it, I get the following error:
Код:
SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[17:16:32] filterscripts = ""  (string)
[17:16:32] 
[17:16:32] Server Plugins
[17:16:32] --------------
[17:16:32]  Loading plugin: whirlpool.so
[17:16:32]  
[17:16:32]  ==================
[17:16:32]  
[17:16:32]   Whirlpool loaded
[17:16:32]  
[17:16:32]  ==================
[17:16:32]  
[17:16:32]   Loaded.
[17:16:32]  Loading plugin: mysql_static.so
[17:16:32]  >> plugin.mysql: R39-3 successfully loaded.
[17:16:32]   Loaded.
[17:16:32]  Loading plugin: nativechecker.so
[17:16:32]   Loaded.
[17:16:32]  Loading plugin: sscanf2.so
[17:16:32] 

[17:16:32]  ===============================

[17:16:32]       sscanf plugin loaded.     

[17:16:32]          Version:  2.8.1        

[17:16:32]    © 2012 Alex "******" Cole  

[17:16:32]  ===============================

[17:16:32]   Loaded.
[17:16:32]  Loaded 4 plugins.

[17:16:32] 
[17:16:32] Filterscripts
[17:16:32] ---------------
[17:16:32]   Loaded 0 filterscripts.

[17:16:32]    Error: Function not registered: 'SSCANF_Init'
[17:16:32]    Error: Function not registered: 'SSCANF_IsConnected'
[17:16:32]    Error: Function not registered: 'SSCANF_Join'
[17:16:32]    Error: Function not registered: 'SSCANF_Leave'
[17:16:32]    Error: Function not registered: 'sscanf'
[17:16:32] Script[gamemodes/cnr.amx]: Run time error 19: "File or function is not found"
[17:16:32] Number of vehicle models: 0
I just downloaded the newest version of sscanf, so I dont get it
Reply
#2

The version of sscanf you have isn't compatible with the linux server you have.
Reply
#3

Wrong plugin/include version. You compiled your script with include for one version of sscanf, but on linux you have another. Solution is to download latest plugin update include and plugin on linux (and windows if you are developing on it)
Reply
#4

Recompile your script with the same include that is in the latest release of the plugin archive.
Reply
#5

As he had said he has already downloaded the newest version already.

Now make sure you have the right plugin, remember that Linux OS uses ".so" plugings and not ".DLL", so make sure the plugin is a .so file.

Also in your server.cfg file make sure you create a line called plugins, then add the name of the plugin and put .so at the end of the line. So it would look something like this:

plugins sscanf.so

For multiply plugins:

Plugins sscanf whirlpool streamer.so

As you have notice I finished with ".so " so that damp server will know I'm using a Linux OS. Also make sure you have this in your script:
pawn Код:
#include <sscanf2>
Might be a simple mistake but check it still. If all what I have stated didn't work well maybe its the version you are using is outdated so get it here:
https://sampforum.blast.hk/showthread.php?tid=570927
Reply
#6

I tried to redownload the newest version but the Dropbox link is down. And there is no Sscanf in the GitHub repositories? I tried to ****** it, without results.
Reply
#7

https://github.com/maddinat0r/sscanf
Reply
#8

Thanks alot!
Reply
#9

Nope, it didnt work.. Still the same error, Even though i updated the plugin
Reply
#10

Use crasdetect plugin and let me know if you found the issue
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)