SA-MP Forums Archive
mysql problem - 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 problem (/showthread.php?tid=529937)



mysql problem - Tommboow - 04.08.2014

Код:
SA-MP Dedicated Server
----------------------
v0.3z, ©2005-2014 SA-MP Team

[20:45:55] 
[20:45:55] Server Plugins
[20:45:55] --------------
[20:45:55]  Loading plugin: mysql
[20:45:55]  SA:MP MySQL Plugin v2.1.1 Loaded.
[20:45:55]   Loaded.
[20:45:55]  Loading plugin: whirlpool
[20:45:55] [MySQL] Thread running. Threadsafe: Yes.
[20:45:55]  
[20:45:55]  ==================
[20:45:55]  
[20:45:55]   Whirlpool loaded
[20:45:55]  
[20:45:55]  ==================
[20:45:55]  
[20:45:55]   Loaded.
[20:45:55]  Loading plugin: sscanf
[20:45:55] 

[20:45:55]  ===============================

[20:45:55]       sscanf plugin loaded.     

[20:45:55]          Version:  2.8.1        

[20:45:55]    © 2012 Alex "******" Cole  

[20:45:55]  ===============================

[20:45:55]   Loaded.
[20:45:55]  Loading plugin: nativechecker
[20:45:55]   Loaded.
[20:45:55]  Loaded 4 plugins.

[20:45:55] 
[20:45:55] Filterscripts
[20:45:55] ---------------
[20:45:55]   Loaded 0 filterscripts.

[20:45:55]    Error: Function not registered: 'mysql_format'
[20:45:55]    Error: Function not registered: 'mysql_tquery'
[20:45:55]    Error: Function not registered: 'cache_get_data'
[20:45:55]    Error: Function not registered: 'cache_get_field_content'
[20:45:55] Script[gamemodes/base.amx]: Run time error 19: "File or function is not found"
[20:45:55] Number of vehicle models: 0
windows home hosted server with wamp

The one who gives me the right answers to fix it is getting a reward... now i'm tired of waiting to get it fixed.

Thnx,

Tom


Re: mysql problem - Dignity - 04.08.2014

I'm not familiar with MySQL but from what I can see those functions are related to BlueG's MySQL plugin version R33.

Try updating your MySQL plugin.

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


Re: mysql problem - dirigent00 - 04.08.2014

Ummm, can we get server.cfg, line plugins?
And tell me, which version of samp-server are you using, and which one mysql plugin?


Re: mysql problem - Dignity - 04.08.2014

Quote:
Originally Posted by dirigent00
Посмотреть сообщение
Ummm, can we get server.cfg, line plugins?
And tell me, which version of samp-server are you using, and which one mysql plugin?
sscanf, Whirlpool, MySQL & nativechecker. SA-MP version v0.3z and "SA:MP MySQL Plugin v2.1.1".

Actually read the console log next time


Re: mysql problem - Tommboow - 04.08.2014

@mionee - Already done the update

@dirigent00 -

Код:
echo Executing Server Config...
lanmode 0
rcon_password 1337
maxplayers 50
port 7777
hostname SA-MP 0.3 Server
gamemode0 base 1
announce 0
query 1
chatlogging 0
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
plugins mysql whirlpool sscanf nativechecker
logtimeformat [%H:%M:%S]



Re: mysql problem - Steve1312 - 04.08.2014

i had same problem try updating your inc file or use another version of this plugin.


Re: mysql problem - Tommboow - 04.08.2014

@steve1312 - tried almost every version


Re: mysql problem - dirigent00 - 04.08.2014

Your MySQL plugin is old, update it to the newer version. I suggest BlueG's plugin, fastest one.


Re: mysql problem - Dignity - 04.08.2014

You haven't updated your plugin, atleast not properly. I just plugged the latest version and my console printed this:

Код:
[21:00:02] Server Plugins
[21:00:02] --------------
[21:00:02]  Loading plugin: mysql
[21:00:02]  >> plugin.mysql: R39-2 successfully loaded.
[21:00:02]   Loaded.
[21:00:02]  Loaded 1 plugins.
Download the plugin from the page I gave you.