Script[gamemodes/cnr.amx]: Run time error 19: "File or function is not found" -
Devon007 - 16.05.2015
Complied This Script With No Error But When I Am Starting The Server This Error Comming
PHP код:
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7, (C)2005-2015 SA-MP Team
[17:48:44] password = "" (string)
[17:48:44]
[17:48:44] Server Plugins
[17:48:44] --------------
[17:48:44] Loading plugin: crashdetect.so
[17:48:44] Loaded.
[17:48:44] Loading plugin: nativechecker.so
[17:48:44] Loaded.
[17:48:44] Loading plugin: sscanf.so
[17:48:44]
[17:48:44] ===============================
[17:48:44] sscanf plugin loaded.
[17:48:44] Version: 2.8.1
[17:48:44] (c) 2012 Alex "******" Cole
[17:48:44] ===============================
[17:48:44] Loaded.
[17:48:44] Loading plugin: mysql.so
[17:48:44] Failed (plugins/mysql.so: invalid ELF header)
[17:48:44] Loading plugin: streamer.so
[17:48:44]
*** Streamer Plugin v2.7.5.2 by Incognito loaded ***
[17:48:44] Loaded.
[17:48:44] Loading plugin: libmysqlclient.so
[17:48:44] Failed (plugins/libmysqlclient.so: file too short)
[17:48:44] Loading plugin: mysqlR39.so
[17:48:44] >> plugin.mysql: R39-2 successfully loaded.
[17:48:44] Loaded.
[17:48:44] Loading plugin: dns.so
[17:48:44]
*** DNS Plugin v2.4 by Incognito loaded ***
[17:48:44] Loaded.
[17:48:44] Loading plugin: whirlpool.so
[17:48:44]
[17:48:44] ==================
[17:48:44]
[17:48:44] Whirlpool loaded
[17:48:44]
[17:48:44] ==================
[17:48:44]
[17:48:44] Loaded.
[17:48:44] Loaded 7 plugins.
[17:48:44]
[17:48:44] Filterscripts
[17:48:44] ---------------
[17:48:44] Loading filterscript 'UltraHost.amx'...
[17:48:44] Loaded 1 filterscripts.
[17:48:44] Error: Function not registered: 'mysql_query'
[17:48:44] Error: Function not registered: 'mysql_debug'
[17:48:44] Error: Function not registered: 'mysql_store_result'
[17:48:44] Error: Function not registered: 'mysql_num_rows'
[17:48:44] Error: Function not registered: 'mysql_retrieve_row'
[17:48:44] Error: Function not registered: 'mysql_fetch_field_row'
[17:48:44] Error: Function not registered: 'mysql_free_result'
[17:48:44] Error: Function not registered: 'mysql_real_escape_string'
[17:48:44] Error: Function not registered: 'mysql_connect'
[17:48:44] Error: Function not registered: 'mysql_ping'
[17:48:44] Script[gamemodes/cnr.amx]: Run time error 19: "File or function is not found"
[17:48:44] Number of vehicle models: 0
Re: Script[gamemodes/cnr.amx]: Run time error 19: "File or function is not found" -
[FMJ]PowerSurge - 16.05.2015
You're missing the SQL plugin:
Код:
[17:48:44] Loading plugin: mysql.so
[17:48:44] Failed (plugins/mysql.so: invalid ELF header)
Код:
[17:48:44] Loading plugin: libmysqlclient.so
[17:48:44] Failed (plugins/libmysqlclient.so: file too short)
Try re-downloading the plugins.
Re: Script[gamemodes/cnr.amx]: Run time error 19: "File or function is not found" -
Devon007 - 16.05.2015
Link Please
Re: Script[gamemodes/cnr.amx]: Run time error 19: "File or function is not found" -
Konstantinos - 16.05.2015
You load a mysql.so plugin with invalid ELF header (renamed the .dll?)
You load libmysqlclient which is NOT a plugin.
You load R39-2 after that.
I guess you want to have a mysql plugin with R6 and one with R39-2 (R39-3 is the latest) but you cannot do that. Update the old scripts to threaded queries and keep R39 mysql plugin loaded.
Also load nativechecker plugin last of all.
Re: Script[gamemodes/cnr.amx]: Run time error 19: "File or function is not found" -
Devon007 - 16.05.2015
So This All Will Solved After Getting the Correct Mysql Plugin ?
PHP код:
[18:04:40] Error: Function not registered: 'mysql_query'
[18:04:40] Error: Function not registered: 'mysql_debug'
[18:04:40] Error: Function not registered: 'mysql_store_result'
[18:04:40] Error: Function not registered: 'mysql_num_rows'
[18:04:40] Error: Function not registered: 'mysql_retrieve_row'
[18:04:40] Error: Function not registered: 'mysql_fetch_field_row'
[18:04:40] Error: Function not registered: 'mysql_free_result'
[18:04:40] Error: Function not registered: 'mysql_real_escape_string'
[18:04:40] Error: Function not registered: 'mysql_connect'
[18:04:40] Error: Function not registered: 'mysql_ping'
[18:04:40] Script[gamemodes/cnr.amx]: Run time error 19: "File or function is not found"
Re: Script[gamemodes/cnr.amx]: Run time error 19: "File or function is not found" -
Konstantinos - 16.05.2015
cnr.pwn uses R6 and the plugin is not loaded (it's only loaded R39 which is totally different functions etc). So either load R6 or update the script to threaded queries and use R39 (recommended).
Re: Script[gamemodes/cnr.amx]: Run time error 19: "File or function is not found" -
Devon007 - 16.05.2015
Can U Give Me The The Link?