Error: Function not registered: 'WP_Hash'
#1

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
Reply
#2

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

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..
Reply
#4

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[]);
Reply
#5

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.
Reply
#6

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

My Bad.
Reply
#7

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
Reply
#8

Does the whirlpool plugin load succesfully?
Reply
#9

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.
Reply
#10

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)