Questions on tbc source code - Printable Version +- The Bytecode Club - Reverse Engineering Forum (https://the.bytecode.club) +-- Forum: Lobby (https://the.bytecode.club/forumdisplay.php?fid=1) +--- Forum: Game Cheating, Botting & Reverse Engineering (https://the.bytecode.club/forumdisplay.php?fid=97) +--- Thread: Questions on tbc source code (/showthread.php?tid=462) |
Questions on tbc source code - FastFrench - 01-28-2015 Hi, As I read the script code, there is a small point that is not clear to me. Could someone help me on this? At the beginning of the script, we have : Global $Title = "BlueStacks App Player" Global $HWnD = WinGetHandle(WinGetTitle($Title)) And later in the _CaptureRegion function: Local $hDC_Capture = _WinAPI_GetWindowDC(ControlGetHandle("BlueStacks App Player", "", "[CLASS:BlueStacksApp; INSTANCE:1]")) Is there any reason to use different instructions ? Do you expect ControlGetHandle("BlueStacks App Player", "", "[CLASS:BlueStacksApp; INSTANCE:1]") and WinGetHandle(WinGetTitle($Title)) to retrieve different handles ? Thanks RE: Questions on tbc source code - dinobot - 01-28-2015 due to some unable to use background mode. 2 different instruction were used. both still get BS windows. RE: Questions on tbc source code - FastFrench - 01-28-2015 OK, thank you for your answer. |