Run time error 19
#1

Hello,

I randomly started to get run time errors and not allowing me to use my script...

I have tried downloading all of the plugins again, updating them, updating the entire server, re-compiling but nothing is working.. It just started to happen once and I'm not sure why, I have Microsoft 2010 redistribution.

Code:
[15/06/2016 | 06:44:47]    Error: Function not registered: 'SSCANF_Init'
[15/06/2016 | 06:44:47]    Error: Function not registered: 'SSCANF_IsConnected'
[15/06/2016 | 06:44:47]    Error: Function not registered: 'SSCANF_Join'
[15/06/2016 | 06:44:47]    Error: Function not registered: 'SSCANF_Leave'
[15/06/2016 | 06:44:47]    Error: Function not registered: 'mysql_format'
[15/06/2016 | 06:44:47]    Error: Function not registered: 'mysql_tquery'
[15/06/2016 | 06:44:47]    Error: Function not registered: 'sscanf'
[15/06/2016 | 06:44:47]    Error: Function not registered: 'cache_get_data'
[15/06/2016 | 06:44:47]    Error: Function not registered: 'cache_get_row_int'
[15/06/2016 | 06:44:47]    Error: Function not registered: 'cache_get_row'
[15/06/2016 | 06:44:47]    Error: Function not registered: 'cache_get_field_content_int'
[15/06/2016 | 06:44:47]    Error: Function not registered: 'cache_get_field_content'
[15/06/2016 | 06:44:47]    Error: Function not registered: 'cache_get_field_content_float'
[15/06/2016 | 06:44:47]    Error: Function not registered: 'cache_insert_id'
[15/06/2016 | 06:44:47]    Error: Function not registered: 'mysql_query'
[15/06/2016 | 06:44:47]    Error: Function not registered: 'WP_Hash'
[15/06/2016 | 06:44:47]    Error: Function not registered: 'mysql_connect'
[15/06/2016 | 06:44:47]    Error: Function not registered: 'mysql_log'
[15/06/2016 | 06:44:47]    Error: Function not registered: 'mysql_errno'
[15/06/2016 | 06:44:47] [debug] Run time error 19: "File or function is not found"
[15/06/2016 | 06:44:47] [debug]  mysql_format
[15/06/2016 | 06:44:47] [debug]  mysql_tquery
[15/06/2016 | 06:44:47] [debug]  cache_get_data
[15/06/2016 | 06:44:47] [debug]  cache_get_row_int
[15/06/2016 | 06:44:47] [debug]  cache_get_row
[15/06/2016 | 06:44:47] [debug]  cache_get_field_content_int
[15/06/2016 | 06:44:47] [debug]  cache_get_field_content
[15/06/2016 | 06:44:47] [debug]  cache_get_field_content_float
[15/06/2016 | 06:44:47] [debug]  cache_insert_id
[15/06/2016 | 06:44:47] [debug]  mysql_query
[15/06/2016 | 06:44:47] [debug]  mysql_connect
[15/06/2016 | 06:44:47] [debug]  mysql_log
[15/06/2016 | 06:44:47] [debug]  mysql_errno
[15/06/2016 | 06:44:47] [debug] Run time error 19: "File or function is not found"
[15/06/2016 | 06:44:47] [debug]  mysql_format
[15/06/2016 | 06:44:47] [debug]  mysql_tquery
[15/06/2016 | 06:44:47] [debug]  cache_get_data
[15/06/2016 | 06:44:47] [debug]  cache_get_row_int
[15/06/2016 | 06:44:47] [debug]  cache_get_row
[15/06/2016 | 06:44:47] [debug]  cache_get_field_content_int
[15/06/2016 | 06:44:47] [debug]  cache_get_field_content
[15/06/2016 | 06:44:47] [debug]  cache_get_field_content_float
[15/06/2016 | 06:44:47] [debug]  cache_insert_id
[15/06/2016 | 06:44:47] [debug]  mysql_query
[15/06/2016 | 06:44:47] [debug]  mysql_connect
[15/06/2016 | 06:44:47] [debug]  mysql_log
[15/06/2016 | 06:44:47] [debug]  mysql_errno
[15/06/2016 | 06:44:47] Script[gamemodes/duckrp/main.amx]: Run time error 19: "File or function is not found"
[15/06/2016 | 06:44:47] Number of vehicle models: 0
Got any ideas?
Reply
#2

You're missing MySQL, sscanf and Whirlpool plugins.
Reply
#3

Show the server/log above what you've put.



(You've literally cut the actual meaningful part of the log out)

Also post up your server.cfg.
Reply
#4

Quote:
Originally Posted by PawnHunter
View Post
You're missing MySQL, sscanf and Whirlpool plugins.
I'm not, they're all within the plugins folder, include folder and they're in the cfg all correctly.

Quote:
Originally Posted by Sew_Sumi
View Post
Show the server/log above what you've put.

(You've literally cut the actual meaningful part of the log out)

Also post up your server.cfg.
Sorry about that.

This is what happened before updating mysql..
Code:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[15/06/2016 | 06:42:12] 
[15/06/2016 | 06:42:12] Server Plugins
[15/06/2016 | 06:42:12] --------------
[15/06/2016 | 06:42:12]  Loading plugin: nativechecker
[15/06/2016 | 06:42:12]   Loaded.
[15/06/2016 | 06:42:12]  Loading plugin: crashdetect
[15/06/2016 | 06:42:12]   CrashDetect v4.15.1 is OK.
[15/06/2016 | 06:42:12]   Loaded.
[15/06/2016 | 06:42:12]  Loading plugin: mysql
[15/06/2016 | 06:42:12]  >> plugin.mysql: R39-4 successfully loaded.
[15/06/2016 | 06:42:12]   Loaded.
[15/06/2016 | 06:42:12]  Loading plugin: whirlpool
[15/06/2016 | 06:42:12]  
[15/06/2016 | 06:42:12]  ==================
[15/06/2016 | 06:42:12]  
[15/06/2016 | 06:42:12]   Whirlpool loaded
[15/06/2016 | 06:42:12]  
[15/06/2016 | 06:42:12]  ==================
[15/06/2016 | 06:42:12]  
[15/06/2016 | 06:42:12]   Loaded.
[15/06/2016 | 06:42:12]  Loading plugin: sscanf
[15/06/2016 | 06:42:12] 

[15/06/2016 | 06:42:12]  ===============================

[15/06/2016 | 06:42:12]       sscanf plugin loaded.     

[15/06/2016 | 06:42:12]          Version:  2.8.1        

[15/06/2016 | 06:42:12]    © 2012 Alex "Y_Less" Cole  

[15/06/2016 | 06:42:12]  ===============================

[15/06/2016 | 06:42:12]   Loaded.
[15/06/2016 | 06:42:12]  Loaded 5 plugins.

[15/06/2016 | 06:42:12] 
[15/06/2016 | 06:42:12] Filterscripts
[15/06/2016 | 06:42:12] ---------------
[15/06/2016 | 06:42:12]   Loaded 0 filterscripts.

[15/06/2016 | 06:42:12]    Error: Function not registered: 'SSCANF_Init'
[15/06/2016 | 06:42:12]    Error: Function not registered: 'SSCANF_IsConnected'
[15/06/2016 | 06:42:12]    Error: Function not registered: 'SSCANF_Join'
[15/06/2016 | 06:42:12]    Error: Function not registered: 'SSCANF_Leave'
[15/06/2016 | 06:42:12]    Error: Function not registered: 'mysql_format'
[15/06/2016 | 06:42:12]    Error: Function not registered: 'mysql_tquery'
[15/06/2016 | 06:42:12]    Error: Function not registered: 'sscanf'
[15/06/2016 | 06:42:12]    Error: Function not registered: 'cache_get_data'
[15/06/2016 | 06:42:12]    Error: Function not registered: 'cache_get_row_int'
[15/06/2016 | 06:42:12]    Error: Function not registered: 'cache_get_row'
[15/06/2016 | 06:42:12]    Error: Function not registered: 'cache_get_field_content_int'
[15/06/2016 | 06:42:12]    Error: Function not registered: 'cache_get_field_content'
[15/06/2016 | 06:42:12]    Error: Function not registered: 'cache_get_field_content_float'
[15/06/2016 | 06:42:12]    Error: Function not registered: 'cache_insert_id'
[15/06/2016 | 06:42:12]    Error: Function not registered: 'mysql_query'
[15/06/2016 | 06:42:12]    Error: Function not registered: 'WP_Hash'
[15/06/2016 | 06:42:12]    Error: Function not registered: 'mysql_connect'
[15/06/2016 | 06:42:12]    Error: Function not registered: 'mysql_log'
[15/06/2016 | 06:42:12]    Error: Function not registered: 'mysql_errno'
[15/06/2016 | 06:42:12] [SERVER][INFO][CONSOLE] Build 1

[15/06/2016 | 06:42:12] [SERVER][INFO][CONSOLE] Compiled as: Test Server

[15/06/2016 | 06:42:12] [SERVER][INFO][IRC] IRC Support: Disabled

[15/06/2016 | 06:42:12] [SERVER][INFO][MySQL] Attempting to establish a connection to the MySQL database...

[15/06/2016 | 06:42:12] [SERVER][INFO][MySQL] Server has achieved connection with 127.0.0.1
[15/06/2016 | 06:42:12] [SERVER][INFO][MySQL] Server connected to sql user: user
[15/06/2016 | 06:42:12] [SERVER][INFO][MySQL] Server connected to database: datebase

[15/06/2016 | 06:42:12] Number of vehicle models: 0
This is after.. so the newest one, it just fails to load the mysql.. which is strange because everything is there.. and it just doesn't want to load it.
Code:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[15/06/2016 | 06:49:49] 
[15/06/2016 | 06:49:49] Server Plugins
[15/06/2016 | 06:49:49] --------------
[15/06/2016 | 06:49:49]  Loading plugin: nativechecker
[15/06/2016 | 06:49:49]   Loaded.
[15/06/2016 | 06:49:49]  Loading plugin: crashdetect
[15/06/2016 | 06:49:49]   CrashDetect v4.15.1 is OK.
[15/06/2016 | 06:49:49]   Loaded.
[15/06/2016 | 06:49:49]  Loading plugin: mysql
[15/06/2016 | 06:49:49]   Failed.
[15/06/2016 | 06:49:49]  Loading plugin: whirlpool
[15/06/2016 | 06:49:49]  
[15/06/2016 | 06:49:49]  ==================
[15/06/2016 | 06:49:49]  
[15/06/2016 | 06:49:49]   Whirlpool loaded
[15/06/2016 | 06:49:49]  
[15/06/2016 | 06:49:49]  ==================
[15/06/2016 | 06:49:49]  
[15/06/2016 | 06:49:49]   Loaded.
[15/06/2016 | 06:49:49]  Loading plugin: sscanf
[15/06/2016 | 06:49:49] 

[15/06/2016 | 06:49:49]  ===============================

[15/06/2016 | 06:49:49]       sscanf plugin loaded.     

[15/06/2016 | 06:49:49]          Version:  2.8.1        

[15/06/2016 | 06:49:49]    © 2012 Alex "Y_Less" Cole  

[15/06/2016 | 06:49:49]  ===============================

[15/06/2016 | 06:49:49]   Loaded.
[15/06/2016 | 06:49:49]  Loaded 4 plugins.

[15/06/2016 | 06:49:49] 
[15/06/2016 | 06:49:49] Filterscripts
[15/06/2016 | 06:49:49] ---------------
[15/06/2016 | 06:49:49]   Loaded 0 filterscripts.

[15/06/2016 | 06:49:49]    Error: Function not registered: 'SSCANF_Init'
[15/06/2016 | 06:49:49]    Error: Function not registered: 'SSCANF_IsConnected'
[15/06/2016 | 06:49:49]    Error: Function not registered: 'SSCANF_Join'
[15/06/2016 | 06:49:49]    Error: Function not registered: 'SSCANF_Leave'
[15/06/2016 | 06:49:49]    Error: Function not registered: 'mysql_format'
[15/06/2016 | 06:49:49]    Error: Function not registered: 'mysql_tquery'
[15/06/2016 | 06:49:49]    Error: Function not registered: 'sscanf'
[15/06/2016 | 06:49:49]    Error: Function not registered: 'cache_get_data'
[15/06/2016 | 06:49:49]    Error: Function not registered: 'cache_get_row_int'
[15/06/2016 | 06:49:49]    Error: Function not registered: 'cache_get_row'
[15/06/2016 | 06:49:49]    Error: Function not registered: 'cache_get_field_content_int'
[15/06/2016 | 06:49:49]    Error: Function not registered: 'cache_get_field_content'
[15/06/2016 | 06:49:49]    Error: Function not registered: 'cache_get_field_content_float'
[15/06/2016 | 06:49:49]    Error: Function not registered: 'cache_insert_id'
[15/06/2016 | 06:49:49]    Error: Function not registered: 'mysql_query'
[15/06/2016 | 06:49:49]    Error: Function not registered: 'WP_Hash'
[15/06/2016 | 06:49:49]    Error: Function not registered: 'mysql_connect'
[15/06/2016 | 06:49:49]    Error: Function not registered: 'mysql_log'
[15/06/2016 | 06:49:49]    Error: Function not registered: 'mysql_errno'
[15/06/2016 | 06:49:49] [debug] Run time error 19: "File or function is not found"
[15/06/2016 | 06:49:49] [debug]  mysql_format
[15/06/2016 | 06:49:49] [debug]  mysql_tquery
[15/06/2016 | 06:49:49] [debug]  cache_get_data
[15/06/2016 | 06:49:49] [debug]  cache_get_row_int
[15/06/2016 | 06:49:49] [debug]  cache_get_row
[15/06/2016 | 06:49:49] [debug]  cache_get_field_content_int
[15/06/2016 | 06:49:49] [debug]  cache_get_field_content
[15/06/2016 | 06:49:49] [debug]  cache_get_field_content_float
[15/06/2016 | 06:49:49] [debug]  cache_insert_id
[15/06/2016 | 06:49:49] [debug]  mysql_query
[15/06/2016 | 06:49:49] [debug]  mysql_connect
[15/06/2016 | 06:49:49] [debug]  mysql_log
[15/06/2016 | 06:49:49] [debug]  mysql_errno
[15/06/2016 | 06:49:49] [debug] Run time error 19: "File or function is not found"
[15/06/2016 | 06:49:49] [debug]  mysql_format
[15/06/2016 | 06:49:49] [debug]  mysql_tquery
[15/06/2016 | 06:49:49] [debug]  cache_get_data
[15/06/2016 | 06:49:49] [debug]  cache_get_row_int
[15/06/2016 | 06:49:49] [debug]  cache_get_row
[15/06/2016 | 06:49:49] [debug]  cache_get_field_content_int
[15/06/2016 | 06:49:49] [debug]  cache_get_field_content
[15/06/2016 | 06:49:49] [debug]  cache_get_field_content_float
[15/06/2016 | 06:49:49] [debug]  cache_insert_id
[15/06/2016 | 06:49:49] [debug]  mysql_query
[15/06/2016 | 06:49:49] [debug]  mysql_connect
[15/06/2016 | 06:49:49] [debug]  mysql_log
[15/06/2016 | 06:49:49] [debug]  mysql_errno
[15/06/2016 | 06:49:49] Script[gamemodes/duckrp/main.amx]: Run time error 19: "File or function is not found"
[15/06/2016 | 06:49:49] Number of vehicle models: 0
Reply
#5

You are missing the mysql plugin in your plugins folder. Also, update your sscanf plugin/include.
Reply
#6

Quote:
Originally Posted by Sjn
View Post
You are missing the mysql plugin in your plugins folder. Also, update your sscanf plugin/include.
No, I'm not; they're all there and they're up to date.

Code:
plugins nativechecker crashdetect mysql whirlpool sscanf
Reply
#7

You have to read the instructions on nativechecker.

Quote:
Originally Posted by Wyu
View Post
IMPORTANT: In order to make it work correcly you must put it in the end of the plugins line of your server.cfg so it will be the last one, e.g. plugins sscanf streamer nativechecker.
The reason of your mysql not starting is likely to be a runtime problem.
Reply
#8

nativechecker must be last plugin !
Reply
#9

Yeah, I didn't see that before; but I changed it and it is still doing the same.

Edit: So, I just messed about with it and added the older version of mysql in.. the r39-4 and it seems that the errors have been cleared.. the server runs perfectly fine now.. so maybe it is a mysql plugin error? I mean.. i'm downloading it from the github.. so I don't see the problem.
Reply
#10

Do you mean that version R39-5 still fails to load? It requires Visual C++ Redistributable for Visual Studio 2015
(x86)
.

Both crashdetect plugin and nativechecker print not registered functions so you can remove nativechecker plugin if you want to.
Reply
#11

Quote:
Originally Posted by Konstantinos
View Post
Do you mean that version R39-5 still fails to load? It requires Visual C++ Redistributable for Visual Studio 2015
(x86)
.

Both crashdetect plugin and nativechecker print not registered functions so you can remove nativechecker plugin if you want to.
Yes! Thank you, it seems to be working now; no errors; I've been looking everywhere for a fix, but non of them said I needed to 2015 version.. just like 2010 or something :/ But thank you anyway.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)