[How-To] Manage your bots from your office/laptop menu

User Tag List

Results 1 to 5 of 5
  1. #1
    Rhynocerous's Avatar Sergeant
    Reputation
    8
    Join Date
    Jun 2012
    Posts
    46
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [How-To] Manage your bots from your office/laptop

    Every once and I while I will talk to someone who leaves their bots running during the day, and if it runs into a snag that they haven't programmatically accounted for already they are SoL.

    Well that obviously doesn't have to be the case, there are two solutions:

    1) Write your bot to answer literally every issue that could possible come up
    2) Set up an non-intrusive remote desktop with alerts

    Obviously the second option is better as long as you have internet access and don't want to troubleshoot every problem your bot could run into.

    Remote Desktop

    So the criteria we want in our virtual desktop are as follows:

    • No resolution change
    • No impeding the mouse and keyboard
    • Ease of access
    • Low idle bandwith (so Diablo III isn't lagging)
    • No action on disconnect (No auto log off, no auto screensaver, etc.)
    • Free!


    The remote desktop application that I find to fit the criteria the best is LogMeIn.

    https://secure.logmein.com/

    The free version of LogMeIn requires a quick installation on the desktop of your home computer, which can then be access using the browser based application on the website. It is extremely convenient and effective. It also will allow you to access any website you want from work regardless of your web-filter without detection as long as you can access LogMeIn.com.

    Configuration is straight forward but there are some important preferences
    You HAVE to tell LogMeIn to never lock the host computer, those settings are found in the desktop application (Or on the remote access browser app)

    [How-To] Manage your bots from your office/laptop-r3v7l-jpg

    If you have any questions about the rest of the setup process, ask and I'll include it in this mini-guide.

    *You can stop right here if you don't mind checking your home desktop manually all day*

    Notifications

    "But Rhyno, I don't want to check my desktop every 30 minutes to make sure the bot is running"

    Right, that's where notifications come in. There are a ton of elegant ways to set up notifications so I'll again share my favorite.

    I will be using sendEmail and a Gmail account.

    sendEmail is a command line application available for various operating system that lets you easily automate SMTP emails.

    Installation is piss easy: Download the .exe and drop it into your windows installation folder (C:\Windows typically)

    Now create a batch file named email.bat that will do the sending containing this line with the bold pieces replaced as appropriate:

    Code:
    sendEmail -f [sender]@gmail.com -t [recipient]@gmail.com -s smtp.gmail.com:587 -xu [G-mail username] -xp [G-mail Password] -u "[Email subject]" -m "[Email body]"
    Give it a click and don't forget to check your spam folder.

    If you are using an AutoIt bot with error handling (like chancity's) you can add this line wherever the error handling occurs
    Make sure your email.bat is in the same folder as your script

    Code:
    Run("email.bat")
    For example:

    Code:
    Func TogglePause()
    	Run("email.bat")
    	$Paused = Not $Paused
    	While $Paused
    		Sleep(100)
    		WinSetTitle($title, "", $title & $ver & " - Paused")
    		ToolTip('[PAUSED] - Deaths: ' & $deathCount & ' | Cellars: ' & $cellarCount, 0, 0)
    	WEnd
    	WinSetTitle($title, "", $title & $ver & " - Running")
    	ToolTip("")
    EndFunc   ;==>TogglePause
    That still requires you to predict where the bot will fail. A more reliable method is to convert the bat file to a screensaver. You can use Task Scheduling here too but it sucks and hardly ever works.

    Creating a screensaver is really easy too:
    1) Convert your .bat to an .exe, I use Bat To Exe Converter
    2) Manually change the .exe extension to .scr
    3) drop the .scr into C:\Windows\system32 or C:\Windows\sysWOW64 for 64 bit systems.

    Now set it as your screensaver and enjoy getting an email every time your screensaver comes up.


    tl;dr
    1) Set up LogMeIn on your desktop and tell it to never lock the computer
    2) Download SendEmail and drop it in C:\Windows
    3) Create a .bat file that calls SendEmail
    4) Convert the .bat file into an .exe, then rename it to a .scr
    5) Drop the .scr into C:\Windows\System32 or your equivalent folder
    6) Set the .scr as your screensaver
    Last edited by Rhynocerous; 08-01-2012 at 05:07 PM.

    [How-To] Manage your bots from your office/laptop
  2. #2
    bmode206's Avatar Member
    Reputation
    6
    Join Date
    May 2012
    Posts
    100
    Thanks G/R
    0/0
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Wouldn't TeamViewer be a easier solution?

  3. #3
    Rhynocerous's Avatar Sergeant
    Reputation
    8
    Join Date
    Jun 2012
    Posts
    46
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by bmode206 View Post
    Wouldn't TeamViewer be a easier solution?
    TeamViewer doesn't have a browser based client

  4. #4
    chvlumb's Avatar Private
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What is the significance of having a browser based client, because I use TeamViewer to remote into my machine from work to check if my BOT is functioning properly and it works flawlessly. I'm open to use logmein... and adding the EMAIL feature with the batch file. That would be very helpful if I could have the script send me an email in the event of a failure haha.

  5. #5
    Rhynocerous's Avatar Sergeant
    Reputation
    8
    Join Date
    Jun 2012
    Posts
    46
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by chvlumb View Post
    What is the significance of having a browser based client, because I use TeamViewer to remote into my machine from work to check if my BOT is functioning properly and it works flawlessly. I'm open to use logmein... and adding the EMAIL feature with the batch file. That would be very helpful if I could have the script send me an email in the event of a failure haha.
    The significance is that TeamViewer wont work for people who have administrator blocks on their computer. If you can use TeamViewer or any other functional remote desktop there's no reason to switch.

    I personally love the screensaver trick because I never have to check in on it and the bot will maybe fail once ever other day after a couple hours, mostly due to Diablo 3 freezing or something.

Similar Threads

  1. How To Automatically sort and manage your bags when botting/farming!
    By kentril in forum World of Warcraft Guides
    Replies: 20
    Last Post: 01-28-2010, 06:23 PM
  2. how you manage your repacks?
    By locksoft in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 11-29-2008, 01:37 AM
  3. [Share]How to keep your host comp safe from attackers
    By Nightstelth in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 02-17-2008, 07:43 PM
  4. How to get your proffesions from 1-375
    By Knomez in forum World of Warcraft Guides
    Replies: 5
    Last Post: 08-15-2007, 02:49 AM
  5. GUIDE: How to Prevent Your account from being stolen
    By Fault in forum World of Warcraft General
    Replies: 5
    Last Post: 12-25-2006, 02:30 AM
All times are GMT -5. The time now is 07:03 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search