help with simple auto it image search menu

User Tag List

Results 1 to 3 of 3
  1. #1
    wasssaaa's Avatar Banned
    Reputation
    20
    Join Date
    Apr 2014
    Posts
    57
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    help with simple auto it image search

    Hello ppl, well ive started over 2 weeks ago in this autoit world, and i cant seem to make imagesearch work for my next bot. Im gonna paste the code here and tell the problem:

    Code:
    Func gg()
    	print("Searching")
    	$found = False;
    	$x = 746
    	$y = 482
    	While Not $found
    		$coord =_ImageSearch(@ScriptDir &"\boss.png", 1, $x, $y, 0)
    		 If Not @error Then
     			Sleep(500)
    			MouseClick("left", Round(746 * $x_ratio), Round(482 * $y_ratio), 1, 10)
    			ExitLoop
    		Else
    			Sleep(100)
    		EndIf
    	WEnd
    	Return True
     EndFunc
    Ive added #include<imagesearch.au3>

    but the calls error when he gets to this part of the code, ive set imagesearch in the same directory and auto it shuwtdowns when it gets to this part.
    if i delete imagesearch.au3 from the same directory it says it has problems opening the file imagesearch.au3

    any ideas¿¿¿
    Last edited by wasssaaa; 05-08-2014 at 07:49 AM.

    help with simple auto it image search
  2. #2
    xalcon's Avatar Contributor ふたなり
    Authenticator enabled
    Reputation
    198
    Join Date
    Oct 2008
    Posts
    291
    Thanks G/R
    20/58
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Have you tried appending .au3 to the include?
    #include <ImageSearch.au3>
    It helps knowing the error you are getting My crystal ball isnt working for other peoples computers.
    "Threads should always commit suicide - they should never be murdered" - DirectX SDK

  3. #3
    wasssaaa's Avatar Banned
    Reputation
    20
    Join Date
    Apr 2014
    Posts
    57
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by xalcon View Post
    Have you tried appending .au3 to the include?

    It helps knowing the error you are getting My crystal ball isnt working for other peoples computers.
    sorry but yes i have, i missed the au3 in the post not the file :P.
    Last edited by wasssaaa; 05-08-2014 at 07:58 AM.

Similar Threads

  1. need help with simple .bat and configuring proxycap for multiple wow.exe
    By snier in forum WoW Bots Questions & Requests
    Replies: 0
    Last Post: 02-16-2015, 04:38 AM
  2. Need help with a simple teleport hack
    By Login Error in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 04-27-2008, 02:25 AM
  3. Need help with my Simple MountNPC
    By freezer1012 in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 01-21-2008, 07:53 PM
  4. Help with Auto-it!!
    By Krazzee in forum World of Warcraft General
    Replies: 7
    Last Post: 06-12-2006, 09:22 PM
All times are GMT -5. The time now is 02:47 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search