Bug v5.4.2.2.2 - 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: Bug v5.4.2.2.2 (/showthread.php?tid=403) |
RE: Bug v5.4.2.2.2 - dinobot - 01-22-2015 .... 5.4.2.2.2.2 RE: Bug v5.4.2.2.2 - GkevinOD - 01-22-2015 Haha no, 5.4.2.2.3 RE: Bug v5.4.2.2.2 - goondar - 01-22-2015 RE: Bug v5.4.2.2.2 - Ph!d - 01-22-2015 RE: Bug v5.4.2.2.2 - GkevinOD - 01-22-2015 @Ph!d Well first of all, the dropping of CC troops and King and Queen differ in each switch statement. Also, if you replace $checkKPower/$checkQPower with booleans, then it would fail because those check what slot they are placed in. Next, Func ReturnHome(...) have optional parameters that enable taking screenshot of loot and checking for gold change which is not needed when we just want it to return home without taking screenshot of loot and or checking for goldchange. Finally, for Func RequestCC() in order for us to check if it is the same text, it would take more power (cpu) to check than to actually just replace the text due to the use of pixel functions. However, we do need to fix that 'Waiting xx seconds before activating King/Queen'. RE: Bug v5.4.2.2.2 - dinobot - 01-22-2015 Update of 6th hr log.. working around 12-13 min recovery... Code: 2015-01-22 12:13:12 : Zoomed Out I am fine with this as i dont mind being attacked once in a while. But if you want to reduce the attack chance, can try increase the frequency of checking by reducing the sleep below. currently is every 5 min check. Code: Func waitMainScreen() ;Waits for main screen to popup RE: Bug v5.4.2.2.2 - Ph!d - 01-23-2015 (01-22-2015, 12:23 PM)GkevinOD Wrote: @Ph!d Well first of all, the dropping of CC troops and King and Queen differ in each switch statement. You mean 'cause the sleep()? (01-22-2015, 12:23 PM)GkevinOD Wrote: Also, if you replace $checkKPower/$checkQPower with booleans, then it would fail because those check what slot they are placed in. That's why I replaced the: Code: Click(68 + (72 * $checkKPower), 595) With: Code: Click(68 + (72 * $King), 595) So it knows the slot when activating the powers. I have tested the changes and it is working on my end, the 'Waiting xx seconds before activating King/Queen' message is only displayed when a hero is available. The other way around would have been to set back to -1 value in Func ReturnHome(...) but since we already have the slot stored in the variables $King and $Queen I thought it would be better to use those values and have the checks as bool instead of having 2 * 2 values of the same (king and queen). (01-22-2015, 12:23 PM)GkevinOD Wrote: Next, Func ReturnHome(...) have optional parameters that enable taking screenshot of loot and checking for gold change which is not needed when we just want it to return home without taking screenshot of loot and or checking for goldchange. Here I only meant that the $checkKPower and $checkQPower don't need to be changed cause they are already bool. Sorry if I didn't make it clear. (01-22-2015, 12:23 PM)GkevinOD Wrote: Finally, for Func RequestCC() in order for us to check if it is the same text, it would take more power (cpu) to check than to actually just replace the text due to the use of pixel functions. Ok, that makes sense. RE: Bug v5.4.2.2.2 - Sopyan-7 - 01-23-2015 How do i run it? RE: Bug v5.4.2.2.2 - Ph!d - 01-23-2015 (01-23-2015, 12:21 PM)Sopyan Wrote: How do i run it? Please do read the sticky, this forum is for Suggestions/Bug Reports. Here, more easy couldn't be: Quick Start - How to use bot RE: Bug v5.4.2.2.2 - Sopyan-7 - 01-23-2015 Wtf?!?! i didnt say that? I've been running the bot for two weeks now I may have to change my pass |