Hi,

I understand your point (and thanks for taking the time to respond!), but what 
you are describing is a flaw in the system - editing gamemodes.txt is a 
workaround rather than a solution. We don't expose that file to our customers 
at the moment. (I wrangle servers for GameArena Game Server Rentals as well as 
maintaining default configurations for GameCreate.)

For all of the single value keys, "merging" is in effect "overwriting" - in my 
original request for help you can see the gamemodes_server.txt file sets the 
bot_quota cvar. The "merge" of the two files overwrites the existing bot_quota 
value. Other things in the 
{"gameTypes"{"gungame"{"gameModes"{"gungametrbomb"{"convars" are left unchanged.

The issue is that the items in 
{"gameTypes"{"gungame"{"gameModes"{"gungametrbomb"{"weaponprogression_ct" 
shouldn't be read as individual key/value pairs to merge - if anything at all 
is defined in 
{"gameTypes"{"gungame"{"gameModes"{"gungametrbomb"{"weaponprogression_ct" in 
gamemodes_server.txt it should replace the entire section in gamemodes.txt. The 
same should be true for any 'lists' of this type - we don't want to add to the 
list, we want to replace it with our own.

Again, I'd appreciate acknowledgement from Valve that this is a know issue and 
will be resolved. Anything else undermines the "// DO NOT MODIFY THIS FILE" 
principle in gamemodes.txt.

Regards,
Brendan.





----- Original Message -----
From: "DoGz Gaming" <[email protected]>
To: "csgo servers" <[email protected]>
Sent: Friday, 31 August, 2012 1:35:54 AM GMT +10:00 Brisbane
Subject: Re: [Csgo_servers] Help request: Demolition mode weapon order will not 
change

You cannot remove values from gamemodes.txt with gamemodes_server.txt. 
These files are simply merged on start-up. All levels defined in the 
weaponprogression blocks in gamemodes.txt will be merged with the 
weapons you add in your gamemodes_server.txt. If a weapon exists already 
in gamemodes.txt, its order can be changed, however excluding it in 
gamemodes_server.txt will not remove it from the weaponpregression 
block.

It is best to define you weapon levels in gamemodes.txt, as 
gamemodes_server.txt was never indented to be used to delete/remove 
values from a particular block.

TigerOx

On 2012-08-30 09:54, Sunkist wrote:
> Hello DoGz,
>
> At 30.08.2012, DoGz Gaming wrote
>> gamemodes_server.txt was always described as an override file. It
>> will only override existing or add new values to gamemodes.txt.
>
> for demolition I have set a weapon order in gamemmodes_server.txt and 
> a
> different weapon order in gamemodes.txt. I would expect, that in this
> case, the weapon order definied in gamemmodes_server.txt overrides 
> the
> weapon order in gamemodes.txt and the one from gamemmodes_server.txt 
> is
> used. For arms race that works pretty fine. In demolition mode it 
> does
> not. You have to change the weapon order in gamemodes.txt to get it 
> to
> work.
>
>> All adding weapons in gamemodes_server.txt does is merge your weapon
>> list with the one in gamemodes.txt.
>
> So what does "merge" mean, when you have a weapon order
> "weaponprogression_ct" list in gamemmodes_server.txt and one with
> different weapons in gamemodes.txt?
>
> As I wrote, I would expect, the order from gamemmodes_server.txt is
> used, as it is used, when starting the server in arms race mode but 
> it's
> not used in demolition mode.
>
> Regards, Sunkist
>
> _______________________________________________
> 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