Dialog System without hash
#1

All the register/login systems ive found while searching uses a hash for the password, but im kind of evil so I dont want hashed passwords in the user file. I made my own register/login dialog system with Dini but as always I get errors with inputtext.

I always get these errors while trying to make a register/login system without hash.

Can someone help me fix them?

Error:
Code:
C:\Server\gamemodes\test.pwn(120) : error 035: argument type mismatch (argument 3)
Row (under register dialog):
pawn Code:
dini_IntSet(file, "password", inputtext);

Error:
Code:
C:\Server\gamemodes\test.pwn(144) : error 033: array must be indexed (variable "inputtext")
Rows (under logindialog):
pawn Code:
(142)if(strlen(inputtext))
(143){
(144)    if(inputtext != dini_Int(file, "password"))
(145)    {
(146)        ShowPlayerDialog(playerid, 1336, DIALOG_STYLE_PASSWORD, "Login", "Wrong password!", "Login", "Cancel");
(147)    }
(148)    else
(149)    {
(150)        //Log in the player
(151)    }
Reply


Messages In This Thread
Dialog System without hash - by [NWA]Hannes - 05.06.2012, 21:11
Re: Dialog System without hash - by Vince - 05.06.2012, 21:17
Re: Dialog System without hash - by [NWA]Hannes - 05.06.2012, 21:22
Re: Dialog System without hash - by MP2 - 05.06.2012, 21:31
Re: Dialog System without hash - by [NWA]Hannes - 05.06.2012, 21:55
Re: Dialog System without hash - by [NWA]Hannes - 05.06.2012, 22:30
Re: Dialog System without hash - by iggy1 - 05.06.2012, 22:36
Re: Dialog System without hash - by DaRealShazz - 05.06.2012, 22:49
Re: Dialog System without hash - by [NWA]Hannes - 05.06.2012, 22:52
Re: Dialog System without hash - by ricardo178 - 05.06.2012, 22:58
Re: Dialog System without hash - by ricardo178 - 05.06.2012, 23:07

Forum Jump:


Users browsing this thread: 1 Guest(s)