fugasjunior / arma-server-manager

A web administration tool for managing Arma 3, Arma Reforger and DayZ dedicated servers
GNU General Public License v3.0
59 stars 16 forks source link

Custom Difficulty Settings Not being applied #80

Closed danielth-uk closed 1 year ago

danielth-uk commented 1 year ago

I have setup arma-server-manager on my Linux box and was using it for some testing, but one thing I noticed is that all of the settings that I have set have not been applied.

image image image

The data seems to be in the database, so it has saved, not sure why it hasn't applied. Any ideas?

fugasjunior commented 1 year ago

Hi, can you please clarify the problem? Are the difficulty settings not being applied in game, or are you unable to see them in the UI?

You should be able to find the custom difficulty in a generated file ARMA3_{server id}.Arma3Profile somewhere in /home/steam/armaservermanager/servers/ARMA3/custom_profiles. Can you check the file if the values there are set up correctly?

danielth-uk commented 1 year ago

Hi, sorry. So the values are being saved to the ARMA3_{server id}.Arma3Profile and are correct but they are not being applied in-game, for example, in the arma-server-manager UI I can turn off third-person, and start the server, however, third-person is still on. I did a bit of research, could it possibly be because of this? image here

fugasjunior commented 1 year ago

Thanks for the clarification! Just to be sure, did you select Custom difficulty in game when starting the mission? It can also be forced by adding forcedDifficulty = "Custom"; to additional settings if needed.

danielth-uk commented 1 year ago

I did not select the custom difficulty in the lobby when starting; I completely forgot Arma had that option, however I did attempt to do forcedDifficulty = "Custom"

fugasjunior commented 1 year ago

You should be able to see the difficulty selection screen when starting the mission, see the screenshot: image

You need to select "Custom" for the settings from the UI to apply in game. forcedDifficulty = "Custom" in additional settings should force this difficulty. I've just tested that the difficulty applies correctly.

If it still doesn't work for you, there might be something wrong with your concrete environment. In that case, could you please provide further info so I can try to reproduce this issue? Such as whether you're running natively or in Docker, how does the Arma3Profile file look etc.

danielth-uk commented 1 year ago

Hi, sorry for the really late reply. Yeah setting the custom difficulty settings in Arma works. Thank you!

fugasjunior commented 1 year ago

No problem, glad it's working, thanks for the info!