Setting up bots to auto start | Rogue Labs
Dismiss Notice
Rogue Cloud will automatically setup a server and earn money on your server for you! All you need to do is have VIP and buy Cloud Instances in the Sub Shop! After you do so you can use this program to tell each instance what Reward you would like to get when it gathers enough points! It's that simple! Let Rogue-Labs manage everything automatically while you get the rewards!

Setting up bots to auto start

Discussion in 'General Support' started by Hollywood, Sep 3, 2017.

  1. Hollywood

    Hollywood Member
    Organ Donor Donator Founding Supporter

    35
    37
    18
    ...Credited to bigmachappymeal

    Let's say you're out of town, and you want to make sure you minimize your botting downtime. After all, time is money when you're on a monthly subscription plan.

    The first thing you need to do is go into your computer's BIOS and set it to power-up every morning, say around 6:00 AM or so. This way, if the computer is turned off because of a power failure, it will come back up the next morning.

    Next, you need to set your bots to autostart. The easiest way is to create a batch file, which will stagger the bot startup times, so they don't all try to rush the disk and network bandwidth at the same time.

    Open Notepad with a blank document, and enter the following:

    start "C:\Tools\RogueLabs\SuperSwag\SuperSwag.exe"
    timeout /t 60
    start "C:\Tools\RogueLabs\GiftHulk\GiftHulk.exe"
    timeout /t 60
    start "C:\Tools\RogueLabs\NeoBot\NeoBot.exe"

    This assumes your bots and their support files are saved in their own folders, under C:\Tools\RogueLabs\

    If you have more bots running on the same rig, just add another line to sleep for a minute, then a line with the full path to the bot's executable file.

    Save the file with a .CMD extension, something like "bots.cmd" (if you put the quotes around the filename, this will prevent Notepad from appending .TXT to your file name).

    Next, create a shortcut to your bots.cmd file, and place this shortcut in your StartUp folder. This will make it run automatically each time you log in.

    Finally, set your user account to log in automatically on startup, and the script will run each time your computer powers up.

    If you have any questions, post them below, and I'll clarify/expand as needed.


    For neobot specifically:

    Q. "Is there a way to get NeoBot to start automatically? I know the program launches but it does not do anything when it launches, you have to click the "Start" button."


    A. I see that when NeoBot starts up, its "Start" button is automatically selected, so all we need to do is simulate clicking it.

    Create a new file in Notepad, and enter:

    var sh = WScript.CreateObject("WScript.Shell");
    sh.Run("C:\\Tools\\RogueLabs\\NeoBot\\NeoBot.exe");
    WScript.Sleep(30000);
    sh.AppActivate("Neobot");
    sh.SendKeys("~");
    sh = null;

    Save this file as "startneobot.js"

    Now, in your bots.cmd file, replace the line where you launch NeoBot with the following:

    cscript startneobot.js

    This will start NeoBot, give it 30 seconds to load, then click the bot's Start button. Execution will then return to your bots.cmd file.


    ..credited to devouredchaos

    I realize this thread is old, but I was having the same issue that Born In SM was having and have figured out the fix. Win 10 doesnt let batch files call the program with the code provided in this main post.
    Instead of using the code example like this...
    start "D:\Rouge-Labs\SuperSwag Bot\SuperSwag.exe"
    timeout /t 60
    start "D:\Rouge-Labs\Bingger Bot\Bingger.exe"
    timeout /t 60
    start "D:\Rouge-Labs\GiftHulk Bot\GiftHulk.exe"

    Use this
    start "" "D:\Rouge-Labs\SuperSwag Bot\SuperSwag.exe"
    timeout /t 60
    start "" "D:\Rouge-Labs\Bingger Bot\Bingger.exe"
    timeout /t 60
    start "" "D:\Rouge-Labs\GiftHulk Bot\GiftHulk.exe"

    This will call up each program as you are expecting and wanting from the code.
    Just make sure to add the double "" quotation after start and it will work fin
     
    EL_Guy likes this.
  2. EL_Guy

    EL_Guy Member

    38
    6
    8
    thanks
     
  3. spawny57

    spawny57 Member
    Organ Donor

    11
    5
    8
    Hollywood likes this.

Share This Page