Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug -> v5.4.2.2 : Not zooming out & Always Shield click
#7
Managed to find the issue:

The below zoom out codes in v5.4.2.2 does not works well for me
Code:
;~ Func ZoomOut() ;Zooms out
;~     Local $i = 0
;~     While 1
;~         If _Sleep(500) Then ExitLoop
;~         _CaptureRegion(0, 0, 860, 2)
;~         If _PixelGetColor_GetPixel(1, 1) = 0x000000 And _PixelGetColor_GetPixel(850, 1) = 0x000000 Then
;~             ExitLoop
;~         Else
;~             ControlSend("BlueStacks App Player", "", "", "{DOWN}", 0)
;~             $i += 1
;~             If $i = 20 Then
;~                 ExitLoop
;~             EndIf
;~         EndIf
;~     WEnd
;~ EndFunc   ;==>ZoomOut


I replaced with the below codes, found in v5.3.5
Code:
Func ZoomOut() ;Zooms out
    Local $i = 0
    While 1
        getBSPos()
        If _Sleep(500) Then ExitLoop
        If PixelGetColor($BSpos[0] + 1, $BSpos[1] + 1) = 0x000000 And PixelGetColor($BSpos[0] + 850, $BSpos[1] + 1) = 0x000000 Then
            ExitLoop
        Else
            ControlSend("BlueStacks App Player", "", "", "{DOWN}", 0)
            $i += 1
            If $i = 30 Then
                ExitLoop
            EndIf
        EndIf
    WEnd
EndFunc   ;==>ZoomOut
Reply
 


Messages In This Thread
RE: Bug -> v5.4.2.2 : Not zooming out & Always Shield click - by k3iroll - 01-14-2015, 08:12 PM

Forum Jump:


Users browsing this thread: 7 Guest(s)

About The Bytecode Club

We're a community forum focused on Reverse Engineering, we try to target Java/Android but we also include other langauges/platforms. We pride ourselves in supporting and free and open sourced applications.

Website