ClashFarmer Discussion Forum

Full Version: prevent anti-bot
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How bout an algorithm like:

if troops not ready for battle:
    time_til_ready
    close clash/MEmu/bluestacks
if time() >time_til_ready
    start clash, do battle, load more troops

Only logged into clash a couple of times an hour, bit more realistic, could get a shield in that time, etc
(06-20-2016, 11:20 PM)bdigs Wrote: [ -> ]How bout an algorithm like:

if troops not ready for battle:
    time_til_ready
    close clash/MEmu/bluestacks
if time() >time_til_ready
    start clash, do battle, load more troops

Only logged into clash a couple of times an hour, bit more realistic, could get a shield in that time, etc

I also think that a more human type behavior could be implemented by allowing a user selectable 
"Sleep time".  The cycle the bot takes to check up on Troops, etc is a) constant and b) too short.  As a player 
I never check up on troops, clear resources, ask for reinforcements, etc every few seconds ... My behavior 
is longer and erratic (i.e. use something like "x + or - a few seconds") ... also my behavior is my own, every 
player goes at it differently.   Also, I should be allowed to select a "Sleep or Think time" that exceeds CoC's 
maximum session time ... time way the Bot's session would time out and it would need to login again when 
the sleep timer is exceeded (and we're in a playable hour).    


Overall ... make CF more human  ;-)