SA-MP Forums Archive
mysql 19 error - 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: mysql 19 error (/showthread.php?tid=624374)



mysql 19 error - hillko - 15.12.2016

Код HTML:
[21:12:29]    Error: Function not registered: 'SSCANF_IsConnected'
[21:12:29]    Error: Function not registered: 'mysql_connect'
[21:12:29]    Error: Function not registered: 'mysql_errno'
[21:12:29]    Error: Function not registered: 'mysql_tquery'
[21:12:29]    Error: Function not registered: 'mysql_close'
[21:12:29]    Error: Function not registered: 'cache_get_data'
[21:12:29]    Error: Function not registered: 'cache_get_field_content'
[21:12:29]    Error: Function not registered: 'cache_insert_id'
[21:12:29]    Error: Function not registered: 'cache_get_field_content_int'
[21:12:29]    Error: Function not registered: 'cache_get_row'
[21:12:29] Script[gamemodes/ADIDAS.amx]: Run time error 19: "File or function is not found"
fix ?


Re: mysql 19 error - iLearner - 15.12.2016

Update plugin.


Re: mysql 19 error - hillko - 15.12.2016

Quote:
Originally Posted by iLearner
Посмотреть сообщение
Update plugin.
Код HTML:
[21:37:56]    Error: Function not registered: 'SSCANF_IsConnected'
[21:37:56]    Error: Function not registered: 'cache_get_data'
[21:37:56]    Error: Function not registered: 'cache_get_field_content'
[21:37:56]    Error: Function not registered: 'cache_get_field_content_int'
[21:37:56]    Error: Function not registered: 'cache_get_row'
[21:37:56] Script[gamemodes/ADIDAS.amx]: Run time error 19: "File or function is not found"
mysql r40


Re: mysql 19 error - iLearner - 15.12.2016

Did you compile with same version of include aswell?


Re: mysql 19 error - Konstantinos - 15.12.2016

cache_get_field_content* functions were renamed and cache_get_row was removed in R40+
Either load R39-6 or upgrade your scripts.

You need to post the whole server log because we cannot guess if sscanf plugin failed to load, was loaded but it is outdated or everything is fine and you just loaded sscanf plugin after nativechecker plugin and get a false report.


Re: mysql 19 error - hillko - 15.12.2016

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
cache_get_field_content* functions were renamed and cache_get_row was removed in R40+
Either load R39-6 or upgrade your scripts.

You need to post the whole server log because we cannot guess if sscanf plugin failed to load, was loaded but it is outdated or everything is fine and you just loaded sscanf plugin after nativechecker plugin and get a false report.
Код HTML:
----------
Loaded log file: "server_log.txt".
----------

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

[21:58:45] filterscripts = ""  (string)
[21:58:45] 
[21:58:45] Server Plugins
[21:58:45] --------------
[21:58:45]  Loading plugin: dc_cmd.dll
[21:58:45]   Daniel's CMD plugin v2.8
[21:58:45]     © 2014 Daniel_Cortez
[21:58:45] 	www.pro-pawn.ru
[21:58:45]   Loaded.
[21:58:45]  Loading plugin: mysql.dll
[21:58:45]  >> plugin.mysql: R41-2 successfully loaded.
[21:58:45]   Loaded.
[21:58:45]  Loading plugin: sscanf.dll
[21:58:45] 

[21:58:45]  ===============================

[21:58:45]       sscanf plugin loaded.     

[21:58:45]          Version:  2.8.1        

[21:58:45]    © 2012 Alex "******" Cole  

[21:58:45]  ===============================

[21:58:45]   Loaded.
[21:58:45]  Loading plugin: streamer.dll
[21:58:45] 

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

[21:58:45]   Loaded.
[21:58:45]  Loading plugin: nativechecker.dll
[21:58:45]   Loaded.
[21:58:45]  Loaded 5 plugins.

[21:58:45] 
[21:58:45] Filterscripts
[21:58:45] ---------------
[21:58:45]   Loaded 0 filterscripts.

[21:58:45]    Error: Function not registered: 'SSCANF_IsConnected'
[21:58:45]    Error: Function not registered: 'cache_get_data'
[21:58:45]    Error: Function not registered: 'cache_get_field_content'
[21:58:45]    Error: Function not registered: 'cache_get_field_content_int'
[21:58:45]    Error: Function not registered: 'cache_get_row'
[21:58:45] Script[gamemodes/ADIDAS.amx]: Run time error 19: "File or function is not found"
[21:58:45] Number of vehicle models: 0



Re: mysql 19 error - Konstantinos - 15.12.2016

SSCANF_IsConnected still existed in 2.8.1 so do as iLearner told you: update and re-compile.


Re: mysql 19 error - hillko - 15.12.2016

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
SSCANF_IsConnected still existed in 2.8.1 so do as iLearner told you: update and re-compile.
Код HTML:
[22:06:35]    Error: Function not registered: 'cache_get_data'
[22:06:35]    Error: Function not registered: 'cache_get_field_content'
[22:06:35]    Error: Function not registered: 'cache_get_field_content_int'
[22:06:35]    Error: Function not registered: 'cache_get_row'
[22:06:35] Script[gamemodes/ADIDAS.amx]: Run time error 19: "File or function is not found"



Re: mysql 19 error - Konstantinos - 15.12.2016

I told you the two options you have:
Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
cache_get_field_content* functions were renamed and cache_get_row was removed in R40+
Either load R39-6 or upgrade your scripts.



Re: mysql 19 error - hillko - 15.12.2016

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
I told you the two options you have:
I updated scanf

and the second error comes out from mysql r40