Errors in logs -
Nhiel - 05.05.2017
[07:38:13] Script[gamemodes/LLRPDec.amx]: Run time error 17: "Invalid/unsupported P-code file format"
[07:38:13] Failed to load 'gamemodes/LLRPDec.amx' script.
Re: Errors in logs -
Nhiel - 05.05.2017
this [07:48:09] Error: Function not registered: 'SSCANF_Init'
[07:48:09] Error: Function not registered: 'SSCANF_Join'
[07:48:09] Error: Function not registered: 'SSCANF_Leave'
[07:48:09] Error: Function not registered: 'mysql_format'
[07:48:09] Error: Function not registered: 'mysql_tquery'
[07:48:09] Error: Function not registered: 'mysql_unprocessed_queries'
[07:48:09] Error: Function not registered: 'cache_get_row_count'
[07:48:09] Error: Function not registered: 'cache_get_field_content'
[07:48:09] Error: Function not registered: 'cache_get_field_content_int'
[07:48:09] Error: Function not registered: 'cache_get_row_int'
[07:48:09] Error: Function not registered: 'cache_get_field_content_float'
[07:48:09] Error: Function not registered: 'cache_get_row'
[07:48:09] Error: Function not registered: 'cache_insert_id'
[07:48:09] Error: Function not registered: 'mysql_connect'
[07:48:09] Error: Function not registered: 'mysql_errno'
[07:48:09] Error: Function not registered: 'mysql_close'
Re: Errors in logs -
ShihabSoft - 05.05.2017
This usually occurs, when you start a server while the compilation is still going on, as the .pwn file is still being compiled.
Solution would be, wait for the pawno to compile the whole script and return with a success message. Then try to run the server.
Re: Errors in logs -
Nhiel - 05.05.2017
i did it compile and run but nothing happens
Re: Errors in logs -
Kucin666 - 05.05.2017
try posting your entire server_log and server.cfg contents
Re: Errors in logs -
Nhiel - 06.05.2017
Logs
Код:
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team
[08:47:30] filterscripts = "" (string)
[08:47:30]
[08:47:30] Server Plugins
[08:47:30] --------------
[08:47:30] Loading plugin: streamer.so
[08:47:30]
*** Streamer Plugin v2.9.1 by Incognito loaded ***
[08:47:30] Loaded.
[08:47:30] Loading plugin: sscanf.so
[08:47:30]
[08:47:30] ===============================
[08:47:30] sscanf plugin loaded.
[08:47:30] © 2009 Alex "******" Cole
[08:47:30] ===============================
[08:47:30] Loaded.
[08:47:30] Loading plugin: Whirlpool.so
[08:47:30]
[08:47:30] ==================
[08:47:30]
[08:47:30] Whirlpool loaded
[08:47:30]
[08:47:30] ==================
[08:47:30]
[08:47:30] Loaded.
[08:47:30] Loading plugin: audio.so
[08:47:30]
*** Audio Plugin v0.5 by Incognito loaded ***
[08:47:30] Loaded.
[08:47:30] Loading plugin: nativechecker.so
[08:47:30] Loaded.
[08:47:30] Loading plugin: mysql.so
[08:47:30] Failed (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory)
[08:47:30] Loading plugin: mysql_5.5.so
[08:47:30] Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory)
[08:47:30] Loading plugin: mysql_static.so
[08:47:30] >> plugin.mysql: R34 successfully loaded.
[08:47:30] Loaded.
[08:47:30] Loaded 6 plugins.
[08:47:30]
[08:47:30] Ban list
[08:47:30] --------
[08:47:30] Loaded: samp.ban
[08:47:30]
[08:47:30]
[08:47:30] Filterscripts
[08:47:30] ---------------
[08:47:30] Loaded 0 filterscripts.
[08:47:30] Error: Function not registered: 'SSCANF_Init'
[08:47:30] Error: Function not registered: 'SSCANF_Join'
[08:47:30] Error: Function not registered: 'SSCANF_Leave'
[08:47:30] Error: Function not registered: 'mysql_format'
[08:47:30] Error: Function not registered: 'mysql_tquery'
[08:47:30] Error: Function not registered: 'mysql_unprocessed_queries'
[08:47:30] Error: Function not registered: 'cache_get_row_count'
[08:47:30] Error: Function not registered: 'cache_get_field_content'
[08:47:30] Error: Function not registered: 'cache_get_field_content_int'
[08:47:30] Error: Function not registered: 'cache_get_row_int'
[08:47:30] Error: Function not registered: 'cache_get_field_content_float'
[08:47:30] Error: Function not registered: 'cache_get_row'
[08:47:30] Error: Function not registered: 'cache_insert_id'
[08:47:30] Error: Function not registered: 'mysql_connect'
[08:47:30] Error: Function not registered: 'mysql_errno'
[08:47:30] Error: Function not registered: 'mysql_close'
[08:47:30] Script[gamemodes/PRP.amx]: Run time error 19: "File or function is not found"
[08:47:30] Number of vehicle models: 0
Server.cfg
Код:
echo Executing Server Config...
lanmode 0
rcon_password 662211
maxplayers 100
port 8889
hostname Playon Roleplay [Refunding]
gamemode0 PRP
filterscripts
plugins streamer.so sscanf.so Whirlpool.so audio.so nativechecker.so mysql.so mysql_5.5.so mysql_static.so
chatlogging 0
announce 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]
language English
query 1
Re: Errors in logs -
TheRealSphinx - 06.05.2017
You need this plugin:
https://github.com/pBlueG/SA-MP-MySQL/releases
Also use the newest mysql include file delivered with the plugin!
and why the fuck you load 3 times the mysql plugin?
"mysql.so mysql_5.5.so mysql_static.so".
Kind regards
Sphinx
Re: Errors in logs -
Nhiel - 06.05.2017
what mysql Version should i download?
Re: Errors in logs -
TheRealSphinx - 06.05.2017
If you are running on debian:
https://github.com/pBlueG/SA-MP-MySQ...-static.tar.gz
Centos:
https://github.com/pBlueG/SA-MP-MySQ...CentOS7.tar.gz
Windows:
https://github.com/pBlueG/SA-MP-MySQ...41-2-win32.zip
And then just use one of these!!
And recompile your plugin with the pawno include file provided by one of these archives!
Re: Errors in logs -
Nhiel - 06.05.2017
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team
[22:50:18] filterscripts = "" (string)
[22:50:18]
[22:50:18] Server Plugins
[22:50:18] --------------
[22:50:18] Loading plugin: audio.so
[22:50:18]
*** Audio Plugin v0.5 by Incognito loaded ***
[22:50:18] Loaded.
[22:50:18] Loading plugin: sscanf.so
[22:50:18]
[22:50:18] ===============================
[22:50:18] sscanf plugin loaded.
[22:50:18] © 2009 Alex "******" Cole
[22:50:18] ===============================
[22:50:18] Loaded.
[22:50:18] Loading plugin: streamer.so
[22:50:18]
*** Streamer Plugin v2.9.1 by Incognito loaded ***
[22:50:18] Loaded.
[22:50:18] Loading plugin: Whirlpool.so
[22:50:18]
[22:50:18] ==================
[22:50:18]
[22:50:18] Whirlpool loaded
[22:50:18]
[22:50:18] ==================
[22:50:18]
[22:50:18] Loaded.
[22:50:18] Loaded 4 plugins.
[22:50:18]
[22:50:18] Filterscripts
[22:50:18] ---------------
[22:50:18] Loaded 0 filterscripts.
[22:50:18] Script[gamemodes/PRP.amx]: Run time error 19: "File or function is not found"
[22:50:18] Number of vehicle models: 0
now this