[22:31:34] [DEBUG] mysql_format - connection: 1, len: 1024, format: "INSERT INTO `players` (id,pName,pKor,pNem,pSzarmazas,pOnline ) VALUES('%d','%s','%d','%s','%s','1')"[22:31:34] [DEBUG] mysql_tquery - connection: 1, query: "INSERT INTO `players` (id,pName,pKor,pNem,pSzarmazas,pOnline ) V", callback: "(null)", format: "(null)"[22:31:34] [DEBUG] mysql_format - connection: 1, len: 1024, format: "UPDATE `accounts` SET `char_1` = '%i' WHERE `id` = '%i' "[22:31:34] [DEBUG] CMySQLQuery::Execute[] - starting query execution[22:31:34] [DEBUG] mysql_query - connection: 1, query: "UPDATE `accounts` SET `char_1` = '0' WHERE `id` = '0' ", use_cache: true[22:31:34] [DEBUG] CMySQLQuery::Execute[] - query was successfully executed within 5.819 milliseconds[22:31:34] [DEBUG] CMySQLQuery::Execute[] - no callback specified, skipping result saving[22:31:34] [DEBUG] CMySQLQuery::Execute - starting query execution[22:31:34] [DEBUG] CMySQLQuery::Execute - query was successfully executed within 9.759 milliseconds[22:31:34] [DEBUG] CMySQLResult::CMySQLResult() - constructor called[22:31:35] [DEBUG] CMySQLHandle::SaveActiveResult - cache saved (id: 3)[22:31:35] [DEBUG] mysql_format - connection: 1, len: 1024, format: "SELECT * FROM `players` WHERE `id` = '%i'"[22:31:35] [DEBUG] mysql_tquery - connection: 1, query: "SELECT * FROM `players` WHERE `id` = '0'", callback: "LoadCharacter", format: "i"[22:31:35] [DEBUG] CMySQLQuery::Execute[LoadCharacter] - starting query execution[22:31:35] [DEBUG] CMySQLQuery::Execute[LoadCharacter] - query was successfully executed within 0.870 milliseconds[22:31:35] [DEBUG] CMySQLResult::CMySQLResult() - constructor called[22:31:35] [DEBUG] Calling callback "LoadCharacter"..[22:31:35] [DEBUG] cache_get_data - connection: 1[22:31:35] [DEBUG] CMySQLResult::~CMySQLResult() - deconstructor called[22:38:49] [DEBUG] mysql_tquery - connection: 1, query: "UPDATE `players` SET `pOnline` = '0'", callback: "(null)", format: "(null)"[22:38:49] [DEBUG] CMySQLConnection::Connect - establishing connection to database...[22:38:49] [DEBUG] CMySQLConnection::Connect - establishing connection to database...[22:38:49] [DEBUG] CMySQLConnection::Connect - establishing connection to database...[22:38:49] [DEBUG] CMySQLConnection::Connect - connection was successful[22:38:49] [DEBUG] mysql_query - connection: 1, query: "UPDATE `vehicles` SET `vID` = '-1'", use_cache: true[22:38:49] [DEBUG] CMySQLConnection::Connect - connection was successful[22:38:49] [DEBUG] CMySQLConnection::Connect - connection was successful[22:38:49] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled[22:38:49] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled[22:38:49] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled[22:38:49] [DEBUG] CMySQLQuery::Execute - starting query execution[22:38:49] [DEBUG] CMySQLQuery::Execute[] - starting query execution[22:38:49] [DEBUG] CMySQLQuery::Execute - query was successfully executed within 4.29 milliseconds[22:38:49] [DEBUG] CMySQLResult::CMySQLResult() - constructor called[22:38:49] [DEBUG] CMySQLQuery::Execute[] - query was successfully executed within 3.692 milliseconds[22:38:49] [DEBUG] CMySQLQuery::Execute[] - no callback specified, skipping result saving[22:38:49] [DEBUG] CMySQLHandle::SaveActiveResult - cache saved (id: 1)[22:38:49] [DEBUG] mysql_tquery - connection: 1, query: "SELECT * FROM `vehicles` WHERE `TulajSQLID` = '0'", callback: "OnVehicleLoad", format: "(null)"
INSERT INTO `players` (id,pName) VALUES('0','Test_Elek')[00:23:55] UPDATE `accounts` SET `char_2` = '0' WHERE `Felhasznalonev` = 'test'
stock setPlayerKarakterreg(playerid) { new tempStr[4][32]; new tempStrnev[32]; GetPVarString(playerid, #Felhasznalonev, tempStrnev, 32); GetPVarString(playerid, #pName, tempStr[0], 32); GetPVarString(playerid, #pKor, tempStr[1], 32); GetPVarString(playerid, #pNem, tempStr[2], 32); GetPVarString(playerid, #pSzarmazas, tempStr[3], 32); new i = cache_insert_id(0); mysql_format(g_SQL,mysql_uzenet,sizeof(mysql_uzenet),"INSERT INTO `players` (id,pName) VALUES('%i','%s')", pInfo[i][id],tempStr[0]); mysql_tquery(g_SQL, mysql_uzenet ); printf("Karakteruzi: %s",mysql_uzenet); mysql_format(g_SQL,mysql_uzenet,sizeof(mysql_uzenet),"UPDATE `accounts` SET `char_2` = '%i' WHERE `Felhasznalonev` = '%s' ", accInfo[i][accountid], tempStrnev); mysql_query(g_SQL,mysql_uzenet); printf("Accountuzi: %s",mysql_uzenet); hideCharPanel(playerid); SCM(playerid, HEX_WHITE, "Karaktered elkészült!"); showCharPanel(playerid); LoadCharacterSelection(playerid); return 1;}
[17:44:35] [ERROR] mysql_format - invalid connection handle (id: 0)[17:44:35] [ERROR] mysql_tquery - invalid connection handle (id: 0)[17:44:35] [ERROR] mysql_format - invalid connection handle (id: 0)[17:44:35] [ERROR] mysql_query - invalid connection handle (id: 0)[17:44:35] [ERROR] mysql_format - invalid connection handle (id: 0)[17:44:35] [ERROR] mysql_tquery - invalid connection handle (id: 0)
stock setPlayerKarakterreg(playerid) { new tempStr[4][32]; GetPVarString(playerid, #pName, tempStr[0], 32); GetPVarString(playerid, #pKor, tempStr[1], 32); GetPVarString(playerid, #pNem, tempStr[2], 32); GetPVarString(playerid, #pSzarmazas, tempStr[3], 32); mysql_format(g_SQL,mysql_uzenet,sizeof(mysql_uzenet),"INSERT INTO `players` (pName) VALUES('%s')",tempStr[0]); mysql_tquery(g_SQL, mysql_uzenet,"OnCharacterCreate","i",playerid); printf("Karakteruzi: %s",mysql_uzenet); return 1;}forward OnCharacterCreate(playerid);public OnCharacterCreate(playerid){ new tempStrnev[32]; GetPVarString(playerid, #Felhasznalonev, tempStrnev, 32); mysql_format(g_SQL,mysql_uzenet,sizeof(mysql_uzenet),"UPDATE `accounts` SET `char_2` = %i WHERE `Felhasznalonev` = '%s' ", cache_insert_id(), tempStrnev); mysql_query(g_SQL,mysql_uzenet); printf("Accountuzi: %s",mysql_uzenet); hideCharPanel(playerid); SCM(playerid, HEX_WHITE, "Karaktered elkészült!"); showCharPanel(playerid); LoadCharacterSelection(playerid); return 1;}
[WARNING] cache_get_data - no active cache