arkmanager / ark-server-tools

Set of server tools used to manage ARK: Survival Evolved servers on Linux
MIT License
680 stars 144 forks source link

arkGameIniFile may not work as expected #1123

Closed beegerous closed 4 years ago

beegerous commented 4 years ago

thanks for your work, this tools is really helpful.

i try to modify arkGameIniFile setting in arkmanager.cfg, but after the server started, i open Game.ini file in arkserverroot, it is empty, but the last modified time is the current timestamp. then i change arkGameIniFile directly to Game.ini in arkserverroot, when restart, it says "cp xxx yyy is the same file.", so i think it is working, but something happened after that overwrite this file. i tried add arkGameIniFile in both arkmanager.cfg and instance.cfg, and still not working.

klightspeed commented 4 years ago

If the game server (i.e. ShooterGameServer) can't parse the file, then it will usually replace it with the default file (which for Game.ini is empty).

beegerous commented 4 years ago

If the game server (i.e. ShooterGameServer) can't parse the file, then it will usually replace it with the default file (which for Game.ini is empty).

thanks very much. this is helpful.

after check Game.ini in my client machine, it seems this file has to start with [/Script/ShooterGame.ShooterGameMode] to declare its session. after add this on top of file, it worked.