Results 1 to 2 of 2
  1. #1
    frozenpaladin's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Location
    My Basement
    Posts
    20
    Reputation
    10
    Thanks
    14

    Batch File Restart for Multiple Bots

    The way I've seen most people doing this is making a separate .bat for each bot. But there is a better way! With this code you will be able to run multiple bots on a single .bat file placed anywhere on your computer.
    Code:
     @EcHo off
    :loop
    taskkill /f /im "YourBot.exe" >nul
    timeout /t 10 >null
    cd /d "C:\Users\Username\Desktop\Bot1\Release"
    start "" "C:\Users\Username\Desktop\Bot1\Release\YourBot.exe"
    timeout /t 2 >null
    cd /d "C:\Users\Username\Desktop\Bot2\Release"
    start "" "C:\Users\Username\Desktop\Bot2\Release\YourBot.exe"
    timeout /t 2 >null
    timeout /t 1700 >null
    goto loop
    YourBot.exe is the .exe you want to run (duh). "C:\Users\Username\Desktop\Bot1\Release" is just the file which the .exe you click to run your program, and "C:\Users\Username\Desktop\Bot1\Release\YourBot.ex e" is the same as the previous file path except with the .exe you want to run on the end of it. You can just paste as many
    Code:
    cd /d "C:\Users\Username\Desktop\Bot1\Release"
    start "" "C:\Users\Username\Desktop\Bot1\Release\YourBot.exe"
    timeout /t 2 >null
    as you want before "timeout /t 1700 >null". Here's an example with 6 instances of NecroBot.
     
    [CODE @EcHo off
    :loop
    taskkill /f /im "NecroBot.exe" >nul
    timeout /t 10 >null
    cd /d "C:\Users\Hunter\Desktop\Necro_41628\Release"
    start "" "C:\Users\Hunter\Desktop\Necro_41628\Release\Necro Bot.exe"
    timeout /t 2 >null
    cd /d "C:\Users\Hunter\Desktop\Necro_213122\Release"
    start "" "C:\Users\Hunter\Desktop\Necro_213122\Release\Necr oBot.exe"
    timeout /t 2 >null
    cd /d "C:\Users\Hunter\Desktop\Necro_313444\Release"
    start "" "C:\Users\Hunter\Desktop\Necro_313444\Release\Necr oBot.exe"
    timeout /t 2 >null
    cd /d "C:\Users\Hunter\Desktop\Necro_313299\Release"
    start "" "C:\Users\Hunter\Desktop\Necro_313299\Release\Necr oBot.exe"
    timeout /t 2 >null
    cd /d "C:\Users\Hunter\Documents\Release"
    start "" "C:\Users\Hunter\Documents\Release\NecroBot.ex e"
    timeout /t 2 >null
    cd /d "C:\Users\Hunter\Desktop\Necro_ejh3141\Release "
    start "" "C:\Users\Hunter\Desktop\Necro_ejh3141\Release\Nec roBot.exe"
    timeout /t 1700 >null
    goto loop[/CODE]

  2. The Following User Says Thank You to frozenpaladin For This Useful Post:

    djrubenmp3 (07-30-2016)

  3. #2
    Easteyra's Avatar
    Join Date
    Jul 2016
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0
    My Mood
    Yeehaw
    tq ...

Similar Threads

  1. [Discussion] What classes for my bot loader file?- NOT A REAL BOT!
    By shiubro99:D in forum Adventure Quest Worlds (AQW) Hacks / Cheats / Trainers
    Replies: 10
    Last Post: 08-06-2013, 01:57 PM
  2. [Detected] [NA|EU] WooTrans.29 - Standalone Trans Bot - For Multiple Chars on Same Acct
    By maddoggy00 in forum Vindictus Hacks & Cheats
    Replies: 36
    Last Post: 09-16-2012, 11:34 AM
  3. [Outdated] [NA|EU] WooTrans.28 - Standalone Trans Bot, For Multiple Chars on Same Acct
    By maddoggy00 in forum Vindictus Hacks & Cheats
    Replies: 20
    Last Post: 09-08-2012, 04:29 AM
  4. How to select Language Stream/Media Stream for multiple language files in WMP?
    By rosati in forum Suggestions, Requests & General Help
    Replies: 0
    Last Post: 01-28-2009, 10:48 AM
  5. Making A Batch File In Visual Basic
    By condor01 in forum Visual Basic Programming
    Replies: 0
    Last Post: 10-29-2007, 08:46 AM

Tags for this Thread