Sumboooody   02-19-2015, 04:31 AM
#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
psychomellon   02-19-2015, 05:14 AM
#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?
Sumboooody   02-19-2015, 05:38 AM
#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
kotakmer   08-27-2018, 01:35 PM
#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
This post was last modified: 08-27-2018, 01:38 PM by kotakmer.
  
Users browsing this thread: 1 Guest(s)
Konloch Software - Bytecode Viewer - Reverse Engineering Forum
Copyright © 2014-2025 The Bytecode Club. Powered By MyBB.
CC0 Unless Specified Otherwise.