nun geht es fast. Das Problem ist nun, dass beim neustart die Pickups nicht erstellt werden und ich nach einem Neustart auch wieder 5 Häuser erstellen kann(MAX_HOUSE) die überschreiben dann die vorhandenen Häuser.
Die Log:
[13:51:10] [DEBUG] mysql_tquery - connection: 1, query: "INSERT INTO House (ID, Besitzer, Level, PosX, PosY, PosZ, IntX,IntY,IntZ, IntID, VID, `Locked`, Mietpreis, Kaufpreis, Gekauft) VALUES ('0','Besitzer: Niemand', '3', '-1967.758789', '135.019241', '36.962287', '1267.663208', '-781.323242', '1091.906250', '5', '2', '0', '0', '9', '0')", callback: "(null)", format: "(null)"[13:51:10] [DEBUG] CMySQLQuery::Execute[] - starting query execution[13:51:11] [DEBUG] CMySQLQuery::Execute[] - query was successfully executed within 473.748 milliseconds[13:51:11] [DEBUG] CMySQLQuery::Execute[] - no callback specified, skipping result saving[13:51:11] [DEBUG] mysql_tquery - connection: 1, query: "INSERT INTO House (ID, Besitzer, Level, PosX, PosY, PosZ, IntX,IntY,IntZ, IntID, VID, `Locked`, Mietpreis, Kaufpreis, Gekauft) VALUES ('1','Besitzer: Niemand', '3', '-1968.293457', '134.778381', '36.962287', '1267.663208', '-781.323242', '1091.906250', '5', '2', '0', '0', '9', '0')", callback: "(null)", format: "(null)"[13:51:11] [DEBUG] CMySQLQuery::Execute[] - starting query execution[13:51:11] [ERROR] CMySQLQuery::Execute[] - (error #1062) Duplicate entry '1' for key 'PRIMARY'[13:51:11] [DEBUG] CMySQLQuery::Execute[] - error will be triggered in OnQueryError[13:51:11] [DEBUG] Calling callback "OnQueryError"..[13:51:13] [DEBUG] mysql_tquery - connection: 1, query: "INSERT INTO House (ID, Besitzer, Level, PosX, PosY, PosZ, IntX,IntY,IntZ, IntID, VID, `Locked`, Mietpreis, Kaufpreis, Gekauft) VALUES ('2','Besitzer: Niemand', '3', '-1968.952758', '134.022994', '36.962287', '1267.663208', '-781.323242', '1091.906250', '5', '2', '0', '0', '9', '0')", callback: "(null)", format: "(null)"[13:51:13] [DEBUG] CMySQLQuery::Execute[] - starting query execution[13:51:14] [ERROR] CMySQLQuery::Execute[] - (error #1062) Duplicate entry '2' for key 'PRIMARY'[13:51:14] [DEBUG] CMySQLQuery::Execute[] - error will be triggered in OnQueryError[13:51:14] [DEBUG] Calling callback "OnQueryError"..[13:51:14] [DEBUG] mysql_tquery - connection: 1, query: "INSERT INTO House (ID, Besitzer, Level, PosX, PosY, PosZ, IntX,IntY,IntZ, IntID, VID, `Locked`, Mietpreis, Kaufpreis, Gekauft) VALUES ('3','Besitzer: Niemand', '3', '-1968.952758', '134.022994', '36.962287', '1267.663208', '-781.323242', '1091.906250', '5', '2', '0', '0', '9', '0')", callback: "(null)", format: "(null)"[13:51:14] [DEBUG] CMySQLQuery::Execute[] - starting query execution[13:51:14] [ERROR] CMySQLQuery::Execute[] - (error #1062) Duplicate entry '3' for key 'PRIMARY'[13:51:14] [DEBUG] CMySQLQuery::Execute[] - error will be triggered in OnQueryError[13:51:14] [DEBUG] Calling callback "OnQueryError"..[13:51:15] [DEBUG] mysql_tquery - connection: 1, query: "INSERT INTO House (ID, Besitzer, Level, PosX, PosY, PosZ, IntX,IntY,IntZ, IntID, VID, `Locked`, Mietpreis, Kaufpreis, Gekauft) VALUES ('4','Besitzer: Niemand', '3', '-1968.952758', '134.022994', '36.962287', '1267.663208', '-781.323242', '1091.906250', '5', '2', '0', '0', '9', '0')", callback: "(null)", format: "(null)"[13:51:15] [DEBUG] CMySQLQuery::Execute[] - starting query execution[13:51:15] [ERROR] CMySQLQuery::Execute[] - (error #1062) Duplicate entry '4' for key 'PRIMARY'[13:51:15] [DEBUG] CMySQLQuery::Execute[] - error will be triggered in OnQueryError[13:51:15] [DEBUG] Calling callback "OnQueryError"..[13:51:23] [DEBUG] mysql_tquery - connection: 1, query: "UPDATE accounts SET Name = 'iCarus', Level = '5', Geld = '3805', Kills = '0', Tode = '12', Admin = '6', Banned = '0', Leader = '1', Member = '0', Team = '1', Rank = '6', Duty = '0', Skin = '303', Health = '0.000000', xKord = '-1969.639038', yKord = '133.236831', zKord = '36.962287', Interior = '0', Carlic = '0', Bikelic = '0', Flylic = '0', Bootlic = '0', LKWlic = '0', Konto = '1', Kontostand = '170775', Beantragt = '0', Pin = '1229', Kontonummer = '2006', Abholen = '0', `Alter` = '18', Geschlecht = 'Maennlich', Levelpunkte = '18', Payday = '7', Herkunft = 'Baden-Wuerttemberg', Verheiratetmit = 'Niemand', Telefonnummer = '0', Tutorial = '2', Dutyskin = '283', Tot = '0', Totskin = '162', Wanteds = '0', Knast = '0', Knastzeit = '-1428061883', KnastzeitBis = '0', Knastskin = '0', Sterne = '0', Verbrechen = '0', wTot = '0', Inhaftiert = '0', tWerbung = '1', Perso = '1', Persobereit = '2', vWelt = '0' WHERE Name = 'iCarus'", callback: "(null)", format: "(null)"[13:51:23] [DEBUG] CMySQLQuery::Execute[] - starting query execution[13:51:23] [DEBUG] mysql_tquery - connection: 1, query: "UPDATE House SET Besitzer = 'Besitzer: Niemand', Level = '3', PosX = '-1967.758789', PosY = '135.019241', PosZ = '36.962287', IntX = '1267.663208', IntY = '-781.323242',IntZ = '1091.906250',IntID = '5', VID = '2', `Locked` = '0', Mietpreis = '0', Kaufpreis = '9', Gekauft = '0' WHERE ID = '0'", callback: "(null)", format: "(null)"[13:51:23] [DEBUG] mysql_tquery - connection: 1, query: "UPDATE House SET Besitzer = 'Besitzer: Niemand', Level = '3', PosX = '-1968.293457', PosY = '134.778381', PosZ = '36.962287', IntX = '1267.663208', IntY = '-781.323242',IntZ = '1091.906250',IntID = '5', VID = '2', `Locked` = '0', Mietpreis = '0', Kaufpreis = '9', Gekauft = '0' WHERE ID = '1'", callback: "(null)", format: "(null)"[13:51:23] [DEBUG] CMySQLQuery::Execute[] - query was successfully executed within 0.649 milliseconds[13:51:23] [DEBUG] CMySQLQuery::Execute[] - no callback specified, skipping result saving[13:51:23] [DEBUG] mysql_tquery - connection: 1, query: "UPDATE House SET Besitzer = 'Besitzer: Niemand', Level = '3', PosX = '-1968.952758', PosY = '134.022994', PosZ = '36.962287', IntX = '1267.663208', IntY = '-781.323242',IntZ = '1091.906250',IntID = '5', VID = '2', `Locked` = '0', Mietpreis = '0', Kaufpreis = '9', Gekauft = '0' WHERE ID = '2'", callback: "(null)", format: "(null)"[13:51:23] [DEBUG] mysql_tquery - connection: 1, query: "UPDATE House SET Besitzer = 'Besitzer: Niemand', Level = '3', PosX = '-1968.952758', PosY = '134.022994', PosZ = '36.962287', IntX = '1267.663208', IntY = '-781.323242',IntZ = '1091.906250',IntID = '5', VID = '2', `Locked` = '0', Mietpreis = '0', Kaufpreis = '9', Gekauft = '0' WHERE ID = '3'", callback: "(null)", format: "(null)"[13:51:23] [DEBUG] mysql_tquery - connection: 1, query: "UPDATE House SET Besitzer = 'Besitzer: Niemand', Level = '3', PosX = '-1968.952758', PosY = '134.022994', PosZ = '36.962287', IntX = '1267.663208', IntY = '-781.323242',IntZ = '1091.906250',IntID = '5', VID = '2', `Locked` = '0', Mietpreis = '0', Kaufpreis = '9', Gekauft = '0' WHERE ID = '4'", callback: "(null)", format: "(null)"[13:51:24] [DEBUG] CMySQLQuery::Execute[] - query was successfully executed within 170.765 milliseconds[13:51:24] [DEBUG] CMySQLQuery::Execute[] - no callback specified, skipping result saving[13:51:24] [DEBUG] CMySQLQuery::Execute[] - starting query execution[13:51:24] [DEBUG] CMySQLQuery::Execute[] - query was successfully executed within 54.653 milliseconds[13:51:24] [DEBUG] CMySQLQuery::Execute[] - no callback specified, skipping result saving[13:51:24] [DEBUG] CMySQLQuery::Execute[] - starting query execution[13:51:24] [DEBUG] CMySQLQuery::Execute[] - query was successfully executed within 34.662 milliseconds[13:51:24] [DEBUG] CMySQLQuery::Execute[] - no callback specified, skipping result saving[13:51:24] [DEBUG] CMySQLQuery::Execute[] - starting query execution[13:51:24] [DEBUG] CMySQLQuery::Execute[] - query was successfully executed within 18.547 milliseconds[13:51:24] [DEBUG] CMySQLQuery::Execute[] - no callback specified, skipping result saving[13:51:24] [DEBUG] CMySQLQuery::Execute[] - starting query execution[13:51:24] [DEBUG] CMySQLQuery::Execute[] - query was successfully executed within 21.23 milliseconds[13:51:24] [DEBUG] CMySQLQuery::Execute[] - no callback specified, skipping result saving