[TOOL] Empyrion server Auto Update Tools - V2.0.1.0

Discussion in 'The Hangar Bay' started by Watcher330, Nov 7, 2017.

  1. Watcher330

    Watcher330 Commander

    Joined:
    Feb 2, 2017
    Messages:
    94
    Likes Received:
    100
    Hey server Admin !

    Tired of being away on an updating day, this tool is for you !

    News Tools for us [Auto Update] for Empyrion server when update release on steam [Public/Expérimental/and others ...].

    upload_2019-7-3_11-7-47.png

    Copy this Tools on your server HDD, launch it, configure, and run.

    This tool can be downloaded here : https://empyrion.online/versions

    Main functionality :
    - Auto Update empyrion Server [Public/Expérimental/Other]
    - Auto restart server if crashed
    - Mail on Error or action (Update, restarting server, etc ...)
    - 100% compatible with EAH
    - All Action are logged in Log file

    Auto Update fonctionality :
    - Check update every X minutes = Time before 2 check
    - Time before shutdown = If update detected, this is the time before shutdown server
    - Shutdown message = ingame message send before shutdown
    - Script before STOP = Script executed before stopping server
    - Script before UPDATE = Script executed before update server
    - Script before START = Script executed before starting server

    Auto Restart fonctionality :
    - Check Server every X minutes = check if empyrion server running
    - Time before restart = Time before restart server if down (prevent restarting server from programed reboot)

    Startup Options :
    - Enable start server with EmpUpdater = Start server when starting EmpUpdater
    - Update on start = Launch update of server when EmpUpdater start (Before starting server)

    On Start, EmpUpdate wait for Empyrion server running. if not running and if "Enable start server with EmpUpdater" enable, EmpUpdate automatically start empyrion server for you, and update before start if "Update on start" enable.

    If an Update found, EmpUpdater initialise shutdown of your server (send message and shutdown server).
    When empyrion server go down, EmpUpdate launch update of your server and start server for you.
    All action are in log and mail send to you (if mail option enable).

    Installation :
    - Copy « Updater.exe » on new folder Ex « c:\EmpUpdater ».
    - Launch Updater.exe from EXE.
    - Configure it and enjoy.
    - All Action are in log file in "Windir"\Logs\EmpyrionOnline\ folder

    On Start, EmpUpdate wait for Empyrion server running. if not running and if "Enable start server with EmpUpdater" enable, EmpUpdate automatically start empyrion server for you, and update before start.
    If an Update found, EmpUpdater initialise shutdown of your server (send message and shutdown server).
    When empyrion server go down, EmpUpdate launch update of your server and start server for you.
    All action are in log and mail send to you (if mail option enable).

    Uninstall :
    Run "Uninstall.exe" (present in the ZIP archive)

    ChangeLog : https://empyrion.online/versions
     
    #1
    Last edited: Jul 3, 2019
    Buffu-der-King, Taelyn and Jascha like this.
  2. Benjicolors

    Benjicolors Ensign

    Joined:
    Jan 25, 2017
    Messages:
    26
    Likes Received:
    11
    :)
     
    #2
  3. SilvRav

    SilvRav Moderator

    • Moderator
    Joined:
    Jan 13, 2017
    Messages:
    1,568
    Likes Received:
    2,051
    very nice!
     
    #3
  4. Jascha

    Jascha Administrator

    • Moderator
    Joined:
    Jan 22, 2016
    Messages:
    988
    Likes Received:
    442
    Wow nice. Thanks a lot.
    If you want to restart the EAH tool (since its also delivered over steam), you can put a file called "TOOL_STOP.txt" into the "\Import Commands\" folder and the tool will shut down.
     
    #4
  5. Watcher330

    Watcher330 Commander

    Joined:
    Feb 2, 2017
    Messages:
    94
    Likes Received:
    100
    Thank Jascha, i have added this option in V1.0.2.0
    EmpUpdater now closes EAH before update, and restart it after update (if enabled in the options).

    PS : Successfully updated Empyrion.fr server to version Alpha 7.2
     
    #5
  6. Daryl Dixon

    Daryl Dixon Ensign

    Joined:
    Nov 19, 2017
    Messages:
    3
    Likes Received:
    0
    Very special thanks to you!!! Will try your tool as soon as possible
     
    #6
  7. Daryl Dixon

    Daryl Dixon Ensign

    Joined:
    Nov 19, 2017
    Messages:
    3
    Likes Received:
    0
    #7
  8. Watcher330

    Watcher330 Commander

    Joined:
    Feb 2, 2017
    Messages:
    94
    Likes Received:
    100
    the config seems good.
    can you put the log files of EmpUpdate (same directory as Updater.exe).
     
    #8
  9. Daryl Dixon

    Daryl Dixon Ensign

    Joined:
    Nov 19, 2017
    Messages:
    3
    Likes Received:
    0
    Thx for your faste answer. It seems to work now - dont know why. We will see :)

    Greetz!!!
     
    #9
  10. Watcher330

    Watcher330 Commander

    Joined:
    Feb 2, 2017
    Messages:
    94
    Likes Received:
    100
    EmpUpdate need some times for initialising some communication test with server.
     
    #10
  11. Taelyn

    Taelyn Administrator
    Staff Member

    • Developer
    • Administrator
    Joined:
    May 29, 2016
    Messages:
    2,931
    Likes Received:
    2,810
    Nice tool. Works good.

    Only

    - Restart EAH. I dont use EAH in the dedicated server folder but in my own folder. It closes EAH but it starts the wrong one :). Starts the one in the dedicated folder. Would like to be able to set a path what EAH to start up.

    - I made a script to start the EAH from my own folder. Before restart it should run my script. It doesnt. The script is right since if i click it manual it works and start EAH.
     
    #11
    Last edited: Jan 16, 2018
  12. Mulano_iZz_LuEp

    Joined:
    Dec 20, 2017
    Messages:
    10
    Likes Received:
    1
    have a problem since server restart

    27/01/2018 - 13:37 : =======================================
    27/01/2018 - 13:37 : Update Steam : 530870 Branch : public
    27/01/2018 - 13:37 : SteamCMD : C:\Gameserver\steamcmd\steamcmd.exe
    27/01/2018 - 13:37 : EmpyrionLauncher : C:\Gameserver\Empyrion\EmpyrionLauncher.exe
    27/01/2018 - 13:37 : DedicasedYAML : C:\Gameserver\Empyrion\serverconfig.yaml
    27/01/2018 - 13:37 : Empyrion TelNet : 127.0.0.1:30014
    27/01/2018 - 13:37 : Mail : False - To :
    27/01/2018 - 13:37 : =======================================
    27/01/2018 - 13:37 : ERROR : Fail to get initial BuildID

    if i click "Build Test" error comes Up:

    "Check unsuccessfull"
     
    #12
  13. Watcher330

    Watcher330 Commander

    Joined:
    Feb 2, 2017
    Messages:
    94
    Likes Received:
    100
    Hey !

    Major update for the "ERROR : Fail to get initial BuildID"

    Download new version at https://updater.empyrion.fr/

    V1.1.3.0 (Beta)
    - Major update for steam check buildID (some client have steam blocklisted by BOT)
    - Major config update "Config.ini" moved in registry (prepar for service intégration)

    We need to remake your config (mouved to registry)
     
    #13
  14. Mulano_iZz_LuEp

    Joined:
    Dec 20, 2017
    Messages:
    10
    Likes Received:
    1
    Big Thx... works :)

    Why some client have steam blocklisted by BOT?
     
    #14
  15. Watcher330

    Watcher330 Commander

    Joined:
    Feb 2, 2017
    Messages:
    94
    Likes Received:
    100
    beacause Updater.exe check steam buildID via https request.
    Some client have set low time of check and Steam blacklisted this type of Https request...

    Updater use now "steamcmd" for check buildID (full "check engine" rebuild)

    I have another probleme now ... some antivirus block Update.exe ... Grrrr
     
    #15
  16. Taelyn

    Taelyn Administrator
    Staff Member

    • Developer
    • Administrator
    Joined:
    May 29, 2016
    Messages:
    2,931
    Likes Received:
    2,810
    Where in the Registry i can find it? Would like to know
     
    #16
  17. Watcher330

    Watcher330 Commander

    Joined:
    Feb 2, 2017
    Messages:
    94
    Likes Received:
    100
    All Registry info are stored in : "HKLM\SOFTWARE\EmpUpdater"
     
    #17
    Taelyn likes this.
  18. Taelyn

    Taelyn Administrator
    Staff Member

    • Developer
    • Administrator
    Joined:
    May 29, 2016
    Messages:
    2,931
    Likes Received:
    2,810
    Still get a steambuild check test error
     
    #18
  19. Watcher330

    Watcher330 Commander

    Joined:
    Feb 2, 2017
    Messages:
    94
    Likes Received:
    100
    have you download last version ? V1.1.3.2
    can you test by this buttons :
    Capture.PNG
     
    #19
  20. Taelyn

    Taelyn Administrator
    Staff Member

    • Developer
    • Administrator
    Joined:
    May 29, 2016
    Messages:
    2,931
    Likes Received:
    2,810
    Yes i have the latest build.

    Weird... i have it placed in a map called "Empyrion Server Updater" pressing the "Build Test" button and it says failed
    If i place it in a map just called "Empyrion" and press the button it works. Seems it doesnt like directorys with a space :D
     
    #20

Share This Page