Efficient Bot (AI) Theory menu

User Tag List

Results 1 to 3 of 3
  1. #1
    MichaelSpectre's Avatar Private
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Efficient Bot (AI) Theory

    After researching how some of the bots here work, I started implementing my own.
    I'm using C#/C++ with DLL injection, allowing for in-game overlays.
    Works fine so far. I'm able to launch/inject the process, draw an FPS counter, and capture the backbuffer.

    But as far as efficient AI algorithms go, I'm a bit lost.
    Are these bots using some sort of image comparison techniques in order to know what to do next?
    (i.e., where to move the mouse to, where to click, which keystroke to simulate, etc...)
    I mainly question SarkothBot, in which a set of uniformly-scaled images are required for the bot to function properly.
    I simply fail to see any algorithm where a 10x11 image of the letter 'a' can be compared against the screen, without a major downpour on the framerate.

    If I were to implement a similar approach, where should I place my research?
    Alternatively, what other ways could I use the backbuffer to aid in my bot's AI?
    Many thanks to any who can point me in the right direction.

    Efficient Bot (AI) Theory
  2. #2
    cha0sbg's Avatar Master Sergeant
    Reputation
    28
    Join Date
    May 2012
    Posts
    108
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The sarkoth farm script uses just places to click and check for pixel color to know if it should continue or not.
    As for the imagesearch if ur not planning to inject anything in diablo it's fine, but if you plan to inject ur dll as you said you should go
    all the way.

  3. #3
    MichaelSpectre's Avatar Private
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So I guess in theory, I could use the backbuffer dimensions to determine to current screen settings, and have a respective list of points for each resolution lined up?
    I also have a nice image comparison library that could probably do the job a bit quicker than Sarkoth, as long as I'm not parsing the entire backbuffer for a single partial image.
    Perhaps just have a list of rectangular points to check for the image?

    As time progresses I'll probably be able to grab data from the pixel shaders to gather more accurate information.
    I ran Diablo III in Pix for Windows and found an abundance of decent resources that could, at the very least, determine your current class.
    But for now I'm just looking for something simple and efficient that actually works.

    As far as DLL injection goes, how detectable is it? I'm using EasyHook (instead of Detours, or the typical method of replacing the Direct3D dlls with custom ones).
    Also, is there anyone else on these forums using similar methods? Or are they mostly scripting via a 3rd party app?

    EDIT:
    I should probably elaborate why I'm using DLL injection...
    Most of the scripts I've come across don't allow for true fullscreen modes, or only support a small list of screen resolutions.
    Some scripts just have too much overhead involved, making the game a bit choppy.
    Also, I enjoy the idea of having an overlay, providing the user with some eye-candy. =)
    Last edited by MichaelSpectre; 06-17-2012 at 07:29 PM.

Similar Threads

  1. [Bot] Most efficient way to bot?
    By BlackMoses in forum World of Warcraft Bots and Programs
    Replies: 7
    Last Post: 10-09-2014, 11:44 AM
  2. Replies: 3
    Last Post: 08-10-2014, 11:28 AM
  3. Whats the best botting program for efficiency and detection prevention?
    By Voidshift in forum Diablo 3 Bots Questions & Requests
    Replies: 3
    Last Post: 04-16-2013, 04:34 PM
  4. Achieving Hardware Efficiency for Botting Purposes
    By iFarmer in forum Diablo 3 Bots Questions & Requests
    Replies: 12
    Last Post: 07-26-2012, 11:12 PM
  5. [Theory] AIM Bot Scam Idea!
    By Vannakix in forum WoW Scam Prevention
    Replies: 3
    Last Post: 11-22-2008, 04:59 PM
All times are GMT -5. The time now is 08:06 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