(02-19-2015, 04:31 AM)Sumboooody Wrote: So basically im trying to get this bot working, but it auto terminates itself w/ no error code.
WinWaitActive("Zodiac","")
if WinActive ("Zodiac","")= True
what i see from here, u dont get any handler and also the return value of winactive is totally wrong, winactive() return value should be the zodiac handler;
solution:
;-----u can get zodiac title by using autoit tools
$zodiachandler = wingethandle("TITLE:zodiac_title_here") ; ------finding handler using title,class,or hwnd; for easier , just use title .
WinWaitActive($zodiachandler)
if WinActive($zodiachandler) = $zodiachandler then
;-------rest of the code here