How to donate other troops? - 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: How to donate other troops? (/showthread.php?tid=1024) |
How to donate other troops? - rozerga - 02-24-2015 Hi. Newbie here , I just want to modify barb to balloons and giant to dragons in donating, but i don't know what DonatePixel(DonateCC.au3) for loons and drags. I try to put 396 for gobs and it works, but when i put 657 for loons, the log says "No troops available for donation, donating later..." Please Help Code: If _ColorCheck(_GetPixelColor(657, $DonatePixel[1] - 5), Hex(0x507C00, 6), 10) Or _ColorCheck(_GetPixelColor(657, $DonatePixel[1] - 10), Hex(0x507C00, 6), 10) Then Thanks for responds RE: How to donate other troops? - promac - 02-24-2015 Code: Func DonateBarbs() _CaptureRegion .... 725 .... then after Getpixel is 720 In our case : Code: Func DonateBarbs() RE: How to donate other troops? - rozerga - 02-24-2015 Thanks sir promac it works with CaptureRegion 660 and GetPixelColor 657 for loons. but how about for drag and how you figure out the CaptureRegion needs to be 660? RE: How to donate other troops? - TREV71 - 02-24-2015 After the new update it seems the bot dont donate giants. the log says "No troops available for donation, donating later..." What do i need to edit for giants? RE: How to donate other troops? - promac - 02-25-2015 |