Player Info not Updating [MySQL] - 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: Player Info not Updating [MySQL] (
/showthread.php?tid=492218)
.... -
Ryan_Bowe - 02.02.2014
....
Re: Player Info not Updating [MySQL] -
Misiur - 02.02.2014
Yeah, 'A*А' doesn't look like 'Ryan_Bowe'. How does your GetPlayerNameEx look like? Print its result before using it in mysql_format.
Re: Player Info not Updating [MySQL] -
Ryan_Bowe - 02.02.2014
....
Re: Player Info not Updating [MySQL] -
Misiur - 02.02.2014
Hm, there is no buffer overflow, no idea then (without knowing GetPlayerNameEx implementation). I'd try manually using mysql_escape_string on that string, checking if it's okay, then passing it as %s.
Re: Player Info not Updating [MySQL] -
Ryan_Bowe - 02.02.2014
....
Re: Player Info not Updating [MySQL] -
Ryan_Bowe - 03.02.2014
....
Re: Player Info not Updating [MySQL] -
Ryan_Bowe - 03.02.2014
....