Problem mit SOM Script

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
  • Immer wenn ich versuche denn server zu starten komm das in denn Logs


    Code
    [15:20:43] I couldn't load any gamemode scripts. Please verify your server.cfg
    [15:20:43] It needs a gamemode0 line at the very least.


    aber in ser server.cfg is es eingetragen


  • du musst die SOM.pwn compilieren zu einer SOM.amk das machst du mit dem Pawno Editor

  • Server started jetzt aber es wird kein Gamemode oder so angezeigt


    http://prntscr.com/lzscxj


    Logs


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


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


    [16:11:20]
    [16:11:20] Server Plugins
    [16:11:20] --------------
    [16:11:20] Loading plugin: mysql_static.so
    [16:11:20] Failed (plugins/mysql_static.so: cannot open shared object file: No such file or directory)
    [16:11:20] Loading plugin: sscanf.so
    [16:11:20]


    [16:11:20] ===============================


    [16:11:20] sscanf plugin loaded.


    [16:11:20] (c) 2009 Alex "Y_Less" Cole


    [16:11:20] ===============================


    [16:11:20] Loaded.
    [16:11:20] Loading plugin: streamer.so
    [16:11:20]


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


    [16:11:20] Loaded.
    [16:11:20] Loaded 2 plugins.


    [16:11:20]
    [16:11:20] Filterscripts
    [16:11:20] ---------------
    [16:11:20] Loading filterscript 'objects-server.amx'...
    [16:11:20] Unable to load filterscript 'objects-server.amx'.
    [16:11:20] Loaded 0 filterscripts.


    [16:11:20] Script[gamemodes/SOM.amx]: Run time error 19: "File or function is not found"
    [16:11:20] Number of vehicle models: 0
    [16:11:21] --- Server Shutting Down.
    [16:11:21]


    [16:11:21] ===============================


    [16:11:21] sscanf plugin unloaded.


    [16:11:21] ===============================


    [16:11:21]


    *** Streamer Plugin v2.8.2 by Incognito unloaded ***



  • [list=1][*][16:11:20] Loading plugin: mysql_static.so
    [*][16:11:20] Failed (plugins/mysql_static.so: cannot open shared object file: No such file or directory)
    [/list]


    das ist dein fehler


    mysql.so bei linux
    bei windwos nur mysql in der cfg eintragen

  • @Hog
    Das ist ein Linux/Debian server


    Filterscript amx datei geamcht neuer LOG


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


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


    [16:20:12]
    [16:20:12] Server Plugins
    [16:20:12] --------------
    [16:20:12] Loading plugin: mysql_static.so
    [16:20:12] Failed (plugins/mysql_static.so: cannot open shared object file: No such file or directory)
    [16:20:12] Loading plugin: sscanf.so
    [16:20:12]


    [16:20:12] ===============================


    [16:20:12] sscanf plugin loaded.


    [16:20:12] (c) 2009 Alex "Y_Less" Cole


    [16:20:12] ===============================


    [16:20:12] Loaded.
    [16:20:12] Loading plugin: streamer.so
    [16:20:12]


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


    [16:20:12] Loaded.
    [16:20:12] Loaded 2 plugins.


    [16:20:12]
    [16:20:12] Filterscripts
    [16:20:12] ---------------
    [16:20:12] Loading filterscript 'objects-server.amx'...
    [16:20:12] Server Objecte werden geladen
    [16:20:12] Loaded 1 filterscripts.


    [16:20:12] Script[gamemodes/SOM.amx]: Run time error 19: "File or function is not found"
    [16:20:12] Number of vehicle models: 0
    [16:20:18] --- Server Shutting Down.
    [16:20:18]


    [16:20:18] ===============================


    [16:20:18] sscanf plugin unloaded.


    [16:20:18] ===============================


    [16:20:18]


    *** Streamer Plugin v2.8.2 by Incognito unloaded ***

  • ah versuche mal so


    dpkg --add-architecture i386


    apt-get update


    und dann



    apt-get install build-essential gcc-multilib rpm libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386 libc6:i386



    und versuche es dann nochmal :)

  • Geht immer nicht nicht
    @Hog


    Logs


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


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


    [16:27:19]
    [16:27:19] Server Plugins
    [16:27:19] --------------
    [16:27:19] Loading plugin: mysql_static.so
    [16:27:19] Failed (plugins/mysql_static.so: cannot open shared object file: No such file or directory)
    [16:27:19] Loading plugin: sscanf.so
    [16:27:19]


    [16:27:19] ===============================


    [16:27:19] sscanf plugin loaded.


    [16:27:19] (c) 2009 Alex "Y_Less" Cole


    [16:27:19] ===============================


    [16:27:19] Loaded.
    [16:27:19] Loading plugin: streamer.so
    [16:27:19]


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


    [16:27:19] Loaded.
    [16:27:19] Loaded 2 plugins.


    [16:27:19]
    [16:27:19] Filterscripts
    [16:27:19] ---------------
    [16:27:19] Loading filterscript 'objects-server.amx'...
    [16:27:19] Server Objecte werden geladen
    [16:27:19] Loaded 1 filterscripts.


    [16:27:19] Script[gamemodes/SOM.amx]: Run time error 19: "File or function is not found"
    [16:27:19] Number of vehicle models: 0
    [16:27:29] --- Server Shutting Down.
    [16:27:29]


    [16:27:29] ===============================


    [16:27:29] sscanf plugin unloaded.


    [16:27:29] ===============================


    [16:27:29]


    *** Streamer Plugin v2.8.2 by Incognito unloaded ***


    • Offizieller Beitrag

    Könntest zur weiteren Fehlereingrenzung noch dieses Plugin laden


    https://forum.sa-mp.com/showthread.php?t=249226



    Beachte den Hinweis am Ende des Threads!


    „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

  • Logs


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


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


    [16:34:19]
    [16:34:19] Server Plugins
    [16:34:19] --------------
    [16:34:19] Loading plugin: mysql_static.so
    [16:34:19] Failed (plugins/mysql_static.so: cannot open shared object file: No such file or directory)
    [16:34:19] Loading plugin: sscanf.so
    [16:34:19]


    [16:34:19] ===============================


    [16:34:19] sscanf plugin loaded.


    [16:34:19] (c) 2009 Alex "Y_Less" Cole


    [16:34:19] ===============================


    [16:34:19] Loaded.
    [16:34:19] Loading plugin: streamer.so
    [16:34:19]


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


    [16:34:19] Loaded.
    [16:34:19] Loading plugin: nativechecker.so
    [16:34:19] Loaded.
    [16:34:19] Loaded 3 plugins.


    [16:34:19]
    [16:34:19] Filterscripts
    [16:34:19] ---------------
    [16:34:19] Loading filterscript 'objects-server.amx'...
    [16:34:19] Server Objecte werden geladen
    [16:34:19] Loaded 1 filterscripts.


    [16:34:19] Error: Function not registered: 'mysql_format'
    [16:34:19] Error: Function not registered: 'mysql_pquery'
    [16:34:19] Error: Function not registered: 'cache_get_row_count'
    [16:34:19] Error: Function not registered: 'cache_get_field_count'
    [16:34:19] Error: Function not registered: 'cache_get_value_name'
    [16:34:19] Error: Function not registered: 'cache_get_field_name'
    [16:34:19] Error: Function not registered: 'mysql_log'
    [16:34:19] Error: Function not registered: 'mysql_connect'
    [16:34:19] Error: Function not registered: 'mysql_errno'
    [16:34:19] Error: Function not registered: 'mysql_close'
    [16:34:19] Error: Function not registered: 'mysql_query'
    [16:34:19] Script[gamemodes/SOM.amx]: Run time error 19: "File or function is not found"
    [16:34:19] Number of vehicle models: 0
    [16:34:25] --- Server Shutting Down.
    [16:34:25]


    [16:34:25] ===============================


    [16:34:25] sscanf plugin unloaded.


    [16:34:25] ===============================


    [16:34:25]


    *** Streamer Plugin v2.8.2 by Incognito unloaded ***



    Keine Ahnung was ich jetzt machen soll

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

    Und das Plugin ist ganz sicher im Verzeichnis "plugins" abgelegt? 1:1 so benannt wie es in der server.cfg steht?

  • @seegras


    Server.cfgecho Executing Server Config...
    lanmode 0
    rcon_password tomas
    maxplayers 50
    port 7777
    hostname SA-MP 0.3 Server
    gamemode0 SOM
    filterscripts objects-server
    plugins mysql_static.so sscanf.so streamer.so nativechecker.so
    announce 0
    query 1
    weburl www.sa-mp.com
    maxnpc 0
    onfoot_rate 40
    incar_rate 40
    weapon_rate 40
    stream_distance 300.0
    stream_rate 1000