Page 1 of 1

Updater and crash checker

Posted: Tue May 13, 2025 8:17 pm
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

Updater and crash checker

Posted: Tue May 13, 2025 10:32 pm
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