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=572450)



Error: Function not registered: 'WP_Hash' - Antoniohl - 28.04.2015

i've this plugin, it works fine it hash the password when you register, i had no problem yesterday lol, i've did like he/she said in the thread


Re: Error: Function not registered: 'WP_Hash' - J4Rr3x - 28.04.2015

Did you add 'whirlpool.dll' in plugins line in server.cfg and you have insert the native in gamemode?


Re: Error: Function not registered: 'WP_Hash' - Ritzy2K - 28.04.2015

Make sure at the top of script....
#include <whirlpool>

And also theres a #define something below..i forgot... i havent opened pawno for like 2 months..


Re: Error: Function not registered: 'WP_Hash' - BleverCastard - 28.04.2015

Quote:
Originally Posted by [ND]xXZeusXx.
View Post
Make sure at the top of script....
#include <whirlpool>

And also theres a #define something below..i forgot... i havent opened pawno for like 2 months..
You don't have to define Whirlpool. It's not going in the includes folder.


Add this ABOVE main() - native WP_Hash(buffer[], len, const str[]);


Re: Error: Function not registered: 'WP_Hash' - J4Rr3x - 28.04.2015

Quote:
Originally Posted by [ND]xXZeusXx.
View Post
Make sure at the top of script....
#include <whirlpool>

And also theres a #define something below..i forgot... i havent opened pawno for like 2 months..
Whirlpool haven't an include, you just need to put native in gamemode...
Please, don't propose wrong solutions.


Re: Error: Function not registered: 'WP_Hash' - Ritzy2K - 28.04.2015

sorry didnt accessed pawn from long....forgot the include...

My Bad.


Re: Error: Function not registered: 'WP_Hash' - Antoniohl - 28.04.2015

Quote:
Originally Posted by J4Rr3x
View Post
Did you add 'whirlpool.dll' in plugins line in server.cfg and you have insert the native in gamemode?
Yes.. both


Re: Error: Function not registered: 'WP_Hash' - Sithis - 28.04.2015

Does the whirlpool plugin load succesfully?


Re: Error: Function not registered: 'WP_Hash' - Antoniohl - 28.04.2015

Yes Sithis it works good

Code:
SA-MP Dedicated Server
----------------------
v0.3z-R4, ©2005-2014 SA-MP Team

[15:30:52] 
[15:30:52] Server Plugins
[15:30:52] --------------
[15:30:52]  Loading plugin: streamer
[15:30:52] 

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

[15:30:52]   Loaded.
[15:30:52]  Loading plugin: sscanf
[15:30:52] 

[15:30:52]  ===============================

[15:30:52]       sscanf plugin loaded.     

[15:30:52]          Version:  2.8.1        

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

[15:30:52]  ===============================

[15:30:52]   Loaded.
[15:30:52]  Loading plugin: nativechecker
[15:30:52]   Loaded.
[15:30:52]  Loading plugin: Whirlpool
[15:30:52]  
[15:30:52]  ==================
[15:30:52]  
[15:30:52]   Whirlpool loaded
[15:30:52]  
[15:30:52]  ==================
[15:30:52]  
[15:30:52]   Loaded.
[15:30:52]  Loaded 4 plugins.

[15:30:52] 
[15:30:52] Filterscripts
[15:30:52] ---------------
[15:30:52]   Loading filterscript 'buttons.amx'...
[15:30:52]   Loaded 1 filterscripts.

[15:30:52]    Error: Function not registered: 'WP_Hash'
[15:30:52]  
[15:30:52]  
[15:30:52]  
[15:30:52]  ======================================= 
[15:30:52]  |                                     | 
[15:30:52]  |        YSI version 3.09.0684        | 
[15:30:52]  |        By Alex "Y_Less" Cole        | 
[15:30:52]  |                                     | 
[15:30:52]  ======================================= 
[15:30:52]  
[15:30:52]  
[15:30:52]  
[15:30:53] *Dynamic Doors Loaded Correctly 32 DynamicDoor.
[15:30:53] *Vehicles Loaded Correctly.
[15:30:53] *Stuff Uploaded Correctly.
[15:30:53] *Houses Loaded Correctly.
[15:30:53] *Garages Loaded Correctly.
[15:30:54] *Business Loaded Correctly.
[15:30:54] *ATMs Loaded Correctly.
[15:30:54] *Gas Stations Loaded Corecctly.
[15:30:54] *Families Loaded Correctly.
[15:30:54] *Loaded Correctly 3 Words of SPAM.
[15:30:54] *Gates Loaded Correctly.
[15:30:54] *Turfs Loaded Correctly.
[15:30:54] *Maps Loaded Correctly.
[15:30:54] *Weeds Loaded Correctly.
[15:30:54] *MapIcons Loaded Correctly.
[15:31:00] *Family Vehicles Loaded Correctly.
[15:31:09] *Furniture System Loaded Correctly.



Re: Error: Function not registered: 'WP_Hash' - JaydenJason - 28.04.2015

Quote:
Originally Posted by Antoniohl
View Post
Yes Sithis it works good

Code:
SA-MP Dedicated Server
----------------------
v0.3z-R4, ©2005-2014 SA-MP Team

[15:30:52] 
[15:30:52] Server Plugins
[15:30:52] --------------
[15:30:52]  Loading plugin: streamer
[15:30:52] 

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

[15:30:52]   Loaded.
[15:30:52]  Loading plugin: sscanf
[15:30:52] 

[15:30:52]  ===============================

[15:30:52]       sscanf plugin loaded.     

[15:30:52]          Version:  2.8.1        

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

[15:30:52]  ===============================

[15:30:52]   Loaded.
[15:30:52]  Loading plugin: nativechecker
[15:30:52]   Loaded.
[15:30:52]  Loading plugin: Whirlpool
[15:30:52]  
[15:30:52]  ==================
[15:30:52]  
[15:30:52]   Whirlpool loaded
[15:30:52]  
[15:30:52]  ==================
[15:30:52]  
[15:30:52]   Loaded.
[15:30:52]  Loaded 4 plugins.

[15:30:52] 
[15:30:52] Filterscripts
[15:30:52] ---------------
[15:30:52]   Loading filterscript 'buttons.amx'...
[15:30:52]   Loaded 1 filterscripts.

[15:30:52]    Error: Function not registered: 'WP_Hash'
[15:30:52]  
[15:30:52]  
[15:30:52]  
[15:30:52]  ======================================= 
[15:30:52]  |                                     | 
[15:30:52]  |        YSI version 3.09.0684        | 
[15:30:52]  |        By Alex "Y_Less" Cole        | 
[15:30:52]  |                                     | 
[15:30:52]  ======================================= 
[15:30:52]  
[15:30:52]  
[15:30:52]  
[15:30:53] *Dynamic Doors Loaded Correctly 32 DynamicDoor.
[15:30:53] *Vehicles Loaded Correctly.
[15:30:53] *Stuff Uploaded Correctly.
[15:30:53] *Houses Loaded Correctly.
[15:30:53] *Garages Loaded Correctly.
[15:30:54] *Business Loaded Correctly.
[15:30:54] *ATMs Loaded Correctly.
[15:30:54] *Gas Stations Loaded Corecctly.
[15:30:54] *Families Loaded Correctly.
[15:30:54] *Loaded Correctly 3 Words of SPAM.
[15:30:54] *Gates Loaded Correctly.
[15:30:54] *Turfs Loaded Correctly.
[15:30:54] *Maps Loaded Correctly.
[15:30:54] *Weeds Loaded Correctly.
[15:30:54] *MapIcons Loaded Correctly.
[15:31:00] *Family Vehicles Loaded Correctly.
[15:31:09] *Furniture System Loaded Correctly.
As said above, you must put
Code:
native WP_Hash(buffer[], len, const str[]);
underneath your defines, or somewhere else, as long as it is above your
Code:
main()
and outside of a callback.

edit: shite i didn't read your post, apologies.