SA-MP Forums Archive
Run time error 19 whatever. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Run time error 19 whatever. (/showthread.php?tid=540384)



Run time error 19 whatever. - YanLanger - 04.10.2014

Hai. when i load my server it says run time error 19 file or function is not found


AW: Run time error 19 whatever. - Mellnik - 04.10.2014

Common error which means that a native function does not exist. Run nativechecker plugin and post your server log.


Re : Run time error 19 whatever. - AmirRFCNR - 04.10.2014

Download https://sampforum.blast.hk/showthread.php?tid=249226
It'll tell you what plugin is missing from your server!


Re: Run time error 19 whatever. - YanLanger - 04.10.2014

I downloaded it and server log is
PHP код:
----------
Loaded log file"server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3z, (C)2005-2014 SA-MP Team

[07:32:37
[
07:32:37Server Plugins
[07:32:37] --------------
[
07:32:37]  Loading pluginsscanf
[07:32:37

[
07:32:37]  ===============================

[
07:32:37]       sscanf plugin loaded.     

[
07:32:37]          Version:  2.8.1        

[07:32:37]    (c2012 Alex "******" Cole  

[07:32:37]  ===============================

[
07:32:37]   Loaded.
[
07:32:37]  Loading pluginwhirlpool
[07:32:37]  
[
07:32:37]  ==================
[
07:32:37]  
[
07:32:37]   Whirlpool loaded
[07:32:37]  
[
07:32:37]  ==================
[
07:32:37]  
[
07:32:37]   Loaded.
[
07:32:37]  Loading pluginlibmysql
[07:32:37]   Failed.
[
07:32:37]  Loading pluginmysql
[07:32:37]  SA:MP MySQL Plugin v2.1.1 Loaded.
[
07:32:37]   Loaded.
[
07:32:37]  Loading pluginnativechecker
[07:32:37] [MySQLThread runningThreadsafeYes.
[
07:32:37]   Failed.
[
07:32:37]  Loading pluginstreamer
[07:32:37

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

[
07:32:37]   Loaded.
[
07:32:37]  Loaded 4 plugins.

[
07:32:37
[
07:32:37Filterscripts
[07:32:37] ---------------
[
07:32:37]   Loading filterscript 'TD.amx'...
[
07:32:37
--------------------------------------
[
07:32:37]  Text Draw Editor 1.0RC2 by Zamaroht for SA-MP 0.3 Loaded.
[
07:32:37] --------------------------------------

[
07:32:37]   Loaded 1 filterscripts.

[
07:32:37Script[gamemodes/LSCNR.amx]: Run time error 19"File or function is not found"
[07:32:37Number of vehicle models



Re: Run time error 19 whatever. - YanLanger - 04.10.2014

Seriously ? ask me for server log and go offline really smart.


Re: Run time error 19 whatever. - IceCube! - 04.10.2014

Quote:
Originally Posted by YanLanger
Посмотреть сообщение
Seriously ? ask me for server log and go offline really smart.
We're not here to kiss your feet, and lick out the toe jam were here to help and give you guidance. We could leave you here and let you suffer.

Anyhow plugins fail to load, such as libmysql, and nativechecker. You should have been able to read this, make sure they are actually there. If they are there, just not loading replace them however it's usually because they aren't there.

Libmysql shouldn't be loaded as a plugin anyway, it should be in the main server directory where the samp-server.exe is. In most cases anyway.


Re: Run time error 19 whatever. - YanLanger - 04.10.2014

Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3z, ©2005-2014 SA-MP Team

[08:22:45] 
[08:22:45] Server Plugins
[08:22:45] --------------
[08:22:45]  Loading plugin: sscanf
[08:22:45] 

[08:22:45]  ===============================

[08:22:45]       sscanf plugin loaded.     

[08:22:45]          Version:  2.8.1        

[08:22:45]    © 2012 Alex "******" Cole  

[08:22:45]  ===============================

[08:22:45]   Loaded.
[08:22:45]  Loading plugin: mysql
[08:22:45]  SA:MP MySQL Plugin v2.1.1 Loaded.
[08:22:45]   Loaded.
[08:22:45]  Loading plugin: streamer
[08:22:45] [MySQL] Thread running. Threadsafe: Yes.
[08:22:45] 

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

[08:22:45]   Loaded.
[08:22:45]  Loading plugin: nativechecker
[08:22:45]   Loaded.
[08:22:45]  Loaded 4 plugins.

[08:22:45] 
[08:22:45] Filterscripts
[08:22:45] ---------------
[08:22:45]   Loading filterscript 'TD.amx'...
[08:22:45] 
--------------------------------------
[08:22:45]  Text Draw Editor 1.0RC2 by Zamaroht for SA-MP 0.3 Loaded.
[08:22:45] --------------------------------------

[08:22:45]   Loaded 1 filterscripts.

[08:22:45]    Error: Function not registered: 'mysql_log'
[08:22:45]    Error: Function not registered: 'cache_get_data'
[08:22:45]    Error: Function not registered: 'cache_get_field_content'
[08:22:45]    Error: Function not registered: 'cache_get_field_content_int'
[08:22:45]    Error: Function not registered: 'mysql_format'
[08:22:45]    Error: Function not registered: 'mysql_tquery'
[08:22:45]    Error: Function not registered: 'cache_get_field_content_float'
[08:22:45]    Error: Function not registered: 'cache_insert_id'
[08:22:45]    Error: Function not registered: 'WP_Hash'
[08:22:45] Script[gamemodes/LSCNR.amx]: Run time error 19: "File or function is not found"
[08:22:45] Number of vehicle models: 0



Re: Run time error 19 whatever. - IceCube! - 04.10.2014

Quote:
Originally Posted by YanLanger
Посмотреть сообщение
Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3z, ©2005-2014 SA-MP Team

[08:22:45] 
[08:22:45] Server Plugins
[08:22:45] --------------
[08:22:45]  Loading plugin: sscanf
[08:22:45] 

[08:22:45]  ===============================

[08:22:45]       sscanf plugin loaded.     

[08:22:45]          Version:  2.8.1        

[08:22:45]    © 2012 Alex "******" Cole  

[08:22:45]  ===============================

[08:22:45]   Loaded.
[08:22:45]  Loading plugin: mysql
[08:22:45]  SA:MP MySQL Plugin v2.1.1 Loaded.
[08:22:45]   Loaded.
[08:22:45]  Loading plugin: streamer
[08:22:45] [MySQL] Thread running. Threadsafe: Yes.
[08:22:45] 

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

[08:22:45]   Loaded.
[08:22:45]  Loading plugin: nativechecker
[08:22:45]   Loaded.
[08:22:45]  Loaded 4 plugins.

[08:22:45] 
[08:22:45] Filterscripts
[08:22:45] ---------------
[08:22:45]   Loading filterscript 'TD.amx'...
[08:22:45] 
--------------------------------------
[08:22:45]  Text Draw Editor 1.0RC2 by Zamaroht for SA-MP 0.3 Loaded.
[08:22:45] --------------------------------------

[08:22:45]   Loaded 1 filterscripts.

[08:22:45]    Error: Function not registered: 'mysql_log'
[08:22:45]    Error: Function not registered: 'cache_get_data'
[08:22:45]    Error: Function not registered: 'cache_get_field_content'
[08:22:45]    Error: Function not registered: 'cache_get_field_content_int'
[08:22:45]    Error: Function not registered: 'mysql_format'
[08:22:45]    Error: Function not registered: 'mysql_tquery'
[08:22:45]    Error: Function not registered: 'cache_get_field_content_float'
[08:22:45]    Error: Function not registered: 'cache_insert_id'
[08:22:45]    Error: Function not registered: 'WP_Hash'
[08:22:45] Script[gamemodes/LSCNR.amx]: Run time error 19: "File or function is not found"
[08:22:45] Number of vehicle models: 0
Okay now download the latest MySQL, put the plugin the plugin folder, the include in the includes folder. Recompile and run it again. Fixed.


Re: Run time error 19 whatever. - YanLanger - 04.10.2014

Latest here? https://github.com/pBlueG/SA-MP-MySQL/releases

I downloaded and same. and mysql.so in plugins ? and i put it there and same


Re: Run time error 19 whatever. - IceCube! - 04.10.2014

Quote:
Originally Posted by YanLanger
Посмотреть сообщение
Latest here? https://github.com/pBlueG/SA-MP-MySQL/releases

I downloaded and same. and mysql.so in plugins ? and i put it there and same
Strange, as you'd only get that if your script was compiled with a different plugin version.Also the .so is a Linux plugin, you should keep this should you ever need to host this on a Linux Server.

You did recompile the script under the new include?