The Bytecode Club - Reverse Engineering Forum
Suggestion l skipped dead base? - Printable Version

+- The Bytecode Club - Reverse Engineering Forum (https://the.bytecode.club)
+-- Forum: Lobby (https://the.bytecode.club/forumdisplay.php?fid=1)
+--- Forum: Game Cheating, Botting & Reverse Engineering (https://the.bytecode.club/forumdisplay.php?fid=97)
+--- Thread: Suggestion l skipped dead base? (/showthread.php?tid=905)



Suggestion l skipped dead base? - M Khalid - 02-18-2015

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


RE: Suggestion l skipped dead base? - neutralizer - 02-20-2015

where we add seccond code? line number please.


RE: Suggestion l skipped dead base? - M Khalid - 02-20-2015




RE: Suggestion l skipped dead base? - neutralizer - 02-23-2015

(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