Help with BlueG's MySQL plugin R39
#1

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

Reply
#2

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);
    }
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)