• Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/
  • Weve updated the Tripwire Privacy Notice under our Policies to be clearer about our use of customer information to come in line with the EU General Data Protection Regulation (GDPR) rules that come into force today (25th May 2018). The following are highlights of our changes:


    We've incorporated the relevant concepts from the GDPR including joining the EU and Swiss Privacy Shield framework. We've added explanations for why and how Tripwire processes customer data and the types of data that we process, as well as information about your data protection rights.



    For more information about our privacy practices, please review the new Privacy Policy found here: https://tripwireinteractive.com/#/privacy-notice

Final release of white-listed DynamicMapRotator mutator

Status
Not open for further replies.

Cat_in_da_Hat

FNG / Fresh Meat
Dec 11, 2006
1,749
115
0
I seem to be stuck on small player numbers once the rotation has passed RedOctoberFactory which has the setting so it plays small maps.

My map cycle starts with Apartments which will run full size, then RedOctFactory which will run small size if there are less than 14 players and then it goes to Station which i would expect to be full size.

Once past RedOctFactory all the maps are run in small size even though the mutator is not asking for small size.

Also, my server capacity is 52 players and if i go over that number, it shutsdown or does something terrible (I think a unicorn gets slaughtered). Should I have changed MaxPlayercount to 52 ? Secondly in the RedOctFactory string should I change MaxPlayers to 52 or will that impact on what size version of the map I get.

This is my .ini file and I have attached what my map cycle looks like.

[DynamicMapRotator.DynamicMapRotator]
bRandomOrder=false
bAlsoCountBots=false
AdditionalUrlVariables=?mutator=Antilag.Antilag,TankTweak.TankTweak
LastMapIndex=5
MapFilters=(MinPlayerCount=0,MaxPlayerCount=52,MapURL="TE-Apartments")
MapFilters=(MinPlayerCount=0,MaxPlayerCount=52,MapURL="TE-Barracks")
MapFilters=(MinPlayerCount=18,MaxPlayerCount=52,MapURL="TE-CommissarsHouse")
MapFilters=(MinPlayerCount=32,MaxPlayerCount=52,MapURL="TE-FallenFighters")
MapFilters=(MinPlayerCount=0,MaxPlayerCount=52,MapURL="TE-GrainElevator")
MapFilters=(MinPlayerCount=0,MaxPlayerCount=52,MapURL="TE-Gumrak")
MapFilters=(MinPlayerCount=18,MaxPlayerCount=52,MapURL="TE-PavlovsHouse")
MapFilters=(MinPlayerCount=12,MaxPlayerCount=52,MapURL="TE-Spartanovka")
MapFilters=(MinPlayerCount=0,MaxPlayerCount=52,MapURL="TE-Station")
MapFilters=(MinPlayerCount=0,MaxPlayerCount=14,MapURL="TE-RedOctoberFactory?MaxPlayers=16")
MapFilters=(MinPlayerCount=18,MaxPlayerCount=30,MapURL="TE-RedOctoberFactory?MaxPlayers=32")
MapFilters=(MinPlayerCount=31,MaxPlayerCount=52,MapURL="TE-RedOctoberFactory?MaxPlayers=64")

[IniVersion]
0=1328884072.000000
 

Attachments

Ducky

Super Moderator
May 22, 2011
6,358
237
0
Netherlands
I seem to be stuck on small player numbers once the rotation has passed RedOctoberFactory which has the setting so it plays small maps.

My map cycle starts with Apartments which will run full size, then RedOctFactory which will run small size if there are less than 14 players and then it goes to Station which i would expect to be full size.

Once past RedOctFactory all the maps are run in small size even though the mutator is not asking for small size.

Also, my server capacity is 52 players and if i go over that number, it shutsdown or does something terrible (I think a unicorn gets slaughtered). Should I have changed MaxPlayercount to 52 ? Secondly in the RedOctFactory string should I change MaxPlayers to 52 or will that impact on what size version of the map I get.

This is my .ini file and I have attached what my map cycle looks like.

[DynamicMapRotator.DynamicMapRotator]
bRandomOrder=false
bAlsoCountBots=false
AdditionalUrlVariables=?mutator=Antilag.Antilag,TankTweak.TankTweak
LastMapIndex=5
MapFilters=(MinPlayerCount=0,MaxPlayerCount=52,MapURL="TE-Apartments")
MapFilters=(MinPlayerCount=0,MaxPlayerCount=52,MapURL="TE-Barracks")
MapFilters=(MinPlayerCount=18,MaxPlayerCount=52,MapURL="TE-CommissarsHouse")
MapFilters=(MinPlayerCount=32,MaxPlayerCount=52,MapURL="TE-FallenFighters")
MapFilters=(MinPlayerCount=0,MaxPlayerCount=52,MapURL="TE-GrainElevator")
MapFilters=(MinPlayerCount=0,MaxPlayerCount=52,MapURL="TE-Gumrak")
MapFilters=(MinPlayerCount=18,MaxPlayerCount=52,MapURL="TE-PavlovsHouse")
MapFilters=(MinPlayerCount=12,MaxPlayerCount=52,MapURL="TE-Spartanovka")
MapFilters=(MinPlayerCount=0,MaxPlayerCount=52,MapURL="TE-Station")
MapFilters=(MinPlayerCount=0,MaxPlayerCount=14,MapURL="TE-RedOctoberFactory?MaxPlayers=16")
MapFilters=(MinPlayerCount=18,MaxPlayerCount=30,MapURL="TE-RedOctoberFactory?MaxPlayers=32")
MapFilters=(MinPlayerCount=31,MaxPlayerCount=52,MapURL="TE-RedOctoberFactory?MaxPlayers=64")

[IniVersion]
0=1328884072.000000
If you are changing MaxPlayers to get smaller maps, then you also will need to add ?MaxPlayers=64 to all maps that you want to run in full size, or else the server will remember the last used MaxPlayers and keep all maps as small.
 

Cat_in_da_Hat

FNG / Fresh Meat
Dec 11, 2006
1,749
115
0
Ok this is what I will be using now. I will let you know how it goes in a few days.

Was playing yesterday with a stripped down version of the below and still had plenty of occasions when it would repeat a map in the cycle or just decide to go back to the start of the map cycle.

[DynamicMapRotator.DynamicMapRotator]
bRandomOrder=false
bAlsoCountBots=false
AdditionalUrlVariables=?mutator=Antilag.Antilag,TankTweak.TankTweak
LastMapIndex=5
MapFilters=(MinPlayerCount=0,MaxPlayerCount=52,MapURL="TE-Apartments?MaxPlayers=52")
MapFilters=(MinPlayerCount=0,MaxPlayerCount=52,MapURL="TE-Barracks?MaxPlayers=52")
MapFilters=(MinPlayerCount=0,MaxPlayerCount=52,MapURL="TE-GrainElevator?MaxPlayers=52")
MapFilters=(MinPlayerCount=0,MaxPlayerCount=52,MapURL="TE-Station?MaxPlayers=52")
MapFilters=(MinPlayerCount=0,MaxPlayerCount=14,Map URL="TE-CommissarsHouse?MaxPlayers=16")
MapFilters=(MinPlayerCount=18,MaxPlayerCount=30,Ma pURL="TE-CommissarsHouse?MaxPlayers=32")
MapFilters=(MinPlayerCount=31,MaxPlayerCount=52,Ma pURL="TE-CommissarsHouse?MaxPlayers=52")
MapFilters=(MinPlayerCount=0,MaxPlayerCount=14,Map URL="TE-FallenFighters?MaxPlayers=16")
MapFilters=(MinPlayerCount=18,MaxPlayerCount=30,Ma pURL="TE-FallenFighters?MaxPlayers=32")
MapFilters=(MinPlayerCount=31,MaxPlayerCount=52,Ma pURL="TE-FallenFighters?MaxPlayers=52")
MapFilters=(MinPlayerCount=0,MaxPlayerCount=52,MapURL="TE-Gumrak")
MapFilters=(MinPlayerCount=0,MaxPlayerCount=14,Map URL="TE-PavlovsHouse?MaxPlayers=16")
MapFilters=(MinPlayerCount=18,MaxPlayerCount=30,Ma pURL="TE-PavlovsHouse?MaxPlayers=32")
MapFilters=(MinPlayerCount=31,MaxPlayerCount=52,Ma pURL="TE-PavlovsHouse?MaxPlayers=52")
MapFilters=(MinPlayerCount=0,MaxPlayerCount=14,Map URL="TE-Spartanovka?MaxPlayers=16")
MapFilters=(MinPlayerCount=18,MaxPlayerCount=30,Ma pURL="TE-Spartanovka?MaxPlayers=32")
MapFilters=(MinPlayerCount=31,MaxPlayerCount=52,Ma pURL="TE-Spartanovka?MaxPlayers=52")
MapFilters=(MinPlayerCount=0,MaxPlayerCount=14,Map URL="TE-RedOctoberFactory?MaxPlayers=16")
MapFilters=(MinPlayerCount=18,MaxPlayerCount=30,Ma pURL="TE-RedOctoberFactory?MaxPlayers=32")
MapFilters=(MinPlayerCount=31,MaxPlayerCount=52,Ma pURL="TE-RedOctoberFactory?MaxPlayers=52")

[IniVersion]
0=1328884072.000000
 

Ducky

Super Moderator
May 22, 2011
6,358
237
0
Netherlands
Ok this is what I will be using now. I will let you know how it goes in a few days.

Was playing yesterday with a stripped down version of the below and still had plenty of occasions when it would repeat a map in the cycle or just decide to go back to the start of the map cycle.

[DynamicMapRotator.DynamicMapRotator]
bRandomOrder=false
bAlsoCountBots=false
AdditionalUrlVariables=?mutator=Antilag.Antilag,TankTweak.TankTweak
LastMapIndex=5
MapFilters=(MinPlayerCount=0,MaxPlayerCount=52,MapURL="TE-Apartments?MaxPlayers=52")
MapFilters=(MinPlayerCount=0,MaxPlayerCount=52,MapURL="TE-Barracks?MaxPlayers=52")
MapFilters=(MinPlayerCount=0,MaxPlayerCount=52,MapURL="TE-GrainElevator?MaxPlayers=52")
MapFilters=(MinPlayerCount=0,MaxPlayerCount=52,MapURL="TE-Station?MaxPlayers=52")
MapFilters=(MinPlayerCount=0,MaxPlayerCount=14,Map URL="TE-CommissarsHouse?MaxPlayers=16")
MapFilters=(MinPlayerCount=18,MaxPlayerCount=30,Ma pURL="TE-CommissarsHouse?MaxPlayers=32")
MapFilters=(MinPlayerCount=31,MaxPlayerCount=52,Ma pURL="TE-CommissarsHouse?MaxPlayers=52")
MapFilters=(MinPlayerCount=0,MaxPlayerCount=14,Map URL="TE-FallenFighters?MaxPlayers=16")
MapFilters=(MinPlayerCount=18,MaxPlayerCount=30,Ma pURL="TE-FallenFighters?MaxPlayers=32")
MapFilters=(MinPlayerCount=31,MaxPlayerCount=52,Ma pURL="TE-FallenFighters?MaxPlayers=52")
MapFilters=(MinPlayerCount=0,MaxPlayerCount=52,MapURL="TE-Gumrak")
MapFilters=(MinPlayerCount=0,MaxPlayerCount=14,Map URL="TE-PavlovsHouse?MaxPlayers=16")
MapFilters=(MinPlayerCount=18,MaxPlayerCount=30,Ma pURL="TE-PavlovsHouse?MaxPlayers=32")
MapFilters=(MinPlayerCount=31,MaxPlayerCount=52,Ma pURL="TE-PavlovsHouse?MaxPlayers=52")
MapFilters=(MinPlayerCount=0,MaxPlayerCount=14,Map URL="TE-Spartanovka?MaxPlayers=16")
MapFilters=(MinPlayerCount=18,MaxPlayerCount=30,Ma pURL="TE-Spartanovka?MaxPlayers=32")
MapFilters=(MinPlayerCount=31,MaxPlayerCount=52,Ma pURL="TE-Spartanovka?MaxPlayers=52")
MapFilters=(MinPlayerCount=0,MaxPlayerCount=14,Map URL="TE-RedOctoberFactory?MaxPlayers=16")
MapFilters=(MinPlayerCount=18,MaxPlayerCount=30,Ma pURL="TE-RedOctoberFactory?MaxPlayers=32")
M
apFilters=(MinPlayerCount=31,MaxPlayerCount=52,Ma pURL="TE-RedOctoberFactory?MaxPlayers=52")

[IniVersion]
0=1328884072.000000
This will probably be because of the above gaps. If 0-14 players, then the small version. Medium version for 18 to 30. This means there is a gap from 15 to 17. If there are 15, 16 or 17 players, then the rotator won't know what to select and it will let the default RO2 map rotation make the choice. The RO2 vanilla map rotator has no clue of what the mutator does, meaning it will be unsure what the next one will be.
 
Last edited:

Cat_in_da_Hat

FNG / Fresh Meat
Dec 11, 2006
1,749
115
0
Not only did it not like it, its culled the lines it didn't like.

Just opened the RODynamicMapRotator.ini to make those changes and this is what I got.

[DynamicMapRotator.DynamicMapRotator]
bRandomOrder=false
bAlsoCountBots=false
AdditionalUrlVariables=?mutator=Antilag.Antilag,TankTweak.TankTweak
LastMapIndex=3
MapFilters=(MinPlayerCount=0,MaxPlayerCount=52,MapURL="TE-Apartments?MaxPlayers=52")
MapFilters=(MinPlayerCount=0,MaxPlayerCount=52,MapURL="TE-Barracks?MaxPlayers=52")
MapFilters=(MinPlayerCount=0,MaxPlayerCount=52,MapURL="TE-GrainElevator?MaxPlayers=52")
MapFilters=(MinPlayerCount=0,MaxPlayerCount=52,MapURL="TE-Station?MaxPlayers=52")
MapFilters=(MinPlayerCount=0,MaxPlayerCount=14,MapURL=)
MapFilters=(MinPlayerCount=18,MaxPlayerCount=30,MapURL=)
MapFilters=(MinPlayerCount=31,MaxPlayerCount=52,MapURL=)
MapFilters=(MinPlayerCount=0,MaxPlayerCount=14,MapURL=)
MapFilters=(MinPlayerCount=18,MaxPlayerCount=30,MapURL=)
MapFilters=(MinPlayerCount=31,MaxPlayerCount=52,MapURL=)
MapFilters=(MinPlayerCount=0,MaxPlayerCount=52,MapURL="TE-Gumrak")
MapFilters=(MinPlayerCount=0,MaxPlayerCount=14,MapURL=)
MapFilters=(MinPlayerCount=18,MaxPlayerCount=30,MapURL=)
MapFilters=(MinPlayerCount=31,MaxPlayerCount=52,MapURL=)
MapFilters=(MinPlayerCount=0,MaxPlayerCount=14,MapURL=)
MapFilters=(MinPlayerCount=18,MaxPlayerCount=30,MapURL=)
MapFilters=(MinPlayerCount=31,MaxPlayerCount=52,MapURL=)
MapFilters=(MinPlayerCount=0,MaxPlayerCount=14,MapURL=)
MapFilters=(MinPlayerCount=18,MaxPlayerCount=30,MapURL=)
MapFilters=(MinPlayerCount=31,MaxPlayerCount=52,MapURL=)

[IniVersion]
0=1328884072.000000
 

Cat_in_da_Hat

FNG / Fresh Meat
Dec 11, 2006
1,749
115
0
I thought I fixed it up making sure the MinPlayerCount was consecutive from the MaxPlayerCount from the previous line.

It stripped out all the MapURL info again. This time all of the map urls.

Though it continues to load the mutators but it wont select the maps.


[DynamicMapRotator.DynamicMapRotator]
bRandomOrder=false
bAlsoCountBots=false
AdditionalUrlVariables=?mutator=Antilag.Antilag,TankTweak.TankTweak
LastMapIndex=1
MapFilters=(MinPlayerCount=0,MaxPlayerCount=52,MapURL=)
MapFilters=(MinPlayerCount=0,MaxPlayerCount=52,MapURL=)
MapFilters=(MinPlayerCount=0,MaxPlayerCount=52,MapURL=)
MapFilters=(MinPlayerCount=0,MaxPlayerCount=52,MapURL=)
MapFilters=(MinPlayerCount=0,MaxPlayerCount=14,MapURL=)
MapFilters=(MinPlayerCount=15,MaxPlayerCount=30,MapURL=)
MapFilters=(MinPlayerCount=31,MaxPlayerCount=52,MapURL=)
MapFilters=(MinPlayerCount=0,MaxPlayerCount=14,MapURL=)
MapFilters=(MinPlayerCount=15,MaxPlayerCount=30,MapURL=)
MapFilters=(MinPlayerCount=31,MaxPlayerCount=52,MapURL=)
MapFilters=(MinPlayerCount=0,MaxPlayerCount=52,MapURL=)
MapFilters=(MinPlayerCount=0,MaxPlayerCount=14,MapURL=)
MapFilters=(MinPlayerCount=15,MaxPlayerCount=30,MapURL=)
MapFilters=(MinPlayerCount=31,MaxPlayerCount=52,MapURL=)
MapFilters=(MinPlayerCount=0,MaxPlayerCount=14,MapURL=)
MapFilters=(MinPlayerCount=15,MaxPlayerCount=30,MapURL=)
MapFilters=(MinPlayerCount=31,MaxPlayerCount=52,MapURL=)
MapFilters=(MinPlayerCount=0,MaxPlayerCount=14,MapURL=)
MapFilters=(MinPlayerCount=15,MaxPlayerCount=30,MapURL=)
MapFilters=(MinPlayerCount=31,MaxPlayerCount=52,MapURL=)

[IniVersion]
0=1328884072.000000
 

Major_Day

FNG / Fresh Meat
Feb 16, 2007
2,651
329
0
Glasgow, Scotland
Ive never tried this mutator,empty servers don't need it,but i always thought map url's should be written like this:

MapURL=("TE-Apartments?MaxPlayers=52"))
 

Ducky

Super Moderator
May 22, 2011
6,358
237
0
Netherlands
Ive never tried this mutator,empty servers don't need it,but i always thought map url's should be written like this:

MapURL=("TE-Apartments?MaxPlayers=52"))
("xxxx") syntax is used for dynamic string array properties. "xxxx" is used for string properties. The MapURL property in the mutator is a flat string property and therefore it should be MapURL="xxx"
 

Ducky

Super Moderator
May 22, 2011
6,358
237
0
Netherlands
I thought I fixed it up making sure the MinPlayerCount was consecutive from the MaxPlayerCount from the previous line.

It stripped out all the MapURL info again. This time all of the map urls.

Though it continues to load the mutators but it wont select the maps.


[DynamicMapRotator.DynamicMapRotator]
bRandomOrder=false
bAlsoCountBots=false
AdditionalUrlVariables=?mutator=Antilag.Antilag,TankTweak.TankTweak
LastMapIndex=1
MapFilters=(MinPlayerCount=0,MaxPlayerCount=52,MapURL=)
MapFilters=(MinPlayerCount=0,MaxPlayerCount=52,MapURL=)
MapFilters=(MinPlayerCount=0,MaxPlayerCount=52,MapURL=)
MapFilters=(MinPlayerCount=0,MaxPlayerCount=52,MapURL=)
MapFilters=(MinPlayerCount=0,MaxPlayerCount=14,MapURL=)
MapFilters=(MinPlayerCount=15,MaxPlayerCount=30,MapURL=)
MapFilters=(MinPlayerCount=31,MaxPlayerCount=52,MapURL=)
MapFilters=(MinPlayerCount=0,MaxPlayerCount=14,MapURL=)
MapFilters=(MinPlayerCount=15,MaxPlayerCount=30,MapURL=)
MapFilters=(MinPlayerCount=31,MaxPlayerCount=52,MapURL=)
MapFilters=(MinPlayerCount=0,MaxPlayerCount=52,MapURL=)
MapFilters=(MinPlayerCount=0,MaxPlayerCount=14,MapURL=)
MapFilters=(MinPlayerCount=15,MaxPlayerCount=30,MapURL=)
MapFilters=(MinPlayerCount=31,MaxPlayerCount=52,MapURL=)
MapFilters=(MinPlayerCount=0,MaxPlayerCount=14,MapURL=)
MapFilters=(MinPlayerCount=15,MaxPlayerCount=30,MapURL=)
MapFilters=(MinPlayerCount=31,MaxPlayerCount=52,MapURL=)
MapFilters=(MinPlayerCount=0,MaxPlayerCount=14,MapURL=)
MapFilters=(MinPlayerCount=15,MaxPlayerCount=30,MapURL=)
MapFilters=(MinPlayerCount=31,MaxPlayerCount=52,MapURL=)

[IniVersion]
0=1328884072.000000
This will happen when there was some mistake in the MapURL string. And I don't mean that it wasn't a valid map url, but the string syntax. The ini files are read and if a string contains an invalid character or if it was somehow broken (missing " at the end or having a " too many), then the UT engine will discard that string. Also will it use an empty string if the MapURL was misspelled or if there were spaces around the '='.
Apparently those MapURL strings were for some reason discarded by UT and removed from the ini file. The cause can only be traced if we had the original input.

Edit:
Did you maybe copy the content of the ini file out of these posts? There are spaces in the MapURL name and that will for sure give you the above result.
 
Last edited:

Major_Day

FNG / Fresh Meat
Feb 16, 2007
2,651
329
0
Glasgow, Scotland
("xxxx") syntax is used for dynamic string array properties. "xxxx" is used for string properties. The MapURL property in the mutator is a flat string property and therefore it should be MapURL="xxx"
I wish i could say i knew what you were talking about, but i obviously dont.. ..lol
But i get the gist of what you mean anyway.
 

Cat_in_da_Hat

FNG / Fresh Meat
Dec 11, 2006
1,749
115
0
The problem with the ?MaxPlayers=16 is that while that map is running only 16 people can join the server even though its 52 slot server.

Is this correct ? or will it take more people than 16 when the ?MaxPlayers=16 is set.
 

Ducky

Super Moderator
May 22, 2011
6,358
237
0
Netherlands
The problem with the ?MaxPlayers=16 is that while that map is running only 16 people can join the server even though its 52 slot server.

Is this correct ? or will it take more people than 16 when the ?MaxPlayers=16 is set.
That is correct. If MaxPlayers is 16, then only 16 can enter your server. This can be changed though, but it will mean a new release of this mutator and a new white-list procedure. Even so will the current version be removed from the white-list.
 

Cat_in_da_Hat

FNG / Fresh Meat
Dec 11, 2006
1,749
115
0
I wouldn't worry about it mate. Maybe include it if you ever decide to do a major revision of the mutator. It is certainly not worth going through the whole whitelisting thing again just for that small change.
 

-=THOR=-

FNG / Fresh Meat
Sep 20, 2011
1,050
50
0
What you can try is swapping Comm.House and Red Oct. Fact. in your Map Cycle (web-admin tool) and then see if the problem will still happen at loading time of Red Oct. or at the end of Com. House.
I got the problem a few more times, so I swapped the maps, and the problem doesn't show up now.
 
Status
Not open for further replies.