[RELEASE] Dynamic Map Reservoir
-
All you have to do is to provide a format for IW5 and then set your map rotations.
-
@xerxes Yes, I was able to make it work, but I realized that the rotation on many occasions repeats the same map 2 or 3 times in a row, I don’t know if there is any problem with the rotation list I have, it happens more often when the number of players is high.
"MapPools": { "12700128135": { "LowPlayerPool": [ { "Abbreviation": "TDM_default", "Maps": [ "mp_dome", "mp_alpha" ] } ], "MediumPlayerPool": [ { "Abbreviation": "TDM_default", "Maps": [ "mp_dome", "mp_alpha", "mp_hardhat", "mp_bravo", "mp_paris" ] } ], "HighPlayerPool": [ { "Abbreviation": "TDM_default", "Maps": [ "mp_dome", "mp_alpha", "mp_hardhat", "mp_bravo", "mp_paris", "mp_plaza2", "mp_underground", "mp_terminal_cls" ] } ], "PlayerCountOverrides": null },
-
If you want you can disable the randomization,
then it will be each map of the game modes as shown in the list.
In theory it should happen much more often with your low player count maps as the code behind it is pretty simple:- choose random game type
- choose random map from game type in 1.
- check if the map rotation is below the configured limit.
- If so go back to the first step.
- If not set the map rotation on the server
-
@xerxes I will try disabling the random rotation now I have a doubt, what this option refers to:
“fastApply”: true,
“PlayerCountOverrides”: null -
CoD has a second dvar that stores your current rotation and would then load the next one from sv_maprotation once it finishes it. All fastApply does is to reset this dvar so its empty and the next map is from your new rotation.
PlayerCountOverrides is used if you want to override the player counts where the map pools are switched for example on a 64 players CoD 4 server.
-
@xerxes I would like to know if you can help me with a question I have, it happens that I want to implement random rotation for a server in iw5 but I do not want it to take into account the number of players, omit the part of “small”, “medium”, “high” . This is possible ? How should I configure the modes and maps
-
Use the PlayerCountOverrides and force it always to be on low by having something like 20 and 21 players as a requirement for medium and large.
Also 3x the same map pool for the server does the same thing. -
I subscribed to this plugin on RaidMax, set my map rotations for every pool size and this plugin is not working at all. I am trying to get this to work on IW4X. I even added the DLL to the Plugins folder and this is still not working.
-
@rockguitarist1 's issue was that he did not set-up the server ID in the plugin’s config file.
-
@Xerxes Am i supposed to leave the loopback and just change the port or put in the official ip of the server+the port?
-
Those are just examples, but yes you can modify them.
-
@Xerxes So i leave the 127001[PORT] and it should work or am i supposed to put the IP[PORT] in there? Maybe i am just monkey but for some reason the random map plugin doesnt start. I play the first map that i put into the server.cfg and it doesnt jump into the list of the plugin.
-
You have to use whatever you have setup in your iw4ma config, the plugin uses the server ID to tie the config to the actual server. The server ID is the IP without the dots followed by the port. You can also see it on the web interface for example in the scoreboard link.
-
@Xerxes THANK YOU mate. Really appreciate the help. I get it now.
-
@Xerxes I have everything configured as explained here, but it keeps loading the map rotation declared in the server.cfg configuration file (seta sv_maprotation “dsr FFA_default map mp_dome”)… can you help me?
-
@jemartinezp1994 not without log and your config.
-
Hi,
This seems to be a great plugin included with iw4admin.
However I almost tried everything and could not get it to work. I would really appreciate if there is proper documentation on how to set it up.
Is there a discord support channel I can seek help in? A forum kind of is slow to get response.Thanks in advance!
-
The plugin will create a example config if you start it without any configuration.
All which is needed for basic functionality is to change the serverid to one that exists.
After that pretty much everything is printed to the log file. However without providing the game you are talking about I can’t really tell you much else.
I’m not really faster to reply on discord either. -
I have hosted IW4x server on 92.220.11.60 on port 28964. This server is passworded so that only people who know the password can join the server.
As per the discussion above, this means the server id is 92220116028964. This is my DynamicMapReservoir.json file looks like :{
“PlayerCount”: {
“Medium”: 2,
“High”: 4
},
“RandomizeRotation”: false,
“fastApply”: true,
“MapPools”: {
“92220116028964”: {
“LowPlayerPool”: [
{
“Abbreviation”: “dm”,
“Maps”: [
“mp_shipment_long”,
“mp_rust”,
“mp_nuked”,
“mp_shipment”,
“mp_rust_long”
]
},
{
“Abbreviation”: “war”,
“Maps”: [
“mp_shipment_long”,
“mp_rust”,
“mp_nuked”,
“mp_shipment”,
“mp_rust_long”
]
}
],
“MediumPlayerPool”: [
{
“Abbreviation”: “sab”,
“Maps”: [
“mp_terminal”,
“mp_nightshift”,
“mp_favela”,
“mp_afghan”,
“mp_subbase”
]
},
{
“Abbreviation”: “dd”,
“Maps”: [
“mp_terminal”,
“mp_nightshift”,
“mp_favela”,
“mp_afghan”,
“mp_subbase”
]
}
],
“HighPlayerPool”: [
{
“Abbreviation”: “war”,
“Maps”: [
“mp_shipment_long”,
“mp_rust”,
“mp_nuked”,
“mp_shipment”,
“mp_rust_long”
]
},
{
“Abbreviation”: “dom”,
“Maps”: [
“mp_shipment_long”,
“mp_rust”,
“mp_nuked”,
“mp_shipment”,
“mp_rust_long”
]
}
],
“PlayerCountOverrides”: null
}
},
“maxDvarLength”: 950,
“Format”: {
“IW4”: "gametype {{GameType}} map {{map}} ",
“T5”: "gametype {{GameType}} map {{map}} ",
“T6”: "exec {{GameType}}.cfg map {{map}} "
}
} -
However the map rotation does not work, I am perplexed where am I getting things wrong?
The server.cfg has no map rotation in place, I did not add since I thought the dynamic json file will take care of the map rotation.
Currently what happens is the game only starts tdm in crash, and I am not sure what is going on here.Could you please assist me? Do we have to add map rotation in server.cfg for the map rotation in dynamic json to work?
I also tried turning off random rotation, still nothing works.