SA-MP Forums Archive
Help with BlueG's MySQL plugin R39 - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Help with BlueG's MySQL plugin R39 (/showthread.php?tid=539888)



Help with BlueG's MySQL plugin R39 - Pravin - 01.10.2014

Players keep losing stats, and i dont know the problem

When i checked mysql logs, i had this. This kept spamming over my log.

Help pls..?


Quote:

[DEBUG] CMySQLQuery::Execute[] - no callback specified, skipping result saving




Re: Help with BlueG's MySQL plugin R39 - Nitin - 01.10.2014

You can try this.

pawn Code:
CallBack: OneMinuteTimer()
{
    if(mysql_ping() != 1)
    {
        mysql_reconnect();
    }
    for(new i = 0; i < MAX_PLAYERS; i ++ )
    {
        AccountInfo[i][PlayingTime] ++;
        Saveaccount(i);
    }
}