Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Suggestion l skipped dead base?
#1
Can you please replace ''all towns'' snapshot with ''dead base snapshot and skipped base snapshot'' because some members are saying that it is skipping dead bases but they don't know that dead base searching is already working the best...also if they use ''all towns'' , it saves many space in folder ...

dead and skipped base snapshot option will help them to see that the dead base is working best and it doesn't save much space...

here is the code of dead base and skipped base snapshot it also works in background mode...

add this in main bot COC Bot.au3 at line number 38
Code:
DirCreate(@ScriptDir & "\SkippedZombies\")
DirCreate(@ScriptDir & "\AttackedZombies\")


and replace this code from line number 38 to 43 with the code in COCBot \ functions \ search \ villagesearch.au3
Code:
                    If checkDeadBase() Then
                        SetLog("~~~~~~~Dead Base Found!~~~~~~~", $COLOR_GREEN)
                        Local $Date = @MDAY & "." & @MON & "." & @YEAR
                         Local $Time = @HOUR & "." & @MIN & "." & @SEC
                        _CaptureRegion()
                        _GDIPlus_ImageSaveToFile($hBitmap, @ScriptDir & "\AttackedZombies\" & $Date & " at " & $Time & ".jpg")
                        ExitLoop
                    Else
                        SetLog("~~~~~~~Not dead base, skipping~~~~~~~", $COLOR_ORANGE)
                        Local $Date = @MDAY & "." & @MON & "." & @YEAR ; DEBUG
                        Local $Time = @HOUR & "." & @MIN & "." & @SEC ; DEBUG
                        _CaptureRegion()
                        _GDIPlus_ImageSaveToFile($hBitmap, @ScriptDir & "\SkippedZombies\" & $Date & " at " & $Time & ".jpg")
                        Click(750, 500) ;Click Next
i don't know about autoit so i don't know how to add this as a option in bot please add this is next version...thanks Smile
Reply
#2
where we add seccond code? line number please.
Reply
#3
Reply
#4
(02-20-2015, 05:53 PM)M Khalid Wrote:  @neutralizer ... In bot folder go to COCBot \ functions \ Search \VillageSearch


Code:
If checkDeadBase() Then
SetLog("~~~~~~~Dead Base Found!~~~~~~~", $COLOR_GREEN)
ExitLoop
Else
SetLog("~~~~~~~Not dead base, skipping~~~~~~~", $COLOR_ORANGE)
Click(750, 500) ;Click Next
line number 38 to 43 replace with 2nd code


thank you it is working perfect Shadetongue
Reply
 


Forum Jump:


Users browsing this thread: 3 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