[Server Log]Function not registered, Help me
#1

Can anywone help me?? <3
--------------Server Log ----------
----------
Loaded log file: "server_log.txt".
----------

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

[19:57:00] filterscripts = "" (string)
[19:57:00]
[19:57:00] Server Plugins
[19:57:00] --------------
[19:57:00] Loading plugin: mysql.so
[19:57:00] SA:MP MySQL Plugin v2.1.1 Loaded.
[19:57:00] Loaded.
[19:57:00] Loading plugin: streamer.so
[19:57:00]

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

[19:57:00] Loaded.
[19:57:00] Loading plugin: sscanf.so
[19:57:00]

[19:57:00] ===============================

[19:57:00] sscanf plugin loaded.

[19:57:00] Version: 2.8.1

[19:57:00] © 2012 Alex "******" Cole

[19:57:00] ===============================

[19:57:00] Loaded.
[19:57:00] Loading plugin: nativechecker.so
[19:57:00] Loaded.
[19:57:00] Loading plugin: MapAndreas.so
[19:57:00] Loaded.
[19:57:00] Loaded 5 plugins.

[19:57:00] [MySQL] Thread running. Threadsafe: Yes.
[19:57:00]
[19:57:00] Filterscripts
[19:57:00] ---------------
[19:57:00] Loaded 0 filterscripts.

[19:57:01] Error: Function not registered: 'SSCANF_IsConnected'
[19:57:01] Error: Function not registered: 'mysql_log'
[19:57:01] Error: Function not registered: 'mysql_tquery'
[19:57:01] Error: Function not registered: 'cache_get_data'
[19:57:01] Error: Function not registered: 'cache_get_field_content'
[19:57:01] Error: Function not registered: 'mysql_escape_string'
[19:57:01] Script[gamemodes/dayzmysql.amx]: Run time error 19: "File or function is not found"
[19:57:01] Number of vehicle models: 0
Reply
#2

Update your SSCANF plugin and include from here https://sampforum.blast.hk/showthread.php?tid=570927
and update your MySQL plugin and include from here https://sampforum.blast.hk/showthread.php?tid=56564
and then RE-COMPILE it.
Reply
#3

Load the correct mysql plugin: https://github.com/pBlueG/SA-MP-MySQ...5-linux.tar.gz
If you get an error for libmysqlclient_r.so.16/libmysqlclient_r.so.18, load mysql_static.so instead.

Re-compile the script with a matched version of sscanf to fix SSCANF_IsConnected.

---

Update streamer and sscanf to the latest version (****** them) and re-compile the script AGAIN with the new versions. Last, load nativechecker plugin last to avoid any function is loaded after to be given as not registered.
Reply
#4

Thanks guys but i canot fix this
----------
Loaded log file: "server_log.txt".
----------

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

[21:17:01] filterscripts = "" (string)
[21:17:01]
[21:17:01] Server Plugins
[21:17:01] --------------
[21:17:01] Loading plugin: mysql.so
[21:17:01] Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory)
[21:17:01] Loading plugin: streamer.so
[21:17:01]

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

[21:17:01] Loaded.
[21:17:01] Loading plugin: mysql_static.so
[21:17:01] >> plugin.mysql: R39-5 successfully loaded.
[21:17:01] Loaded.
[21:17:01] Loading plugin: sscanf.so
[21:17:01]

[21:17:01] ===============================

[21:17:01] sscanf plugin loaded.

[21:17:01] Version: 2.8.1

[21:17:01] © 2012 Alex "******" Cole

[21:17:01] ===============================

[21:17:01] Loaded.
[21:17:01] Loading plugin: nativechecker.so
[21:17:01] Loaded.
[21:17:01] Loading plugin: MapAndreas.so
[21:17:01] Loaded.
[21:17:01] Loaded 5 plugins.

[21:17:01]
[21:17:01] Filterscripts
[21:17:01] ---------------
[21:17:01] Loaded 0 filterscripts.

[21:17:01] Error: Function not registered: 'SSCANF_IsConnected'
[21:17:01] Script[gamemodes/dayzmysql.amx]: Run time error 19: "File or function is not found"
[21:17:01] Number of vehicle models: 0
Reply
#5

Remove mysql.so from the plugins line in server.cfg, you got the static version which is working so no need.

About the sscanf:
Quote:
Originally Posted by FuNkYTheGreat
Посмотреть сообщение
Update your SSCANF plugin and include [..]
[..]
and then RE-COMPILE it.
Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Re-compile the script with a matched version of sscanf to fix SSCANF_IsConnected.
Reply
#6

----------
Loaded log file: "server_log.txt".
----------

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

[17:06:38] filterscripts = "" (string)
[17:06:38]
[17:06:38] Server Plugins
[17:06:38] --------------
[17:06:38] Loading plugin: sscanf.so
[17:06:38]

[17:06:38] ===============================

[17:06:38] sscanf plugin loaded.

[17:06:38] Version: 2.8.1

[17:06:38] © 2012 Alex "******" Cole

[17:06:38] ===============================

[17:06:38] Loaded.
[17:06:38] Loading plugin: streamer.so
[17:06:38]

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

[17:06:38] Loaded.
[17:06:38] Loading plugin: mysql_static.so
[17:06:38] >> plugin.mysql: R39-5 successfully loaded.
[17:06:38] Loaded.
[17:06:38] Loading plugin: MapAndreas.so
[17:06:38] Loaded.
[17:06:38] Loaded 4 plugins.

[17:06:38]
[17:06:38] Filterscripts
[17:06:38] ---------------
[17:06:38] Loaded 0 filterscripts.

[17:06:39]
[17:06:39]
[17:06:39]
[17:06:39] =======================================
[17:06:39] | |
[17:06:39] | YSI version 3.09.0684 |
[17:06:39] | By Alex "******" Cole |
[17:06:39] | |
[17:06:39] =======================================
[17:06:39]
[17:06:39]
[17:06:39]
Dont working.............
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)