SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 23/03/2019, 10:01 AM   #1
firstlast488
Little Clucker
 
Join Date: Jan 2016
Posts: 25
Reputation: 0
Default Run time error 19: "File or function is not found"

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.

Code:
----------
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 is offline   Reply With Quote
Old 23/03/2019, 10:08 AM   #2
firstlast488
Little Clucker
 
Join Date: Jan 2016
Posts: 25
Reputation: 0
Default Re: Run time error 19: "File or function is not found"

Can you give me the link of nativechecker plugin.
firstlast488 is offline   Reply With Quote
Old 23/03/2019, 10:27 AM   #3
v4yne1
Little Clucker
 
Join Date: Feb 2019
Posts: 30
Reputation: 4
Default Re: Run time error 19: "File or function is not found"

Quote:
Originally Posted by firstlast488 View Post
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
v4yne1 is offline   Reply With Quote
Old 23/03/2019, 12:37 PM   #4
Heress
Huge Clucker
 
Heress's Avatar
 
Join Date: Mar 2018
Location: Lithuania
Posts: 262
Reputation: 7
Default Re: Run time error 19: "File or function is not found"

check your mysql logs and if there is errors, fix it.
__________________
==============
Sorry for my bad English









Respect: Kalcor, ******. Thank you for this great game!
Heress is offline   Reply With Quote
Old 23/03/2019, 04:10 PM   #5
firstlast488
Little Clucker
 
Join Date: Jan 2016
Posts: 25
Reputation: 0
Default Re: Run time error 19: "File or function is not found"

Quote:
Originally Posted by ****** View Post
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.
Code:
----------
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

Last edited by firstlast488; 23/03/2019 at 04:45 PM.
firstlast488 is offline   Reply With Quote
Old 23/03/2019, 04:11 PM   #6
Heress
Huge Clucker
 
Heress's Avatar
 
Join Date: Mar 2018
Location: Lithuania
Posts: 262
Reputation: 7
Default Re: Run time error 19: "File or function is not found"

I said, what mysql give you theese errors. Update version of MySQL plugin and include.
__________________
==============
Sorry for my bad English









Respect: Kalcor, ******. Thank you for this great game!
Heress is offline   Reply With Quote
Old 25/03/2019, 09:11 AM   #7
firstlast488
Little Clucker
 
Join Date: Jan 2016
Posts: 25
Reputation: 0
Default Re: Run time error 19: "File or function is not found"

Quote:
Originally Posted by Heress View Post
check your mysql logs and if there is errors, fix it.
How i can check mysql logs?
firstlast488 is offline   Reply With Quote
Old 25/03/2019, 12:04 PM   #8
Heress
Huge Clucker
 
Heress's Avatar
 
Join Date: Mar 2018
Location: Lithuania
Posts: 262
Reputation: 7
Default Re: Run time error 19: "File or function is not found"

Quote:
Originally Posted by firstlast488 View Post
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
__________________
==============
Sorry for my bad English









Respect: Kalcor, ******. Thank you for this great game!
Heress is offline   Reply With Quote
Old 25/03/2019, 12:30 PM   #9
firstlast488
Little Clucker
 
Join Date: Jan 2016
Posts: 25
Reputation: 0
Default Re: Run time error 19: "File or function is not found"

I'm not using mysql plugins

Code:
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

Code:
[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
firstlast488 is offline   Reply With Quote
Old 25/03/2019, 12:31 PM   #10
iorp
Big Clucker
 
iorp's Avatar
 
Join Date: Sep 2018
Location: I do not live
Posts: 65
Reputation: 1
Default Re: Run time error 19: "File or function is not found"

Quote:
Originally Posted by firstlast488 View Post
I'm not using mysql plugins

Code:
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

Code:
[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
__________________
Indian Ocean Roleplay

iorp is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Script[gamemodes/xSF.amx]: Run time error 19: "File or function is not found" Marv123 Scripting Help 4 24/10/2018 02:20 PM
[Ajuda] Ajuda - "Run time error 19: "File or function is not Found" UserUnk0wn PortuguÍs/Portuguese 6 04/01/2017 12:46 PM
Script[gamemodes/us.amx]: Run time error 19: "File or function is not found" Sn4ke2 Scripting Help 8 21/03/2016 10:07 AM
"Run time error 19: "File or function is not found" TouR Help Archive 2 18/06/2010 10:04 AM


All times are GMT. The time now is 02:40 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.