I would personally use HP Memory Reading and DMA Defeating technique as it is more exact than Pixel Search. It is possible although to do a health check in background with AutoIt without using Memory Reading for AutoIt comes with Pixel Functions which support HWND's or PID's.
Memory Reading is faster and more efficient though.
I dont know anything about the new stuff on controlclicks these days...Whats up with these bot jails?? Update plz :)
And for Swords, Heres the Code from Evan converted to AutoIt! Converted by Mua :D:D:D
Code attached for instant AutoIt Usage :p
~:Hiyoal:~ :D
Memory Reading is faster and more efficient though.
I dont know anything about the new stuff on controlclicks these days...Whats up with these bot jails?? Update plz :)
And for Swords, Heres the Code from Evan converted to AutoIt! Converted by Mua :D:D:D
Code:
#Include <NomadMemory.au3> ;Or the name of your memory reader UDF
$PID = ProcessExists("[Conquer2.0]") ;Title of Conquer, Havent Played for a while...used to be [Conquer2.0]
$MemOpen = _MemoryOpen($PID)
$currentX = _MemoryRead("[Hex Memory Address for X-Coord",$MemOpen)
$CurrentY = _MemoryRead("[Hex Memory Address for Y-Coord",$MemOpen)
$UnitVector = Sqrt($CurrentX - $NextX)^2+($CurrentY - $NextY)^2) ;Pythagoras :p. In AutoIt "^" Symbol donates "To the Power of" Not "Modulous"
$ClickX = Round(($CurrentX - $NextX) / $UnitVector * 250) + 510)
$ClickY = Round(($CurrentY - $NextY) / $UnitVector * 250) + 384)
MouseClick("Left",$ClickX,$ClickY,1,0) ;Modify Clicks and Speed as you like.
#cs
Note that:
clickX:= round(((ReadMemory(0xhexX, Conquer) - NextPathX) / Sqrt((ReadMemory(0xhexX, Conquer)- NextPathX) **2 + (ReadMemory(0xhexY, Conquer)- NextPathY) **2)* 250) + 513
clickY:= round(((ReadMemory(0xhexY, Conquer) - NextPathY) / Sqrt((ReadMemory(0xhexX, Conquer)- NextPathX) **2 + (ReadMemory(0xhexY, Conquer)- NextPathY) **2)* 250) + 384
Click %clickX%, %clickY%
Is the exact same as the above Converted Code. Its just replacing the already set variables of $CurrentX and $CurrentY
with the Memory Function inside the Round() Function.
#ce
~:Hiyoal:~ :D