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



Error : Function not registered WP_Hash - lwilson - 25.05.2016

Code:
echo Executing Server Config...
lanmode 0
rcon_password ****
maxplayers 50
port 7777
hostname SA-MP 0.3 Server
gamemode0 sal-rp 1
filterscripts 
plugins streamer sscanf mysql crashdetect nativechecker Whirlpool
announce 0
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
logtimeformat [%H:%M:%S]
language English
Code:
----------
Loaded log file: "server_log.txt".
----------

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

[12:30:15] filterscripts = ""  (string)
[12:30:15] 
[12:30:15] Server Plugins
[12:30:15] --------------
[12:30:15]  Loading plugin: streamer
[12:30:15]   Loaded.
[12:30:15]  Loading plugin: sscanf
[12:30:15] 

[12:30:15]  ===============================

[12:30:15]       sscanf plugin loaded.     

[12:30:15]          Version:  2.8.1        

[12:30:15]    © 2012 Alex "Y_Less" Cole  

[12:30:15]  ===============================

[12:30:15]   Loaded.
[12:30:15]  Loading plugin: mysql
[12:30:15]  >> plugin.mysql: R39-3 successfully loaded.
[12:30:15]   Loaded.
[12:30:15]  Loading plugin: crashdetect
[12:30:15]   CrashDetect v4.12 is OK.
[12:30:15]   Loaded.
[12:30:15]  Loading plugin: nativechecker
[12:30:15]   Loaded.
[12:30:15]  Loading plugin: whirlpool
[12:30:15]  
[12:30:15]  ==================
[12:30:15]  
[12:30:15]   Whirlpool loaded
[12:30:15]  
[12:30:15]  ==================
[12:30:15]  
[12:30:15]   Loaded.
[12:30:15]  Loaded 6 plugins.

[12:30:15] 
[12:30:15] Filterscripts
[12:30:15] ---------------
[12:30:15]   Loaded 0 filterscripts.

[12:30:15]    Error: Function not registered: 'WP_Hash'
[12:30:15]  
[12:30:15]  
[12:30:15]  
[12:30:15]  ======================================= 
[12:30:15]  |                                     | 
[12:30:15]  |        YSI version 3.09.0684        | 
[12:30:15]  |        By Alex "Y_Less" Cole        | 
[12:30:15]  |                                     | 
[12:30:15]  ======================================= 
[12:30:15]  
[12:30:15] [SQL] Connection to "127.0.0.1" passed!
[12:30:15] South Central Roleplay
[12:30:15] Number of vehicle models: 1



Re: Error : Function not registered WP_Hash - Jf - 25.05.2016

Add this near the top of your script:

PHP Code:
native WP_Hash(buffer[], len, const str[]); 
https://sampforum.blast.hk/showthread.php?tid=570945


Re: Error : Function not registered WP_Hash - Konstantinos - 25.05.2016

There isn't any problem as the server starts successfully. The mistake was that nativechecker should have been last because any plugin loaded after will give the message.
As you have the crashdetect plugin loaded, you do not need nativechecker. Just update crashdetect to 4.15.1 version.