[Problem]: Server Crasht sobald man nen Befehl eingibt [0.3.7]

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 Morgen liebe Community,
    ich hab da so ein Problem und zwar wenn ich mein Server starte und dann drauf
    Connecte dies funktioniert noch aber sobald ich ein Befehl eingebe der gar nicht existiert
    Crasht mein Server und schließt sich :( ich hab mal das Nativechecker Plugin mit rein
    genommen und erhalte folgenden Text:



    SA-MP Dedicated Server
    ----------------------
    v0.3.7, (C)2005-2015 SA-MP Team


    [00:01:06] filterscripts = "" (string)
    [00:01:06]
    [00:01:06] Server Plugins
    [00:01:06] --------------
    [00:01:06] Loading plugin: crashdetect.dll
    [00:01:06] CrashDetect v4.15.1 is OK.
    [00:01:06] Loaded.
    [00:01:06] Loading plugin: streamer.dll
    [00:01:06]


    *** Streamer Plugin v2.7.6 by Incognito loaded ***


    [00:01:06] Loaded.
    [00:01:06] Loading plugin: sscanf.dll
    [00:01:06]


    [00:01:06] ===============================


    [00:01:06] sscanf plugin loaded.


    [00:01:06] Version: 2.8.1


    [00:01:06] (c) 2012 Alex "Y_Less" Cole


    [00:01:06] ===============================


    [00:01:06] Loaded.
    [00:01:06] Loading plugin: SyncHTTP.dll
    [00:01:06] SyncHTTP got loaded.
    [00:01:06] Loaded.
    [00:01:06] Loading plugin: mysql.dll
    [00:01:06] SA:MP MySQL Plugin v2.1.1 Loaded.
    [00:01:06] Loaded.
    [00:01:06] Loading plugin: nativechecker.dll
    [00:01:06] Loaded.
    [00:01:06] Loaded 6 plugins.


    [00:01:06] [MySQL] Thread running. Threadsafe: Yes.
    [00:01:06]
    [00:01:06] Filterscripts
    [00:01:06] ---------------
    [00:01:06] Loaded 0 filterscripts.


    [00:01:06] [MySQL] Connected (0) to 'selfmade'@'localhost via TCP/IP'.
    [00:01:06] [MySQL] Server Version 5.6.21.
    [00:01:06] [MySQL] MySQL Tabellen wurden erfolgreich erstellt.
    [00:01:06]
    -------------------------------------------------
    [00:01:06] | Next Era Life wird gestartet! bitte warten... |
    [00:01:06] -------------------------------------------------


    [00:01:06] [connection] 127.0.0.1:55054 requests connection cookie.
    [00:01:07]
    ---------( WBB_Connect )---------
    Erfolgreich initialisiert!
    ---------------------------------


    [00:01:07] WBB_Connect wurde erfolgreich initialisiert!
    [00:01:07] Number of vehicle models: 1
    [00:01:07] Incoming connection: 127.0.0.1:55054 id: 0
    [00:01:08] [npc:join] Elena has joined the server (0:127.0.0.1)
    [00:01:32] [connection] 127.0.0.1:55055 requests connection cookie.
    [00:01:33] Incoming connection: 127.0.0.1:55055 id: 1
    [00:01:34] [join] zSkiLL.exe has joined the server (1:127.0.0.1)
    [00:02:13] [debug] Server crashed while executing NeL.amx
    [00:02:13] [debug] AMX backtrace:
    [00:02:13] [debug] #0 native CallLocalFunction () from samp-server.exe
    [00:02:13] [debug] #1 00000368 in public OnPlayerCommandText (1, 613040) from NeL.amx
    [00:02:14] [debug] Native backtrace:
    [00:02:14] [debug] #0 004743dc in ?? () from samp-server.exe
    [00:02:14] [debug] #1 004010b6 in ?? () from samp-server.exe
    [00:02:14] [debug] #2 695762ca in ?? () from plugins\crashdetect.dll
    [00:02:14] [debug] #3 69578b28 in ?? () from plugins\crashdetect.dll
    [00:02:14] [debug] #4 695709c7 in ?? () from plugins\crashdetect.dll
    [00:02:14] [debug] #5 6957631a in ?? () from plugins\crashdetect.dll
    [00:02:14] [debug] #6 695051b9 in ?? () from plugins\streamer.dll
    [00:02:14] [debug] #7 0046dbc0 in ?? () from samp-server.exe
    [00:02:14] [debug] #8 004528f0 in ?? () from samp-server.exe
    [00:02:14] [debug] #9 0046e780 in ?? () from samp-server.exe
    [00:02:14] [debug] #10 77662576 in ?? () from C:\WINDOWS\SYSTEM32\ntdll.dll
    [00:02:14] [debug] #11 5e042444 in ?? () from samp-server.exe

  • Beitrag von Separate ()

    Dieser Beitrag wurde gelöscht, Informationen über den Löschvorgang sind nicht verfügbar.
  • Erstelle in dem /pawno/ Ordner neben der pawno.exe eine "pawn.cfg" Datei und schreibe dort "-d3" rein (ohne die Anführungszeichen). Anschließend öffne die pawno.exe und wähle deinen Code aus, dann kompiliere ihn neu. Dann poste nochmal was das crashdetect Plugin ausgibt.


    Poste gegebenenfalls die entsprechende Code Zeile dazu, die angegeben wird.


  • ----------
    Loaded log file: "server_log.txt".
    ----------


    SA-MP Dedicated Server
    ----------------------
    v0.3.7, (C)2005-2015 SA-MP Team


    [02:37:17] filterscripts = "" (string)
    [02:37:17]
    [02:37:17] Server Plugins
    [02:37:17] --------------
    [02:37:17] Loading plugin: crashdetect.dll
    [02:37:18] CrashDetect v4.15.1 is OK.
    [02:37:18] Loaded.
    [02:37:18] Loading plugin: streamer.dll
    [02:37:18]


    *** Streamer Plugin v2.7.6 by Incognito loaded ***


    [02:37:18] Loaded.
    [02:37:18] Loading plugin: sscanf.dll
    [02:37:18]


    [02:37:18] ===============================


    [02:37:18] sscanf plugin loaded.


    [02:37:18] Version: 2.8.1


    [02:37:18] (c) 2012 Alex "Y_Less" Cole


    [02:37:18] ===============================


    [02:37:18] Loaded.
    [02:37:18] Loading plugin: SyncHTTP.dll
    [02:37:18] SyncHTTP got loaded.
    [02:37:18] Loaded.
    [02:37:18] Loading plugin: mysql.dll
    [02:37:18] SA:MP MySQL Plugin v2.1.1 Loaded.
    [02:37:18] Loaded.
    [02:37:18] Loading plugin: nativechecker.dll
    [02:37:18] [MySQL] Thread running. Threadsafe: Yes.
    [02:37:19] Loaded.
    [02:37:19] Loaded 6 plugins.


    [02:37:19]
    [02:37:19] Filterscripts
    [02:37:19] ---------------
    [02:37:19] Loaded 0 filterscripts.


    [02:37:19] [MySQL] Connected (0) to 'selfmade'@'localhost via TCP/IP'.
    [02:37:19] [MySQL] Server Version 5.6.21.
    [02:37:19] [MySQL] MySQL Tabellen wurden erfolgreich erstellt.
    [02:37:19]
    -------------------------------------------------
    [02:37:19] | Next Era Life wird gestartet! bitte warten... |
    [02:37:19] -------------------------------------------------


    [02:37:19] [connection] 127.0.0.1:52856 requests connection cookie.
    [02:37:19]
    ---------( WBB_Connect )---------
    Erfolgreich initialisiert!
    ---------------------------------


    [02:37:19] WBB_Connect wurde erfolgreich initialisiert!
    [02:37:19] Number of vehicle models: 1
    [02:37:20] Incoming connection: 127.0.0.1:52856 id: 0
    [02:37:20] [npc:join] Elena has joined the server (0:127.0.0.1)
    [02:37:58] [connection] 127.0.0.1:58798 requests connection cookie.
    [02:37:59] Incoming connection: 127.0.0.1:58798 id: 1
    [02:37:59] [join] zSkiLL.exe has joined the server (1:127.0.0.1)
    [02:38:15] [debug] Server crashed while executing NeL.amx
    [02:38:15] [debug] AMX backtrace:
    [02:38:15] [debug] #0 native CallLocalFunction () from samp-server.exe
    [02:38:15] [debug] #1 0000043c in public OnPlayerCommandText (playerid=1, cmdtext[]=@00095ab0 "/spawnveh") at C:\Users\Nico\Desktop\Next Era Life 0.3.7 (Selfmade)\pawno\include\ocmd.inc:30
    [02:38:16] [debug] Native backtrace:
    [02:38:16] [debug] #0 004743dc in ?? () from samp-server.exe
    [02:38:16] [debug] #1 004010b6 in ?? () from samp-server.exe
    [02:38:16] [debug] #2 701f62ca in ?? () from plugins\crashdetect.dll
    [02:38:16] [debug] #3 701f8b28 in ?? () from plugins\crashdetect.dll
    [02:38:16] [debug] #4 701f09c7 in ?? () from plugins\crashdetect.dll
    [02:38:16] [debug] #5 701f631a in ?? () from plugins\crashdetect.dll
    [02:38:16] [debug] #6 6d1351b9 in ?? () from plugins\streamer.dll
    [02:38:16] [debug] #7 0046dbc0 in ?? () from samp-server.exe
    [02:38:16] [debug] #8 004528f0 in ?? () from samp-server.exe
    [02:38:16] [debug] #9 0046e780 in ?? () from samp-server.exe
    [02:38:16] [debug] #10 77662576 in ?? () from C:\WINDOWS\SYSTEM32\ntdll.dll
    [02:38:16] [debug] #11 5e042444 in ?? () from samp-server.exe



    ocmd:spawnveh(playerid, params[])
    {
    if(isPlayerAdmin(playerid, 1))
    {
    new modelid, farbe1, farbe2, sirene, Float:x, Float:y, Float:z, VehicleID, string[128], pName[MAX_PLAYER_NAME];
    if(sscanf(params, "dddd", modelid, farbe1, farbe2, sirene))return SendClientMessage(playerid, weiss, "{FF4000}Benutze:{FFFFFF} /spawnveh [Modelid] [Farbcode1] [Farbcode2] [Sirene]");
    GetPlayerPos(playerid, x, y, z);
    VehicleID = CreateVehicle(modelid, x, y, z, 0, farbe1, farbe2, -1, sirene);
    PutPlayerInVehicle(playerid, VehicleID, 0);
    GetPlayerName(playerid, pName, sizeof(pName));
    format(string, sizeof(string), "{FF4000}Admin-System:{FFFFFF} %s hat die Fahrzeug ID %d gespawnt!", pName, modelid);
    SendClientMessage(playerid, weiss, string);
    }
    else SendClientMessage(playerid, rot, "Sie besitzen nicht die benötigten Rechte!");
    return 1;
    }

  • do.de - Domain-Offensive - Domains für alle und zu super Preisen
  • Dann werden möglicherweise irgendwo in deinem Code Objekte mit CreateObject erstellt, daher funktioniert der Streamer nicht richtig.
    Schau mal in allen Codes, sprich Gamemode und Filterscripts sowie Includes, nach, ob da Objekte mit CreateObject erstellt werden. Wenn ja, erstelle sie mit CreateDynamicObject.


    Wenn du gar nichts findest, dann sind an dieser Stelle viel zu viele Objekte, somit können nicht alle angezeigt werden.