spieler werden nicht gespeichert

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • hey
    bei mir wird die Tabelle nicht geupdated...
    keine ahnung woran das liegt.. könnt ihr helfen?



    stock SavePlayer(playerid){
    new query[400 + MAX_PLAYER_NAME];
    mysql_format(mycon,query, sizeof(query), "UPDATE `User` SET `Admin` = %d,`Fraktion` = %d,`Rank` = '%d', `Skin` = %d,`Level` = %d,`Geld` = '%d', `Perso` = %d,`Job` = %d,`Alter` = '%s',`Land` = %s,`Geschlecht` = %s,`Paycheck` = '%d',`Payday` = '%d',`Bank` = '%d' WHERE `Name` = '%e'",
    pInfo[playerid][Admin],pInfo[playerid][Fraktion],pInfo[playerid][Rank],GetPlayerSkin(playerid),GetPlayerScore(playerid),GetPlayerMoney(playerid),pInfo[playerid][Perso],pInfo[playerid][Job],pInfo[playerid][Alter],pInfo[playerid][Land],pInfo[playerid][Geschlecht],pInfo[playerid][Paycheck],
    pInfo[playerid][Payday],pInfo[playerid][Bank],GetName(playerid));
    mysql_tquery(mycon,query,"","");
    return 1;
    }

  • die log sagt das, ich verstehe nicht wirklich was das heißen soll


    Code
    [13:22:32] [ERROR] mysql_format - destination size is too small[13:22:32] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1[13:22:37] [ERROR] mysql_format - destination size is too small[13:22:37] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck`' at line 1[13:29:28] [ERROR] mysql_format - destination size is too small[13:29:28] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1[13:29:32] [ERROR] mysql_format - destination size is too small[13:29:32] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck`' at line 1[13:32:40] [ERROR] mysql_format - destination size is too small[13:32:40] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck` =' at line 1[13:36:07] [ERROR] mysql_format - destination size is too small[13:36:07] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1[13:36:09] [ERROR] mysql_format - destination size is too small[13:36:09] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck`' at line 1[18:21:31] [ERROR] mysql_format - destination size is too small[18:21:31] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1[18:21:34] [ERROR] mysql_format - destination size is too small[18:21:34] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck`' at line 1[18:23:37] [ERROR] mysql_format - destination size is too small[18:23:37] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck` =' at line 1[18:26:19] [ERROR] mysql_format - destination size is too small[18:26:19] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1[18:26:23] [ERROR] mysql_format - destination size is too small[18:26:23] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck`' at line 1[18:29:08] [ERROR] mysql_format - destination size is too small[18:29:08] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1[18:29:18] [ERROR] mysql_format - destination size is too small[18:29:18] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck`' at line 1[18:39:47] [ERROR] mysql_format - destination size is too small[18:39:47] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck` =' at line 1[18:43:51] [ERROR] mysql_format - destination size is too small[18:43:51] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck` =' at line 1[18:55:50] [ERROR] mysql_format - destination size is too small[18:55:50] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1[18:55:50] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1[18:55:53] [ERROR] mysql_format - destination size is too small[18:55:53] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck`' at line 1[18:59:05] [ERROR] mysql_format - destination size is too small[18:59:05] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck` =' at line 1[22:14:57] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck` = '0',`Payday` = '60',`Bank` = '0' WHERE `Name` = '_D' at line 1[22:16:35] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck` = '0',`Payday` = '58',`Bank` = '0' WHERE `Name` = '_D' at line 1[22:30:20] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck` = '0',`Payday` = '60',`Bank` = '0' WHERE `Name` = 'Am' at line 1[22:30:27] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck` = '0',`Payday` = '60',`Bank` = '0' WHERE `Name` = 'Am' at line 1[22:30:57] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck` = '0',`Payday` = '0',`Bank` = '0' WHERE `Name` = 'Ama' at line 1[22:31:50] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck` = '0',`Payday` = '-1',`Bank` = '0' WHERE `Name` = 'Am' at line 1[14:41:17] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck` = '0',`Payday` = '-3',`Bank` = '0' WHERE `Name` = 'Am' at line 1