Few errors - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Few errors (
/showthread.php?tid=141598)
Few errors -
DarkPower - 14.04.2010
C:\Users\NASTIE\Desktop\Admin system\filterscripts\SeifAdmin.pwn(2900) : error 017: undefined symbol "WP_Hash"
C:\Users\NASTIE\Desktop\Admin system\filterscripts\SeifAdmin.pwn(2900) : warning 202: number of arguments does not match definition
C:\Users\NASTIE\Desktop\Admin system\filterscripts\SeifAdmin.pwn(2900) : warning 202: number of arguments does not match definition
C:\Users\NASTIE\Desktop\Admin system\filterscripts\SeifAdmin.pwn(2913) : error 017: undefined symbol "WP_Hash"
C:\Users\NASTIE\Desktop\Admin system\filterscripts\SeifAdmin.pwn(2913) : warning 202: number of arguments does not match definition
C:\Users\NASTIE\Desktop\Admin system\filterscripts\SeifAdmin.pwn(2913) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
LINE 2900:
Код:
WP_Hash(pass, sizeof pass, inputtext);
LINE 2913:
Код:
WP_Hash(pass, sizeof pass, inputtext);
Are lines are under OnDialog Respone
i was try to change Seif Admin into dialogs by this tut.
http://forum.sa-mp.com/index.php?topic=156649.0
Re: Few errors -
biltong - 14.04.2010
First, you probably don't have whirlpool in your server, search it, then add
pawn Код:
native WP_Hash(buffer, len, const string[]);
anywhere in your script (NOT IN ANY CALLBACKS).
Then, change those lines to
pawn Код:
WP_Hash(pass, 145, inputtext);
Whirlpool seems to always work when you use 145 as the length, though when you use sizeof it must be sizeof(varname_here), not sizeof varname_here.
Re: Few errors -
DarkPower - 14.04.2010
C:\Users\NASTIE\Desktop\Admin system\filterscripts\SeifAdmin.pwn(2901) : error 035: argument type mismatch (argument 1)
C:\Users\NASTIE\Desktop\Admin system\filterscripts\SeifAdmin.pwn(2914) : error 035: argument type mismatch (argument 1)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
LINES:
Код:
WP_Hash(pass, 145, inputtext);
Re: Few errors -
biltong - 14.04.2010
Pass must be a string. WP_Hash is like format, only it jumbles up the string you give it into a whole bunch of random chars.
Re: Few errors -
Thrarod - 14.04.2010
If pass is encrypted with numbers or etc. you must change it
Re: Few errors -
DarkPower - 14.04.2010
Anywhay did anyone have edited seif admin system? whit register login Dialog? Please help me or if someone can edit for me ? Please