The Bytecode Club
Nub needs help w/ au3 bot - Printable Version

+- The Bytecode Club (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: Nub needs help w/ au3 bot (/showthread.php?tid=913)



Nub needs help w/ au3 bot - Sumboooody - 02-19-2015

So basically im trying to get this bot working, but it auto terminates itself w/ no error code.

WinWaitActive("Zodiac","")
if WinActive ("Zodiac","")= True

Then sleep(random(100,500,1))
send ("s")
sleep(random(100,500,1))
send ("s")
sleep(random(100,500,1))
send ("s")
sleep(random(100,500,1))
send ("s")
sleep(random(100,500,1))
send ("s")
sleep(random(100,500,1))
send ("s")
sleep(random(100,500,1))
send ("s")
EndIf


RE: Nub needs help w/ au3 bot - psychomellon - 02-19-2015

(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

Then sleep(random(100,500,1))
send ("s")
sleep(random(100,500,1))
send ("s")
sleep(random(100,500,1))
send ("s")
sleep(random(100,500,1))
send ("s")
sleep(random(100,500,1))
send ("s")
sleep(random(100,500,1))
send ("s")
sleep(random(100,500,1))
send ("s")
EndIf

Have you messed with the code at all? I saw a thread talking about changing every sleep instance to sleep(random(500,905Shadehappy) or something like that that was supposed to make the bot look more human, is that what you did?


RE: Nub needs help w/ au3 bot - Sumboooody - 02-19-2015

(02-19-2015, 05:14 AM)psychomellon Wrote:  
(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

Then sleep(random(100,500,1))
send ("s")
sleep(random(100,500,1))
send ("s")
sleep(random(100,500,1))
send ("s")
sleep(random(100,500,1))
send ("s")
sleep(random(100,500,1))
send ("s")
sleep(random(100,500,1))
send ("s")
sleep(random(100,500,1))
send ("s")
EndIf

Have you messed with the code at all? I saw a thread talking about changing every sleep instance to sleep(random(500,905Shadehappy) or something like that that was supposed to make the bot look more human, is that what you did?

yup, i got a similar bot working in the past but i lost the code for that 1


RE: Nub needs help w/ au3 bot - kotakmer - 08-27-2018

(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