Ok, I had a lot of GUI's before hand where user enters the amount of arrows and what not, but I didn't include it because it was long. But here is what I have.
$packs=$packs*500
While $packs>=0
send("{CTRLDOWN}")
MouseClick("left", 509,81,1,1)
sleep(3000)
$coord = Pixelsearch(0,97,1019,569, "0xB50400", 5, 1 )
If @error <> 1 then
Mouseclick("right",$coord[0], $coord[1],1,1)
$packs=$packs-3
$left=$left-3
Endif
sleep(2000)
MouseClick("left", 986,408,1,1)
sleep(3000)
$coord = Pixelsearch(0,97,1019,569, "0xB50400", 5, 1 )
If @error <> 1 then
Mouseclick("right",$coord[0], $coord[1],1,1)
$packs=$packs-3
$left=$left-3
Endif
sleep(2000)
MouseClick("left", 513,712,1,1)
sleep(3000)
$coord = Pixelsearch(0,97,1019,569, "0xB50400", 5, 1 )
If @error <> 1 then
Mouseclick("right",$coord[0], $coord[1],1,1)
$packs=$packs-3
$left=$left-3
Endif
sleep(2000)
MouseClick("left", 36,388,1,1)
sleep(3000)
$coord = Pixelsearch(0,97,1019,569, "0xB50400", 5, 1 )
If @error <> 1 then
Mouseclick("right",$coord[0], $coord[1],1,1)
$packs=$packs-3
$left=$left-3
Endif
sleep(200)
send("{CTRLUP}")
if $left<=3 Then
sleep(400)
send("{F1}")
$left=500
sleep(400)
EndIf
WEnd
----------------------------------------------------------------------
_1
4x2
_3
My bot jumps to 1, looks for mosnters and scatters.
My bot then jumps to 2, looks for mosnters and scatters.
My bot then jumps to 3, looks for mosnters and scatters.
My bot then jumps to 4, looks for mosnters and scatters.
The problem is when it jumps to the certain coords, sometime a monster is standing where those coords are. My character clicks the monster instead of jumping to the coords. I edited my monster.dat, but still it clicks the NAME of the monster sometimes, and doesn't jump there, throwing off the position of my character.