Password Hash Problem & MYSQL Saving Problem
#4

Quote:
Originally Posted by introzen
View Post
In
PHP Code:
mysql_format(mysqlquerysizeof(query), "UPDATE `players` SET `xLevel` = %d, `Toys` = %d, `Neons` = %d, `BoomBox` = %d, `Banned` = %d, `xVIP` = %d, `Score` = %d, `Respect` = %d, `Credits` = %d, `Drugs` = %d, `Kills` = %d, `Deaths` = %d, `MaxSpree` = %d, `TotalDuels` = %d, `DuelsWon` = %d, `DuelsLost` = %d,`Skin` = %d,`Muted` = %d,`Cash`= %d, `TotalSeconds` = %d, `LastLoggedIP` = '%e',`LastSeen` = '%e', WHERE `p_id` = %d "pInfo[playerid][pLevel], pInfo[playerid][Toys], pInfo[playerid][Neons], pInfo[playerid][BoomBox], pInfo[playerid][Banned], pInfo[playerid][VIP], GetPlayerScore(playerid), pInfo[playerid][Respect], pInfo[playerid][credits], pInfo[playerid][Drugs], pInfo[playerid][Kills], pInfo[playerid][Deaths], pInfo[playerid][MaxSpree], pInfo[playerid][TotalDuels], pInfo[playerid][DuelsWon], pInfo[playerid][DuelsLost], pInfo[playerid][Skin], pInfo[playerid][Muted], GetPlayerMoney(playerid), secondspIPstrpInfo[playerid][p_id]); 
mysql_tquery(mysqlquery"OnStatsSave""i"playerid); 
Change
PHP Code:
`LastSeen` = '%e'WHERE `p_id` = %
To
PHP Code:
`LastSeen` = '%e' WHERE `p_id` = %
Also show us your pInfo enum please.
Quote:
Originally Posted by Threshold
View Post
You're using printf instead of print. Also, I'm gonna go ahead and assume that you've only given p_password 100 cells instead of 129...

Change
pawn Code:
p_password[100]
to:
pawn Code:
p_password[129]
Thanks The issue is resolved
Reply


Messages In This Thread
Password Hash Problem & MYSQL Saving Problem - by Faqahat - 17.04.2016, 22:21
Re: Password Hash Problem & MYSQL Saving Problem - by introzen - 18.04.2016, 07:43
Re: Password Hash Problem & MYSQL Saving Problem - by Threshold - 18.04.2016, 10:23
Re: Password Hash Problem & MYSQL Saving Problem - by Faqahat - 18.04.2016, 11:54

Forum Jump:


Users browsing this thread: 1 Guest(s)