Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Nub needs help w/ au3 bot
#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
Reply
#2
(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?
Reply
#3
(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
Reply
#4
(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
Reply
 


Forum Jump:


Users browsing this thread: 2 Guest(s)

About The Bytecode Club

We're a community forum focused on Reverse Engineering, we try to target Java/Android but we also include other langauges/platforms. We pride ourselves in supporting and free and open sourced applications.

Website