Guten Abend,
Ich bin glaubich zu Doof um dem Fehler zu sehen.
MySQL Log:
[21:08:15] [ERROR] CMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'CTC_Accounts` SET `Eingeloggt` = '0', `Welt` = '0', `Admin` = '0', `Geschlecht` ' at line 1
Pawn:
stock SaveAccount(extraid){new mainQuery[2700], secondQuery[900];format(secondQuery, sizeof(secondQuery), ""#SERVERTAG"_Accounts` SET `Eingeloggt` = '%d', `Welt` = '%d', `Admin` = '%d', `Geschlecht` = '%d', `Tutorial` = '%d', `Level` = '%d', `Respekt` = '%d', `MaxRespekt` = '%d', `PayDay` = '%d', `Spawn` = '%d', `Skin` = '%d', `Job` = '%d', `JobMoney` = '%d', `Fraktion` = '%d', `FraktionSkin` = '%d', `FrakionsRank` = '%d', `FrakionsLeader` = '%d',",pInfo[extraid][pEingeloggt],pInfo[extraid][pWelt],pInfo[extraid][pAdmin],pInfo[extraid][pGeschlecht],pInfo[extraid][pTutorial],pInfo[extraid][pLevel],pInfo[extraid][pRespekt],pInfo[extraid][pMaxRespekt],pInfo[extraid][pPayDay],pInfo[extraid][pSpawn],pInfo[extraid][pSkin],pInfo[extraid][pJob],pInfo[extraid][pJobMoney],pInfo[extraid][pFraktion],pInfo[extraid][pFraktionSkin],pInfo[extraid][pFrakionsRank],pInfo[extraid][pFrakionsLeader]);strcat(mainQuery, secondQuery);format(secondQuery, sizeof(secondQuery), "`Portmanee` = '%d', `Bank` = '%d', `Sparbuch` = '%d', `Handynummer` = '%d', `Handyguthaben` = '%d', `Verwarnungen` = '%d', `Perso` = '%d', `Verheiratet` = '%s', `VerheiratetName` = '%s', `Kills` = '%d', `Tode` = '%d', `Verbrechen` = '%d', `Wanteds` = '%d', `Spielzeit` = '%d', `KnastSkill` = '%d', `Knast` = '%d', `KnastZelle` = '%d', `KnastZeit` = '%d',",pInfo[extraid][pPortmanee],pInfo[extraid][pBank],pInfo[extraid][pSparbuch],pInfo[extraid][pHandynummer],pInfo[extraid][pHandyguthaben],pInfo[extraid][pVerwarnungen],pInfo[extraid][pPerso],pInfo[extraid][pVerheiratet],pInfo[extraid][pVerheiratetName],pInfo[extraid][pKills],pInfo[extraid][pTode],pInfo[extraid][pVerbrechen],pInfo[extraid][pWanteds],pInfo[extraid][pSpielzeit],pInfo[extraid][pKnastSkill],pInfo[extraid][pKnast],pInfo[extraid][pKnastZelle],pInfo[extraid][pKnastZeit]);strcat(mainQuery, secondQuery);format(secondQuery, sizeof(secondQuery), "`Tot` = '%d', `TotUnix` = '%d', `TotX` = '%f', `TotY` = '%f', `TotZ` = '%f', `Premium` = '%d', `PremiumTage` = '%d', `Materialien` = '%s', `MaterialienSafe` = '%s', `Drogen` = '%d', `DrogenSafe` = '%d', `BusSkill` = '%d', `BusSkillExp` = '%d', `BusSkillMaxExp` = '%d', `Autoschein` = '%d', `Flugschein` = '%d', `Bootsschein` = '%d',",pInfo[extraid][pTot],pInfo[extraid][pTotUnix],pInfo[extraid][pTotX],pInfo[extraid][pTotY],pInfo[extraid][pTotZ],pInfo[extraid][pPremium],pInfo[extraid][pPremiumTage],pInfo[extraid][pMaterialien],pInfo[extraid][pMaterialienSafe],pInfo[extraid][pDrogen],pInfo[extraid][pDrogenSafe],pInfo[extraid][pBusSkill],pInfo[extraid][pBusSkillExp],pInfo[extraid][pBusSkillMaxExp],pInfo[extraid][pAutoschein],pInfo[extraid][pFlugschein],pInfo[extraid][pBootsschein]);strcat(mainQuery, secondQuery);format(secondQuery, sizeof(secondQuery), "`Angelschein` = '%d', `Waffenschein` = '%d', `Zollschein` = '%d', `HausSchluessel` = '%d' WHERE `Name` = '%s'",pInfo[extraid][pAngelschein],pInfo[extraid][pWaffenschein],pInfo[extraid][pZollschein],pInfo[extraid][pHausSchluessel],pInfo[extraid][pName]);strcat(mainQuery, secondQuery);mysql_function_query(mycon, mainQuery, false, "", "");strdel(mainQuery, 0, sizeof(mainQuery));strdel(secondQuery, 0, sizeof(secondQuery));return 1;}
Lg