Errors in logs
#1

[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.
Reply
#2

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'
Reply
#3

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.
Reply
#4

i did it compile and run but nothing happens
Reply
#5

try posting your entire server_log and server.cfg contents
Reply
#6

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
Reply
#7

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
Reply
#8

what mysql Version should i download?
Reply
#9

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!
Reply
#10

----------
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)