AtoZ   12-15-2014, 02:23 AM
#58
I tried adding more value to '$Left' on Line 21 and the script read the search values properly.

Global $Left = 45+10, $Top = 70, $Right = 660, $Bottom = 490

Alternatively, you can try make the adjustments on line 463 as not to affect other configurations.

$Read = _TesseractWinCapture($HWnD,"",0,"",1,2,($Left+10)*$x_ratio,$Top*$y_ratio,$Right*$x_ratio,$Bottom*$y_ratio,0) ;Capture screen region with gold and elixir

btw, I still wasn't able to manually set my barracks properly with the script.
  
Users browsing this thread: 14 Guest(s)
Konloch Software - Bytecode Viewer - Reverse Engineering Forum
Copyright © 2014-2025 The Bytecode Club. Powered By MyBB.
CC0 Unless Specified Otherwise.