GithubHelp home page GithubHelp logo

Map always de_dust2 about csgo HOT 4 CLOSED

cm2walki avatar cm2walki commented on September 7, 2024
Map always de_dust2

from csgo.

Comments (4)

CM2Walki avatar CM2Walki commented on September 7, 2024 1

Hey,

Have you tried setting the environment variable SRCDS_MAPGROUP=mg_normal since the default value is mg_active it could be that it takes the one passed from the commandline.

from csgo.

madhub0815 avatar madhub0815 commented on September 7, 2024

Hey,

thank you for your fast reply.

I tried that already.

The console output was "Invalid MapGroup" and the result was the same - Forcing de_dust2 as nextmap.

I just found a something in gamemodes.txt wich normally should not be edited in line 51.

"mapgroupsSP"
"random_classic" "0"

				// Dust II 24/7
				**//**"mg_de_dust2"		"1""
                                    ...

I also replaced "mg_de_dust2" with "mg_normal" in multiplayer

"mapgroupsMP"
{
//Other Maps Groups
"mg_casualsigma" "0"
"mg_casualdelta" "1"
"mg_normal" "2"
"mg_hostage" "3"

I don't know why that have any effect because it is for singleplayer but as you see i commented it out and afterwards it was working as it should. I also define the mapgroups in the specific gamemode_casual_server.txt wich should be the correct file where that have to be set...

Nevermind thanks for your help it is working now. :-)

from csgo.

CM2Walki avatar CM2Walki commented on September 7, 2024

Alright, thanks for the follow-up!

from csgo.

gymnae avatar gymnae commented on September 7, 2024

EDIT: Found the culprit, it was the next map plugin of sourcemod, which takes over all other means to vote or select maps.


I am facing the same issue, but for multiplayer.
I start with the following environment variables:

    -e SRCDS_GAMETYPE=1
    -e SRCDS_GAMEMODE=0
    -e SRCDS_MAPGROUP="mg_armsrace"
    -e SRCDS_STARTMAP="ar_shoots"

But after a round it switches to de_dust2, no matter the vote. de_dust is not part of that map group, the map group gets loaded correctly.

from csgo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.