udb_hash - 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: udb_hash (
/showthread.php?tid=567779)
udb_hash -
TheSnaKe - 16.03.2015
....
AW: udb_hash -
Kaliber - 16.03.2015
if you wanna remove the hash...then just remove it everywhere...
Re: udb_hash -
Stanford - 16.03.2015
I have PMed you something, check it out:
You are treating the hash as an integer (check your insert) you have to treat it as a string as well, 128 characters I believe this should fix your problem, make sure you have changed the settings in the database as CHAR with 129.
good luck
Re: udb_hash -
Stanford - 16.03.2015
pawn Код:
Query("INSERT INTO `playerinfo` (`user`,`password`,`IP`,`date`) VALUES ('%s',%s,'%s',%d)",
and do the udb hashing before and store it in a the password variable then insert it
make sure you have something like Password[129] at the top of ur script
I see that you having the same problem with the 'date' I don't know how your script works but if its a date it should be a string shouldn't it?
Re: udb_hash -
TheSnaKe - 16.03.2015
deleted