AMP
AMP copied to clipboard
Arma 3 Module not Saving
Bug Report
System Information
- Debian GNU/Linux 9 (stretch)
- 2.1.0.12
- Release
I confirm:
- [x] that I have searched for an existing bug report for this issue.
- [x] that I am using the latest available version of AMP.
- [x] that my operating system is up-to-date.
Symptoms
Enter Symptoms on this line.
- Tried to Change Arma 3 Server Config Values over the Amp Panel
- That the AMP Panel set the Config Changes to the CONFIG_server.cfg
- AMP doesn't set the Changes to CONFIG_server.cfg and the Server Starts with default Values
- What i found out is that changes get saves to Arma3Module.kvp but not to CONFIG_server.cfg
- Server Never completely starts when the Name in Panel and Config dont match: You can see that because the Server is playable but in the Panel you only have the Abort Option and because you dont find this line at the end of the Console: 7:06:25 BattlEye Server: RCon admin #0 (127.0.0.1:41727) logged in RCon admin #0 (127.0.0.1:41727) logged in It just stops at 7:09:13 Connected to Steam servers
Reproduction
Enter reproductions steps here.
- Clean Install of Arma 3 Instance
- Update Arma 3 Server
- Change Arma 3 Values like the Name in AMP Panel under Configuration > Arma 3(Like Server Name)
- Start Arma 3 Server
You need to complete the System Information in the bug report
And anyway: https://discord.com/channels/266012086423912458/686246787484483602/727838303369429072
You need to complete the System Information in the bug report
Did that
And anyway: https://discord.com/channels/266012086423912458/686246787484483602/727838303369429072
Arma 3 Needs a Config File if AMP wants that or not, you cant change the Missions cycle without a server.cfg and amp start with the following paramenters: -profiles=/AMP/arma3/233780/A3Master -bepath=/AMP/arma3/233780/A3Master/battleye -port=2302 -ip=************ -config=CONFIG_server.cfg -cfg=basic.cfg -world=empty
Looks like you will just need to edit the config file then. No idea why AMP has that option in the GUI if it is not applied to the config file or through command line parameters 🤷♂️
Looks like you will just need to edit the config file then. No idea why AMP has that option in the GUI if it is not applied to the config file or through command line parameters 🤷♂️
Server Never completely starts when the Name in Panel and Config dont match: You can see that because the Server is playable but in the Panel you only have the Abort Option and because you dont find this line at the end of the Console: 7:06:25 BattlEye Server: RCon admin #0 (127.0.0.1:41727) logged in RCon admin #0 (127.0.0.1:41727) logged in It just stops at 7:09:13 Connected to Steam servers
Gonna post it here for now, i did some more searching and as i understand the AMP Arma3 Module Code the Settings only get saved once if the file is not already existing but not if you do changes to the settings
From some tests I can confirm @Failcrafter1998 's findings. Config file only gets created first time when the server is started with the passwordadmin value etc, and if you want to update it through the AMP panel later on you need to remove the config file to let AMP re-create it.
I'm not sure if this is intentional to allow people to make further config changes as they choose, but it is counter intuitive and confusing. Either drop all the config options from the AMP panel and tell people to just edit the CONFIG_server.cfg file directly or get all the options in the AMP panel.
I've also had bad luck with RCON connection from AMP to the Arma 3 server breaking, which may be related to this?
This will soon be replaced with a generic module: https://github.com/CubeCoders/AMPTemplates/pull/203
This has been replaced and this module deprecated, so closing the issue.