Stats Reset Problem? - 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: Stats Reset Problem? (
/showthread.php?tid=604966)
Stats Reset Problem? -
PrednizoN - 12.04.2016
This problem does not always. Timeless happening. Sometimes it is , sometimes not being registered . I use MySQL R26 .
What could be the source of such problems ?
Re: Stats Reset Problem? -
sheNdjze - 12.04.2016
search for DROP TABLE in ur gm, or somone is sql injecting your gamemode
from
https://sampforum.blast.hk/showthread.php?tid=162584 :
Quote:
new Escape[2][128];
mysql_real_escape_string(name, Escape[0]); // This function makes sure you don't get MySQL injected. Read about it by searching it on ******.
mysql_real_escape_string(sscanfinput, Escape[1]);
format(string, 128, "INSERT INTO Account_Table_Name (Username, Password) VALUES('%s', md5('%s'))", Escape[0], Escape[1]);
mysql_query(string);
|
Re: Stats Reset Problem? -
PrednizoN - 12.04.2016
I've this system.Player was exit game and again connect stats(score money online time ...) resets.But not always.?
Re: Stats Reset Problem? -
Sew_Sumi - 12.04.2016
-edit delete- nvm was thinking of other situations
Re: Stats Reset Problem? -
Freedom. - 12.04.2016
You are using my gamemode which I was developing without my authorization. I'v told you before 'You don't have enough information to edit my gamemode.' You just can change my server name on dialogs etc.
Re: Stats Reset Problem? -
PrednizoN - 13.04.2016
Quote:
Originally Posted by sheNdjze
|
something out of the game after deleting data