Thread Rating:
  • 7 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Developing Bot
anyone can explain what exactly random factor function??
(01-01-2015, 08:36 AM)youbrey Wrote:  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
(01-01-2015, 08:12 AM)warrockblack Wrote:  @Kaz if you and others wanna to try it: http://s000.tinyupload.com/?file_id=0479...1367542612
I solve that problems on script with little change...
Work's fine for me on my PC(Fast CPU) and notebook(Slow CPU) Smile
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!
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 Tongue

Love the bot, its working great, thanks to all the developers Smile
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!ArIhIRyDg0...1HnnKd1lwM
Mirror: http://s000.tinyupload.com/index.php?fil...5417910791

Compiled x64: https://mega.co.nz/#!uAxEhaia!SnDIMs5DSe...AoIbXC522o
Mirror: http://s000.tinyupload.com/index.php?fil...2634619588

Script: https://mega.co.nz/#!aVRyCajA!hGe0o4aq0o...hacp7n71m4
Mirror: http://s000.tinyupload.com/index.php?fil...8442661684

*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.
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
(01-01-2015, 10:34 AM)GkevinOD Wrote:  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!ArIhIRyDg0...1HnnKd1lwM
Mirror: http://s000.tinyupload.com/index.php?fil...5417910791

Compiled x64: https://mega.co.nz/#!uAxEhaia!SnDIMs5DSe...AoIbXC522o
Mirror: http://s000.tinyupload.com/index.php?fil...2634619588

Script: https://mega.co.nz/#!aVRyCajA!hGe0o4aq0o...hacp7n71m4
Mirror: http://s000.tinyupload.com/index.php?fil...8442661684

*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
 


Forum Jump:


Users browsing this thread: 62 Guest(s)

About The Bytecode Club

We're a community forum focused on Reverse Engineering, we try to target Java/Android but we also include other langauges/platforms. We pride ourselves in supporting and free and open sourced applications.

Website