The Bytecode Club
Log inJoin the club
Video Game Reverse Engineering

Developing Bot

Started by Antidote · Dec 5, 2014

1,033 replies21,297,466 viewsLocked
Dec 31, 2014#821

@mine214 I will improve this by the next update

Dec 31, 2014#822

@Kaz if you and others wanna to try it: http://s000.tinyupload.com/?file_id=04799120701367542612
I solve that problems on script with little change...
Work's fine for me on my PC(Fast CPU) and notebook(Slow CPU) 🙂
He dont restart if dont find next button, just go back for mainscreen and restart function... if mainscreen is not avaiable he restart BS, happen with me only on "6hours force break"
And i fix the counter, now he wait 2x initial time, for look for mainscreen.

Dec 31, 2014#823

anyone can explain what exactly random factor function??

Dec 31, 2014#824

anyone can explain what exactly random factor function??

It has to do with all the sleeps in the script.
So whenever there is a pause or wait, even between clicks, it is a fixed wait period.

Random factor essentially adds some randomness to it so it looks more human like and if supercell decides to implement bot detection, this can help avoid it for simple pattern recognition.

So for exemple, wait is 10 seconds and random factor is 0.1.
Then the wait will be something between 9 and 11 seconds.
10 * (1-0.1) and 10 * (1+0.1).

Best not to change that value. I kept it there for debugging purposes but the more I think about it, the more I think we should remove it from the GUI

Dec 31, 2014#825

@Kaz if you and others wanna to try it: http://s000.tinyupload.com/?file_id=04799120701367542612
I solve that problems on script with little change...
Work's fine for me on my PC(Fast CPU) and notebook(Slow CPU) 🙂
He dont restart if dont find next button, just go back for mainscreen and restart function... if mainscreen is not avaiable he restart BS, happen with me only on "6hours force break"
And i fix the counter, now he wait 2x initial time, for look for mainscreen.

Awesome!! Thanks! I'll test it out when I am home.
I actually increased the wait by 3x time but I just got attacked so either it hit the 6 hours mark or I'll need to add more changes to fix this issue. I'll look at your code when I get home, maybe I missed something!

Jan 1, 2015#826

I have absolutely no idea about coding, but if its possible I think adding the following will make raiding more profitable:

Deploy heroes and their abilities
Deploy clan castle troops
Faster troop deployment
An attacking algorithm similar to LFRobot.
Ability to find dead bases for collector raids

Just my opinion 😛

Love the bot, its working great, thanks to all the developers 🙂

Jan 1, 2015#827

Made some fixes and added DropTrophy function!

Pre-Alpha v5.3 Update Log (GkevinOD):
-Fixed random factor to only work during attack.
-Fixed restarting loop
-Added error message when Dead Base cannot be used.
-Added Drop left over troops
-Removed moving BlueStacks
-Added DropTrophy function in idle

Compiled x32: https://mega.co.nz/#!LdpkWBqa!ArIhIRyDg0e_hQk1fhNln3RMObZRyO60L1HnnKd1lwM
Mirror: http://s000.tinyupload.com/index.php?file_id=06744533935417910791

Compiled x64: https://mega.co.nz/#!uAxEhaia!SnDIMs5DSeXEMN2eBv9XpA8R0b8epDXiHAoIbXC522o
Mirror: http://s000.tinyupload.com/index.php?file_id=38041684232634619588

Script: https://mega.co.nz/#!aVRyCajA!hGe0o4aq0onP7vvYxvLEQDCEXDLfKLMAdhacp7n71m4
Mirror: http://s000.tinyupload.com/index.php?file_id=13792517828442661684

*Note: We are preparing a forum dedicated to this bot. It will help keep track of releases and help organize the development of this bot. Antidote will post further details.

Jan 1, 2015#828

Mega not working with my computer. Would anyone be able to upload it to another website or email the x64 to me at presidentpat99@yahoo.com

Jan 1, 2015#829

@HAX4DAYS I added mirrors, hopefully it works for you.

Jan 1, 2015#830

Made some fixes and added DropTrophy function!

Pre-Alpha v5.3 Update Log (GkevinOD):
-Fixed random factor to only work during attack.
-Fixed restarting loop
-Added error message when Dead Base cannot be used.
-Added Drop left over troops
-Removed moving BlueStacks
-Added DropTrophy function in idle

Compiled x32: https://mega.co.nz/#!LdpkWBqa!ArIhIRyDg0e_hQk1fhNln3RMObZRyO60L1HnnKd1lwM
Mirror: http://s000.tinyupload.com/index.php?file_id=06744533935417910791

Compiled x64: https://mega.co.nz/#!uAxEhaia!SnDIMs5DSeXEMN2eBv9XpA8R0b8epDXiHAoIbXC522o
Mirror: http://s000.tinyupload.com/index.php?file_id=38041684232634619588

Script: https://mega.co.nz/#!aVRyCajA!hGe0o4aq0onP7vvYxvLEQDCEXDLfKLMAdhacp7n71m4
Mirror: http://s000.tinyupload.com/index.php?file_id=13792517828442661684

*Note: We are preparing a forum dedicated to this bot. It will help keep track of releases and help organize the development of this bot. Antidote will post further details.

Drop left over troops doesn't work for me. Still 30 each left.

Cryzies

This discussion is closed.