Beiträge von Zuntox

    .. dan würde er ja nicht die tabelle erstellen.. ?
    er ladet ja alles aber so bald ich das auto umparken will passirt es einfach net und wen ich den server joine jammert er das hier



    [19:43:47] [ERROR] COrm::GenerateUpdateQuery - invalid key or connection handle
    [19:44:08] [DEBUG] mysql_tquery - connection: 1, query: "SELECT * FROM playercars WHERE Owner='Ikiko'", callback: "LoadPlayerCarsResult", format: "i"
    [19:44:08] [DEBUG] CMySQLQuery::Execute[LoadPlayerCarsResult] - starting query execution
    [19:44:08] [DEBUG] CMySQLQuery::Execute[LoadPlayerCarsResult] - query was successfully executed within 25.127 milliseconds
    [19:44:08] [DEBUG] CMySQLResult::CMySQLResult() - constructor called
    [19:44:08] [DEBUG] Calling callback "LoadPlayerCarsResult"..
    [19:44:08] [DEBUG] cache_get_row_count - connection: 1
    [19:44:08] [DEBUG] orm_create - table: "playercars", connectionHandle: 1
    [19:44:08] [DEBUG] COrm::Create - creating new orm object..
    [19:44:08] [DEBUG] COrm::Create - orm object created (id: 3)
    [19:44:08] [DEBUG] orm_addvar_int - orm_id: 3, var: 04D34804, varname: "ID"
    [19:44:08] [DEBUG] orm_addvar_int - orm_id: 3, var: 04D3480C, varname: "Model"
    [19:44:08] [DEBUG] orm_addvar_float - orm_id: 3, var: 04D34810, varname: "X"
    [19:44:08] [DEBUG] orm_addvar_float - orm_id: 3, var: 04D34814, varname: "Y"
    [19:44:08] [DEBUG] orm_addvar_float - orm_id: 3, var: 04D34818, varname: "Z"
    [19:44:08] [DEBUG] orm_addvar_float - orm_id: 3, var: 04D3481C, varname: "R"
    [19:44:08] [DEBUG] orm_addvar_float - orm_id: 3, var: 04D34810, varname: "X"
    [19:44:08] [ERROR] COrm::AddVariable - variable has already been saved
    [19:44:08] [DEBUG] orm_addvar_int - orm_id: 3, var: 04D34820, varname: "Farbe1"
    [19:44:08] [DEBUG] orm_addvar_int - orm_id: 3, var: 04D34824, varname: "Farbe2"
    [19:44:08] [DEBUG] orm_addvar_int - orm_id: 3, var: 04D34828, varname: "Preis"
    [19:44:08] [DEBUG] orm_addvar_int - orm_id: 3, var: 04D3482C, varname: "Lock"
    [19:44:08] [DEBUG] orm_addvar_string - orm_id: 3, var: 04D34830, var_maxlen: 24, varname: "Owner"
    [19:44:08] [DEBUG] orm_addvar_string - orm_id: 3, var: 04D348A8, var_maxlen: 24, varname: "Zweitbesitzer"
    [19:44:08] [DEBUG] orm_addvar_int - orm_id: 3, var: 04D34920, varname: "Tank"
    [19:44:08] [DEBUG] orm_addvar_float - orm_id: 3, var: 04D34924, varname: "Km"
    [19:44:08] [DEBUG] orm_addvar_float - orm_id: 3, var: 04D34928, varname: "Leben"
    [19:44:08] [DEBUG] orm_addvar_string - orm_id: 3, var: 04D3492C, var_maxlen: 30, varname: "Schild"
    [19:44:08] [DEBUG] orm_addvar_int - orm_id: 3, var: 04D349A4, varname: "Nitro"
    [19:44:08] [DEBUG] orm_addvar_int - orm_id: 3, var: 04D349A8, varname: "Hydraulic"
    [19:44:08] [DEBUG] orm_addvar_int - orm_id: 3, var: 04D349AC, varname: "Reifen"
    [19:44:08] [DEBUG] orm_addvar_int - orm_id: 3, var: 04D349B0, varname: "Auspuff"
    [19:44:08] [DEBUG] orm_addvar_int - orm_id: 3, var: 04D349B4, varname: "SideL"
    [19:44:08] [DEBUG] orm_addvar_int - orm_id: 3, var: 04D349B8, varname: "SideR"
    [19:44:08] [DEBUG] orm_addvar_int - orm_id: 3, var: 04D349BC, varname: "FB"
    [19:44:08] [DEBUG] orm_addvar_int - orm_id: 3, var: 04D349C0, varname: "RB"
    [19:44:08] [DEBUG] orm_addvar_int - orm_id: 3, var: 04D349C4, varname: "Spoiler"
    [19:44:08] [DEBUG] orm_addvar_int - orm_id: 3, var: 04D349C8, varname: "Roof"
    [19:44:08] [DEBUG] orm_addvar_int - orm_id: 3, var: 04D349CC, varname: "Hood"
    [19:44:08] [DEBUG] orm_addvar_int - orm_id: 3, var: 04D349D0, varname: "Vents"
    [19:44:08] [DEBUG] orm_addvar_int - orm_id: 3, var: 04D349D4, varname: "Lampen"
    [19:44:08] [DEBUG] orm_addvar_int - orm_id: 3, var: 04D349D8, varname: "PaintJob"
    [19:44:08] [DEBUG] orm_addvar_int - orm_id: 3, var: 04D349DC, varname: "Neon"
    [19:44:08] [DEBUG] orm_addvar_int - orm_id: 3, var: 04D349E0, varname: "Neonid"
    [19:44:08] [DEBUG] orm_apply_cache - orm_id: 3, row: 0
    [19:44:08] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "ID", data: "1"
    [19:44:08] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Model", data: "560"
    [19:44:08] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "X", data: "1038.65"
    [19:44:08] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Y", data: "-1423.99"
    [19:44:08] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Z", data: "13.321"
    [19:44:08] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "R", data: "87.948"
    [19:44:08] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Farbe1", data: "1"
    [19:44:08] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Farbe2", data: "1"
    [19:44:08] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Preis", data: "500"
    [19:44:08] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Lock", data: "1"
    [19:44:08] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Owner", data: "Ikiko"
    [19:44:08] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Zweitbesitzer", data: "Niemand"
    [19:44:08] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Tank", data: "100"
    [19:44:08] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Km", data: "0"
    [19:44:08] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Leben", data: "1000"
    [19:44:08] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Schild", data: "Ikiko"
    [19:44:08] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Nitro", data: "0"
    [19:44:08] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Hydraulic", data: "0"
    [19:44:08] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Reifen", data: "0"
    [19:44:08] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Auspuff", data: "0"
    [19:44:08] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "SideL", data: "0"
    [19:44:08] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "SideR", data: "0"
    [19:44:08] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "FB", data: "0"
    [19:44:08] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "RB", data: "0"
    [19:44:08] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Spoiler", data: "0"
    [19:44:08] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Roof", data: "0"
    [19:44:08] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Hood", data: "0"
    [19:44:08] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Vents", data: "0"
    [19:44:08] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Lampen", data: "0"
    [19:44:08] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "PaintJob", data: "-1"
    [19:44:08] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Neon", data: "0"
    [19:44:08] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Neonid", data: "0"

    format(sql,sizeof sql,"CREATE TABLE IF NOT EXISTS `playercars` (`ID` int(5) NOT NULL AUTO_INCREMENT, `Model` int(5) NOT NULL,`X` float NOT NULL,`Y` float NOT NULL,`Z` float NOT NULL,`R` float NOT NULL,`Farbe1` int(3) NOT NULL,`Farbe2` int(3) NOT NULL,`Preis` int(10) NOT NULL, `Lock` int(2) NOT NULL, `Owner` varchar(30) NOT NULL, `Zweitbesitzer` varchar(30) NOT NULL, `Tank` int(5) NOT NULL, `Km` float NOT NULL,`Leben` float NOT NULL"); format(sql,sizeof sql ," %s, `Schild` varchar(30) NOT NULL,`Nitro` int(5) NOT NULL, `Hydraulic` int(5) NOT NULL, `Reifen` int(5) NOT NULL, `Auspuff` int(5) NOT NULL, `SideL` int(5) NOT NULL, `SideR` int(5) NOT NULL, `FB` int(5) NOT NULL, `RB` int(5) NOT NULL, `Spoiler` int(5) NOT NULL, `Roof` int(5) NOT NULL, `Hood` int(5) NOT NULL, `Vents` int(5) NOT NULL, `Lampen` int(5) NOT NULL, `PaintJob` int(5) NOT NULL, `Neon` int(5) NOT NULL, `Neonid` int(5) NOT NULL, PRIMARY KEY(`ID`));",sql); mysql_tquery(db,sql2,"","");


    stock LoadPlayerCars(playerid)
    {
    new query[100],uname[24];GetPlayerName(playerid,uname,24);
    format(query,100,"SELECT * FROM playercars WHERE Owner='%s'",uname);
    mysql_tquery(db,query,"LoadPlayerCarsResult","i",playerid);
    return 1;
    }


    jetzt erstellt er kein playercars mehr..


    ich muss in der Datenbank INT auf 1,2,3,4 stellen das er von 1 automatisch 2 3 4 macht aber ich finde diese scheiß nicht :cursing: :cursing: :cursing: :cursing: :cursing: :cursing: :cursing: :cursing: KÖNNTE AUSRASTEN MAN WA SNE DOOFE DATENBANK EY

    Jammert immer noch
    hab ID bearbeitet beides angeharkt und auch nen p key gesetzt aber es geht einfach net




    [06:19:05] [DEBUG] orm_apply_cache - orm_id: 4, row: 0
    [06:19:05] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "ID", data: "1"
    [06:19:05] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Model", data: "560"
    [06:19:05] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "X", data: "1038.59"
    [06:19:05] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Y", data: "-1419.56"
    [06:19:05] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Z", data: "13.321"
    [06:19:05] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "R", data: "93.551"
    [06:19:05] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Farbe1", data: "1"
    [06:19:05] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Farbe2", data: "1"
    [06:19:05] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Preis", data: "1"
    [06:19:05] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Lock", data: "1"
    [06:19:05] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Owner", data: "Ikiko"
    [06:19:05] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Zweitbesitzer", data: "Niemand"
    [06:19:05] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Tank", data: "100"
    [06:19:05] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Km", data: "0"
    [06:19:05] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Leben", data: "1000"
    [06:19:05] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Schild", data: "Ikiko"
    [06:19:05] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Nitro", data: "0"
    [06:19:05] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Hydraulic", data: "0"
    [06:19:05] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Reifen", data: "0"
    [06:19:05] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Auspuff", data: "0"
    [06:19:05] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "SideL", data: "0"
    [06:19:05] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "SideR", data: "0"
    [06:19:05] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "FB", data: "0"
    [06:19:05] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "RB", data: "0"
    [06:19:05] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Spoiler", data: "0"
    [06:19:05] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Roof", data: "0"
    [06:19:05] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Hood", data: "0"
    [06:19:05] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Vents", data: "0"
    [06:19:05] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Lampen", data: "0"
    [06:19:05] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "PaintJob", data: "-1"
    [06:19:05] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Neon", data: "0"
    [06:19:05] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Neonid", data: "0"
    [06:19:05] [DEBUG] cache_get_row_count - connection: 1
    [06:19:05] [DEBUG] CMySQLResult::~CMySQLResult() - deconstructor called


    so erstellt er die tabelle wen nix vorhanden ist es ist version r39 von BlueG
    stock MySQLCreateTables()
    {
    new sql[400],sql2[840];
    format(sql,sizeof(sql),"CREATE TABLE IF NOT EXISTS `buycars` (`ID` int(5) NOT NULL,`Model` int(5) NOT NULL,`X` float NOT NULL,`Y` float NOT NULL,`Z` float NOT NULL,`R` float NOT NULL,`Farbe1` int(3) NOT NULL,`Farbe2` int(3) NOT NULL,`Preis` int(10) NOT NULL, `Edit` int(2) NOT NULL, `Autohaus` int(3) NOT NULL)");
    mysql_tquery(db,sql,"","");
    format(sql,sizeof(sql),"CREATE TABLE IF NOT EXISTS `playercars` (`ID` int(5) NOT NULL,`Model` int(5) NOT NULL,`X` float NOT NULL,`Y` float NOT NULL,`Z` float NOT NULL,`R` float NOT NULL,`Farbe1` int(3) NOT NULL,`Farbe2` int(3) NOT NULL,`Preis` int(10) NOT NULL, `Lock` int(2) NOT NULL, `Owner` varchar(30) NOT NULL, `Zweitbesitzer` varchar(30) NOT NULL, `Tank` int(5) NOT NULL, `Km` float NOT NULL,`Leben` float NOT NULL");
    format(sql2,sizeof(sql2)," %s, `Schild` varchar(30) NOT NULL,`Nitro` int(5) NOT NULL, `Hydraulic` int(5) NOT NULL, `Reifen` int(5) NOT NULL, `Auspuff` int(5) NOT NULL, `SideL` int(5) NOT NULL, `SideR` int(5) NOT NULL, `FB` int(5) NOT NULL, `RB` int(5) NOT NULL, `Spoiler` int(5) NOT NULL, `Roof` int(5) NOT NULL, `Hood` int(5) NOT NULL, `Vents` int(5) NOT NULL, `Lampen` int(5) NOT NULL, `PaintJob` int(5) NOT NULL, `Neon` int(5) NOT NULL, `Neonid` int(5) NOT NULL)",sql);
    mysql_tquery(db,sql2,"","");
    printf("test");
    }


    wen er speichern will wen der user den server verlässt
    [07:42:32] [DEBUG] orm_update - orm_id: 2
    [07:42:32] [ERROR] COrm::GenerateUpdateQuery - invalid key or connection handle
    [07:42:32] [DEBUG] orm_update - orm_id: 3
    [07:42:32] [ERROR] COrm::GenerateUpdateQuery - invalid key or connection handle
    [07:42:32] [DEBUG] orm_update - orm_id: 4
    [07:42:32] [ERROR] COrm::GenerateUpdateQuery - invalid key or connection handle
    [07:42:32] [DEBUG] orm_update - orm_id: 5
    [07:42:32] [ERROR] COrm::GenerateUpdateQuery - invalid key or connection handle
    [07:42:32] [DEBUG] orm_update - orm_id: 6
    [07:42:32] [ERROR] COrm::GenerateUpdateQuery - invalid key or connection handle
    [07:42:32] [DEBUG] orm_update - orm_id: 7
    [07:42:32] [ERROR] COrm::GenerateUpdateQuery - invalid key or connection handle

    Guten Morgen ich hänge seit 4h an mein script und alles scheint wie von geister hand verbugt zu sein jetzt geht aufeimal mein /park befehl nicht mehr und jammert das hier rum
    [03:08:50] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "ID", data: "1"
    [03:08:50] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Model", data: "560"
    [03:08:50] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "X", data: "1038.59"
    [03:08:50] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Y", data: "-1419.56"
    [03:08:50] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Z", data: "13.321"
    [03:08:50] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "R", data: "93.551"
    [03:08:50] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Farbe1", data: "1"
    [03:08:50] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Farbe2", data: "1"
    [03:08:50] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Preis", data: "90000"
    [03:08:50] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Carlock", data: "1"
    [03:08:50] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Owner", data: "Ikiko"
    [03:08:50] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Zweitbesitzer", data: "Niemand"
    [03:08:50] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Tank", data: "100"
    [03:08:50] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Km", data: "0"
    [03:08:50] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Leben", data: "1000"
    [03:08:50] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Schild", data: "Ikiko"
    [03:08:50] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Nitro", data: "0"
    [03:08:50] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Hydraulic", data: "0"
    [03:08:50] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Reifen", data: "0"
    [03:08:50] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Auspuff", data: "0"
    [03:08:50] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "SideL", data: "0"
    [03:08:50] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "SideR", data: "0"
    [03:08:50] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "FB", data: "0"
    [03:08:50] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "RB", data: "0"
    [03:08:50] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Spoiler", data: "0"
    [03:08:50] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Roof", data: "0"
    [03:08:50] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Hood", data: "0"
    [03:08:50] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Vents", data: "0"
    [03:08:50] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Lampen", data: "0"
    [03:08:50] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "PaintJob", data: "-1"
    [03:08:50] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Neon", data: "0"
    [03:08:50] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Neonid", data: "0"


    was heißt das hat der keine rechte oder wieso geht das nicht :cursing:

    Angucken und lernen ;)

    Externer Inhalt www.youtube.com
    Inhalte von externen Seiten werden ohne Ihre Zustimmung nicht automatisch geladen und angezeigt.
    Durch die Aktivierung der externen Inhalte erklären Sie sich damit einverstanden, dass personenbezogene Daten an Drittplattformen übermittelt werden. Mehr Informationen dazu haben wir in unserer Datenschutzerklärung zur Verfügung gestellt.

    Externer Inhalt www.youtube.com
    Inhalte von externen Seiten werden ohne Ihre Zustimmung nicht automatisch geladen und angezeigt.
    Durch die Aktivierung der externen Inhalte erklären Sie sich damit einverstanden, dass personenbezogene Daten an Drittplattformen übermittelt werden. Mehr Informationen dazu haben wir in unserer Datenschutzerklärung zur Verfügung gestellt.


    Neues video :)
    Mit einen Englischen kollegen bearbeitet hoffe euch gefällt es :)


    Thanks to: Zakarov


    Schon Besser mit maske keine namen und bessere cam pos

    Es kann auch ein Adroid fehler sein scohmal daran gedacht...
    mach zurückstellen auf werkeinstellung oder reboote es neu da gibs zich möglichkeiten woran es liegen könnte