[Concept] Motion detection with autoit menu

User Tag List

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

    [Concept] Motion detection with autoit

    I think it would be beneficial to detect movement on screen for botting purposes and to allow this to be the basis for pixel based combat scripts (without touching memory).

    Premise:
    Assume that the character is standing still. Read every ~20th x and ~20th y pixel on screen once, store the results in an array of hex colors and do the same thing again a quarter of a second later. Compare the two arrays of colors to find which (x,y) locations have changed in the last moment.

    This wouldn't have to run constantly, only before the bot is about to cast a directional attack. Unless you modified it to only read the outer edges of the screen to detect when new mobs or projectiles enter the area.

    The pixel reading response time is the bottle neck. Depending on how fast the pixels can be read (and how many can be read) will determine what this type of feature would be capable of doing.

    Thoughts?

    [Concept] Motion detection with autoit
  2. #2
    F4L's Avatar Corporal
    Reputation
    6
    Join Date
    May 2012
    Posts
    19
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The problem with doing this is that there is a fog/mist that moves around on your screen and is constantly changing the color of pixels on your screen, so this wouldn't work. It's makes doing combat scripting in autoit a lot hard without any kind of client side editing or memory scans. You could try doing some kind of imagesearch for monsters/mobs, and tell it what to do based on the type/quantity. You can then use some kind of combat tree, atks closest monster recognized, after screen is clear it loots and repeats etc.

Similar Threads

  1. Replies: 51
    Last Post: 04-08-2008, 10:17 PM
  2. [GUIDE] Control Glider With AutoIt
    By randombob in forum World of Warcraft Bots and Programs
    Replies: 5
    Last Post: 02-06-2008, 02:56 PM
  3. need help with autoit
    By dp138504 in forum Community Chat
    Replies: 1
    Last Post: 11-17-2007, 01:08 AM
  4. Making an anti-afk bot with AutoIT the easy way.
    By Tsai in forum World of Warcraft Bots and Programs
    Replies: 13
    Last Post: 10-02-2007, 04:22 PM
  5. need a little help with autoit
    By Demonshade in forum Community Chat
    Replies: 2
    Last Post: 07-27-2007, 05:20 AM
All times are GMT -5. The time now is 08:00 AM. 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