Run time error 19: "File or function is not found"
#1

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, ©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]    © 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
Reply
#2

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

Can you give me the link of nativechecker plugin.
Reply
#4

Quote:
Originally Posted by firstlast488
Посмотреть сообщение
Can you give me the link of nativechecker plugin.
https://sampforum.blast.hk/showthread.php?tid=249226

i legit just typed 'nativechecker' on the g00gle
Reply
#5

check your mysql logs and if there is errors, fix it.
Reply
#6

Quote:
Originally Posted by ******
Посмотреть сообщение
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, ©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]    © 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
Reply
#7

I said, what mysql give you theese errors. Update version of MySQL plugin and include.
Reply
#8

Quote:
Originally Posted by Heress
Посмотреть сообщение
check your mysql logs and if there is errors, fix it.
How i can check mysql logs?
Reply
#9

Quote:
Originally Posted by firstlast488
Посмотреть сообщение
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
Reply
#10

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

Quote:
Originally Posted by firstlast488
Посмотреть сообщение
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
Reply
#12

Quote:
Originally Posted by iorp
View Post
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"
Reply
#13

Quote:
Originally Posted by firstlast488
View Post
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.
Reply
#14

If you\'re currently using MySQL r40 or newer, go for r39 and it\'d work.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)