Fehlermeldung beim Compilen des Map editor's

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
  • Hallo und guten Tag,



    Ich habe heute zum ersten mal versucht einen Map Editor auf einen SAMP Server zu "Installieren". Soweit funktionierte alles doch als ich dann das Script Compilen wollte, kam eine Fehlermeldung und zwar diese hier: C:\Users\MeinName\Desktop\Map Test Server\filterscripts\mapedit.pwn(14) : fatal error 100: cannot read from file: "mapedit/resources/objmodels.pwn"


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.


    Was habe ich falsch gemacht? Habe alles nach dem Prinzip von der Anleitung gemacht..
    http://forum.sa-mp.com/showthread.php?t=554805


    Sprich

    • 1. Download mapedit.pwn and the folder mapedit to your server filterscripts directory (dort habe ich die mapedit.pwn und den Ordner "mapedit" in den Ordner Filterscript gehauen)
    • 2. Download strlib & sscanf (Die habe ich dann jewals in den Include Ordner und in den unter Ordner "Pawn - Includes" gehauen(
    • 3. Compile the code (Dann wollte ich den Code Compilen dann kam die Fehlermeldung)
    • 4. Create the folder maps in your server scriptfiles directory (Dann bin ich in den Ordner Sciprtfiles gegangen und habe dort einen Ordner erstellt mit den Namen "Maps" )
    • 5. Load the script on your server, and start mapping! (soweit komme ich leider nicht xD)

    Könnte mir jetzt jemand genau erklären was ich dort machen muss? Entweder ich bin zu dumm um das zu verstehen oder habe etwas falsch eingefügt...würde mich über eine schnelle hilfe sehr freuen!

  • Schau mal im Filterscripts Ordner nach und pack es hier rein:


    mapedit/resources/objmodels.pwn


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


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


    [16:18:41]
    [16:18:41] Server Plugins
    [16:18:41] --------------
    [16:18:41] Loaded 0 plugins.


    [16:18:41]
    [16:18:41] Filterscripts
    [16:18:41] ---------------
    [16:18:41] Loading filterscript 'gl_actions.amx'...
    [16:18:41] Loading filterscript 'gl_realtime.amx'...
    [16:18:41] Loading filterscript 'gl_property.amx'...
    [16:18:41]
    -----------------------------------
    [16:18:41] Grand Larceny Property Filterscript
    [16:18:41] -----------------------------------


    [16:18:41] Loading filterscript 'gl_mapicon.amx'...
    [16:18:41] Loading filterscript 'ls_elevator.amx'...
    [16:18:41] Loading filterscript 'attachments.amx'...
    [16:18:41] Loading filterscript 'skinchanger.amx'...
    [16:18:41]
    --Admin Player Skin Changer Loaded


    [16:18:41] Loading filterscript 'vspawner.amx'...
    [16:18:41]
    --Admin Vehicle Spawner Loaded


    [16:18:41] Loading filterscript 'ls_mall.amx'...
    [16:18:41] Loading filterscript 'ls_beachside.amx'...
    [16:18:41]


    [16:18:41] |---------------------------------------------------
    [16:18:41] |--- LS BeachSide Filterscript
    [16:18:41] |-- Script v1.03
    [16:18:41] |-- 19th April 2015
    [16:18:41] |---------------------------------------------------
    [16:18:41] |-- LS BeachSide Building Elevator created
    [16:18:41] |---------------------------------------------------
    [16:18:41] Loaded 10 filterscripts.


    [16:18:41] Loaded 3 vehicles from: vehicles/trains.txt
    [16:18:41] Loaded 3 vehicles from: vehicles/pilots.txt
    [16:18:41] Loaded 15 vehicles from: vehicles/lv_law.txt
    [16:18:41] Loaded 39 vehicles from: vehicles/lv_airport.txt
    [16:18:41] Loaded 255 vehicles from: vehicles/lv_gen.txt
    [16:18:41] Loaded 38 vehicles from: vehicles/sf_law.txt
    [16:18:41] Loaded 35 vehicles from: vehicles/sf_airport.txt
    [16:18:41] Loaded 353 vehicles from: vehicles/sf_gen.txt
    [16:18:41] Loaded 24 vehicles from: vehicles/ls_law.txt
    [16:18:41] Loaded 37 vehicles from: vehicles/ls_airport.txt
    [16:18:41] Loaded 98 vehicles from: vehicles/ls_gen_inner.txt
    [16:18:41] Loaded 389 vehicles from: vehicles/ls_gen_outer.txt
    [16:18:41] Loaded 71 vehicles from: vehicles/whetstone.txt
    [16:18:41] Loaded 168 vehicles from: vehicles/bone.txt
    [16:18:41] Loaded 61 vehicles from: vehicles/flint.txt
    [16:18:41] Loaded 96 vehicles from: vehicles/tierra.txt
    [16:18:41] Loaded 96 vehicles from: vehicles/red_county.txt
    [16:18:41] Total vehicles from files: 1781
    [16:18:41] Reading File: blank
    [16:18:41] Reading File: properties/houses.txt
    [16:18:41] Reading File: properties/businesses.txt
    [16:18:41] Reading File: properties/banks.txt
    [16:18:41] Reading File: properties/police.txt
    [16:18:41]
    ---------------------------------------
    [16:18:41] Running Grand Larceny - by the SA-MP team


    [16:18:41] ---------------------------------------


    [16:18:41] Number of vehicle models: 173


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


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


    [19:22:58]
    [19:22:58] Server Plugins
    [19:22:58] --------------
    [19:22:58] Loaded 0 plugins.


    [19:22:58] I couldn't load any gamemode scripts. Please verify your server.cfg
    [19:22:58] It needs a gamemode0 line at the very least.


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


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


    [19:26:41]
    [19:26:41] Server Plugins
    [19:26:41] --------------
    [19:26:41] Loaded 0 plugins.


    [19:26:41] I couldn't load any gamemode scripts. Please verify your server.cfg
    [19:26:41] It needs a gamemode0 line at the very least.


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


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


    [19:29:06]
    [19:29:06] Server Plugins
    [19:29:06] --------------
    [19:29:06] Loaded 0 plugins.


    [19:29:06] I couldn't load any gamemode scripts. Please verify your server.cfg
    [19:29:06] It needs a gamemode0 line at the very least.


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


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


    [19:29:53]
    [19:29:53] Server Plugins
    [19:29:53] --------------
    [19:29:53] Loaded 0 plugins.


    [19:29:53] I couldn't load any gamemode scripts. Please verify your server.cfg
    [19:29:53] It needs a gamemode0 line at the very least.


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


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


    [16:14:02]
    [16:14:02] Server Plugins
    [16:14:02] --------------
    [16:14:02] Loaded 0 plugins.


    [16:14:02] I couldn't load any gamemode scripts. Please verify your server.cfg
    [16:14:02] It needs a gamemode0 line at the very least.



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


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


    [16:18:41]
    [16:18:41] Server Plugins
    [16:18:41] --------------
    [16:18:41] Loaded 0 plugins.


    [16:18:41]
    [16:18:41] Filterscripts
    [16:18:41] ---------------
    [16:18:41] Loading filterscript 'gl_actions.amx'...
    [16:18:41] Loading filterscript 'gl_realtime.amx'...
    [16:18:41] Loading filterscript 'gl_property.amx'...
    [16:18:41]
    -----------------------------------
    [16:18:41] Grand Larceny Property Filterscript
    [16:18:41] -----------------------------------


    [16:18:41] Loading filterscript 'gl_mapicon.amx'...
    [16:18:41] Loading filterscript 'ls_elevator.amx'...
    [16:18:41] Loading filterscript 'attachments.amx'...
    [16:18:41] Loading filterscript 'skinchanger.amx'...
    [16:18:41]
    --Admin Player Skin Changer Loaded


    [16:18:41] Loading filterscript 'vspawner.amx'...
    [16:18:41]
    --Admin Vehicle Spawner Loaded


    [16:18:41] Loading filterscript 'ls_mall.amx'...
    [16:18:41] Loading filterscript 'ls_beachside.amx'...
    [16:18:41]


    [16:18:41] |---------------------------------------------------
    [16:18:41] |--- LS BeachSide Filterscript
    [16:18:41] |-- Script v1.03
    [16:18:41] |-- 19th April 2015
    [16:18:41] |---------------------------------------------------
    [16:18:41] |-- LS BeachSide Building Elevator created
    [16:18:41] |---------------------------------------------------
    [16:18:41] Loaded 10 filterscripts.


    [16:18:41] Loaded 3 vehicles from: vehicles/trains.txt
    [16:18:41] Loaded 3 vehicles from: vehicles/pilots.txt
    [16:18:41] Loaded 15 vehicles from: vehicles/lv_law.txt
    [16:18:41] Loaded 39 vehicles from: vehicles/lv_airport.txt
    [16:18:41] Loaded 255 vehicles from: vehicles/lv_gen.txt
    [16:18:41] Loaded 38 vehicles from: vehicles/sf_law.txt
    [16:18:41] Loaded 35 vehicles from: vehicles/sf_airport.txt
    [16:18:41] Loaded 353 vehicles from: vehicles/sf_gen.txt
    [16:18:41] Loaded 24 vehicles from: vehicles/ls_law.txt
    [16:18:41] Loaded 37 vehicles from: vehicles/ls_airport.txt
    [16:18:41] Loaded 98 vehicles from: vehicles/ls_gen_inner.txt
    [16:18:41] Loaded 389 vehicles from: vehicles/ls_gen_outer.txt
    [16:18:41] Loaded 71 vehicles from: vehicles/whetstone.txt
    [16:18:41] Loaded 168 vehicles from: vehicles/bone.txt
    [16:18:41] Loaded 61 vehicles from: vehicles/flint.txt
    [16:18:41] Loaded 96 vehicles from: vehicles/tierra.txt
    [16:18:41] Loaded 96 vehicles from: vehicles/red_county.txt
    [16:18:41] Total vehicles from files: 1781
    [16:18:41] Reading File: blank
    [16:18:41] Reading File: properties/houses.txt
    [16:18:41] Reading File: properties/businesses.txt
    [16:18:41] Reading File: properties/banks.txt
    [16:18:41] Reading File: properties/police.txt
    [16:18:41]
    ---------------------------------------
    [16:18:41] Running Grand Larceny - by the SA-MP team


    [16:18:41] ---------------------------------------


    [16:18:41] Number of vehicle models: 173


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


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


    [19:22:58]
    [19:22:58] Server Plugins
    [19:22:58] --------------
    [19:22:58] Loaded 0 plugins.


    [19:22:58] I couldn't load any gamemode scripts. Please verify your server.cfg
    [19:22:58] It needs a gamemode0 line at the very least.


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


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


    [19:26:41]
    [19:26:41] Server Plugins
    [19:26:41] --------------
    [19:26:41] Loaded 0 plugins.


    [19:26:41] I couldn't load any gamemode scripts. Please verify your server.cfg
    [19:26:41] It needs a gamemode0 line at the very least.


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


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


    [19:29:06]
    [19:29:06] Server Plugins
    [19:29:06] --------------
    [19:29:06] Loaded 0 plugins.


    [19:29:06] I couldn't load any gamemode scripts. Please verify your server.cfg
    [19:29:06] It needs a gamemode0 line at the very least.


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


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


    [19:29:53]
    [19:29:53] Server Plugins
    [19:29:53] --------------
    [19:29:53] Loaded 0 plugins.


    [19:29:53] I couldn't load any gamemode scripts. Please verify your server.cfg
    [19:29:53] It needs a gamemode0 line at the very least.


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


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


    [16:14:02]
    [16:14:02] Server Plugins
    [16:14:02] --------------
    [16:14:02] Loaded 0 plugins.


    [16:14:02] I couldn't load any gamemode scripts. Please verify your server.cfg
    [16:14:02] It needs a gamemode0 line at the very least.


    Die Datei ist dort drinnen

  • Dein Server kann nicht starten, hast du diese Meldung schon bemerkt?


    I couldn't load any gamemode scripts. Please verify your server.cfg


    Ist dein Script im Gamemodes Ordner, befindet sich dort eine .amx Datei?


    Mit freundlichen Grüßen
    JustMe.77 8)

  • Zeig mal den Inhalt deiner server.cfg :)

    Ich hab es jetzt dort eingefügt also die mapedit.amx und pwn


    http://www2.pic-upload.de/img/30671811/Unbenannt.png


    und hier die cfg


  • do.de - Domain-Offensive - Domains für alle und zu super Preisen
  • Kein Problem, immer wieder gerne :)


    Lösungsweg:


    Ich habe einmal komplett die benötigten Dateien der Filterscripts gelöscht und neu aufgesetzt, somit war schonmal das Problem mit der fehlenden objmodels.pwn behoben.
    Außerdem habe ich ein leeren Gamemode erstellt worin die benötigen Includes inkludiert waren, somit waren schonmal 2 weitere Probleme gelöst (fehlende Gamemode & benötigte Includes).


    Das war nicht alles, der Map Editor wurde immer noch nicht erfolgreich geladen. Habe anschließend das Crashdetect Plugin runtergeladen und in die server.cfg eingetragen.
    Nachdem ich dann den Server gestartet habe, stellte sich das Problem heraus das sscanf Probleme macht.


    Musste dann erneut den blanken Gamemode compilen, sowie die mapedit.pwn Datei. Danach war das Problem gelöst :)


    Mit freundlichen Grüßen
    JustMe.77 8)