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.
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.