Script for recocnizing gold on ground menu

User Tag List

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

    Script for recocnizing gold on ground

    Do anyone have a script for recognizing gold on the ground. Now that they have fixed the bug in dank cellar, where sarkoth and minions did not move, I find that I have to use much longer movement path to make sure I go to all locations where gold might drop.

    A function that looks for gold on the ground would be more efficient.

    The different gold stack sizes does not seem to share a common pixel color code. You could do an "ugly solution" and just sample all the stacks. If anyone have done this I would be interested in the color codes.

    PixelSearch with shade variation detects other things than the gold :-/

    So; do have anyone already coded something to solve this problem?

    Script for recocnizing gold on ground
  2. #2
    Assistend's Avatar Active Member
    Reputation
    30
    Join Date
    May 2012
    Posts
    187
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    bit more pickup radius would probably solve it and run around a small circle in the center

  3. #3
    Botle's Avatar Private
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    11
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It certainly would. I'm just thinking that a script to find gold would also solve some problems later on. I don't think the cellar will be open that much longer.

    When that happens it is time for more sophisticated autoit bots and it will be easier for them if when don't have to waste too many item properties on pickup radius.

  4. #4
    Chucksta's Avatar Member
    Reputation
    1
    Join Date
    Mar 2007
    Posts
    34
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I do an Imagesearch on the text (PNG created with MSPaint). Throw out a Send {ALT} to get the text up, then Imagesearch the area of the game window every so often, or after a combat session, or whatever. I think the text is referred to as an affix, not sure though.

    I've not got enough time to elaborate any further, as I need to go out but, if I remember I'll throw some code in here. My brief description should be enough for any in the know, or with the drive to take it from there and realise the code.

    Oh, and I use AutoHotKey

  5. #5
    Botle's Avatar Private
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    11
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How well does imagesearch work? I imagine that you mange a png with the text "gold" right? What is the requirements for the images to match. Do they have to be the same size or can imagesearch scale them?

    Saw an autoit script using imagesearch over at blizzhackers. The png with the text "flawless" seemed smaller than the image would be in game.

    Also, how fast is imagesearch? Realtime fast, or does it take 1-2 seconds to use?

  6. #6
    Shoruun's Avatar Member
    Reputation
    5
    Join Date
    Jun 2012
    Posts
    39
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How fast? Lets have a look at an easy and worse image checker.
    We simply check all pixel of the screen with all pixel of the image.
    For some improvement, we only check the next pixel of the image if the pixel before matches.

    We have 800x600 Pixels = 480.000 first pixel checks.
    Due to it is very unlikley that there are 2 matches, and the third NOT, we say, that the worst case is 2 checks for every pixel (image not found).
    = 960.000 checks.

    the time you need for this is depending on your computer, just make a loop with 960,000 runs and check a pixel in it.


    i guess ~0.25 seconds in worstcase?


    greets
    Last edited by Shoruun; 06-22-2012 at 07:28 AM.

Similar Threads

  1. [Selling] 3100 player WTS scripts for dmg/coil/reflect/grounding/interrupt
    By swndic in forum World of Warcraft Buy Sell Trade
    Replies: 0
    Last Post: 11-04-2014, 03:55 PM
  2. [Selling] 3100 player WTS scripts for dmg/coil/reflect/grounding/interrupt
    By swndic in forum World of Warcraft Buy Sell Trade
    Replies: 0
    Last Post: 10-15-2014, 06:51 AM
  3. [Selling] 3100 player WTS scripts for dmg/coil/reflect/grounding/interrupt
    By swndic in forum World of Warcraft Buy Sell Trade
    Replies: 0
    Last Post: 09-19-2014, 02:08 AM
  4. WTB script for stealing gold in trade
    By kilmi1 in forum Diablo 3 Bots Questions & Requests
    Replies: 5
    Last Post: 06-17-2012, 07:17 PM
  5. Where i can find a website script for sell gold??
    By Electra45 in forum Community Chat
    Replies: 1
    Last Post: 06-14-2009, 03:40 PM
All times are GMT -5. The time now is 08:59 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