Auto Restarer for any bot! menu

Shout-Out

User Tag List

Results 1 to 9 of 9
  1. #1
    Niantic's Avatar Private
    Reputation
    10
    Join Date
    Aug 2016
    Posts
    10
    Thanks G/R
    0/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Auto Restarer for any bot!

    Hey, this only works if the bot you use automatically starts once it's executed. Any bot that requires you to confirm login information/coordinates won't work. Make sure to set auto-update settings to false if you're using a bot like Necro.

    What you will need:


    Step 1: Create an AutoIT file in the same folder as your bot's executable. Once you've installed AutoIT you can right click > New > AutoIt script.
    Step 2: Right click the AutoIT file and click "Edit Script"
    Step 3: Copy and paste the script below.

    Code:
    HotKeySet("{F11}", "_Exit")
    
    Launch()
    Func Launch()
       ; Start of Launch
        Local $iPID = Run("PUT YOUR BOT'S EXECUTABLE HERE")
    	Sleep(3600000) ; 3600000 milliseconds = 3600 seconds which = 60 minutes = 1 hour. Bot restarts every 1 hour.
    	ProcessClose($iPID) ; Closes the bot.
    	Sleep(10000) ; Waits 10 seconds before re-launching.
    	Launch()
    	; End of Launch
    EndFunc
    Func _Exit()
      Exit
    EndFunc
     While 1
    	; This keeps the script running.
     WEnd
    Now, I use Haxton so I'll have to change Run("PUT YOUR BOT'S EXECUTABLE HERE") to Run("PokemonGo.Haxton.Console.exe").
    If you want to close the script simply press F11 or manually close it from here:

    Auto Restarer for any bot!-nzgvu-png

    Enjoy.
    Last edited by Niantic; 08-09-2016 at 05:40 PM.

    Auto Restarer for any bot!
  2. Thanks ZomgZippo, AdrianG, ACURA, slavik90 (4 members gave Thanks to Niantic for this useful post)
  3. #2
    ZomgZippo's Avatar Member
    Reputation
    4
    Join Date
    Aug 2007
    Posts
    53
    Thanks G/R
    3/2
    Trade Feedback
    11 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks! Worked great for me. Using this script for PokeSniper2 (which will crash around the 20 minute mark..) so this script will run it for 30 times, restarts after 1200 seconds. After 30 times it shutsdown the whole script so CPU wont be clogged.

    Launch()
    Func Launch()
    ; Start of Launch
    Local $iPID = Run("autosniper.bat")
    Sleep(1200000) ; 3600000 milliseconds = 3600 seconds which = 60 minutes = 1 hour. Bot restarts every 1 hour.
    ProcessClose("PokeSniper2.exe") ; Closes the bot.
    Sleep(10000) ; Waits 10 seconds before re-launching.
    Launch()
    ; End of Launch
    EndFunc
    While i<=30
    i=i+1
    ; This keeps the script running.
    WEnd

  4. Thanks everlasting01a, AdrianG (2 members gave Thanks to ZomgZippo for this useful post)
  5. #3
    Niantic's Avatar Private
    Reputation
    10
    Join Date
    Aug 2016
    Posts
    10
    Thanks G/R
    0/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Glad you liked it.

  6. #4
    awilmoo's Avatar Sergeant
    Reputation
    5
    Join Date
    Aug 2016
    Posts
    61
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    how? can u make tutorial with pict or vid?

  7. #5
    Niantic's Avatar Private
    Reputation
    10
    Join Date
    Aug 2016
    Posts
    10
    Thanks G/R
    0/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by awilmoo View Post
    how? can u make tutorial with pict or vid?
    As I've stated above, you do require half a brain to put together and run this script. I won't spoonfeed you the entire process, I'm pretty sure you can figure it out yourself if you tried.

  8. Thanks AdrianG (1 members gave Thanks to Niantic for this useful post)
  9. #6
    ACURA's Avatar Member
    Reputation
    1
    Join Date
    Aug 2016
    Posts
    2
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i get the error Line 13 Func Exit() Badly formatted"Func" statement any idea?

  10. #7
    Niantic's Avatar Private
    Reputation
    10
    Join Date
    Aug 2016
    Posts
    10
    Thanks G/R
    0/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry, just realized a mistake - try again ;-)

  11. Thanks ACURA (1 members gave Thanks to Niantic for this useful post)
  12. #8
    ACURA's Avatar Member
    Reputation
    1
    Join Date
    Aug 2016
    Posts
    2
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    works good now thanks!

  13. #9
    mopefarmer's Avatar Member
    Reputation
    1
    Join Date
    Aug 2016
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by ACURA View Post
    i get the error Line 13 Func Exit() Badly formatted"Func" statement any idea?
    It is because Exit is a reserved keyword. Replace the exit on line 1 with something like quit and line 13 with quit. Leave exit on line 14

    Code:
    HotKeySet("{F11}", "quit")
    
    Launch()
    Func Launch()
       ; Start of Launch
        Local $iPID = Run("NecroBot.exe")
    	Sleep(3600000) ; 3600000 milliseconds = 3600 seconds which = 60 minutes = 1 hour. Bot restarts every 1 hour.
    	ProcessClose($iPID) ; Closes the bot.
    	Sleep(10000) ; Waits 10 seconds before re-launching.
    	Launch()
    	; End of Launch
    EndFunc
    Func quit()
      Exit
    EndFunc
     While 1
    	; This keeps the script running.
     WEnd
    Too slow =/ Or just do what OP has now with _exit

Similar Threads

  1. [Release] MatchQ updated, auto queue for BG! Bot BG's 100% AFK!
    By Almlov in forum WildStar Bots and Programs
    Replies: 17
    Last Post: 06-23-2014, 03:25 PM
  2. Any BOTS for C9?
    By chldbwnstm in forum MMO Exploits|Hacks
    Replies: 0
    Last Post: 06-26-2012, 07:52 AM
  3. Any Bots pvp/pve for old versions of WoW? (Not Pirox)
    By lilsammy in forum WoW Bots Questions & Requests
    Replies: 4
    Last Post: 08-30-2011, 11:19 PM
  4. Looking for any tips before I start botting
    By Ubun in forum WoW Bots Questions & Requests
    Replies: 1
    Last Post: 02-28-2011, 05:52 PM
  5. [Bot Request] Auto press for 'Face Mauler'
    By Saear in forum World of Warcraft General
    Replies: 4
    Last Post: 06-20-2009, 08:11 PM
All times are GMT -5. The time now is 01:15 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search