PDA

View Full Version : failed to load plugins (mysql & sscanf)


benel1
07/05/2016, 06:46 PM
Hello,
I just have updated my windows to windows 10 and now I have a problem with loading mysql & sscanf plugins
I downloaded the latest version of mysql from here: http://forum.sa-mp.com/showthread.php?t=56564
and latest version (I think) of sscanf from here: https://github.com/maddinat0r/sscanf/releases

server_log:

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

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[21:39:06]
[21:39:06] Server Plugins
[21:39:06] --------------
[21:39:06] Loading plugin: nativechecker
[21:39:06] Loaded.
[21:39:06] Loading plugin: mysql
[21:39:06] Failed.
[21:39:06] Loading plugin: sscanf
[21:39:06] Failed.
[21:39:06] Loaded 1 plugins.

[21:39:06]
[21:39:06] Filterscripts
[21:39:06] ---------------
[21:39:06] Loading filterscript 'flymode.amx'...
[21:39:06] Loaded 1 filterscripts.

[21:39:06] Error: Function not registered: 'SSCANF_Init'
[21:39:06] Error: Function not registered: 'SSCANF_IsConnected'
[21:39:06] Error: Function not registered: 'SSCANF_Join'
[21:39:06] Error: Function not registered: 'SSCANF_Leave'
[21:39:06] Error: Function not registered: 'mysql_connect'
[21:39:06] Script[gamemodes/dm.amx]: Run time error 19: "File or function is not found"
[21:39:06] Number of vehicle models: 0


server.cfg:

echo Executing Server Config...
lanmode 1
rcon_password ***
maxplayers 1
port 7777
hostname SA-MP 0.3 Server - Test
gamemode0 dm 1
filterscripts flymode
plugins nativechecker mysql sscanf
announce 1
chatlogging 0
weburl www.none.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]
language עברית


I downloaded these files:
msvcp100.dll
msvcr100.dll

and i tried to download .net but it's already installed

anyway nothing not working... :\

- I'm sorry for my bad english

oMa37
07/05/2016, 07:10 PM
nativechecker must be at the end of the line:
plugins mysql sscanf nativechecker

Konstantinos
07/05/2016, 07:16 PM
You need to install the necessary redistributable packages:

http://www.microsoft.com/en-us/download/details.aspx?id=5555
http://www.microsoft.com/en-us/download/details.aspx?id=8328
http://www.microsoft.com/en-us/download/details.aspx?id=30679
https://www.microsoft.com/en-us/download/details.aspx?id=48145

benel1
07/05/2016, 07:34 PM
nativechecker must be at the end of the line:
plugins mysql sscanf nativechecker
thank you :)

You need to install the necessary redistributable packages:

http://www.microsoft.com/en-us/download/details.aspx?id=5555
http://www.microsoft.com/en-us/download/details.aspx?id=8328
http://www.microsoft.com/en-us/download/details.aspx?id=30679
https://www.microsoft.com/en-us/download/details.aspx?id=48145
thanks it's working! :)