Updater and crash checker

Hier findest du Diskussionen und Empfehlungen zu hilfreichen externen Tools, die das Spielerlebnis mit dem Bot erweitern oder erleichtern. Teile deine Lieblings-Tools, Tipps und Integrationsmöglichkeiten mit der Community!
Post Reply
great_idea
Site Admin
Posts: 25
Joined: Wed Dec 11, 2024 9:17 pm

Updater and crash checker

Post by great_idea »

Updater and crash checker
What this does:
  • It downloads the bot into the same folder where this Executable is located if the bot is not yet downloaded.
  • It checks whether the Sfbot is up and running at all times, meaning if it crashes it will start it again.
  • It will check whether the version you are currently running is the latest available and if it is not then it will download the latest version and restart the bot.


I've created a lightweight script that automatically downloads and runs the latest version of the bot, ensuring it always stays up-to-date and running reliably meaning if it should happen to crash it will restart it automatically.

Please make sure to use this script going forward, as the built-in auto-update feature has been disabled. The previous versioning system caused issues for some users, so this script is now the recommended alternative.
Installation & Usage

- Download the Executable.

- Place it in the same folder as the bot executable.

- Run the script instead of launching the bot directly.

The script will check for the latest version, download it if needed, and then start the bot — all automatically.

Let me know if you have any questions or run into issues!

Link:
https://www.dropbox.com/scl/fi/kcc39cwp ... q7r7r&dl=0
great_idea
Site Admin
Posts: 25
Joined: Wed Dec 11, 2024 9:17 pm

Updater and crash checker

Post by great_idea »

Updater and downloader only
What this does:
  • It downloads the bot into the same folder where this Executable is located if the bot is not yet downloaded.
  • It checks whether the Sfbot is up and running at all times, meaning if it crashes it will start it again.
  • It will check whether the version you are currently running is the latest available and if it is not then it will download the latest version and restart the bot.
This version only downloads the latest version from the server and does not perform checks whether the bot is running or not. This is useful for people that have their own setup to make sure the bot is always up and running. Just run it once in a while and it will check for updates and if they are available it will download them automatically. It can also be used to download the bot if its not yet downloaded by you.

Link:
https://www.dropbox.com/scl/fi/vr51c8q2 ... ozfho&dl=0
Post Reply