SA-MP Forums Archive
Scripting help (MYSQL) - 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: Scripting help (MYSQL) (/showthread.php?tid=506832)



Scripting help (MYSQL) - LennoxHD - 14.04.2014

Quote:

Error: Function not registered: 'WP_Hash'

Only problem, and because of that the server won't start please help


Re: Scripting help (MYSQL) - Konstantinos - 14.04.2014

It has nothing to do with MySQL. If Whirlpool plugin failed to load or you forgot to load it, a run time error 19 will be caused and your gamemode won't start.


Re: Scripting help (MYSQL) - LennoxHD - 14.04.2014

Whirlpool is loaded, amd run time error isn't coming up.


Re: Scripting help (MYSQL) - LennoxHD - 14.04.2014

Quote:

[22:10:33] Loaded.
[22:10:33] Loading plugin: mysql_static.so
[22:10:33] >> plugin.mysql: R38 successfully loaded.
[22:10:33] Loaded.
[22:10:33] Loading plugin: streamer.so
[22:10:33] Loaded.
[22:10:33] Loading plugin: nativechecker.so
[22:10:33] Loaded.
[22:10:33] Loading plugin: Whirlpool.so
[22:10:33]
[22:10:33] ==================
[22:10:33]
[22:10:33] Whirlpool loaded
[22:10:33]
[22:10:33] ==================
[22:10:33]
[22:10:33] Loaded.
[22:10:33] Loaded 5 plugins.

[22:10:33]
[22:10:33] Filterscripts
[22:10:33] ---------------
[22:10:33] Loaded 0 filterscripts.

[22:10:33] Error: Function not registered: 'WP_Hash'
[22:10:33]
[22:10:33]
[22:10:33]
[22:10:33] =======================================
[22:10:33] | |
[22:10:33] | YSI version 3.09.0684 |
[22:10:33] | By Alex "******" Cole |
[22:10:33] | |
[22:10:33] =======================================
[22:10:33]
[22:10:33]
[22:10:33]

There.


Re: Scripting help (MYSQL) - Konstantinos - 14.04.2014

Then do you load nativechecker plugin before Whirlpool? If yes, the message will be given and as the important note in the nativechecker plugin's thread says: it must be loaded last.

If your server doesn't start, it can be any reason. If you use MySQL, then check the logs. The connection might fail. Load crashdetect plugin just in case it's a server crash.

EDIT: Yes, you do.


Re: Scripting help (MYSQL) - LennoxHD - 14.04.2014

Quote:

[22:43:42] Server Plugins
[22:43:42] --------------
[22:43:42] Loading plugin: Whirlpool.so
[22:43:42]
[22:43:42] ==================
[22:43:42]
[22:43:42] Whirlpool loaded
[22:43:42]
[22:43:42] ==================
[22:43:42]
[22:43:42] Loaded.
[22:43:42] Loading plugin: sscanf.so
[22:43:42]

[22:43:42] ===============================

[22:43:42] sscanf plugin loaded.

[22:43:42] Version: 2.8.1

[22:43:42] © 2012 Alex "******" Cole

[22:43:42] ===============================

[22:43:42] Loaded.
[22:43:42] Loading plugin: mysql_static.so
[22:43:42] >> plugin.mysql: R38 successfully loaded.
[22:43:42] Loaded.
[22:43:42] Loading plugin: streamer.so
[22:43:42] Loaded.
[22:43:42] Loading plugin: nativechecker.so
[22:43:42] Loaded.
[22:43:42] Loaded 5 plugins.

[22:43:42]
[22:43:42] Filterscripts
[22:43:42] ---------------
[22:43:42] Loaded 0 filterscripts.

[22:43:42]
[22:43:42]
[22:43:42]
[22:43:42] =======================================
[22:43:42] | |
[22:43:42] | YSI version 3.09.0684 |
[22:43:42] | By Alex "******" Cole |
[22:43:42] | |
[22:43:42] =======================================
[22:43:42]
[22:43:42]
[22:43:42]
Please help you look at the plugins there and notify me, if they are wrong, cause still ain't working


Re: Scripting help (MYSQL) - LennoxHD - 14.04.2014

Help Please


Re: Scripting help (MYSQL) - Konstantinos - 14.04.2014

You're not allowed to bump within 24 hours and my reply is there. Don't ignore it and read it:

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Then do you load nativechecker plugin before Whirlpool? If yes, the message will be given and as the important note in the nativechecker plugin's thread says: it must be loaded last.

If your server doesn't start, it can be any reason. If you use MySQL, then check the logs. The connection might fail. Load crashdetect plugin just in case it's a server crash.

EDIT: Yes, you do.



Re: Scripting help (MYSQL) - LennoxHD - 14.04.2014

Okay, I have installed crashdetect and it crashed the amx, how do I make it not crash the Amx


Re: Scripting help (MYSQL) - Konstantinos - 14.04.2014

Post what it printed in the server log.