[Help] sscanf is not loading
#1

Hi everyone. I'm making a new gamemode. I have installed a first plugin called sscanf.dll
I'm running the gamemode from my PC: Windows 7 Professional 64bit, my PC has installed Framework 4.0, Framework 4.5 and Framework 4.5.2.

I recently downloaded the last samp-server from here: SA-MP 0.3z Windows Server
Then, I have put this on my cfg server:

Код:
echo Executing Server Config...
lanmode 0
rcon_password xxxx
maxplayers 120
port 7777
hostname MyServer
gamemode0 MyGamemode
filterscripts
plugins sscanf
announce 0
query 1
chatlogging 0
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]
I have downloaded sscanf from here: [Plugin] sscanf 2.8.1 - Updated 12/03/13: Now supports npcmodes!

I have this in my code:



This in my pawno/include folder:



And this in my server plugin folder:



But I get this problem everytime I try to run my server:
Код:
SA-MP Dedicated Server
----------------------
v0.3z, ©2005-2014 SA-MP Team

[19:24:54] filterscripts = ""  (string)
[19:24:54] 
[19:24:54] Server Plugins
[19:24:54] --------------
[19:24:54]  Loading plugin: sscanf
[19:24:54]   Failed.
[19:24:54]  Loaded 0 plugins.

[19:24:54] 
[19:24:54] Filterscripts
[19:24:54] ---------------
[19:24:54]   Loaded 0 filterscripts.
I'm becoming crazy, I have hours trying to solve this problem. Please, help me with this!
NOTE: I'm only installing a plugin, sscanf and not other one.

EDIT: The problem is my PC, my server worked very well in another computer. But this doesn't work on my PC.
Reply
#2

do sscanf.dll in your .cfg file, and also download the latest inc file then compile your GM with it.
Reply
#3

It didn't work, and I updated sscanf2.inc from here: https://sampforum.blast.hk/showthread.php?tid=120356
Reply
#4

Get the latest sscanf.dll file. From the looks of it, the last time it was updated was in 2012, whereas the .so file was updated in 2014.

Get the latest sscanf plugin.
Reply
#5

Make sure your directory structure is correct.
Reply
#6

Quote:
Originally Posted by Pottus
Посмотреть сообщение
You named it sscanf instead of sscanf2 in the samp cfg
The include uses sscanf2, the plugin uses sscanf. Confused me on the first time, but that's the way it is.

EDIT: Oh sorry, posted this after you fixed it :/
Reply
#7

Thank you guys. But I tested my server in a friend's laptop. It worked, that means the problem is my PC. I have installed the latest Framework version, and 2013 Redistributable (x86). But I don't know what needs my PC for run this plugin.
Reply
#8

Install nativechecker.dll
Reply
#9

Woah!, Well I did:
plugins sscanf nativechecker

Now I got this logs after run samp-server.exe:

Код:
SA-MP Dedicated Server
----------------------
v0.3z, ©2005-2014 SA-MP Team

[22:48:21] filterscripts = ""  (string)
[22:48:21] 
[22:48:21] Server Plugins
[22:48:21] --------------
[22:48:21]  Loading plugin: sscanf
[22:48:21]   Failed.
[22:48:21]  Loading plugin: nativechecker
[22:48:21]   Loaded.
[22:48:21]  Loaded 1 plugins.

[22:48:21] 
[22:48:21] Filterscripts
[22:48:21] ---------------
[22:48:21]   Loaded 0 filterscripts.

[22:48:21]    Error: Function not registered: 'SSCANF_Init'
[22:48:21]    Error: Function not registered: 'SSCANF_Join'
[22:48:21]    Error: Function not registered: 'SSCANF_Leave'
Now I see, the error are those functions SSCANF_Init, SSCANF_Join and SSCANF_Leave.
What can I do with these errors?

EDIT: I have already run the same gamemode folder in another PC, It worked. But it doesn't work on my PC. The problem isn't the plugin, is my PC. And I don't know what I need to install.
Reply
#10

Does that 'other PC' have the latest version of the streamer plugin? -_-

Your sscanf.dll plugin CLEARLY says "Fecha de modifica..." on the 24/12/2012...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)