Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

[BUG] RCON Command string #163

Open
Kaffiend opened this issue Nov 26, 2023 · 7 comments
Open

[BUG] RCON Command string #163

Kaffiend opened this issue Nov 26, 2023 · 7 comments
Labels
bug Something isn't working

Comments

@Kaffiend
Copy link

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 Kaffiend added the bug Something isn't working label Nov 26, 2023
@ELSalvadore
Copy link

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.

@JensvandeWiel
Copy link
Owner

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

@ELSalvadore
Copy link

ELSalvadore commented Nov 28, 2023

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
Copy link

ELSalvadore commented Nov 28, 2023

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

@Grandalfy
Copy link
Contributor

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.

@ELSalvadore
Copy link

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

@JensvandeWiel
Copy link
Owner

That's weird

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants