Skip to content

Commit

Permalink
AH: Fix on the character color to search
Browse files Browse the repository at this point in the history
  • Loading branch information
mangelgar14 committed Nov 10, 2024
1 parent 47583d4 commit b769eba
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Libraries/AscendingHeights.au3
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Func AscendingHeightsPlay()
Local $bSame = False

Local $iLastCheckTime = TimerInit()
Local $iStuckTimer = TimerInit()
While True
If TimerDiff($iLastCheckTime) >= 5000 Then
$iLastCheckTime = TimerInit()
Expand All @@ -40,6 +41,7 @@ Func AscendingHeightsPlay()
Sleep(2000)
MouseClick("left", 560, 570, 1, 0)
EndIf

PixelSearch(700, 385, 730, 385, 0x7A444A)
If Not @error Then
cSend(15000, 0, "d")
Expand All @@ -48,9 +50,8 @@ Func AscendingHeightsPlay()
EndIf
EndIf

$aPosPlayer = PixelSearch(375, 260, 900, 730, 0x633E75)
$aPosPlayer = PixelSearch(375, 260, 900, 730, 0x11869E, 31)
If @error Then ContinueLoop

$aPosPlatform = searchAllPlatformBellowPlayer($aPosPlayer[0], $aPosPlayer[1], $bSame)
If Not IsArray($aPosPlatform) Then ContinueLoop

Expand Down

0 comments on commit b769eba

Please sign in to comment.