JetFox 30 Posted January 1, 2019 (edited) Auto updater with auto reboot on crash. Cross Server Chat W/ discord integration Rcon via discord/Console Edit settings-template.json to your like, save as settings.json Edit ServerUpdater.cfg to your servers location too Edit CrossChat-Template to your server settings. EXTREME ALPHA RELEASE - I TAKE NO RESPONSIBILTY FOR MY OWN MESSUPS. Release Notes: V1.0.0 Initial release.... V1.0.3 Fixes backup manager v1.0.4 Fixed Not booting multiple servers V1.0.5 Fixed incorrect server startup params V1.0.6 Test CrossChat(Non Discord) Implementation V1.0.7 Fix CrossChat (Non Discord) Implementation V1.0.8 Fixed password parameter V1.0.9 Incorrect ServerIP was posting in CrossChat connection string V1.1.0 CrossChat(Non-Discord) finished. V1.1.1 Removed certain things (Seamlessip etc....) from pre-programmed startup and moved to serverparams V1.1.2 GameServerPath should now work for force_install_dir it should now look like "GameServerPath": "C:\\Atlas", but the full directory should look like C:\Atlas\steamapps\common\ATLAS Dedicated Server V1.1.3 StopServer was calling wrong PID file to delete, fixed. V1.1.4 Fixed Auto-Updater, it would shutdown singular server and try to update instead of shutting them all down at once v1.1.5 Fixed ShooterGame.exe directory? V1.1.75 Added ExtendedServerParams to config.json V1.2.0 95% fixed Auto-Updater - (Current bug, on startup if update exists it will do an array for ALL of them, I recommend if theres been an update before running this you run that first before starting this program.) V1.3.0 Non-Stable branch: 100% Fixed Auto-Updater? v1.4.0 Non-Stable Branch: Auto updater not fixed V1.5.0 Stable: Auto Updater Fixed v1.9.9 Current Change List: CrossChat crash is fixed, but dont use it til v2.0 External config for crosschat so you can do multi-server configurations Implementation: Discord Rcon/Console Rcon Currently reports when server crashes/Updates occurring/finished CrossChat w/discord semi-working, don't recommend yet. Release Notes: Early release build, haven't gotten to test it yet.... recommend test on like a 1x1 or 2x2 etc.... New config settings in AtlasUpdater.exe.config and CrossChat-template.json Recommend keeping UseDiscordChat to off and UseCrossChat to off til v2.0.0 V1.9.95 Crosschat variable mismatch V2.0 Correct implementation of variables I believe now. v2.0.0.1 Forgot some people might not use any of the crosschat/discord stuff.. v2.0.0.2 Moved app_start to end of program, should start now V2.0.0.3 Configuration Change: GameServerPath moved from settings-template.json to the top so you dont have it for every server... Configuration Change: SteamUpdateScript moved from settings-template.json to the top so you dont have it for every server... AtlasUpdater.exe.config New Required Parameters: <setting name="redisPassword" serializeAs="String"> <value>foobared</value> </setting> <setting name="redisIP" serializeAs="String"> <value>127.0.0.1:6379</value> </setting> Crash Detection on RedisDB, if a server crashes it wont boot up the servers til redis is back online. V2.0.0.5 oopsy V2.0.1.0 Wasnt using _Parent. V2.0.2.0 Fixes: Backups being broke. Discord Relay Info Being Broke (Connection issue still exists) Correct debug info on redis connection. V2.0.3.0 External rcon config ip Join my https://discord.gg/cGp8KuN Legacy: AtlasReleasev120.zip Stable: AtlasReleasev150.zip Alpha: V2.0.3.0 Download ---------------------------------------------------------------------- Future upcoming release options: Auto redis backup ------------------------------------------------------------------------ Edited January 26, 2019 by JetFox 4 3 Share this post Link to post Share on other sites
compwiz91 2 Posted January 1, 2019 Awesome, thanks JETFOX! I'll give this a try Share this post Link to post Share on other sites
Speraves 16 Posted January 2, 2019 Can you give an example config including configs examples for additional server parameters? I am not sure what the proper syntax is. Share this post Link to post Share on other sites
Inuiet 1 Posted January 2, 2019 Should be nice if you made an ''how too'' Share this post Link to post Share on other sites
doublee313 3 Posted January 2, 2019 Tested on my 3x3 map and works great! Jetfox took his time to voice chat with me and configure, etc. Very nice guy. MRMA - Edit the ServerUpdater.cfg file and correct the path to your location. Share this post Link to post Share on other sites
Firedragon 49 Posted January 2, 2019 2 hours ago, mrma said: Current AtlasUpdater doesn't support force_install_dir to point to another directory than steamcmd. If you use for example: login anonymous force_install_dir "C:\ATLAS\" app_update 1006030 validate quit Your files will be transfered outside of steamcmd including steamapps folder > unable to find appmanifest_1006030.acf Share this post Link to post Share on other sites
Firedragon 49 Posted January 2, 2019 (edited) Currently missing for AtlasUpdater: Starting redis server if it's not running ReservedPlayerSlots MultiHome instead of SeamlessIP Starting without IP (MultiHome / SeamlessIP - can fixe not to be connectabel) Edited January 2, 2019 by Firedragon Share this post Link to post Share on other sites
JetFox 30 Posted January 2, 2019 51 minutes ago, Firedragon said: Currently missing for AtlasUpdater: Starting redis server if it's not running ReservedPlayerSlots MultiHome instead of SeamlessIP Starting without IP (MultiHome / SeamlessIP - can fixe not to be connectabel) Please check version 1.1.2, everything should now be set besides starting redis server. 1 Share this post Link to post Share on other sites
Firedragon 49 Posted January 2, 2019 (edited) 54 minutes ago, JetFox said: Please check version 1.1.2, everything should now be set besides starting redis server. Now AtlasUpdater doesn't work for me anymore - not starting mapserver. 02.01.2019 19:06:54] [Error]: Unable to spawn new server process: Das System kann die angegebene Datei nicht finden { "PostponeUpdateWhenPlayersHigherThan": 0, "UpdateWarningTimeInMinutes": 2, "UpdatePollingInMinutes": 5, "LogLevel": "Info", "SteamCMDPath": "C:\\Atlas\\steamcmd", "ShowSteamUpdateInConsole": "true", "UseServerNameInINIFile": "false", "Backup": { "EnableBackup": "true", "BackupIntervalInMinutes": 30, "NumberOfBackupsToKeepPerServer": 5 }, "Messages": { "ServerUpdateBroadcast": "This server will shut down in {0} minute(s) for an update", "ServerBackupBroadcast": "This server is performing a backup, this may take a few minutes", "ServerShutdownBroadcast": "This server will now shut down for an update" }, "Servers": [ { "serverID": 1, "SteamUpdateScript": "C:\\Atlas\\Debug\\ServerUpdater.cfg", "BackupDirectory": "C:\\Atlas\\!Backup\\00", "GameServerPath": "C:\\Atlas", "SaveName": "00", "ServerXGrid": "0", "ServerYGrid": "0", "GameServerName": "Freeport Nordwest", "GameServerMap": "Ocean", "MaxPlayers": 100, "QueryPort": 57561, "RCONPort": 28001, "Port": 5761, "ServerPassword": "", "ServerAdminPassword": "mypersonalpasswordnotshownhere", "ServerPVE": "false", "ServerParameters": { "ReservedPlayerSlots": "10", "SeamlessIP": "" } }, Edited January 2, 2019 by Firedragon Share this post Link to post Share on other sites
JetFox 30 Posted January 2, 2019 2 minutes ago, Firedragon said: Now AtlasUpdater doesn't work for me anymore - not starting mapserver. 02.01.2019 19:06:54] [Error]: Unable to spawn new server process: Das System kann die angegebene Datei nicht finden { "PostponeUpdateWhenPlayersHigherThan": 0, "UpdateWarningTimeInMinutes": 2, "UpdatePollingInMinutes": 5, "LogLevel": "Info", "SteamCMDPath": "C:\\Atlas\\steamcmd", "ShowSteamUpdateInConsole": "true", "UseServerNameInINIFile": "false", "Backup": { "EnableBackup": "true", "BackupIntervalInMinutes": 30, "NumberOfBackupsToKeepPerServer": 5 }, "Messages": { "ServerUpdateBroadcast": "This server will shut down in {0} minute(s) for an update", "ServerBackupBroadcast": "This server is performing a backup, this may take a few minutes", "ServerShutdownBroadcast": "This server will now shut down for an update" }, "Servers": [ { "serverID": 1, "SteamUpdateScript": "C:\\Atlas\\Debug\\ServerUpdater.cfg", "BackupDirectory": "C:\\Atlas\\!Backup\\00", "GameServerPath": "C:\\Atlas", "SaveName": "00", "ServerXGrid": "0", "ServerYGrid": "0", "GameServerName": "Freeport Nordwest", "GameServerMap": "Ocean", "MaxPlayers": 100, "QueryPort": 57561, "RCONPort": 28001, "Port": 5761, "ServerPassword": "", "ServerAdminPassword": "mypersonalpasswordnotshownhere", "ServerPVE": "false", "ServerParameters": { "ReservedPlayerSlots": "10", "SeamlessIP": "" } }, why do you have a comma at the very bottom if you're booting one server? Share this post Link to post Share on other sites
Firedragon 49 Posted January 2, 2019 Because i didn't copy the rest, part of the file. Share this post Link to post Share on other sites
JetFox 30 Posted January 2, 2019 5 minutes ago, Firedragon said: Because i didn't copy the rest, part of the file. You can delete SeamlessIP as its not in use Share this post Link to post Share on other sites
Firedragon 49 Posted January 2, 2019 Just now, JetFox said: You can delete SeamlessIP as its not in use Doesn't change anything as it doesn't start ShooterGameServer.exe anymore. Share this post Link to post Share on other sites
JetFox 30 Posted January 2, 2019 1 minute ago, Firedragon said: Doesn't change anything as it doesn't start ShooterGameServer.exe anymore. V1.1.2 GameServerPath should now work for force_install_dir it should now look like "GameServerPath": "C:\\Atlas", but the full directory should look like C:\Atlas\steamapps\common\ATLAS Dedicated Server so yours has a steamapps common folder before Atlas Dedicated Server? Share this post Link to post Share on other sites
Firedragon 49 Posted January 2, 2019 forceinstalldir moves steamapps folder If it's force_install_dir "C:\Atlas\", your folders will look after install or update like this: c:\ATLAS c:\ATLAS\_CommonRedist c:\ATLAS\AtlasTools c:\ATLAS\Engine c:\ATLAS\ShooterGame c:\ATLAS\steamapps The best solution is to make a change to your tool to add the path to ShooterGameServer.exe ex. "ShooterGameServer": "C:\\Atlas\\ShooterGame\\Binaries\\Win64" Share this post Link to post Share on other sites
HouseOfBedlam 0 Posted January 2, 2019 I get the same error. I don't even have a 'common' folder after steamapps, server files for me are in shootergame/binaries/win64 Share this post Link to post Share on other sites
JetFox 30 Posted January 2, 2019 6 minutes ago, Firedragon said: forceinstalldir moves steamapps folder If it's force_install_dir "C:\Atlas\", your folders will look after install or update like this: c:\ATLAS c:\ATLAS\_CommonRedist c:\ATLAS\AtlasTools c:\ATLAS\Engine c:\ATLAS\ShooterGame c:\ATLAS\steamapps The best solution is to make a change to your tool to add the path to ShooterGameServer.exe ex. "ShooterGameServer": "C:\\Atlas\\ShooterGame\\Binaries\\Win64" 6 minutes ago, HouseOfBedlam said: I get the same error. I don't even have a 'common' folder after steamapps, server files for me are in shootergame/binaries/win64 Fixed in v1.1.5 Heres our discord Join Discord Share this post Link to post Share on other sites
Zeroxx 0 Posted January 3, 2019 Hello, thanks for this tool, but i have a problem. I have MultiHome with : 192.168.XXX.XXX local. Your Programm will connect only to 127.0.0.1 how can i change this to my local 192.168.xxx.xxx ? Share this post Link to post Share on other sites
Firedragon 49 Posted January 3, 2019 @ZEROXX Currently there is no support to allow cluster like (not at localhost / 127.0.0.1) connections to mapserver and redis. Share this post Link to post Share on other sites
Zeroxx 0 Posted January 3, 2019 (edited) @FiredragonYour (CrossChat) will connect only to 127.0.0.1:rconPort how i can change this ? But i will this connect to 192.168.123.xxx:29020 … Edited January 3, 2019 by Zeroxx Share this post Link to post Share on other sites
Firedragon 49 Posted January 3, 2019 @Zeroxx Like i said, there is currently no support for this. 7 minutes ago, Zeroxx said: @Firedragon Your (CrossChat) This tool belongs to @JetFox and maybe he will add this feature in future. Share this post Link to post Share on other sites
Firedragon 49 Posted January 4, 2019 @JetFox I found a small bug in CrossChat. For example you have 4 ShooterGameServer.exe running (2x2), and one or more crashes, AtlasUpdater spams login for CrossChat even if the crashed ShooterGameServer.exe is up again until following error message appears: ERROR System.Net.Sockets.SocketException (0x80004005): Eine bestehende Verbindung wurde softwaregesteuert durch den Hostcomputer abgebrochen bei System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) bei System.Net.Sockets.Socket.Receive(Byte[] buffer) bei Rcon.RconBase.SendReceive(RconPacket packet) in C:\Users\SamGo\Documents\ArkUpdater-master\Rcon\RconBase.cs:Zeile 86. bei Rcon.RconBase.Authenticate(String password) in C:\Users\SamGo\Documents\ArkUpdater-master\Rcon\RconBase.cs:Zeile 59. bei Rcon.RconClient.Connect(String host, Int32 port, String password) in C:\Users\SamGo\Documents\ArkUpdater-master\Rcon\RconClient.cs:Zeile 57. bei ARKUpdater.Server.Connect() in C:\Users\SamGo\Documents\ArkUpdater-master\ARKUpdater\Server.cs:Zeile 119. ERROR System.Exception: Connection to server failed. Check your host and port. bei Rcon.RconClient.Connect(String host, Int32 port, String password) in C:\Users\SamGo\Documents\ArkUpdater-master\Rcon\RconClient.cs:Zeile 57. 1 Share this post Link to post Share on other sites
JetFox 30 Posted January 4, 2019 31 minutes ago, Firedragon said: @JetFox I found a small bug in CrossChat. For example you have 4 ShooterGameServer.exe running (2x2), and one or more crashes, AtlasUpdater spams login for CrossChat even if the crashed ShooterGameServer.exe is up again until following error message appears: ERROR System.Net.Sockets.SocketException (0x80004005): Eine bestehende Verbindung wurde softwaregesteuert durch den Hostcomputer abgebrochen bei System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) bei System.Net.Sockets.Socket.Receive(Byte[] buffer) bei Rcon.RconBase.SendReceive(RconPacket packet) in C:\Users\SamGo\Documents\ArkUpdater-master\Rcon\RconBase.cs:Zeile 86. bei Rcon.RconBase.Authenticate(String password) in C:\Users\SamGo\Documents\ArkUpdater-master\Rcon\RconBase.cs:Zeile 59. bei Rcon.RconClient.Connect(String host, Int32 port, String password) in C:\Users\SamGo\Documents\ArkUpdater-master\Rcon\RconClient.cs:Zeile 57. bei ARKUpdater.Server.Connect() in C:\Users\SamGo\Documents\ArkUpdater-master\ARKUpdater\Server.cs:Zeile 119. ERROR System.Exception: Connection to server failed. Check your host and port. bei Rcon.RconClient.Connect(String host, Int32 port, String password) in C:\Users\SamGo\Documents\ArkUpdater-master\Rcon\RconClient.cs:Zeile 57. Thanks for the bug report, i'll be looking into it tomorrow when i finish driving home. 1 Share this post Link to post Share on other sites