Beiträge von [NRL] zSkiLL.exe

    bitte sehr :)

    echo Executing Server Config...
    lanmode 0
    rcon_password MyProjektTvL
    maxplayers 50
    port 7777
    hostname True VisionLife | SA:MP Version: 0.3.7
    gamemode0 True_VisionLife 1
    plugins crashdetect.dll streamer.dll mysql.dll sscanf.dll
    filterscripts
    announce 0
    query 1
    chatlogging 0
    weburl http://www.sa-mp.com
    onfoot_rate 40
    incar_rate 40
    weapon_rate 40
    stream_distance 300.0
    stream_rate 1000
    maxnpc 50
    logtimeformat [%H:%M:%S]
    language Deutschsprachig

    Guten Tag liebe Community
    Ich hab ein Problem mein Gamemode ist auf Unknown :/ alles andere wie Plugins + Include's aktualisieren bringt nichts hab alles auf'n Aktuellen Stand :)
    hab da mal ein paar Fehlern in der Server.log gefunden hab die ganze Server.log auf Pastebin rein gepostet hier ist der link http://pastebin.com/pVXV7c3W


    Ich hoffe ihr könnt mir weiterhelfen


    Mit freundlichen Grüßen
    Euer zSkiLL.exe


    ----------
    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;
    }

    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

    Servus liebe Community
    Ich sitze momentan an dem Problem, dass ich die Länge eines 2 Dimensionalen Arrays abfragen muss. Ich habe mich bereits erkundigt, dass einige dafür "strlen" nutzen. Damit komme ich allerdings nicht weiter und mit sizeof erhalte ich einen Error. Bei folgendem Array möchte ich die Anzahl der Skins in jeder Dimension auslesen können.



    new FrakSkinM[][] =
    {
    {1,2,7,15,21,22,26},
    {265,267,266,281,282,283},
    {265,267,266,281,282,283},
    {265,267,266,281,282,283}
    };


    strlen(FrakSkinM[PlayerInfo[playerid][pFrak]]) //Ergebnis = 52
    sizeof(FrakSkinM[PlayerInfo[playerid][pFrak]]) //Gibt einen Error: error 001: expected token: "]", but found "-identifier-"


    Wäre schön wenn ihr mir da helfen könnt.


    Euer zSkiLL.exe