SA-MP Forums Archive
[Y_INI] Can login with any password O.o - 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: [Y_INI] Can login with any password O.o (/showthread.php?tid=381081)



[Y_INI] Can login with any password O.o - Jarnu - 28.09.2012

*Fixed on my OWN.


Re: [Y_INI] Can login with any password O.o - Glint - 28.09.2012

Are you Parsing the player's password when he connects ?


Re: [Y_INI] Can login with any password O.o - Jarnu - 28.09.2012

Yes i do


Re: [Y_INI] Can login with any password O.o - Glint - 28.09.2012

Instead of
pawn Код:
if(strcmp(HashPass, PlayerInfo[playerid][pPass], true))
Try
pawn Код:
if(!strcmp(HashPass, PlayerInfo[playerid][pPass]))
Not sure if it works.


Re: [Y_INI] Can login with any password O.o - Jarnu - 28.09.2012

Tried.. now you can't even login.. with any pass -_-


Re: [Y_INI] Can login with any password O.o - XtremeR - 28.09.2012

try this
https://sampforum.blast.hk/showthread.php?tid=273088
its a tut


Re: [Y_INI] Can login with any password O.o - Jarnu - 28.09.2012

It didn't worked XtremeR


Re: [Y_INI] Can login with any password O.o - Ronaldo_raul™ - 28.09.2012

Or maybe try this -
pawn Код:
if ( strcmp ( aInfo [ playerid ] [ pPass ] , buf , true ) == 0 )



Re: [Y_INI] Can login with any password O.o - RedJohn - 28.09.2012

https://sampforum.blast.hk/showthread.php?tid=352703

Take a look at the last sentence. Try it with your LoadUser_%s.


Re: [Y_INI] Can login with any password O.o - Jarnu - 28.09.2012

i tried each and everything.. ! still