Seite 1 von 1

Simple MFBot restarter

Verfasst: Do 2. Feb 2023, 21:36
von kingchenC
Hey,

i just created a simple batch file restarter for the mfbot, or any other application... because mfbot crashes alot or hangs or freezes or what ever.. :D

Code: Alles auswählen

@echo off
:loop
start ....Path....\MFBot\MFBot.exe
timeout /t 3600 >null
taskkill /f /im MFBot.exe >nul
goto loop
Simple MFBot Restarter.rar
(206 Bytes) 110-mal heruntergeladen

1. Just copy the code in a batch file, or download the batch file...
2. Edit after start the correct path to your mfbot exe
3. 3600 = 60 min, you can edit this if you want faster or lower wait time for next restart... >>>> 3600 / 60 = 60 * XY min

4. Create a new shortcut of the batch file, go settings of the shortcut and auto start with admin rights, or its not work

Info:

- Enable in the mfbot general settings "start minimized"
- Do not close the cmd, or the batch file is not executed, just minimize the cmd after starting the batch file

Enjoy ;)