EXPLORATION BOT help

12/10/2009 10:13 khoitran2293#1
Anyone have any ideas on how to make the bot move from one treasure chest to another. Like how can it know which dot on the map it already clicked and move to the next one ?
12/10/2009 13:58 tuxx95#2
Quote:
Originally Posted by khoitran2293 View Post
Anyone have any ideas on how to make the bot move from one treasure chest to another. Like how can it know which dot on the map it already clicked and move to the next one ?
unless u can paint on the screen u cant
12/10/2009 22:10 khoitran2293#3
Quote:
Originally Posted by tuxx95 View Post
unless u can paint on the screen u cant
There is a mod that puts dots on the map depicting the locations of the chest s . i just need the Autoit to go to those locations in a specific order . When u move , however , the points of the dots ( the cordinates shifts ) so fixed values of x and y are no use.
12/10/2009 22:31 tuxx95#4
Quote:
Originally Posted by khoitran2293 View Post
There is a mod that puts dots on the map depicting the locations of the chest s . i just need the Autoit to go to those locations in a specific order . When u move , however , the points of the dots ( the cordinates shifts ) so fixed values of x and y are no use.
ik that =_= u cant mark the dots really it just goes to the one closest to the top right of the screen
12/11/2009 00:32 civwars#5
I have tried making this bot but I just want to say, it will take a long time to script.

There are two ways to do this:
1)record yourself clicking to each location, doing ...
2)image search box on minimap, moving there and ...

Then you need to script the bot to revive after death and...
goodluck
12/11/2009 02:52 Cloudsdabomb#6
ok this is how you'll probably have to do it when the dots come up on the map make it search from the top of the screen to the bottom and you're gonna have to give it time like idk about 1 minute. then when it goes to the dot (or after the time limit is over ) make the mouse move to right under the characters feet. load the skill wait like 3 seconds click then image search fro the chest.. that's just what i think you could do. try it. i learned by trial and error on how to script.
12/11/2009 03:48 pawntobishop#7
You can modify the stock maps with waypoints and walklines. That's an easy way to get an exploration bot up and running.
12/11/2009 05:05 Halfslashed#8
... Your idiocy is incredible.

All you need for this is Arcane's Modded Maps v3.1, code in an imagesearch function to find a red dot, make sure the map is zoomed in all the way, when it reaches the dot, make it press x (lrods equipped). Code in ANOTHER Imagesearch for the message that pops up, and then you need to go into C++.

If (Fail Message.bmp) then loop it back to the first image search. Otherwise if chest found (Code another image search), click the chest, click the gold + enchant. Then loop back to the beginning.

This uses a combination of AU3 and C++. I just typed out how you can do it, not the actual code. Request solved.

Also, I believe DR posted a guide on how to code an image search function for AU3. Use the search function, look for it.
12/11/2009 08:48 khoitran2293#9
Quote:
Originally Posted by Cloudsdabomb View Post
ok this is how you'll probably have to do it when the dots come up on the map make it search from the top of the screen to the bottom and you're gonna have to give it time like idk about 1 minute. then when it goes to the dot (or after the time limit is over ) make the mouse move to right under the characters feet. load the skill wait like 3 seconds click then image search fro the chest.. that's just what i think you could do. try it. i learned by trial and error on how to script.
Thanks i never knew it searched from the top right and work it's way down. Thats alot of help. is there a posssible way though to limit the area that the Image search is allowed to search? that might reduce lag and provide us with the red dot treasure locations that we want (not the ones we already visited).

thats mainly my problem, getting the image search to not search a red dot that has already been searched.
12/11/2009 23:43 civwars#10
Quote:
Originally Posted by khoitran2293 View Post
thats mainly my problem, getting the image search to not search a red dot that has already been searched.
Improve a bot one step at a time. You will fail miserably if you try to script too many functions at once.
12/12/2009 04:22 Denninja#11
Don't forget to share the bot :3

inb4 "<--noob" /edit
12/12/2009 16:47 khoitran2293#12
_ImageSearchArea($findImage,$resultPosition,0,0,@D esktopWidth,@DesktopHeight,$x,$y,$tolerance)


do anyone know how to use this function if so can u explain to me the variables that are needed to be inputed. This function would solve all of my problems