Whirepool help!FAST
#1

I need help with whirepool hash system....

I use dudb_hash and i wanna to put whirepool. This is code from my script..

Example

pawn Код:
if(udb_hash(inputtext) != tmp)
And when i make something like this:

pawn Код:
if(WP_Hash(inputtext) != tmp)
i get this warnings


C:\Users\ExtremePower\Desktop\Mode\gamemodes\lve.p wn(14 : warning 202: number of arguments does not match definition
C:\Users\ExtremePower\Desktop\Mode\gamemodes\lve.p wn(14 : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Warnings.

Can someone help me with this?
Reply
#2

Quote:
Originally Posted by DarkPower
Посмотреть сообщение
I need help with whirepool hash system....

I use dudb_hash and i wanna to put whirepool. This is code from my script..

Example

pawn Код:
if(udb_hash(inputtext) != tmp)
And when i make something like this:

pawn Код:
if(WP_Hash(inputtext) != tmp)
i get this warnings


C:\Users\ExtremePower\Desktop\Mode\gamemodes\lve.p wn(14 : warning 202: number of arguments does not match definition
C:\Users\ExtremePower\Desktop\Mode\gamemodes\lve.p wn(14 : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Warnings.

Can someone help me with this?
You need to store it into a buffer. Should look like this:

pawn Код:
new buffer[50];
wp_hash(string, buffer, sizeof(buffer));
if(!strcmp(buffer, password))print("Pass Correct.");
Reply
#3

Can you help me :S this is my reg system: http://pastebin.com/9gFk1L1j can you just add whirepool plz, tny
Reply
#4

Quote:
Originally Posted by DarkPower
Посмотреть сообщение
Can you help me :S this is my reg system: http://pastebin.com/9gFk1L1j can you just add whirepool plz, tny
No. Because:
1. I work with sscanf, not with strtok.
2. I don't understand anything of your script, because it is written in a language, i'm not able to understand.
3. You should be able to do it by yourself. It's not as complex as you think, I guess.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)