Server stürzt bei Report Anfrage ab!

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
  • Guten Tag,
    mein Server schminkt ab sofern ich einen Ticket annehme (/att ID)


    if(strcmp(cmd, "/att", true) == 0){ //ticket annehmen
    if(PlayerInfo[playerid][Team] == 21){
    return 1;
    }
    if(PlayerInfo[playerid][ALevel] == 0) {
    MeldungText(playerid, "Du bist nicht befugt!", 5);
    return 1;
    }
    if(ticketanwser[playerid] != -1){


    MeldungText(playerid, "Du bearbeitest schon ein anderes Ticket!", 5);
    return 1;
    }


    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp)){


    MeldungText(playerid, "Verwendung: /att [PlayerID]", 6);
    return 1;
    }


    new player1;
    player1 = strval(tmp);
    if(ticket[player1] == 0){
    format(string,256,"%s (ID: %d) hat kein Ticket!", PlayerName(player1), player1);
    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
    return 1;
    }
    if(ticket[player1] == 1 && tickerid[player1] !=-1){
    format(string,256,"%s (ID: %d) Ticket wird schon bearbeitet", PlayerName(player1), player1);
    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
    return 1;
    }


    tickerid[player1] = playerid;
    ticketanwser[playerid] = player1;
    ticketzeit[player1] = 0;
    ShowTicketSystem();
    PlayerInfo[playerid][tickets]++;
    format(string,256,"Admin %s (ID: %d) hat dein Ticket angenommen.", PlayerName(playerid), playerid);
    SendClientMessage(player1, COLOR_LIGHTBLUE, string);
    SendClientMessage(player1, GREY, "Du kannst nun ganz normal im Chat mit dem Admin schreiben.");


    format(string,256,"Du nimmst das Ticket von %s (ID: %d) an.", PlayerName(player1), player1);
    SendClientMessage(playerid, GREY, string);


    format(string,sizeof(string),"%s nimmt das Ticket von %s an",PlayerName(playerid),PlayerName(player1));
    ABroadCast(COLOR_RED, string, 1);
    AdminTicketLog(PlayerName(playerid),string);
    format(string,sizeof(string),"Ticketgrund: %s",PlayerInfo[player1][ticketgrund]);
    AdminTicketLog(PlayerName(playerid),string);
    return 1;
    }

    • Offizieller Beitrag

    Lade dir mal das Plugin crashdetect herunter, pack es in deinen Serverordner /plugins und füge es deiner server.cfg hinzu


    Dann starte den Server und führe den Befehl aus welcher den Server zum Crashen bringt


    „Nicht das, was du nicht weißt, bringt dich in Schwierigkeiten, sondern dass, was du sicher zu wissen glaubst, obwohl es gar nicht wahr ist.“
    Mark Twain

    ---
    ICH BIN NUR HIER UM LEUTE ANZUSCHREIEN

  • Lade dir mal das Plugin crashdetect herunter, pack es in deinen Serverordner /plugins und füge es deiner server.cfg hinzu


    Dann starte den Server und führe den Befehl aus welcher den Server zum Crashen bringt

    [19:44:13] OnPlayerCommandText (ID: 1)(/att)[19:44:14] OnPlayerCommandText (ID: 1)(/att 2)[19:44:14] ShowTicketSystem[19:44:14] Leon nimmt das Ticket von Berkan an[19:44:14] [debug] Server crashed while executing reallife2.amx[19:44:14] [debug] AMX backtrace:[19:44:14] [debug] #0 native fwrite () from samp1337_5211[19:44:14] [debug] #1 0000d13c in ?? (41371500, 41382916) from reallife2.amx[19:44:14] [debug] #2 002423a0 in public ocmdOnPlayerCommandText (1, 41371472) from reallife2.amx[19:44:14] [debug] #3 native CallLocalFunction () from samp1337_5211[19:44:14] [debug] #4 0000c5ac in public OnPlayerCommandText (1, 41371444) from reallife2.amx[19:44:14] [debug] Native backtrace:[19:44:14] [debug] #0 b638ae8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so[19:44:14] [debug] #1 b6383bcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so[19:44:14] [debug] #2 b6384dbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so[19:44:14] [debug] #3 b6385226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so[19:44:14] [debug] #4 b638aadc in ?? () from plugins/crashdetect.so[19:44:14] [debug] #5 b773d600 in ?? ()[19:44:14] [debug] #6 b74ba417 in gsignal () from /lib/i386-linux-gnu/libc.so.6[19:44:14] [debug] #7 b74bd802 in abort () from /lib/i386-linux-gnu/libc.so.6[19:44:14] [debug] #8 b74b3617 in __assert_fail () from /lib/i386-linux-gnu/libc.so.6[19:44:14] [debug] #9 0809b99c in ?? () from ./samp1337_5211[19:44:14] [debug] #10 0809bdff in ?? () from ./samp1337_5211[19:44:14] [debug] #11 080950e4 in ?? () from ./samp1337_5211[19:44:14] [debug] #12 b62de6e4 in ?? () from plugins/streamer.so[19:44:14] [debug] #13 b638694b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so[19:44:14] [debug] #14 b63898f8 in ?? () from plugins/crashdetect.so[19:44:14] [debug] #15 b638d916 in amx_Exec () from plugins/crashdetect.so[19:44:14] [debug] #16 b6385be6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so[19:44:14] [debug] #17 b6389659 in ?? () from plugins/crashdetect.so[19:44:14] [debug] #18 b62df370 in ?? () from plugins/streamer.so[19:44:14] [debug] #19 080dfd62 in ?? () from ./samp1337_5211[19:44:14] [debug] #20 080950e4 in ?? () from ./samp1337_5211[19:44:14] [debug] #21 b62de6e4 in ?? () from plugins/streamer.so[19:44:14] [debug] #22 b638694b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so[19:44:14] [debug] #23 b63898f8 in ?? () from plugins/crashdetect.so[19:44:14] [debug] #24 b638d916 in amx_Exec () from plugins/crashdetect.so[19:44:14] [debug] #25 b6385be6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so[19:44:14] [debug] #26 b6389659 in ?? () from plugins/crashdetect.so[19:44:14] [debug] #27 b62df370 in ?? () from plugins/streamer.so[19:44:14] [debug] #28 080a5632 in ?? () from ./samp1337_5211[19:44:14] [debug] #29 080b1751 in ?? () from ./samp1337_5211[19:44:14] [debug] #30 08071d38 in ?? () from ./samp1337_5211[19:44:14] [debug] #31 08071e32 in ?? () from ./samp1337_5211[19:44:14] [debug] #32 0807bc50 in ?? () from ./samp1337_5211[19:44:14] [debug] #33 080aed3d in ?? () from ./samp1337_5211[19:44:14] [debug] #34 080aef02 in ?? () from ./samp1337_5211[19:44:14] [debug] #35 080aa13a in ?? () from ./samp1337_5211[19:44:14] [debug] #36 b74a6e16 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6[19:44:14] [debug] #37 0804b4e1 in ?? () from ./samp1337_5211








    //push

    Einmal editiert, zuletzt von B!aze ()

  • Sorry, aber das zieht sich nicht mal Jeffry rein^^.
    Kannst du es untereinander geordnet nochmal neu absenden?


    Danke :)

  • Sorry, aber das zieht sich nicht mal Jeffry rein^^.Kannst du es untereinander geordnet nochmal neu absenden?


    Danke :)

    19:35:41] OnPlayerCommandText (ID: 1)(/report test)
    [19:35:41] ShowTicketSystem
    [19:35:41] Berkan(ID: 1) erstellt ein neues Ticket. Grund "test"
    [19:35:46] OnPlayerCommandText (ID: 0)(/att 1)
    [19:35:46] ShowTicketSystem
    [19:35:46] Leon nimmt das Ticket von Berkan an
    [19:35:46] [debug] Server crashed while executing reallife2amx
    [19:35:46] [debug] AMX backtrace:
    [19:35:46] [debug] #0 native fwrite () from samp1337_5211
    [19:35:46] [debug] #1 0000d13c in ?? (41371500, 41382916) from reallife2amx
    [19:35:46] [debug] #2 002423a0 in public ocmdOnPlayerCommandText (0, 41371472) from reallife2amx
    [19:35:46] [debug] #3 native CallLocalFunction () from samp1337_5211
    [19:35:46] [debug] #4 0000c5ac in public OnPlayerCommandText (0, 41371444) from reallife2amx
    [19:35:46] [debug] Native backtrace:
    [19:35:46] [debug] #0 b63ece8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
    [19:35:46] [debug] #1 b63e5bcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
    [19:35:46] [debug] #2 b63e6dbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
    [19:35:46] [debug] #3 b63e7226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
    [19:35:46] [debug] #4 b63ecadc in ?? () from plugins/crashdetect.so
    [19:35:46] [debug] #5 b779f600 in ?? ()
    [19:35:46] [debug] #6 b751c417 in gsignal () from /lib/i386-linux-gnu/libc.so.6
    [19:35:46] [debug] #7 b751f802 in abort () from /lib/i386-linux-gnu/libc.so.6
    [19:35:46] [debug] #8 b7515617 in __assert_fail () from /lib/i386-linux-gnu/libc.so.6
    [19:35:46] [debug] #9 0809b99c in ?? () from ./samp1337_5211
    [19:35:46] [debug] #10 0809bdff in ?? () from ./samp1337_5211
    [19:35:46] [debug] #11 080950e4 in ?? () from ./samp1337_5211
    [19:35:46] [debug] #12 b63406e4 in ?? () from plugins/streamer.so
    [19:35:46] [debug] #13 b63e894b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
    [19:35:46] [debug] #14 b63eb8f8 in ?? () from plugins/crashdetect.so
    [19:35:46] [debug] #15 b63ef916 in amx_Exec () from plugins/crashdetect.so
    [19:35:46] [debug] #16 b63e7be6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
    [19:35:46] [debug] #17 b63eb659 in ?? () from plugins/crashdetect.so
    [19:35:46] [debug] #18 b6341370 in ?? () from plugins/streamer.so
    [19:35:46] [debug] #19 080dfd62 in ?? () from ./samp1337_5211
    [19:35:46] [debug] #20 080950e4 in ?? () from ./samp1337_5211
    [19:35:46] [debug] #21 b63406e4 in ?? () from plugins/streamer.so
    [19:35:46] [debug] #22 b63e894b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
    [19:35:46] [debug] #23 b63eb8f8 in ?? () from plugins/crashdetect.so
    [19:35:46] [debug] #24 b63ef916 in amx_Exec () from plugins/crashdetect.so
    [19:35:46] [debug] #25 b63e7be6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
    [19:35:46] [debug] #26 b63eb659 in ?? () from plugins/crashdetect.so
    [19:35:46] [debug] #27 b6341370 in ?? () from plugins/streamer.so
    [19:35:46] [debug] #28 080a5632 in ?? () from ./samp1337_5211
    [19:35:46] [debug] #29 080b1751 in ?? () from ./samp1337_5211
    [19:35:46] [debug] #30 08071d38 in ?? () from ./samp1337_5211
    [19:35:46] [debug] #31 08071e32 in ?? () from ./samp1337_5211
    [19:35:46] [debug] #32 0807bc50 in ?? () from ./samp1337_5211
    [19:35:46] [debug] #33 080aed3d in ?? () from ./samp1337_5211
    [19:35:46] [debug] #34 080aef02 in ?? () from ./samp1337_5211
    [19:35:46] [debug] #35 080aa13a in ?? () from ./samp1337_5211
    [19:35:46] [debug] #36 b7508e16 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
    [19:35:46] [debug] #37 0804b4e1 in ?? () from ./samp1337_5211



  • [19:35:46] [debug] #0 native fwrite () from samp1337_5211

    Scheint als greifst du mit fwrite auf eine Datei zu, die nicht existiert. Wo genau das ist kann dem Log nicht entnommen werden.


    Erstelle in deinem /pawno/ Ordner bitte mal eine Datei "pawn.cfg" und schreibe dort "-d3" rein (ohne Anführungszeichen).
    Dann öffne die /pawno/pawno.exe und öffne über "Öffnen" deinen Code und kompiliere ihn.


    Starte dann den Server wieder und reproduziere den Fehler. Poste die dann erscheinende Meldung nochmal, eventuell, wenn du es siehst, die entsprechende Zeile Code dazu (bzw. ein paar Zeilen).

  • Scheint als greifst du mit fwrite auf eine Datei zu, die nicht existiert. Wo genau das ist kann dem Log nicht entnommen werden.
    Erstelle in deinem /pawno/ Ordner bitte mal eine Datei "pawn.cfg" und schreibe dort "-d3" rein (ohne Anführungszeichen).
    Dann öffne die /pawno/pawno.exe und öffne über "Öffnen" deinen Code und kompiliere ihn.


    Starte dann den Server wieder und reproduziere den Fehler. Poste die dann erscheinende Meldung nochmal, eventuell, wenn du es siehst, die entsprechende Zeile Code dazu (bzw. ein paar Zeilen).



    So?


    (Klick auf dem Bild damit es größer wird)

  • do.de - Domain-Offensive - Domains für alle und zu super Preisen