This is not really good because this will load the server.cfg twice.

I think CS:GO executes the configs in this order:

1. Start of srcds_linux > all commands with - at the beginning
2. valve.rc
2.1 exec autoexec.cfg in valve.rc
2.2 stuffcmds (all parameters with +)
3. Map loading
3. gamemodes.txt
4. gamemodes_server.txt which overrides the key-value-pairs of the gamemodes.txt
5. executing the gamemode_GAMEMODENAME.cfg (default)
6. executing the gamemode_GAMEMODENAME_server.cfg (default, for
setting cvars different as in the file before; like override of the
gamemodes_server.txt)
7. server.cfg
8. cfg/mapname.cfg (mapconfig) or maps/cfg/mapname.txt (I think the
first one, they have changed it for dods and tf)
9. Mapchange -> goto step 3

Maybe maploading is after executing gamemods*, but it doesn't matter
in which order they will executed. Only if you are using cmds or cvars
which are affected only after a mapchange (e.g. sv_pure). The
importend thing ist, that the server.cfg is the second last file which
will be executed on a vanlilla server.

2013/1/17 Lars Rusteberg <[email protected]>:
> Hi,
>
> i configure it like that:
>
> In the gamemodes_server.cfg I replace the exec cfg with my server.cfg so I 
> have to set up everything only in my server.cfg
>
> Von meinem iPhone gesendet
>
> Am 17.01.2013 um 20:01 schrieb "Steffen Walliser" 
> <[email protected]>:
>
>> Hi,
>> I've got a little question about gamemodes_server.txt. Well I know how
>> it works, but somehow I'm a little stuck and confused. Because I'm not
>> quite sure when my server loads the settings from gamemodes_server.txt
>> an if they get overwritten.
>>
>> I heard that the server first loads gamemodes.txt, then
>> gamemodes_server.txt and then gamemode_*.cfg (i.e. the competitive one).
>> Is this correct? If yes, then it doesn't make sense at all to set any
>> settings in gamemodes_server.txt because they get overwritten by the
>> standard ones anyway!? So what is this file good for then?
>>
>> And what happens when I use "exec" to load a self created config. Will
>> it also be overwritten? Where do I have to enter the settings I want to
>> use on my server? I'm sorry but currently I just don't get it.
>>
>> And yes I tried a bit by myself, but I never got the settings I wanted.
>>
>> Greetings and thanks in advance!
>>
>> _______________________________________________
>> Csgo_servers mailing list
>> [email protected]
>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers
>
> _______________________________________________
> Csgo_servers mailing list
> [email protected]
> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers

_______________________________________________
Csgo_servers mailing list
[email protected]
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers

Reply via email to