SA-MP Forums Archive
Function not registred - 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: Function not registred (/showthread.php?tid=603387)



Function not registred - livests - 22.03.2016

Hey got some problems with MySQL i tried everything but nothing helps got some ideas?

Quote:

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

[19:15:13] filterscripts = "" (string)
[19:15:13]
[19:15:13] Server Plugins
[19:15:13] --------------
[19:15:13] Loading plugin: nativechecker
[19:15:13] Loaded.
[19:15:13] Loading plugin: Whirlpool
[19:15:13]
[19:15:13] ==================
[19:15:13]
[19:15:13] Whirlpool loaded
[19:15:13]
[19:15:13] ==================
[19:15:13]
[19:15:13] Loaded.
[19:15:13] Loaded 2 plugins.

[19:15:13]
[19:15:13] Filterscripts
[19:15:13] ---------------
[19:15:13] Loaded 0 filterscripts.

[19:15:13] Error: Function not registered: 'mysql_ping'
[19:15:13] Error: Function not registered: 'mysql_connect'
[19:15:13] Error: Function not registered: 'mysql_query'
[19:15:13] Error: Function not registered: 'mysql_debug'
[19:15:13] Error: Function not registered: 'mysql_store_result'
[19:15:13] Error: Function not registered: 'mysql_num_rows'
[19:15:13] Error: Function not registered: 'mysql_free_result'
[19:15:13] Error: Function not registered: 'mysql_fetch_row_format'
[19:15:13] Error: Function not registered: 'mysql_fetch_field_row'
[19:15:13] Script[gamemodes/trucksim.amx]: Run time error 19: "File or function is not found"
[19:15:13] Number of vehicle models: 0




Re: Function not registred - ChristolisTV - 22.03.2016

Make sure you have the latest version of mysql.dll and mysql.inc

and on top of your script add

PHP код:
#include <a_mysql> 



Re: Function not registred - livests - 22.03.2016

Where can get lastest mysql?
yep an i hawe #include <a_mysql> on top of script


Re: Function not registred - ChristolisTV - 22.03.2016

Click this:

http://files.g-stylezzz.com/mysql/re...-win32_vs9.rar


Re: Function not registred - Harty - 22.03.2016

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


Re: Function not registred - livests - 22.03.2016

still got error on server startup. pawno shows that all is compile


Re: Function not registred - ChristolisTV - 22.03.2016

Do you have libmysql.dll on your plugins?


Re: Function not registred - livests - 22.03.2016

yep got it i uploded to mega all my server https://mega.nz/#F!MV4RSRoY!9iNP_QXfM8Kphpg1sCeg-g


Re: Function not registred - zT KiNgKoNg - 22.03.2016

Quote:
Originally Posted by ChristolisTV
Посмотреть сообщение
Do you have libmysql.dll on your plugins?
Also ensure you've got the plugin loaded by the server.


Re: Function not registred - livests - 22.03.2016

Now got that

Quote:

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

[20:18:13] filterscripts = "" (string)
[20:18:13]
[20:18:13] Server Plugins
[20:18:13] --------------
[20:18:13] Loading plugin: nativechecker
[20:18:13] Loaded.
[20:18:13] Loading plugin: Whirlpool
[20:18:13]
[20:18:13] ==================
[20:18:13]
[20:18:13] Whirlpool loaded
[20:18:13]
[20:18:13] ==================
[20:18:13]
[20:18:13] Loaded.
[20:18:13] Loading plugin: mysql
[20:18:13]

> MySQL plugin R5 successfully loaded.

[20:18:13] Loaded.
[20:18:13] Loading plugin: crashdetect
[20:18:13] CrashDetect v4.12 is OK.
[20:18:13] Loaded.
[20:18:13] Loading plugin: sscanf
[20:18:13]

[20:18:13] ===============================

[20:18:13] sscanf plugin loaded.

[20:18:13] Version: 2.8.1

[20:18:13] © 2012 Alex "******" Cole

[20:18:13] ===============================

[20:18:13] Loaded.
[20:18:13] Loaded 5 plugins.

[20:18:13]
[20:18:13] Filterscripts
[20:18:13] ---------------
[20:18:13] Loaded 0 filterscripts.

[20:18:13] Error: Function not registered: 'mysql_ping'
[20:18:13] Error: Function not registered: 'mysql_connect'
[20:18:13] Error: Function not registered: 'mysql_query'
[20:18:13] Error: Function not registered: 'mysql_debug'
[20:18:13] Error: Function not registered: 'mysql_store_result'
[20:18:13] Error: Function not registered: 'mysql_num_rows'
[20:18:13] Error: Function not registered: 'mysql_free_result'
[20:18:13] Error: Function not registered: 'mysql_fetch_row_format'
[20:18:13] Error: Function not registered: 'mysql_fetch_field_row'
[20:18:13] mysql_ Ping: 0
[20:18:13] mysql_ Connect to the server.
[20:18:15] mysql_ Connection error, retrying...
[20:18:20] --------------------------------------
[20:18:20] Number of vehicle models: 3
[20:18:20] New version of CrashDetect is available for download (4.13)