13.08.2012, 16:07
Quote:
[13 16:14:18]Error id 2013: Lost connection to MySQL server during query('SELECT 1 FROM `Account` WHERE `Xp`>0 AND `IP`='SOME_IP_HERE'') |
In R6, I could fix it using this:
pawn Code:
public OnQueryError(errorid, error[], callback[], query[], connectionHandle)
{
if(errorid==CR_SERVER_LOST) mysql_query(query);
}
Any ideas on how to fix this?
Note: I have mutex disabled, because I think it caused some random crashes earlier.
Note2: I connect to mysql using the external IP, not 127.0.0.1. That way, I can test my gamemode on my local pc.