ArkAscendedServerManager icon indicating copy to clipboard operation
ArkAscendedServerManager copied to clipboard

[BUG] RCON Command string

Open Kaffiend opened this issue 1 year ago • 7 comments

Describe the bug Setting RCON parameters in General Settings do not generate the required command line string for RCON, to allow commands to be run.

To Reproduce Steps to reproduce the behavior: Set RCON Port and admin password Expected behavior Expect RCON to be enabled either via command line args or ini. Currently have to manually match settings with extra question mark parameters to get RCON to work

Kaffiend avatar Nov 26 '23 19:11 Kaffiend

I also have the same problem with RCON.

After a few minutes you can no longer send commands. The server can no longer be shut down either. You have to close the server window manually so that the server goes offline.

ELSalvadore avatar Nov 27 '23 17:11 ELSalvadore

Hello, sorry that you guys are having this problem, can you supply more context, config.json (of the server profile) gus.ini and what is the startup command. Please remove any sensitive information before sending it.

@ELSalvadore @Kaffiend

JensvandeWiel avatar Nov 28 '23 14:11 JensvandeWiel

Hey JensvandeWiel @JensvandeWiel , attached the two dates. I had to rename the GUS.ini to GUS.JSON, otherwise I wouldn't have been able to upload it here.

Maybe you will find the error.

Thank you and best regards

config.json GameUserSettings.JSON

ELSalvadore avatar Nov 28 '23 19:11 ELSalvadore

Could it perhaps be because the admin password appears twice in the config.json?

See also your wiki: https://github.com/JensvandeWiel/ArkAscendedServerManager/wiki/Custom-Configuration

}, "adminPassword": { "type": "string"

}, "serverAdminPassword": { "type": "string"

When I change the password in the manager it only makes a change to adminPassword but it doesn't change to serverAdminPassword.

Also take a look at the community wiki:

https://ark.wiki.gg/wiki/Server_configuration

ELSalvadore avatar Nov 28 '23 20:11 ELSalvadore

Hello Everyone, @ELSalvadore, @JensvandeWiel, @Kaffiend I've been looking into the duplicated INI values problem and believe to have a solution for this as well. I found that when it came time to save the new configs on startup it was just appending new key=value pairs above the old ones and not replacing values in the INI file, thus not changing anything (as well as the duplicates!).

I managed to fix the problem on my end and will submit a PR after I do some testing and a build to make sure I did not break anything else.

Grandalfy avatar Nov 29 '23 10:11 Grandalfy

I once changed the map to Svartalfheim. Since then I haven't had any more RCON problems. Maybe the server also has a problem with the island map

ELSalvadore avatar Dec 04 '23 20:12 ELSalvadore

That's weird

JensvandeWiel avatar Dec 05 '23 08:12 JensvandeWiel