PDA

View Full Version : Run time error 19: "File or function is not found"


firstlast488
23/03/2019, 10:01 AM
I got this usual error : "Run time error 19: "File or function is not found"
I've searched and searched. all the issues i've found have not fixed it..

The Plugin is loaded, The server is Windows
Any idea why?

Please help me.


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

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

[17:59:03] filterscripts = "" (string)
[17:59:03]
[17:59:03] Server Plugins
[17:59:03] --------------
[17:59:03] Loading plugin: audio
[17:59:03]

*** Audio Plugin v0.5 by Incognito loaded ***

[17:59:03] Loaded.
[17:59:03] Loading plugin: sscanf
[17:59:03]

[17:59:03] ===============================

[17:59:03] sscanf plugin loaded.

[17:59:03] (c) 2009 Alex "******" Cole

[17:59:03] 0.3d-R2 500 Players "dnee"

[17:59:03] ===============================

[17:59:03] Loaded.
[17:59:03] Loading plugin: streamer
[17:59:03]

*** Streamer Plugin v2.9.4 by Incognito loaded ***

[17:59:03] Loaded.
[17:59:03] Loading plugin: Whirlpool
[17:59:03]
[17:59:03] ==================
[17:59:03]
[17:59:03] Whirlpool loaded
[17:59:03]
[17:59:03] ==================
[17:59:03]
[17:59:03] Loaded.
[17:59:03] Loaded 4 plugins.

[17:59:03]
[17:59:03] Filterscripts
[17:59:03] ---------------
[17:59:03] Loaded 0 filterscripts.

[17:59:03] Script[gamemodes/RRP.amx]: Run time error 19: "File or function is not found"
[17:59:03] Number of vehicle models: 0

firstlast488
23/03/2019, 10:08 AM
Can you give me the link of nativechecker plugin.

v4yne1
23/03/2019, 10:27 AM
Can you give me the link of nativechecker plugin.

https://forum.sa-mp.com/showthread.php?t=249226

i legit just typed 'nativechecker' on the g00gle

Heress
23/03/2019, 12:37 PM
check your mysql logs and if there is errors, fix it.

firstlast488
23/03/2019, 04:10 PM
Your plugins do load, but apparently you're still missing something. So either one of them is out of date, or you need another one. Try the nativechecker plugin - it won't solve the issue but will at least tell you which one you're missing.


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

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

[00:07:48] filterscripts = "" (string)
[00:07:48]
[00:07:48] Server Plugins
[00:07:48] --------------
[00:07:48] Loading plugin: audio
[00:07:49]

*** Audio Plugin v0.5 by Incognito loaded ***

[00:07:49] Loaded.
[00:07:49] Loading plugin: sscanf
[00:07:50]

[00:07:50] ===============================

[00:07:50] sscanf plugin loaded.

[00:07:50] (c) 2009 Alex "******" Cole

[00:07:50] 0.3d-R2 500 Players "dnee"

[00:07:50] ===============================

[00:07:50] Loaded.
[00:07:50] Loading plugin: streamer
[00:07:51]

*** Streamer Plugin v2.9.4 by Incognito loaded ***

[00:07:51] Loaded.
[00:07:51] Loading plugin: Whirlpool
[00:07:51]
[00:07:51] ==================
[00:07:51]
[00:07:51] Whirlpool loaded
[00:07:51]
[00:07:51] ==================
[00:07:51]
[00:07:51] Loaded.
[00:07:51] Loading plugin: nativechecker
[00:07:51] Loaded.
[00:07:51] Loaded 5 plugins.

[00:07:51]
[00:07:51] Filterscripts
[00:07:51] ---------------
[00:07:51] Loaded 0 filterscripts.

[00:07:51] Error: Function not registered: 'mysql_query'
[00:07:51] Error: Function not registered: 'mysql_real_escape_string'
[00:07:51] Error: Function not registered: 'mysql_connect'
[00:07:51] Error: Function not registered: 'mysql_debug'
[00:07:51] Error: Function not registered: 'mysql_close'
[00:07:51] Error: Function not registered: 'mysql_store_result'
[00:07:51] Error: Function not registered: 'mysql_retrieve_row'
[00:07:51] Error: Function not registered: 'mysql_fetch_field_row'
[00:07:51] Error: Function not registered: 'mysql_free_result'
[00:07:51] Error: Function not registered: 'mysql_fetch_int'
[00:07:51] Error: Function not registered: 'mysql_num_rows'
[00:07:51] Error: Function not registered: 'mysql_fetch_row_format'
[00:07:51] Error: Function not registered: 'mysql_insert_id'
[00:07:51] Script[gamemodes/RRP10.amx]: Run time error 19: "File or function is not found"
[00:07:51] Number of vehicle models: 0


My gamemode is successfuly run compiled and doesn't have any errors.

Help me to fix this

Heress
23/03/2019, 04:11 PM
I said, what mysql give you theese errors. Update version of MySQL plugin and include.

firstlast488
25/03/2019, 09:11 AM
check your mysql logs and if there is errors, fix it.

How i can check mysql logs?

Heress
25/03/2019, 12:04 PM
How i can check mysql logs?

Which MySQL version you are using?
If r40+ you can find logs: logs>plugins>mysql
If you are nor using the latest version just there is a file, named mysql_log.txt in your server folder.

But errors is, because your plugin and include is up to date. Update it to r41-4

firstlast488
25/03/2019, 12:30 PM
I'm not using mysql plugins

echo Executing Server Config...
lanmode 0
rcon_password changeme444
maxplayers 100
port 7777
hostname R Roleplay (0.3.7)
gamemode0 RRP
filterscripts
plugins audio sscanf streamer Whirlpool nativechecker
announce 0
chatlogging 0
weburl soon.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
lagcompmode 0

When i run my server with nativechecker plugins have something error happened

[20:28:24] Error: Function not registered: 'mysql_query'
[20:28:24] Error: Function not registered: 'mysql_real_escape_string'
[20:28:24] Error: Function not registered: 'mysql_connect'
[20:28:24] Error: Function not registered: 'mysql_debug'
[20:28:24] Error: Function not registered: 'mysql_close'
[20:28:24] Error: Function not registered: 'mysql_store_result'
[20:28:24] Error: Function not registered: 'mysql_retrieve_row'
[20:28:24] Error: Function not registered: 'mysql_fetch_field_row'
[20:28:24] Error: Function not registered: 'mysql_free_result'
[20:28:24] Error: Function not registered: 'mysql_fetch_int'
[20:28:24] Error: Function not registered: 'mysql_num_rows'
[20:28:24] Error: Function not registered: 'mysql_fetch_row_format'
[20:28:24] Error: Function not registered: 'mysql_insert_id'
[20:28:24] Script[gamemodes/RRP.amx]: Run time error 19: "File or function is not found"
[20:28:24] Number of vehicle models: 0

iorp
25/03/2019, 12:31 PM
I'm not using mysql plugins

echo Executing Server Config...
lanmode 0
rcon_password changeme444
maxplayers 100
port 7777
hostname R Roleplay (0.3.7)
gamemode0 RRP
filterscripts
plugins audio sscanf streamer Whirlpool nativechecker
announce 0
chatlogging 0
weburl soon.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
lagcompmode 0

When i run my server with nativechecker plugins have something error happened

[20:28:24] Error: Function not registered: 'mysql_query'
[20:28:24] Error: Function not registered: 'mysql_real_escape_string'
[20:28:24] Error: Function not registered: 'mysql_connect'
[20:28:24] Error: Function not registered: 'mysql_debug'
[20:28:24] Error: Function not registered: 'mysql_close'
[20:28:24] Error: Function not registered: 'mysql_store_result'
[20:28:24] Error: Function not registered: 'mysql_retrieve_row'
[20:28:24] Error: Function not registered: 'mysql_fetch_field_row'
[20:28:24] Error: Function not registered: 'mysql_free_result'
[20:28:24] Error: Function not registered: 'mysql_fetch_int'
[20:28:24] Error: Function not registered: 'mysql_num_rows'
[20:28:24] Error: Function not registered: 'mysql_fetch_row_format'
[20:28:24] Error: Function not registered: 'mysql_insert_id'
[20:28:24] Script[gamemodes/RRP.amx]: Run time error 19: "File or function is not found"
[20:28:24] Number of vehicle models: 0

maybe you imported mysql from includes, recheck includes

firstlast488
25/03/2019, 12:39 PM
maybe you imported mysql from includes, recheck includes

Yes, i'm using a_mysql include. My gamemode is perfectly compiled and no errors.
please help me to fix this Run time error 19: "File or function is not found"

Heress
25/03/2019, 01:24 PM
Yes, i'm using a_mysql include. My gamemode is perfectly compiled and no errors.
please help me to fix this Run time error 19: "File or function is not found"

You using include, but you dont have plugin? What kind of combination is this? Use plugin too.

Lirbo
25/03/2019, 01:55 PM
If you're currently using MySQL r40 or newer, go for r39 and it'd work.