AWOG
    • Categories
    • Recent
    • Users
    • Discord
    • TeamSpeak
    • Steam Group
    • Register
    • Login

    [RELEASE] Dynamic Map Reservoir

    IW4m Administrator
    release
    6
    24
    4.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • XerxesX
      Xerxes @Kalitos
      last edited by

      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

      ~Head admin

      K 1 Reply Last reply Reply Quote 0
      • K
        Kalitos @Xerxes
        last edited by Kalitos

        @xerxes I will try disabling the random rotation now I have a doubt, what this option refers to:
        “fastApply”: true,
        “PlayerCountOverrides”: null

        XerxesX 1 Reply Last reply Reply Quote 0
        • XerxesX
          Xerxes @Kalitos
          last edited by

          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.

          ~Head admin

          K 1 Reply Last reply Reply Quote 0
          • K
            Kalitos @Xerxes
            last edited by

            @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

            XerxesX 1 Reply Last reply Reply Quote 0
            • XerxesX
              Xerxes @Kalitos
              last edited by

              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.

              ~Head admin

              1 Reply Last reply Reply Quote 0
              • R
                RockGuitarist1
                last edited by RockGuitarist1

                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.

                XerxesX 1 Reply Last reply Reply Quote 0
                • XerxesX
                  Xerxes @RockGuitarist1
                  last edited by

                  @rockguitarist1 's issue was that he did not set-up the server ID in the plugin’s config file.

                  ~Head admin

                  T 1 Reply Last reply Reply Quote 0
                  • T
                    ToMaToZz @Xerxes
                    last edited by

                    @Xerxes Am i supposed to leave the loopback and just change the port or put in the official ip of the server+the port?

                    1 Reply Last reply Reply Quote 0
                    • XerxesX
                      Xerxes
                      last edited by

                      Those are just examples, but yes you can modify them.

                      ~Head admin

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        ToMaToZz @Xerxes
                        last edited by

                        @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.

                        XerxesX 1 Reply Last reply Reply Quote 0
                        • XerxesX
                          Xerxes @ToMaToZz
                          last edited by

                          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.

                          ~Head admin

                          T 1 Reply Last reply Reply Quote 0
                          • T
                            ToMaToZz @Xerxes
                            last edited by

                            @Xerxes THANK YOU mate. Really appreciate the help. I get it now.

                            1 Reply Last reply Reply Quote 0
                            • J
                              jemartinezp1994 @Xerxes
                              last edited by jemartinezp1994

                              @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?

                              XerxesX 1 Reply Last reply Reply Quote 0
                              • XerxesX
                                Xerxes @jemartinezp1994
                                last edited by

                                @jemartinezp1994 not without log and your config.

                                ~Head admin

                                1 Reply Last reply Reply Quote 0
                                • P
                                  princensu
                                  last edited by

                                  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!

                                  1 Reply Last reply Reply Quote 0
                                  • XerxesX
                                    Xerxes
                                    last edited by

                                    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.

                                    ~Head admin

                                    P 2 Replies Last reply Reply Quote 0
                                    • P
                                      princensu @Xerxes
                                      last edited by

                                      @Xerxes

                                      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}} "
                                      }
                                      }

                                      1 Reply Last reply Reply Quote 0
                                      • P
                                        princensu @Xerxes
                                        last edited by

                                        @Xerxes

                                        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.

                                        1 Reply Last reply Reply Quote 0
                                        • XerxesX
                                          Xerxes
                                          last edited by

                                          For IW4x you need to compile your own version which either uses the old map rotation system or doesn’t clean up sv_maprotationcurrent after one map.

                                          ~Head admin

                                          P 1 Reply Last reply Reply Quote 0
                                          • P
                                            princensu @Xerxes
                                            last edited by

                                            @Xerxes

                                            What exactly do you mean by compiling own version of map rotation ?
                                            Do I need to setup a map rotation in server.cfg using set sv_maprotation “map mp_crash…” etc?

                                            Could you be a bit more specific please.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post