Jump to content
News ticker
  • Bienvenue sur le nouveau forum VeryGames
  • Welcome to the new VeryGames forum
  • VeryNews

    Aide configuration serveur only demolition


    Recommended Posts

    Bonjour à tous !

     

    Je viens parmis vous car ça fais 2 jours que j'essaye de créer un serveur only demolition avec pour sélection uniquement les maps officiel pour l'instant !

     

    Mais lorsque je tape " !admin " et que je vais pour choisir une map il y a les maps ar_ cs_ et les de_ genre dust , italy et etc ...

     

    Donc je souhaiterai qu'il n'y ai d'afficher uniquement ces maps :

     

    "de_lake" ""

    "de_stmarc" ""

    "de_sugarcane" ""

    "de_bank" ""

    "de_safehouse" ""

    "de_shorttrain" ""

     

     

    J'ai modifier tout plein de fichier mais rien y fais ... je vous montre le contenu de mes fichiers de config ->

     

     

    sudo vi GameModes_Server.txt

     

     

    // To use this file, rename it to GameModes_Server.txt

    //

    // Values here override the default gamemodes.txt

     

     

    "GameModes_Server.txt"

    {

    "gameTypes"

    {

    "classic"

    {

    "gameModes"

    {

    "competitive"

    {

     

     

    "maxplayers" "8" // 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"

    {

    "exec" "my_server_override_competitive.cfg"

    }

     

     

    "mapgroupsMP" // List of mapgroups valid for this game mode ( competitive )

    {

    "mg_bomb_se" ""

    }

    }

     

     

    "casual"

    {

     

     

    "maxplayers" "25"

     

     

    "exec"

    {

    "exec" "my_server_override_casual.cfg"

    }

     

     

    "mapgroupsMP" // List of mapgroups valid for this game mode ( casual )

    {

    "mg_bomb_se" ""

    }

    }

     

     

    }

    }

    }

     

     

    //////////////////////////////////////////////////////////////////////////////////////////////

    // 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.

    2//

    // 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"

    {

    "mg_demolition"

    {

    "imagename" "mapgroup-demolition"

    "nameID" "#SFUI_Mapgroup_demolition"

    "name" "mg_demolition"

    "maps"

    {

    "de_lake" ""

    "de_stmarc" ""

    "de_sugarcane" ""

    "de_bank" ""

    "de_safehouse" ""

    "de_shorttrain" ""

    }

    }

     

     

    }

    }

     

     

     

    /var/steamcmd/games/csgo/csgo$ sudo vi mapcycle.txt

     

    de_shorttrain

    de_bank

    de_lake

    de_safehouse

    de_sugarcane

    de_stmarc

    de_train

    ~

    ~

     

     

     

     

     

    vi /etc/init.d/csgo

    SCREEN_NAME="csgo"USER="steam"

    IP="91.121.77.174"

     

     

    DIR_STEAMCMD="/var/steamcmd"

    STEAM_LOGIN="username"

    STEAM_PASSWORD="password"

    STEAM_RUNSCRIPT="$DIR_STEAMCMD/runscript_$SCREEN_NAME"

     

     

    DIR_GAME="$DIR_STEAMCMD/games/csgo"

    DIR_LOGS="$DIR_GAME/csgo/logs"

    DAEMON_GAME="srcds_run"

     

     

    UPDATE_LOG="$DIR_LOGS/update_`date +%Y%m%d`.log"

    UPDATE_EMAIL="monitoring@foo.com"

    UPDATE_RETRY=3

     

     

     

     

    PARAM_START="-game csgo -console -usercon -secure -autoupdate -steam_dir ${DIR_STEAMCMD} -steamcmd_script ${STEAM_RUNSCRIPT} -nohltv -maxplayers_override 20 +sv_pure 0 +hostport 27015 +net_public_adr 91.121.77.174 +game_type 1 +game_mode 1 +mapgroup mg_demolition +map de_lake"

    PARAM_UPDATE="+login ${STEAM_LOGIN} ${STEAM_PASSWORD} +force_install_dir ${DIR_GAME} +app_update 740 validate +quit"

    ..................................

     

     

    Voilà c'est les fichiers que j'ai essentiellement touché et je précise que je stop et start le serveur à chaque fois que je modifie un fichier mais toutes les maps sont toujours présente dans le pannel admin , je ne vois vraiment pas ce qui gène ...

     

    Merci de votre attention à mon problème :D

     

    Cordialement , momo .

    Link to comment
    Share on other sites

    bonjour pour le panel admin tu va dans games/counterstrike_go/csgo/addons/sourcemod/configs tu cherche le fichier maplist.cfg et tu modifies ici soit file soit target a toi de voir .

     

     

    EXEMPLE/

     

    /**

    * Use this file to configure map lists.

    *

    * Each section is a map list that plugins can use. For example, the Admin Menu

    * requests an "admin menu" map list, and you can control which maps appear via

    * this file.

    *

    * Each section must have a property that explains where to read the maps from.

    * There are two properties:

    *

    * target - Redirect the request to another section.

    * file - Read a file of map names, in mapcycle.txt format.

    *

    * There is one section by default, called "mapcyclefile" - it is mapped to the

    * mapcycle.txt file, or whatever the contents of your mapcyclefile cvar is.

    *

    * If a plugin requests a map list file which doesn't exist, or is empty, SourceMod

    * tries the "default" section, and then the "mapcyclefile" section.

    */

    "MapLists"

    {

    /**

    * Default requests go right to the mapcyclefile.

    */

    "default"

    {

    "file" "mapcyclefile"

    }

     

    /* Admin menu, map menu */

    "sm_map menu"

    {

    "file" "addons/sourcemod/configs/adminmenu_maplist.ini"

    }

     

    /* Admin menu, map voting menu */

    "sm_votemap menu"

    {

    "file" "addons/sourcemod/configs/adminmenu_maplist.ini"

    }

     

    /* For the "randomcycle" plugin */

    "randomcycle"

    {

    "file" "default"

    }

     

    /* For the "mapchooser" plugin */

    "mapchooser"

    {

    "file" "default"

    }

     

    /* For the "nominations" plugin */

    "nominations"

    {

    "target" "default"

    }

    }

     

     

     

    Cordialement DaRkTniGhT. j'espere de tavoir aider.

    Link to comment
    Share on other sites

    Merci de m'avoir répondu mais je ne comprends pas trop ce qu'il faut modifier ( premier serveur que je fais ! )

     

    autrement j'ai installer 3 maps sur le serveurs et il n'y en a que une qui se télécharge ( la map qui fonctionne fait 5mo et les 2 autres font dans les 40mo ) , je ne vois pas pourquoi ça ne fonctionne pas non plus ...

    Link to comment
    Share on other sites

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Reply to this topic...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

     Share

    ×
    ×
    • Create New...