M Khalid   02-18-2015, 11:41 PM
#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
neutralizer   02-20-2015, 12:26 PM
#2
where we add seccond code? line number please.
M Khalid   02-20-2015, 05:53 PM
#3
neutralizer   02-23-2015, 07:58 AM
#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
  
Users browsing this thread: 1 Guest(s)
Konloch Software - Bytecode Viewer - Hack Log - Reverse Engineering Forum
Copyright © 2014-2026 The Bytecode Club. Powered By MyBB.
CC0 Unless Specified Otherwise.