Kexanone / COE2_AR

Co-operative infantry gameplay with dynamic objectives for Arma Reforger. Next generation of Combat Ops Enhanced with inspiration from mbrdmn's Dynamic Recon Ops from Arma 3.
https://reforger.armaplatform.com/workshop/60926835F4A7B0CA
Other
6 stars 1 forks source link

Feature Request: Raise the player count #9

Closed 0xmex closed 2 months ago

0xmex commented 3 months ago

I, as a public server admin, would like to have more players on the server. Could the player count for the mission instead been tied to the player cap on the server? For example allowing 128 players mission side, but then set it to 48 on the server config? There is the cap increase mod on the workshop (https://reforger.armaplatform.com/workshop/6214331D54B3ECDE-HIgherplayercountforCOE2), but 32 might not be enough (one day).

Or is this something I need to create my own mod/scenario from your source to adjust this to my needs?

Kexanone commented 3 months ago

I thought the count you specify in the server config already overrides the count of the mission. If it in fact doesn't, you could try to check what happens if you add "m_iPlayerCount": 32 in the missionHeader section of the the server config in addition.

0xmex commented 2 months ago

Good to know, will test it out and come back to you with my findings.

0xmex commented 2 months ago

Can confirm it working. Can raise to 32, but not above. Changed

                "m_iPlayerCount": 32
             [...]
        "maxPlayers": 32,

I guess this is the natural limit of the server? Would need to find a way to increase this limit, but this isn't related to the mission I pressume ... Closing the issue/feature request.

Edit: Was my mistake - the value in Startup on Pterodactyl Panel overrides config.json and its value for max players. Once changed there I could raise to 48 or even more players.

Kexanone commented 2 months ago

You have to change both m_iPlayerCount and maxPlayers to your desired value. 32 was just an example ;)

Kartoffelkee commented 2 months ago

is the mission header located inside the server json confic file?

Edit: i just dont know where to add the code : "m_iPlayerCount": 32

0xmex commented 2 months ago

@Kartoffelkee Yes it is! Including ACE Medical config it looks like this for me:

            "missionHeader": {
                "m_ACE_Settings": {
                    "m_ACE_Medical_Settings": {
                        "m_bHealSupplyUsageEnabled": 0,
                        "m_bSecondChanceOnHeadEnabled": 1,
                        "m_fMedicalKitMaxHealScaled": 1,
                        "m_fSecondChanceRegenScale": 0.025
                    }
                },
                "m_iPlayerCount": 48
            },