SA-MP Forums Archive
mysql_real_escape_string crashes? - 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: mysql_real_escape_string crashes? (/showthread.php?tid=374372)



AMX Corruption? - ikkentim - 02.09.2012

Please read my reply down below.

----------


Hello,

Are there any known issues with mysql_real_escape_string in BlueG's mysql R6-2 ?
I got these crashes
[15/08/2012 20:16:59] Crash caused by mysql_real_escape_string at address 000EF15C (gamemodes\rcr-ikt-[15/08/2012 21:32:09] Crash caused by mysql_real_escape_string at address 0001F650 (gamemodes\rcr-ikt-grimtest.amx)

Thanks!


Re: mysql_real_escape_string crashes? - Emmet_ - 02.09.2012

Nope, I'm using it and there's no problems, however, it caused a huge problem in the past for me (only once).

Can you show me your mysql_real_escape_string code please?


Re: mysql_real_escape_string crashes? - ikkentim - 02.09.2012

Quote:
Originally Posted by Emmet_
Посмотреть сообщение
Nope, I'm using it and there's no problems, however, it caused a huge problem in the past for me (only once).

Can you show me your mysql_real_escape_string code please?
I use it on a couple of places, but nothing special, i'm 100% sure it isn't in my code,
Also, it is now also flagging SendClientMessage to crash the server;

New question:
Is it possible that during a crash amx files get corrupted?


Re: mysql_real_escape_string crashes? - Emmet_ - 03.09.2012

Quote:
Originally Posted by ikkentim
Посмотреть сообщение
I use it on a couple of places, but nothing special, i'm 100% sure it isn't in my code,
Also, it is now also flagging SendClientMessage to crash the server;

New question:
Is it possible that during a crash amx files get corrupted?
I don't think that's likely.

Did you try re-downloading the plugin?