Zeige Ergebnis 1 bis 3 von 3

Hybrid-Darstellung

  1. #1
    Silver I Benutzerbild von Faithnall
    Registriert seit
    Jan 2015
    Beiträge
    2

    Standard CS:Go dedicatet server Probleme mit config...

    / fixed

    Hab mich nun durch verschiedene Guides und Foren gewühlt, scheinbar hab ich aber wohl derzeit eine gewisse Betriebsblindheit. Ich seh den Fehler (vermutlich nur eine Kleinigkeit) nicht.

    Folgende Situation.
    Der CS:GO server ist auf einen Windows 2000 Server eingerichtet, auf den ich über remote Desktop zugriff zum einrichten habe. Er ist erreichbar und ich kann auch joinen. So weit so gut.

    Nun zu den Problem. der GameServer hat seinen eigenen Steam Account da auf ihn auch ein ArmA 3 Server läuft. Da dieser Steam Account jedoch kein CS:GO besitzt, kann ich die Maps ja nicht über den Workshop beziehen. (glaube ich zu wissen)

    Ich will also die STandart Maps nur in eigene Mapgroups verbauen und so auf den Server Betreiben. Leider funktioniert das alles nicht so sonderlich gut, ich tippe auf ein Klammer Fehler in der GameMode_Server.txt kann ihn aber auch mit Hilfe von Notepad++ nicht erkennen.:

    PHP-Code:
    // To use this file, rename it to GameModes_Server.txt
    //
    // Values here override the default gamemodes.txt 

    "GameModes_Server.txt"{"gameTypes"{"classic"{"gameModes"{

    /////////////////////////////////////////
    // COMPETITIVE
    /////////////////////////////////////////
    "competitive"{

            
            
    "maxplayers"        "12"            // Note that maxplayers doesn't go in the convar block.
                                                // Another way to set maxplayers is to add -maxplayers_override XX to the cmd line.
            
    "exec"
            
    {
                                                
    // Any config files listed here will be executed after the ones in gamemodes.txt.
                
                
    "exec"                    "co_custom_convar.cfg" 
            
    }

            
    "mapgroupsMP"                        // List of mapgroups valid for this game mode ( competitive )
            
    {
                
    "oldone;geisel;bombdefuse"        ""
            
    }


    }
    /////////////////////////////////////////
    // CASUAL
    /////////////////////////////////////////
    "casual"{



            
    "maxplayers"        "12"

            "exec"
            
    {
                
    "exec"                    "ca_custom_convar.cfg"
            
    }

            
    "mapgroupsMP"                        // List of mapgroups valid for this game mode ( casual )
            
    {
                
    "oldone;geisel;bombdefuse""        ""
            }



    }}}"
    gungame"{"gameModes"{

    /////////////////////////////////////////
    // ARMS RACE
    /////////////////////////////////////////
    "
    gungameprogressive"{



            "
    maxplayers"            "10"

            // These are the configs that get executed when a game mode of this type is created
            "
    exec"
            {
                "
    exec"                    "am_custom_convar.cfg"
            }
                        
            "
    mapgroupsMP"
            {
                "
    oldone;geisel;bombdefuse"    ""
            }

            "
    weaponprogression_ct"
            {
                "
    deagle"        { "kills"    "5" }
                "
    awp"            { "kills"    "5" }
                "
    knifegg"        { "kills"    "1" }
            }
                        
            "
    weaponprogression_t"
            {
                "
    deagle"        { "kills"    "5" }
                "
    awp"            { "kills"    "5" }
                "
    knifegg"        { "kills"    "1" }
            }



    /////////////////////////////////////////
    // DEMOLITION
    /////////////////////////////////////////
    "
    gungametrbomb"
    {


            "
    maxplayers"            "10"

            // These are the configs that get executed when a game mode of this type is created
            "
    exec"
            {
                "
    exec"                    "de_custom_convar.cfg"
            }

            "
    mapgroupsMP"
            {
                "
    bombdefuse"        ""
            }

            "
    weaponprogression_ct"
            {
                "
    m4a1"            { "kills"    "1" }
                "
    awp"            { "kills"    "1" }
                "
    Scar20"        { "kills"    "1" }
            }
                
            "
    weaponprogression_t"
            {
                "
    ak47"            { "kills"    "1" }
                "
    awp"            { "kills"    "1" }
                "
    g3sg1"            { "kills"    "1" }
            }


    }}}}

    //////////////////////////////////////////////////////////////////////////////////////////////
    // Map groups
    //
    // To use a mapgroup, it needs to be defined in a keyvalues
    // block such as the example below, as well as listed in the 
    // 'mapgroupsMP' block within the game mode that will run it,
    // such as the example above.
    //
    // Then launch the server with '+mapgroup MAPGROUPNAME'
    //
    // Example:
    //
    // srcds -game csgo +game_mode 1 +mapgroup mg_bomb_se +map de_nuke_se
    //
    //
    // Check the developer wiki for updated community info
    // https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Dedicated_Servers
    //////////////////////////////////////////////////////////////////////////////////////////////


    "
    mapgroups"
        {

            "
    geisel"
            {
                "
    imagename"        "mapgroup-custom1"
                "
    nameID"        "#SFUI_Mapgroup_geisel"
                
    "name"            "geisel"
                "maps"
                
    {
                    
    "cs_italy"        ""
                    "cs_office"        ""
                    "cs_agency"        ""
                    "cs_assault"        ""
                    "cs_backalley"        ""
                    "cs_downtown"        ""
                    "cs_insertion"        ""
                    "cs_italy"        ""
                    "cs_militia"        ""
                    "cs_motel"        ""
                    "cs_office"        ""
                    "cs_rush"        ""
                    "cs_thunder"        ""
                    "cs_workout"        ""
                
    }
            }

            
    "oldone"
            
    {
                
    "imagename"        "mapgroup-custom2"
                "nameID"        "#SFUI_Mapgroup_oldone"
                "name"            "oldone"
                "maps"
                
    {
                    
    "cs_italy"        ""
                    "cs_office"        ""
                    "de_aztec"        ""
                    "de_dust"        ""
                    "de_nuke"        ""
                    "cs_assault"        ""
                    "de_aztec"        ""
                    "de_inferno"        ""
                    "de_train"        ""
                
    }
            }

            
    "bombdefuse"
            
    {
                
    "imagename"        "mapgroup-custom3"
                "nameID"        "#SFUI_Mapgroup_bombdefuse"
                "name"            "bombdefuse"
                "maps"
                
    {
                    
    "de_aztec"        ""
                    "de_train"        ""
                    "de_dust"        ""
                    "de_dust2"        ""
                    "de_inferno"        ""
                    "de_nuke"        ""
                    "de_lake"        ""
                    "de_bank"        ""
                    "de_safehouse"        ""
                    "de_sugarcane"        ""
                    "de_stmarc"        ""
                    "de_shorttrain"        ""
                    "de_bank"        ""
                    "de_bazaar"        ""
                    "de_blackgold"        ""
                    "de_cache"        ""
                    "de_castle"        ""
                    "de_cbble"        ""
                    "de_facade"        ""
                    "de_favela"        ""
                    "de_marquis"        ""
                
    }
            }
        }

    die Fehlermeldung beim Server start sehen so aus
    No web api auth key specified - workshop downloads will be disabled.
    maxplayers set to 64
    Unknown command "cl_bobamt_vert"
    Unknown command "cl_bobamt_lat"
    Unknown command "cl_bob_lower_amt"
    Unknown command "cl_viewmodel_shift_left_amt"
    Unknown command "cl_viewmodel_shift_right_amt"
    Unknown command "cl_teamid_min"
    Unknown command "cl_teamid_max"
    Unknown command "cl_teamid_overhead"
    Unknown command "cl_teamid_overhead_maxdist"
    Setting mapgroup to 'oldone'
    Setting mapgroup to 'geisel'
    ApplyGameSettings: Invalid mapgroup name geisel
    ---- Host_NewGame ----
    Host_NewGame on map cs_italy
    KeyValues Error: RecursiveLoadFromBuffer: got NULL key in file gamemodes_server
    .txt
    GameModes_Server.txt, gameTypes, classic, gameModes, casual, mapgroupsMP,
    KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file ga
    memodes_server.txt
    GameModes_Server.txt, gameTypes, classic, gameModes, casual, (*mapgroupsMP*),
    KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file ga
    memodes_server.txt
    GameModes_Server.txt, gameTypes, classic, gameModes, (*casual*), (*mapgroupsMP*)
    ,
    KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file ga
    memodes_server.txt
    GameModes_Server.txt, gameTypes, classic, (*gameModes*), (*casual*), (*mapgroups
    MP*),
    KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file ga
    memodes_server.txt
    GameModes_Server.txt, gameTypes, (*classic*), (*gameModes*), (*casual*), (*mapgr
    oupsMP*),
    KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file ga
    memodes_server.txt
    GameModes_Server.txt, (*gameTypes*), (*classic*), (*gameModes*), (*casual*), (*m
    apgroupsMP*),
    GameTypes: missing mapgroupsSP entry for game type/mode (custom/custom).
    zu zusätzlich ausgeführten CFG sind aktuell leer. will ja erst mal das Problem mit den Mapgroups lösen,

    Aktuelle Server.cfg:
    PHP-Code:
    //GAME: Counter-Strike: Source
    //TYPE: Server.cfg
    //PROVIDED BY: Cell-Systems.net

    //Host and RCON settings
    hostname "[-=USC=-] CS Sever"
    rcon_password "meiner"
    sv_password "schwert"
    sv_rcon_banpenalty "0"
    sv_rcon_maxfailures "10"
    sv_rcon_minfailures "5"
    sv_rcon_minfailuretime "30"

    //Server Cvars
    mp_friendlyfire "0"
    mp_footsteps "1"
    mp_autoteambalance "1"
    mp_autokick "0"
    mp_flashlight "0"
    mp_tkpunish "1"
    mp_forcecamera "0"
    sv_alltalk "0"
    sv_pausable "0"
    sv_consistency "1"
    sv_cheats "0"
    sv_allowupload "1"
    sv_allowdownload "1"
    sv_maxspeed "320"
    mp_limitteams "1"
    mp_hostagepenalty "6"
    sv_voiceenable "1"
    mp_allowspectators "1"
    mp_timelimit "0"
    mp_chattime "10"
    sv_timeout "65"
    sv_turbophysics "1"
    mp_warmuptime "30"

    //Round Cvars
    mp_freezetime "6"
    mp_roundtime "3.0"
    mp_startmoney "800"
    mp_c4timer "45"
    mp_fraglimit "100"
    mp_maxrounds "60"
    mp_winlimit "45"
    mp_playerid "0"
    mp_spawnprotectiontime "6"

    //Bandwidth Rates
    sv_minrate "7500"
    sv_maxrate "25000"
    decalfrequency "30"
    sv_minupdaterate "100"
    sv_maxupdaterate "101"

    //Fair rate and play settings
    sv_pure_kick_clients "0"
    sv_allow_wait_command "0"
    sv_allow_color_correction "0"
    sv_pure "1"
    host_framerate "0"
    sv_friction "4"
    sv_gravity "800"
    sv_client_min_interp_ratio "1"
    sv_client_max_interp_ratio "1"
    sv_client_predict "1"
    sv_client_interpolate "1"
    sv_client_cmdrate_difference "30"

    //Server logging
    log "off"
    sv_logbans "0"
    sv_logecho "1"
    sv_logfile "1"
    sv_log_onefile "0"

    //Bots
    bot_add "0"
    bot_quota "2"
    bot_quota_mode "normal"
    bot_difficulty "0"
    bot_chatter "normal"
    bot_auto_follow "1"
    bot_auto_vacate "1"
    bot_join_after_player "1"
    bot_defer_to_human "0"
    bot_prefix ""
    bot_allow_rogues "0"
    bot_walk "0"
    bot_join_team "any"
    bot_eco_limit "2000"

    //Bot Weapon Restriction
    bot_allow_grenades "1"
    bot_allow_pistols "1"
    bot_allow_sub_machine_guns "1"
    bot_allow_shotguns "1"
    bot_allow_rifles "1"
    bot_allow_snipers "1"
    bot_allow_machine_guns "1"

    //Operation
    sv_lan "0"
    sv_region "3"
    sv_contact ""

    //Non selectable
    exec banned_user.cfg
    exec banned_ip
    .cfg
    writeid
    writeip 

    Start Parameter :

    ...srcds.exe -game csgo -console +game_type 0 +game_mode 1 +mapgroup geisel +map cs_italy
    Da der Rechner immer nur so schlau ist, wie jener, der Ihn bedient, muss ich der Blöde sein. Sieht jemand eine Lösung, oder fehlen weitere Informationen?

    Bedanke mich schon mal fürs Lesen.
    Geändert von Faithnall (25. Januar 2015 um 12:25 Uhr) Grund: Fehler doch noch gefunden

  2. #2
    Silver I Benutzerbild von Faithnall
    Registriert seit
    Jan 2015
    Beiträge
    2

    Standard

    SO habs doch noch selbst heraus gefunden, das einfache zählen von Klammern hilft einen dann doch immer mal wieder

    hier nun die korrekte gamemode_server.txt
    PHP-Code:
    // To use this file, rename it to GameModes_Server.txt
    //
    // Values here override the default gamemodes.txt 

    "GameModes_Server.txt"
        
    {
        
    "gameTypes"
            
    {
            
    "classic"
                
    {
                
    "gameModes"
                    
    {

    /////////////////////////////////////////
    // COMPETITIVE
    /////////////////////////////////////////
                    
    "competitive"
                        
    {
                        
    "maxplayers"        "12"            // Note that maxplayers doesn't go in the convar block.
                                                // Another way to set maxplayers is to add -maxplayers_override XX to the cmd line.
                        
    "exec"
                            
    {
                                                
    // Any config files listed here will be executed after the ones in gamemodes.txt.
                            
    "exec"                    "co_custom_convar.cfg" 
                            
    }

                        
    "mapgroupsMP"                        // List of mapgroups valid for this game mode ( competitive )
                            
    {
                            
    "oldone;geisel;bombdefuse"        ""
                            
    }
                        }
    // CASUAL
                    
    "casual"
                        
    {
                        
    "maxplayers"        "12"
                        
                        "exec"
                            
    {
                            
    "exec"                    "ca_custom_convar.cfg"
                            
    }

                        
    "mapgroupsMP"                        // List of mapgroups valid for this game mode ( casual )
                            
    {
                            
    "oldone;geisel;bombdefuse"     ""
                            
    }



                        }
                    }
                }
            
    "gungame"
                
    {
                
    "gameModes"
                    
    {

    // ARMS RACE
                    
    "gungameprogressive"
                        
    {
                        
    "maxplayers"            "10"

                
    // These are the configs that get executed when a game mode of this type is created
                        
    "exec"
                            
    {
                            
    "exec"                    "am_custom_convar.cfg"
                            
    }
                        
                        
    "mapgroupsMP"
                            
    {
                            
    "oldone;geisel;bombdefuse"    ""
                            
    }

                        
    "weaponprogression_ct"
                            
    {
                            
    "deagle"        "kills"    "5" }
                            
    "awp"            "kills"    "5" }
                            
    "knifegg"        "kills"    "1" }
                            }
                        
                        
    "weaponprogression_t"
                            
    {
                            
    "deagle"        "kills"    "5" }
                            
    "awp"            "kills"    "5" }
                            
    "knifegg"        "kills"    "1" }
                            }
                
                        }
    // DEMOLITION
                    
    "gungametrbomb"
                        
    {
                        
    "maxplayers"            "10"
                        
    // These are the configs that get executed when a game mode of this type is created
                        
    "exec"
                            
    {
                            
    "exec"                    "de_custom_convar.cfg"
                            
    }
                        
    "mapgroupsMP"
                            
    {
                            
    "bombdefuse"        ""
                            
    }

                        
    "weaponprogression_ct"
                            
    {
                            
    "m4a1"            "kills"    "1" }
                            
    "awp"            "kills"    "1" }
                            
    "Scar20"        "kills"    "1" }
                            }
                        
    "weaponprogression_t"
                            
    {
                            
    "ak47"            "kills"    "1" }
                            
    "awp"            "kills"    "1" }
                            
    "g3sg1"            "kills"    "1" }
                            }

                        }
                    }
                }
            }
        




        
    "mapgroups"
            
    {
            
    "geisel"
                
    {
                    
    "imagename"        "mapgroup-custom1"
                    "nameID"        "#SFUI_Mapgroup_geisel"
                    "name"            "geisel"
                    "maps"
                    
    {
                        
    "cs_italy"        ""
                        "cs_office"        ""
                        "cs_agency"        ""
                        "cs_assault"        ""
                        "cs_backalley"        ""
                        "cs_downtown"        ""
                        "cs_insertion"        ""
                        "cs_italy"        ""
                        "cs_militia"        ""
                        "cs_motel"        ""
                        "cs_office"        ""
                        "cs_rush"        ""
                        "cs_thunder"        ""
                        "cs_workout"        ""
                    
    }
                }
            
    "oldone"
                
    {
                    
    "imagename"        "mapgroup-custom2"
                    "nameID"        "#SFUI_Mapgroup_oldone"
                    "name"            "oldone"
                    "maps"
                    
    {
                        
    "cs_italy"        ""
                        "cs_office"        ""
                        "de_aztec"        ""
                        "de_dust"        ""
                        "de_nuke"        ""
                        "cs_assault"        ""
                        "de_aztec"        ""
                        "de_inferno"        ""
                        "de_train"        ""
                    
    }
                }

            
    "bombdefuse"
                
    {
                    
    "imagename"        "mapgroup-custom3"
                    "nameID"        "#SFUI_Mapgroup_bombdefuse"    
                    "name"            "bombdefuse"
                    "maps"
                    
    {
                        
    "de_aztec"        ""
                        "de_train"        ""
                        "de_dust"        ""
                        "de_dust2"        ""
                        "de_inferno"        ""
                        "de_nuke"        ""
                        "de_lake"        ""
                        "de_bank"        ""
                        "de_safehouse"        ""
                        "de_sugarcane"        ""
                        "de_stmarc"        ""
                        "de_shorttrain"        ""
                        "de_bank"        ""
                        "de_bazaar"        ""
                        "de_blackgold"        ""
                        "de_cache"        ""
                        "de_castle"        ""
                        "de_cbble"        ""
                        "de_facade"        ""
                        "de_favela"        ""
                        "de_marquis"        ""
                    
                    
    }
                }
            }
        } 

  3. #3
    Super Moderator Benutzerbild von omani
    Registriert seit
    Jan 2014
    Beiträge
    1.333

    Standard

    Hey,

    du kannst die Workshop-Maps auch über einen Account nutzen, auf dem kein CS installiert ist.

    Trägst den api key z.B. als Startparameter mit ein, und es sollte alles funktionieren.

    Was nicht geht: Workshop & Mapgroups gleichzeitig.

    Immer nur eins von beiden verwenden.

    LG,
    Omani

Forumregeln

  • Es ist dir nicht erlaubt, neue Themen zu verfassen.
  • Es ist dir nicht erlaubt, auf Beiträge zu antworten.
  • Es ist dir nicht erlaubt, Anhänge hochzuladen.
  • Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.
  •