- Liegt es am Timer und crashdetect ist drin.
- Leß dir doch mal alles durch, dann wüsstest du, dass man da nichts debuggen kann.
Beiträge von CemaxScript
-
-
Stell die Timer in deinem Script länger, das löst das Problem
Hatte auch schon mal das gleiche wie du weil ichs mit den Timern auf 500ms etwas übertrieben habe.Was hat das mit der Frage zutun ?
-
Hallo Breadfish Community,
ich arbeite gerade an einem Script und habe ein großes Problem,
der Server stürzt nach einer gewissen Zeit einfach ab, man bleibt noch
connected und der Server hat auch noch einen wechselnden Ping im
SA:MP Launcher, doch aktuallisieren die Textdraws nicht mehr u.s.w.
Es sieht so aus, als wäre es ein Timebug beim Spieler, doch wenn man
Reconnectet, bleibt man bei "Joining the game..." hängen.Wenn dieser Timer deaktiviert ist, läuft alles perfekt, daher meine
Frage, was habe ich falsch gemacht ?Wenn der Timer aktiviert wird, crasht der Server nicht direkt. Machmal
crasht der, wenn er gerade startet und manchmal nach 5 Minuten InGame.
Daher dachte ich eine Zeit lang, es hat gar nichts mit dem Timer zutun,
doch wenn dieser aus ist, geht alles perfekt.Code
Alles anzeigenforward usetank(); public usetank() { for(new i=0; i<sizeof(cInfo); i++) { new tmp_engine, tmp_lights, tmp_alarm, tmp_doors, tmp_bonnet, tmp_boot, tmp_objective; if(cInfo[i][id_x]==0)continue; GetVehicleParamsEx(cInfo[i][id_x], tmp_engine, tmp_lights, tmp_alarm, tmp_doors, tmp_bonnet, tmp_boot, tmp_objective); if(tmp_engine==0){ continue; } else { if(cInfo[i][tank] > 1) { cInfo[i][tank] = cInfo[i][tank] - 1; } else { if(cInfo[i][tank] == 1) { SetVehicleParamsEx(cInfo[i][id_x], 0, tmp_lights, tmp_alarm, tmp_doors, tmp_bonnet, tmp_boot, tmp_objective); for(new i2=0; i<MAX_PLAYERS; i2++) { cInfo[i][tank] = cInfo[i][tank] - 1; if(!(IsPlayerInVehicle(i2,cInfo[i][id_x]))){ continue; } else { if(GetPlayerState(i2)!=PLAYER_STATE_DRIVER) continue; SCM(i2, ME, "* Du hörst ein kurzes Rattern, danach fällt der Motor aus. *"); break; } } } if(cInfo[i][tank] == 0) { SetVehicleParamsEx(cInfo[i][id_x], 0, tmp_lights, tmp_alarm, tmp_doors, tmp_bonnet, tmp_boot, tmp_objective); } } } } for(new i=0; i<sizeof(cfInfo); i++) { new tmp_engine, tmp_lights, tmp_alarm, tmp_doors, tmp_bonnet, tmp_boot, tmp_objective; if(cfInfo[i][id_x]==0)continue; GetVehicleParamsEx(cfInfo[i][id_x], tmp_engine, tmp_lights, tmp_alarm, tmp_doors, tmp_bonnet, tmp_boot, tmp_objective); if(tmp_engine==0){ continue; } else { if(cfInfo[i][tank] > 1) { cfInfo[i][tank] = cfInfo[i][tank] - 1; } else { if(cfInfo[i][tank] == 1) { SetVehicleParamsEx(cfInfo[i][id_x], 0, tmp_lights, tmp_alarm, tmp_doors, tmp_bonnet, tmp_boot, tmp_objective); for(new i2=0; i<MAX_PLAYERS; i2++) { cfInfo[i][tank] = cfInfo[i][tank] - 1; if(!(IsPlayerInVehicle(i2,cfInfo[i][id_x]))){ continue; } else { if(GetPlayerState(i2)!=PLAYER_STATE_DRIVER) continue; SCM(i2, ME, "* Du hörst ein kurzes Rattern, danach fällt der Motor aus. *"); break; } } } } } } return 1; }
//Push: Hilfe wird dringend gebraucht.
-
einfach ml ebend gegoogelt und das kam raus
http://forum.sa-mp.com/showpost.php?p=2989045&postcount=1
hättes auch du geschafft"- The default 'ackslimit' is raised from 1000 to 3000. Some servers had problems with players being erroneously kicked with an 'ackslimit' of 1000."
ist das einzige was zum ackslimit dort steht und beantwortet nur meine erste Frage, wenn überhaupt nur ein wenig. -
Hallo Breadfish-Community,
ich stelle mir ein paar Fragen, worauf ich bisher noch keine Ordentliche Antwort bekommen
habe. Daher meine Fragen:- Was ist das Ackslimit ?
- Was kann passieren wenn es zu niedrig ist ?
- Was kann passieren wenn es zu hoch ist ?
- Hat das Ackslimit Einfluss auf die Performance des Server's ? (z.b.s Timer o.Ä)
Vielen Dank schonmal!
-
Sicher das du Ingame auch im richtigen "Team" bist, weil soweit ist das alles richtig, was du gemacht hast.
-
Wie hast du SCM definiert ?
-
Wie sieht die Console aus, spricht was wird geprinted ?
Zudem schreibt mal die Funktion IsBeamter() und was soll den ausgegeben werden ?
-
Sicher das es auch richtig läd ?
-
Schick mal bitte die "SetTimer" für den "Betretentimer" mit.
-
OMG... Du bist ein Genie. Danke dir so sehr ♥
Funktionier so:
Der Cache scheint durch das updateHaus gelöscht zu werden.
Versuche es so:
forward OnHausesLoad();public OnHausesLoad(){ new num_fields,num_rows,str[128]; cache_get_data(num_rows,num_fields,Handle); if(!num_rows)return 1; for(new i=0; i<num_rows; i++) { new hid=getFreeHausID(); hInfo[hid][h_id]=cache_get_field_content_int(i,"id",Handle); hInfo[hid][h_x]=cache_get_field_content_float(i,"h_x",Handle); hInfo[hid][h_z]=cache_get_field_content_float(i,"h_z",Handle); hInfo[hid][h_y]=cache_get_field_content_float(i,"h_y",Handle); hInfo[hid][ih_x]=cache_get_field_content_float(i,"ih_x",Handle); hInfo[hid][ih_z]=cache_get_field_content_float(i,"ih_z",Handle); hInfo[hid][ih_y]=cache_get_field_content_float(i,"ih_y",Handle); hInfo[hid][h_besitzer]=cache_get_field_content_int(i,"h_besitzer",Handle); hInfo[hid][h_interior]=cache_get_field_content_int(i,"h_interior",Handle); hInfo[hid][h_preis]=cache_get_field_content_int(i,"h_preis",Handle); hInfo[hid][h_lock]=cache_get_field_content_int(i,"h_lock",Handle); format(str, sizeof(str), "Haus(ID: %i) geladen. (X: %f | Y: %f | Z: %f | HID: %i )",hInfo[hid][h_id],hInfo[hid][h_x],hInfo[hid][h_y],hInfo[hid][h_z],hid); print(str); } for(new i=0; i<num_rows; i++) updateHaus(i); return 1;} -
Hallo Breadfish Community,
ich arbeite gerade an einem Haussystem, doch es wird nur das erste Haus geladen und
ich weiß nicht wieso...Code
Alles anzeigenforward OnHausesLoad(); public OnHausesLoad() { new num_fields,num_rows; cache_get_data(num_rows,num_fields,Handle); if(!num_rows)return 1; for(new i=0; i<num_rows; i++) { new hid=getFreeHausID(); hInfo[hid][h_id]=cache_get_field_content_int(i,"id",Handle); hInfo[hid][h_x]=cache_get_field_content_float(i,"h_x",Handle); hInfo[hid][h_z]=cache_get_field_content_float(i,"h_z",Handle); hInfo[hid][h_y]=cache_get_field_content_float(i,"h_y",Handle); hInfo[hid][ih_x]=cache_get_field_content_float(i,"ih_x",Handle); hInfo[hid][ih_z]=cache_get_field_content_float(i,"ih_z",Handle); hInfo[hid][ih_y]=cache_get_field_content_float(i,"ih_y",Handle); hInfo[hid][h_besitzer]=cache_get_field_content_int(i,"h_besitzer",Handle); hInfo[hid][h_interior]=cache_get_field_content_int(i,"h_interior",Handle); hInfo[hid][h_preis]=cache_get_field_content_int(i,"h_preis",Handle); hInfo[hid][h_lock]=cache_get_field_content_int(i,"h_lock",Handle); updateHaus(hid); new str[128]; format(str, sizeof(str), "Haus(ID: %i) geladen. (X: %f | Y: %f | Z: %f | HID: %i )",hInfo[hid][h_id],hInfo[hid][h_x],hInfo[hid][h_y],hInfo[hid][h_z],hid); print(str); } return 1; }
Code
Alles anzeigenupdateHaus(hid) { new string[128]; if(hInfo[hid][h_pickup]) { DestroyPickup(hInfo[hid][h_pickup]); } if(hInfo[hid][h_text]) { Delete3DTextLabel(hInfo[hid][h_text]); } if(hInfo[hid][h_besitzer]==0) { hInfo[hid][h_pickup] = CreatePickup(19470, 1, hInfo[hid][h_x], hInfo[hid][h_y], hInfo[hid][h_z]-0.6, 0); format(string, sizeof(string), "{F2F2F2}[ {FF342F}Dieses Haus steht zum Verkauf{F2F2F2} ]\nPreis: {FF342F}%i {F2F2F2}Euro\nBefehl: /hauskaufen",hInfo[hid][h_preis]); hInfo[hid][h_text] = Create3DTextLabel(string, Hellgrau, hInfo[hid][h_x],hInfo[hid][h_y],hInfo[hid][h_z],10.0,0,1); //new string2[128]; format(string2, 128, "%f | %f | %f",hInfo[hid][h_x],hInfo[hid][h_y],hInfo[hid][h_z]); print(string2); } else { new query[128], besitzername[32]; format(query, 128, "SELECT * FROM spieler WHERE id='%i'",hInfo[hid][h_besitzer]); mysql_query(Handle, query, true); cache_get_field_content(0, "ICName", besitzername, Handle, 32); format(besitzername, sizeof(besitzername), "%s",str_replace("_", " ", besitzername)); hInfo[hid][h_pickup] = CreatePickup(1273, 1, hInfo[hid][h_x], hInfo[hid][h_y], hInfo[hid][h_z], 0); //new str[128]; format(str, 128, "%f | %f | %f",hInfo[hid][h_x],hInfo[hid][h_y],hInfo[hid][h_z]); print(str); format(string, sizeof(string), "{F2F2F2}[ {FF342F}Dieses Haus gehört %s{F2F2F2} ]\nBefehl: /enter",besitzername); hInfo[hid][h_text] = Create3DTextLabel(string, Hellgrau, hInfo[hid][h_x],hInfo[hid][h_y],hInfo[hid][h_z],10.0,0,1); } return 1; }
Code[11:20:00] Haus(ID: 14) geladen. (X: -1821.359985 | Y: 2905.520019 | Z: 37.224498 | HID: 0 ) [11:20:00] Haus(ID: 0) geladen. (X: 0.000000 | Y: 0.000000 | Z: 0.000000 | HID: 1 ) [11:20:00] Haus(ID: 0) geladen. (X: 0.000000 | Y: 0.000000 | Z: 0.000000 | HID: 1 ) [11:20:00] Haus(ID: 0) geladen. (X: 0.000000 | Y: 0.000000 | Z: 0.000000 | HID: 1 ) [11:20:00] Haus(ID: 0) geladen. (X: 0.000000 | Y: 0.000000 | Z: 0.000000 | HID: 1 ) [11:20:00] Haus(ID: 0) geladen. (X: 0.000000 | Y: 0.000000 | Z: 0.000000 | HID: 1 ) [11:20:00] Haus(ID: 0) geladen. (X: 0.000000 | Y: 0.000000 | Z: 0.000000 | HID: 1 ) [11:20:00] Haus(ID: 0) geladen. (X: 0.000000 | Y: 0.000000 | Z: 0.000000 | HID: 1 )
Code
Alles anzeigen[11:20:00] [DEBUG] Calling callback "OnHausesLoad".. [11:20:00] [DEBUG] cache_get_data - connection: 1 [11:20:00] [DEBUG] cache_get_field_content_int - row: 0, field_name: "id", connection: 1 [11:20:00] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "id", data: "14" [11:20:00] [DEBUG] cache_get_field_content_float - row: 0, field_name: "h_x", connection: 1 [11:20:00] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "h_x", data: "-1821.36" [11:20:00] [DEBUG] cache_get_field_content_float - row: 0, field_name: "h_z", connection: 1 [11:20:00] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "h_z", data: "37.2245" [11:20:00] [DEBUG] cache_get_field_content_float - row: 0, field_name: "h_y", connection: 1 [11:20:00] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "h_y", data: "2905.52" [11:20:00] [DEBUG] cache_get_field_content_float - row: 0, field_name: "ih_x", connection: 1 [11:20:00] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "ih_x", data: "302.181" [11:20:00] [DEBUG] cache_get_field_content_float - row: 0, field_name: "ih_z", connection: 1 [11:20:00] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "ih_z", data: "999.148" [11:20:00] [DEBUG] cache_get_field_content_float - row: 0, field_name: "ih_y", connection: 1 [11:20:00] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "ih_y", data: "300.723" [11:20:00] [DEBUG] cache_get_field_content_int - row: 0, field_name: "h_besitzer", connection: 1 [11:20:00] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "h_besitzer", data: "6" [11:20:00] [DEBUG] cache_get_field_content_int - row: 0, field_name: "h_interior", connection: 1 [11:20:00] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "h_interior", data: "4" [11:20:00] [DEBUG] cache_get_field_content_int - row: 0, field_name: "h_preis", connection: 1 [11:20:00] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "h_preis", data: "500" [11:20:00] [DEBUG] cache_get_field_content_int - row: 0, field_name: "h_lock", connection: 1 [11:20:00] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "h_lock", data: "0" [11:20:00] [DEBUG] mysql_query - connection: 1, query: "SELECT * FROM spieler WHERE id='6'", use_cache: true [11:20:00] [DEBUG] CMySQLQuery::Execute - starting query execution [11:20:00] [DEBUG] CMySQLQuery::Execute - query was successfully executed within 0.237 milliseconds [11:20:00] [DEBUG] CMySQLResult::CMySQLResult() - constructor called [11:20:00] [DEBUG] CMySQLHandle::SaveActiveResult - cache saved (id: 11) [11:20:00] [DEBUG] cache_get_field_content - row: 0, field_name: "ICName", connection: 1, max_len: 32 [11:20:00] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "ICName", data: "James_Brown" [11:20:00] [DEBUG] cache_get_field_content_int - row: 1, field_name: "id", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('1') [11:20:00] [ERROR] cache_get_field_content_int - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 1, field_name: "h_x", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('1') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 1, field_name: "h_z", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('1') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 1, field_name: "h_y", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('1') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 1, field_name: "ih_x", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('1') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 1, field_name: "ih_z", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('1') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 1, field_name: "ih_y", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('1') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_int - row: 1, field_name: "h_besitzer", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('1') [11:20:00] [ERROR] cache_get_field_content_int - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_int - row: 1, field_name: "h_interior", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('1') [11:20:00] [ERROR] cache_get_field_content_int - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_int - row: 1, field_name: "h_preis", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('1') [11:20:00] [ERROR] cache_get_field_content_int - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_int - row: 1, field_name: "h_lock", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('1') [11:20:00] [ERROR] cache_get_field_content_int - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_int - row: 2, field_name: "id", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('2') [11:20:00] [ERROR] cache_get_field_content_int - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 2, field_name: "h_x", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('2') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 2, field_name: "h_z", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('2') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 2, field_name: "h_y", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('2') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 2, field_name: "ih_x", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('2') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 2, field_name: "ih_z", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('2') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 2, field_name: "ih_y", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('2') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_int - row: 2, field_name: "h_besitzer", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('2') [11:20:00] [ERROR] cache_get_field_content_int - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_int - row: 2, field_name: "h_interior", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('2') [11:20:00] [ERROR] cache_get_field_content_int - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_int - row: 2, field_name: "h_preis", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('2') [11:20:00] [ERROR] cache_get_field_content_int - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_int - row: 2, field_name: "h_lock", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('2') [11:20:00] [ERROR] cache_get_field_content_int - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_int - row: 3, field_name: "id", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('3') [11:20:00] [ERROR] cache_get_field_content_int - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 3, field_name: "h_x", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('3') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 3, field_name: "h_z", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('3') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 3, field_name: "h_y", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('3') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 3, field_name: "ih_x", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('3') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 3, field_name: "ih_z", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('3') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 3, field_name: "ih_y", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('3') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_int - row: 3, field_name: "h_besitzer", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('3') [11:20:00] [ERROR] cache_get_field_content_int - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_int - row: 3, field_name: "h_interior", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('3') [11:20:00] [ERROR] cache_get_field_content_int - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_int - row: 3, field_name: "h_preis", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('3') [11:20:00] [ERROR] cache_get_field_content_int - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_int - row: 3, field_name: "h_lock", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('3') [11:20:00] [ERROR] cache_get_field_content_int - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_int - row: 4, field_name: "id", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('4') [11:20:00] [ERROR] cache_get_field_content_int - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 4, field_name: "h_x", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('4') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 4, field_name: "h_z", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('4') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 4, field_name: "h_y", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('4') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 4, field_name: "ih_x", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('4') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 4, field_name: "ih_z", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('4') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 4, field_name: "ih_y", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('4') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_int - row: 4, field_name: "h_besitzer", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('4') [11:20:00] [ERROR] cache_get_field_content_int - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_int - row: 4, field_name: "h_interior", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('4') [11:20:00] [ERROR] cache_get_field_content_int - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_int - row: 4, field_name: "h_preis", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('4') [11:20:00] [ERROR] cache_get_field_content_int - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_int - row: 4, field_name: "h_lock", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('4') [11:20:00] [ERROR] cache_get_field_content_int - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_int - row: 5, field_name: "id", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('5') [11:20:00] [ERROR] cache_get_field_content_int - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 5, field_name: "h_x", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('5') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 5, field_name: "h_z", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('5') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 5, field_name: "h_y", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('5') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 5, field_name: "ih_x", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('5') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 5, field_name: "ih_z", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('5') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 5, field_name: "ih_y", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('5') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_int - row: 5, field_name: "h_besitzer", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('5') [11:20:00] [ERROR] cache_get_field_content_int - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_int - row: 5, field_name: "h_interior", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('5') [11:20:00] [ERROR] cache_get_field_content_int - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_int - row: 5, field_name: "h_preis", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('5') [11:20:00] [ERROR] cache_get_field_content_int - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_int - row: 5, field_name: "h_lock", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('5') [11:20:00] [ERROR] cache_get_field_content_int - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_int - row: 6, field_name: "id", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('6') [11:20:00] [ERROR] cache_get_field_content_int - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 6, field_name: "h_x", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('6') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 6, field_name: "h_z", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('6') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 6, field_name: "h_y", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('6') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 6, field_name: "ih_x", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('6') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 6, field_name: "ih_z", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('6') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 6, field_name: "ih_y", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('6') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_int - row: 6, field_name: "h_besitzer", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('6') [11:20:00] [ERROR] cache_get_field_content_int - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_int - row: 6, field_name: "h_interior", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('6') [11:20:00] [ERROR] cache_get_field_content_int - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_int - row: 6, field_name: "h_preis", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('6') [11:20:00] [ERROR] cache_get_field_content_int - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_int - row: 6, field_name: "h_lock", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('6') [11:20:00] [ERROR] cache_get_field_content_int - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_int - row: 7, field_name: "id", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('7') [11:20:00] [ERROR] cache_get_field_content_int - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 7, field_name: "h_x", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('7') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 7, field_name: "h_z", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('7') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 7, field_name: "h_y", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('7') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 7, field_name: "ih_x", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('7') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 7, field_name: "ih_z", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('7') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_float - row: 7, field_name: "ih_y", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('7') [11:20:00] [ERROR] cache_get_field_content_float - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_int - row: 7, field_name: "h_besitzer", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('7') [11:20:00] [ERROR] cache_get_field_content_int - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_int - row: 7, field_name: "h_interior", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('7') [11:20:00] [ERROR] cache_get_field_content_int - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_int - row: 7, field_name: "h_preis", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('7') [11:20:00] [ERROR] cache_get_field_content_int - invalid datatype [11:20:00] [DEBUG] cache_get_field_content_int - row: 7, field_name: "h_lock", connection: 1 [11:20:00] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('7') [11:20:00] [ERROR] cache_get_field_content_int - invalid datatype
-
Liebe Breadfish Community,
ich habe nun seit kurzer Zeit ein großes Problem.
Wenn ich auf meinem Server bin, timed dieser nach kurzer Zeit aus, das bedeutet,
man kann rein gar nichts mehr machen. Ingame sieht es aus wie ein Time-Out,doch
wenn der Spieler versucht sich neu zu verbinden, geht dies nicht und man bleibt bei
"Joining the Server." hängen. Zudem aktuallisiert die Console nicht mehr und
Crashdetect gibt auch keinen Error raus.
Ich habe im Script rund 30 For-Schleifen, die ich aber dringen brauche und nicht rausnehmen kann...
Ich brauche dringend Hilfe...
Wisst ihr woran es liegen kann ? -
War mein Fehler... Hatte zwei Sachen verwechselt
CodehInfo[hid][h_x]=cache_get_field_content_float(i,"h_z",Handle); hInfo[hid][h_z]=cache_get_field_content_float(i,"h_x",Handle);
Falsch
CodehInfo[hid][h_x]=cache_get_field_content_float(i,"h_x",Handle); hInfo[hid][h_z]=cache_get_field_content_float(i,"h_z",Handle);
Richtig
-
-
Guten Tag,
hier der Code, ich verstehe nicht, was ich dabei falsch machen...
Codenew query[128], besitzername[32]; format(query, 128, "SELECT * FROM spieler WHERE id='%i'",hInfo[hid][h_besitzer]); cache_get_field_content(0, "ICName", besitzername, Handle, 32); format(besitzername, sizeof(besitzername), "%s",str_replace("_", " ", besitzername)); hInfo[hid][h_pickup] = CreatePickup(1273, 2, hInfo[hid][h_x], hInfo[hid][h_y], hInfo[hid][h_z], -1); format(string, sizeof(string), "{F2F2F2}[{FF342F}Dieses Haus gehört %s{F2F2F2}]\nBefehl: /enter",hInfo[hid][h_besitzer]); hInfo[hid][h_text] = Create3DTextLabel(string, Hellgrau, hInfo[hid][h_x],hInfo[hid][h_y],hInfo[hid][h_z],10.0,0,0);
Es gibt keine Errors, aber die Sachen werden einfach nicht angezeigt.