Nativechecker Plugin

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
  • Also ich habe Crashdetect eingefügt und er sagt mir das ich hier fehler habe aber was bedeuten sie?




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


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


    [17:21:20]
    [17:21:20] Server Plugins
    [17:21:20] --------------
    [17:21:20] Loading plugin: streamer
    [17:21:20]


    *** Streamer Plugin v1.1 by Incognito loaded ***



    [17:21:20] Loaded.
    [17:21:20] Loading plugin: crashdetect
    [17:21:20] crashdetect v4.8.5 is OK.
    [17:21:20] Loaded.
    [17:21:20] Loading plugin: Encrypt
    [17:21:20]



    [17:21:20] ______________________________________



    [17:21:20] Encrypt Plugin v0.1 loaded
    [17:21:20] ______________________________________



    [17:21:20] By: Fro (c) Copyright <TBG> 2009-2010
    [17:21:20] ______________________________________



    [17:21:20] Loaded.
    [17:21:20] Loading plugin: sscanf
    [17:21:20]


    [17:21:20] ===============================


    [17:21:20] sscanf plugin loaded.


    [17:21:20] (c) 2009 Alex "Y_Less" Cole


    [17:21:20] ===============================


    [17:21:20] Loaded.
    [17:21:20] Loading plugin: mysql
    [17:21:20] >> plugin.mysql: R34 successfully loaded.
    [17:21:20] Loaded.
    [17:21:20] Loaded 5 plugins.


    [17:21:20]
    [17:21:20] Filterscripts
    [17:21:20] ---------------
    [17:21:20] Loading filterscript 'bowling.amx'...
    [17:21:20] [debug] Run time error 19: "File or function is not found"
    [17:21:20] [debug] Streamer_CallbackHook
    [17:21:20] [debug] SSCANF_Init
    [17:21:20] [debug] SSCANF_Join
    [17:21:20] [debug] SSCANF_Leave
    [17:21:20] [debug] CreateDynamicPickup
    [17:21:20] [debug] CreateDynamic3DTextLabel
    [17:21:20] [debug] CreateDynamicCP
    [17:21:20] [debug] UpdateDynamic3DTextLabelText
    [17:21:20] [debug] Streamer_Update
    [17:21:20] [debug] Streamer_UpdateEx
    [17:21:20] [debug] DestroyDynamicPickup
    [17:21:20] [debug] DestroyDynamic3DTextLabel
    [17:21:20] [debug] DestroyDynamicMapIcon
    [17:21:20] [debug] CreateDynamicMapIcon
    [17:21:20] Loading filterscript 'objects-server.amx'...
    [17:21:20] Loaded 2 filterscripts.


    [17:21:20] [debug] Run time error 19: "File or function is not found"
    [17:21:20] [debug] Streamer_CallbackHook
    [17:21:20] [debug] mysql_store_result
    [17:21:20] [debug] mysql_fetch_int
    [17:21:20] [debug] mysql_free_result
    [17:21:20] [debug] mysql_num_rows
    [17:21:20] [debug] mysql_fetch_field
    [17:21:20] [debug] mysql_fetch_row
    [17:21:20] [debug] mysql_init
    [17:21:20] [debug] CreateDynamicObjectEx
    [17:21:20] [debug] SetDynamicObjectMaterialText
    [17:21:20] [debug] CreateDynamic3DTextLabel
    [17:21:20] [debug] CreateDynamicPickup
    [17:21:20] [debug] TogglePlayerAllDynamicCPs
    [17:21:20] [debug] CreateDynamicCP
    [17:21:20] [debug] TogglePlayerDynamicCP
    [17:21:20] [debug] DestroyDynamic3DTextLabel
    [17:21:20] [debug] Run time error 19: "File or function is not found"
    [17:21:20] [debug] Streamer_CallbackHook
    [17:21:20] [debug] mysql_store_result
    [17:21:20] [debug] mysql_fetch_int
    [17:21:20] [debug] mysql_free_result
    [17:21:20] [debug] mysql_num_rows
    [17:21:20] [debug] mysql_fetch_field
    [17:21:20] [debug] mysql_fetch_row
    [17:21:20] [debug] mysql_init
    [17:21:20] [debug] CreateDynamicObjectEx
    [17:21:20] [debug] SetDynamicObjectMaterialText
    [17:21:20] [debug] CreateDynamic3DTextLabel
    [17:21:20] [debug] CreateDynamicPickup
    [17:21:20] [debug] TogglePlayerAllDynamicCPs
    [17:21:20] [debug] CreateDynamicCP
    [17:21:20] [debug] TogglePlayerDynamicCP
    [17:21:20] [debug] DestroyDynamic3DTextLabel
    [17:21:20] Script[gamemodes/SOM.amx]: Run time error 19: "File or function is not found"
    [17:21:20] Number of vehicle models: 0

    Einmal editiert, zuletzt von Smoot ()

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


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


    [20:24:01]
    [20:24:01] Server Plugins
    [20:24:01] --------------
    [20:24:01] Loading plugin: crashdetect
    [20:24:01] crashdetect v4.8.5 is OK.
    [20:24:01] Loaded.
    [20:24:01] Loading plugin: streamer
    [20:24:01]


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


    [20:24:01] Loaded.
    [20:24:01] Loading plugin: Encrypt
    [20:24:01]



    [20:24:01] ______________________________________



    [20:24:01] Encrypt Plugin v0.1 loaded
    [20:24:01] ______________________________________



    [20:24:01] By: Fro (c) Copyright <TBG> 2009-2010
    [20:24:01] ______________________________________



    [20:24:01] Loaded.
    [20:24:01] Loading plugin: sscanf
    [20:24:01]


    [20:24:01] ===============================


    [20:24:01] sscanf plugin loaded.


    [20:24:01] Version: 2.8.1


    [20:24:01] (c) 2012 Alex "Y_Less" Cole


    [20:24:01] ===============================


    [20:24:01] Loaded.
    [20:24:01] Loading plugin: mysql
    [20:24:01]


    > MySQL plugin R5 successfully loaded.


    [20:24:01] Loaded.
    [20:24:01] Loaded 5 plugins.


    [20:24:01]
    [20:24:01] Filterscripts
    [20:24:01] ---------------
    [20:24:01] Loading filterscript 'bowling.amx'...
    [20:24:01]



    ---------------------------------------------------------
    [20:24:01] Dynamisches Bowling System Geladen by Sommerferien
    [20:24:01] Dank an Nexotronix für die erstellung des Scriptes.
    [20:24:01] ---------------------------------------------------------




    [20:24:01] Loading filterscript 'objects-server.amx'...
    [20:24:01] Server Objecte werden geladen
    [20:24:01] *** Streamer Plugin: Streamer_SetFloatData: Invalid ID specified
    [20:24:01] 1254 Gemappte Objecte Geladen
    [20:24:01] Loaded 2 filterscripts.


    [20:24:01] [debug] Run time error 19: "File or function is not found"
    [20:24:01] [debug] mysql_fetch_row
    [20:24:01] [debug] mysql_init
    [20:24:01] [debug] Run time error 19: "File or function is not found"
    [20:24:01] [debug] mysql_fetch_row
    [20:24:01] [debug] mysql_init
    [20:24:01] Script[gamemodes/SOM.amx]: Run time error 19: "File or function is not found"
    [20:24:01] Number of vehicle models: 0



    Bekomme jz nur noch das raus.

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



  • Laut Log sprengst du ein Array.
    Erstelle bitte in einem /pawno/ Ordner eine Datei "pawn.cfg" und schreibe dort "-d3" rein (ohne Anführungszeichen). Dann speichere die Datei, und öffne die pawno.exe. Dann wähle deinen Code auf, über "Öffnen", und kompiliere ihn. Du bekommst dann eine mehrzeilige Meldung mit vielen Zahlen im Compiler. Dann starte den Server erneut, und poste nochmal den Log.

  • was "-d3" bedeutet oder was es macht

    Kann ich gerne erklären, danke der Nachfrage:


    Das "-d3" ist eine Compiler-Option und schält den Debug Modus an (daher die Meldung im Compiler).
    Für das Crashdetect Plugin bedeutet das, dass es genauere Informationen ausgeben kann, wie zum Beispiel die genaue Zeile des Errors, den es ausgibt.

  • Das steht in der server log...



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


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


    [20:43:29]
    [20:43:29] Server Plugins
    [20:43:29] --------------
    [20:43:29] Loading plugin: crashdetect
    [20:43:29] crashdetect v4.8.5 is OK.
    [20:43:29] Loaded.
    [20:43:29] Loading plugin: streamer
    [20:43:29]


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


    [20:43:29] Loaded.
    [20:43:29] Loading plugin: Encrypt
    [20:43:29]



    [20:43:29] ______________________________________



    [20:43:29] Encrypt Plugin v0.1 loaded
    [20:43:29] ______________________________________



    [20:43:29] By: Fro (c) Copyright <TBG> 2009-2010
    [20:43:29] ______________________________________



    [20:43:29] Loaded.
    [20:43:29] Loading plugin: sscanf
    [20:43:29]


    [20:43:29] ===============================


    [20:43:29] sscanf plugin loaded.


    [20:43:29] Version: 2.8.1


    [20:43:29] (c) 2012 Alex "Y_Less" Cole


    [20:43:29] ===============================


    [20:43:29] Loaded.
    [20:43:29] Loading plugin: mysql
    [20:43:29] SA:MP MySQL Plugin v2.1 Loaded.
    [20:43:29] Loaded.
    [20:43:29] Loaded 5 plugins.


    [20:43:29] [MySQL] Thread running. Threadsafe: Yes.
    [20:43:29]
    [20:43:29] Filterscripts
    [20:43:29] ---------------
    [20:43:29] Loading filterscript 'bowling.amx'...
    [20:43:29]



    ---------------------------------------------------------
    [20:43:29] Dynamisches Bowling System Geladen by Sommerferien
    [20:43:29] Dank an Nexotronix für die erstellung des Scriptes.
    [20:43:29] ---------------------------------------------------------




    [20:43:29] Loading filterscript 'objects-server.amx'...
    [20:43:29] Server Objecte werden geladen
    [20:43:29] *** Streamer Plugin: Streamer_SetFloatData: Invalid ID specified
    [20:43:29] 1254 Gemappte Objecte Geladen
    [20:43:29] Loaded 2 filterscripts.


    [20:43:29] [MySQL] Connected (0) to root @ 127.0.0.1 via TCP/IP.
    [20:43:29] [MySQL] Server Version 5.6.24.
    [20:43:29] [MySQL] Auto reconnect is off.
    [20:43:29] Lade Gangzonen..
    [20:43:29] Zone: 0 | 13 | 1858.178222 | -1347.223266 | 1980.648315 | -1454
    [20:43:29] Zone: 1 | 12 | 818.592224 | -1824.480102 | 853.093994 | -2067.4
    [20:43:29] Zone: 2 | 13 | 2701.477294 | -2330.616210 | 2810.611572 | -2565
    [20:43:29] Zone: 3 | 13 | 2814.517578 | -1897.589843 | 2621.636718 | -2041
    [20:43:29] Zone: 4 | 13 | -2096.761230 | -79.822196 | -2202.207763 | -282.
    [20:43:29] Zone: 5 | 13 | -2646.468261 | -219.891296 | -2812.783203 | -423
    [20:43:29] Zone: 6 | 12 | 1322.207275 | 134.880203 | 1252.236206 | 399.189
    [20:43:29] Zone: 7 | 12 | 2189.463623 | 152.510299 | 2514.028808 | -75.999
    [20:43:29] Lade Häuser..
    [20:43:31] Häuser geladen!
    [20:43:31] Lade Blacklisten..
    [20:43:31] Blacklisten geladen!
    [20:43:31] Lade Geschäfte..
    [20:43:31] Geschäfte geladen!
    [20:43:31] Lade sGeschäfte..
    [20:43:31] sGeschäfte geladen!
    [20:43:31] Lade Boxstatisiken..
    [20:43:31] Boxstatistiken geladen!
    [20:43:31] Lade Fraktionskassen..
    [20:43:31] Fraktionskassen geladen!
    [20:43:31] Lade Servereinstellungen..
    [20:43:31] Servereinstellungen geladen!
    [20:43:31] Lade Kofferrauminhalte..
    [20:43:31] [debug] Run time error 4: "Array index out of bounds"
    [20:43:31] [debug] Accessing element at index 2000 past array upper bound 1999
    [20:43:31] [debug] AMX backtrace:
    [20:43:31] [debug] #0 000a1424 in public Itter_OnGameModeInit () at C:\Users\ante valentic\Desktop\SOM\gamemodes\SOM.pwn:13985
    [20:43:31] [debug] #1 native CallLocalFunction () [004743b0] from samp-server.exe
    [20:43:31] [debug] #2 00004de8 in public OnGameModeInit () at C:\Users\ante valentic\Desktop\SOM\pawno\include\foreach.inc:689
    [20:43:31]
    [20:43:31] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
    [20:43:31] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
    [20:43:31] Scriptversion 0.4
    [20:43:31] ________________________________
    [20:43:31] | |
    [20:43:31] | |
    [20:43:31] | HostName: SOM RolePlay |
    [20:43:31] | Sa-Mp: 0.3z |
    [20:43:31] | GameMode: LosSantos |
    [20:43:31] | MapName: San Andreas |
    [20:43:31] | by: Sommerferien |
    [20:43:31] | Gm: v0.4 |
    [20:43:31] |________________________________|
    [20:43:31] Number of vehicle models: 70
    [20:43:33] [debug] Run time error 4: "Array index out of bounds"
    [20:43:33] [debug] Accessing element at index 2000 past array upper bound 1999
    [20:43:33] [debug] AMX backtrace:
    [20:43:33] [debug] #0 0026c144 in public FensterTimer () at C:\Users\ante valentic\Desktop\SOM\gamemodes\SOM.pwn:49387
    [20:43:34] [debug] Run time error 4: "Array index out of bounds"
    [20:43:34] [debug] Accessing element at index 2000 past array upper bound 1999
    [20:43:34] [debug] AMX backtrace:
    [20:43:34] [debug] #0 0026c144 in public FensterTimer () at C:\Users\ante valentic\Desktop\SOM\gamemodes\SOM.pwn:49387

  • 13985:

    for (new i = 1; i <= MAX_VEHICLES; i++)
    {
    vehicle3dtext[i] = Create3DTextLabel ("Fahrzeuf Fenster Geschlossen ", COLOR_YELLOW, 0.0, 0.0, -50.0, 300.0, 0, 1);
    }


    49387:


    public FensterTimer ()
    {
    for (new id = 1; id <= MAX_VEHICLES; id++)
    {
    if (Fenster[id])
    {
    Attach3DTextLabelToVehicle (vehicle3dtext[id], id, 0.0, 0.0, 1.2);
    for (new i = 0; i < MAX_PLAYERS; i++)
    {
    if (IsPlayerInVehicle (i, id))
    {
    for (new j = 0; j < MAX_PLAYERS; j++)
    {
    if (!IsPlayerInVehicle (j, id))
    {
    ShowPlayerNameTagForPlayer (j, i, 0);
    }
    else
    {
    ShowPlayerNameTagForPlayer (j, i, 1);
    }
    }
    }
    }
    }
    }
    return 1;
    }


    Das ganze public.