ClashFarmer Discussion Forum
prevent anti-bot - Printable Version

+- ClashFarmer Discussion Forum (https://www.clashfarmer.com/forum)
+-- Forum: General Discussions (https://www.clashfarmer.com/forum/forumdisplay.php?fid=5)
+--- Forum: Feature Requests (https://www.clashfarmer.com/forum/forumdisplay.php?fid=6)
+--- Thread: prevent anti-bot (/showthread.php?tid=4022)



prevent anti-bot - bdigs - 06-20-2016

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


RE: prevent anti-bot - Zel - 07-06-2016

(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  ;-)