Jump to content

How do official servers update game settings without rebooting?


Frough

Recommended Posts

I made some changes to game.ini and to gameusersettings.ini to modify some baby multipliers and XP/taming multipliers.  In order for them to take effect, I had to reboot my servers.  I noticed that for previous 2x events, official servers would just automatically do this without a reboot.  Is there a way for me to do the same hot-changing?

Link to comment
Share on other sites

  • 4 months later...

This is a bit of a necro post, but many of the GameUserSettings.ini properties can be used in the command line (and vice versa - many command line commands can be listed in GameUserSettings.ini. to be executed when the server launches). It's explicitly stated above the list of commands (I found mine at ark.gamepedia or ark-survival.net) that some commands from one list might be used in the other, but that they couldn't guarantee which.

My best guess is that the settings mentioned by OP were updated via the command line, rather than within the config files. Unfortunately I don't have the means to test this, so if someone else wants to try (for SCIENCE!), feel free to expand on my post.

Link to comment
Share on other sites

Official servers pull certain config values from pages on arkdedicated.com. I suspect they probably poll these pages at some regular interval to account for changes. Most of these URLs are hard-coded and cannot be modified (except maybe in a hex editor editing the binary), and are only used when the server is configured as an official server.

http://arkdedicated.com/officialtributeenabled.html
http://arkdedicated.com/pcnotification.html
http://arkdedicated.com/dynamicconfig.ini
http://arkdedicated.com/globaladmins.txt
http://arkdedicated.com/officialservers.ini
http://playark.com/banlist.txt

Link to comment
Share on other sites

Thanks for sharing @Crystal! I wasn't aware about the dynamicconfig.ini. Very interesting :)

That makes me think, using the hostfile on the server-side, it should be possible to fetch that data from a private webserver. I have done that in the past with the officialservers, showing my server as official (in combination with a server-side secret file) and showing custom news in the game client.

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...
  • 3 weeks later...

To get this working, you don't have to worry about overwriting files.
This can not be done without some technical knowledge however. as @CCRogerWilco mentioned, you can overwrite the IP to make the gameserver look elsewhere for the website that hosts the files. 

The event parameters are not stored in your configs, but the gameserver fetches these from the webserver. So simply spoofing your machine to download look elsewhere for the website should do it.

Link to comment
Share on other sites

  • 3 months later...
  • 1 month later...
On 12/4/2017 at 4:50 PM, Toni said:

Like i know you can enter the new parameters to the console. 

For example:

HarvestAmountMultiplier=2

 

I've never tested if the server takes the new value... but there isn't any errormessage or something like that if you enter it to the console. 

Unfortunately this does not work. Just tried it, at least via RCON it will not change the variables. It will not display an error, but you can input whatever you want and don't get an error.

Link to comment
Share on other sites

On 20.1.2018 at 11:08 PM, Thorium said:

Unfortunately this does not work. Just tried it, at least via RCON it will not change the variables. It will not display an error, but you can input whatever you want and don't get an error.

 

If you enter wrong commands, you won't see a direct error where you done the input. But you will see an error in the console output of the server.  

If you set a parameter, there is no console error output, therefore i thougt this works.

Link to comment
Share on other sites

8 minutes ago, Toni said:

 

If you enter wrong commands, you won't see a direct error where you done the input. But you will see an error in the console output of the server.  

If you set a parameter, there is no console error output, therefore i thougt this works.

To be fair, i only tried it with StructureResistenceMultiplier, which didnt gave an error, also no error on console window of server, but didnt changed the multiplier as well.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...