AtoZ   12-18-2014, 06:56 PM
(12-18-2014, 06:39 PM)Antidote Wrote: The pixelsearch is just looking for a specific shade of red from the End Battle button so it knows when to start reading. I cannot reproduce your error but I do notice sometimes the bot cannot detect a specific shade when battle finish to click return home. For CheckSearch you can use this old function instead.


Code:
Func CheckSearch()   Local $Check = ""   While $Check = ""  $Check = StringStripWS(_TesseractWinCapture($HWnD,"",0,"",1,2,$Left*$x_ratio,$Top*$y_ratio,$Right*$x_ratio,$Bottom*$y_ratio,0), 8)  Sleep(500)   WEnd EndFunc

0x0D355B = Midnight blue?
  
Users browsing this thread: 1 Guest(s)
Konloch Software - Bytecode Viewer - Hack Log - Reverse Engineering Forum
Copyright © 2014-2026 The Bytecode Club. Powered By MyBB.
CC0 Unless Specified Otherwise.