CubeCoders / AMP

Issue tracking and documentation for AMP
https://cubecoders.com/AMP
206 stars 39 forks source link

Arma 3 Module not Saving #426

Closed Failcrafter1998 closed 1 year ago

Failcrafter1998 commented 3 years ago

Bug Report

System Information

I confirm:

Symptoms

Enter Symptoms on this line.

Enter reproductions steps here.

Greelan commented 3 years ago

You need to complete the System Information in the bug report

Greelan commented 3 years ago

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

Failcrafter1998 commented 3 years ago

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

Greelan commented 3 years ago

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

Failcrafter1998 commented 3 years ago

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 commented 3 years ago

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

MrSmits commented 2 years ago

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?

IceOfWraith commented 1 year ago

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

PhonicUK commented 1 year ago

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