aionbot

07/19/2011 20:38 veibone#1
hi guys i start work autoit for a bot on aion but i stuck on somthing simple i think:P if u can help me thnx alot from now;)

i wana check the bar of mob and spam skill until it is dead
for example:


do
sleep (500) ;delay 0.5 sec
Send ("{1}") ;press hotkey1
sleep (500) ;delay 0.5 sec
until $Coord = PixelSearch ( 0, 0,545,65, 0xCC241E , 0, 0 ) ; the colour of the dead mob

it doesnt work good;( ..anyidea?
07/20/2011 11:28 Looneytune#2
[Only registered and activated users can see links. Click Here To Register...]
wrong section dude
07/20/2011 12:14 Nirasicho#3
:D
And I suggest using memory reading instead of pixel detection.
PD is really nice and all - but it is unnecessary work and memreading bots behave much .. smoother ^^
07/20/2011 12:35 veibone#4
thnx guys
i made this and work fine.. i have to add antistuck function and autopot and then i can upload it:D
func Skills()
while 1
$Coord = PixelSearch ( 0, 0,539,66, 0x2F3030, 0, 0) ;color of dead mob
IF Not @error then
Loot_Mob () ;call loot function couse mob is dead
else
send("{1}") ;spam skils till mob seems dead
sleep (1000)
endif ;if mob die the loop work 1 more time and then try to loot
wend
EndFunc

btw i am rly new in autoit and dont know how to make membot and how to find hex of aion:(
07/20/2011 13:14 Blastradius#5
And there's the point of having different colours for different monsters (their rank and rating), different UI locations, different resolutions and configured resolutions, as well as graphical layer differences (this is relatively small, but colours can vary depending on the in/out of the graphical engine on different computers).