AMP icon indicating copy to clipboard operation
AMP copied to clipboard

Arma 3 Module not Saving

Open Failcrafter1998 opened this issue 3 years ago • 7 comments

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

Failcrafter1998 avatar Mar 27 '21 21:03 Failcrafter1998

You need to complete the System Information in the bug report

Greelan avatar Mar 27 '21 21:03 Greelan

And anyway: https://discord.com/channels/266012086423912458/686246787484483602/727838303369429072

Greelan avatar Mar 27 '21 21:03 Greelan

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

Failcrafter1998 avatar Mar 27 '21 23:03 Failcrafter1998

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 🤷‍♂️

Greelan avatar Mar 27 '21 23:03 Greelan

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

Failcrafter1998 avatar Mar 28 '21 07:03 Failcrafter1998

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

Failcrafter1998 avatar Mar 30 '21 14:03 Failcrafter1998

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?

MrSmits avatar Dec 23 '21 14:12 MrSmits

This will soon be replaced with a generic module: https://github.com/CubeCoders/AMPTemplates/pull/203

IceOfWraith avatar Nov 24 '22 02:11 IceOfWraith

This has been replaced and this module deprecated, so closing the issue.

PhonicUK avatar Mar 20 '23 21:03 PhonicUK