The Bytecode Club
Log inJoin the club
Video Game Reverse Engineering

Nub needs help w/ au3 bot

Started by Sumboooody · Feb 18, 2015

3 replies123,728 views
Feb 18, 2015#1

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

Feb 18, 2015#2

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,905😎) or something like that that was supposed to make the bot look more human, is that what you did?

Feb 18, 2015#3

psychomellon wrote:

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,905😎) 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

Aug 27, 2018#4

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

Got something to add?

Log in to post a reply.

Join the conversation