The Bytecode Club
Log inJoin the club
Video Game Reverse Engineering

[Suggestion] More human bot

Started by pubeoutros · Feb 5, 2015

11 replies177,307 views
Feb 5, 2015#1

Hi!
Yesterday I eared that supercell is taking some precautions against the using of bots, to have a open source bot is very good, but like everything, have some disadvantages. Like this for supercell it's easy to check the bot, and change the game according to the bot. And for curiosity today the game had a maintenance break, it could not have anything to do with this but supercell wants money so they should stop more and more the use of bots.

One of the things that i thought was, add an random number like between 0,5 and 2, and every time the bot sleep or wait some time or whatever, the bot generate a number and multiply this  generated number with the number that is defenited each time the bot use it, so for example, if the bot will wait 15 seconds to the end of the attack it will be 15 x r (random number, here let's say the bot generate 0,7)= 10,5 seconds, then the bot will sleep 2 seconds, again 2 x r (here let's say 1,7)= 3,4 seconds. This way the bot will not always use the exactly same time, and that way it is much more difficult to them see how is using a bot, or is too active.

Other thing is, even if i use always the attack from all sides, it could have for example 3 different ways of doing it, once again, not always the same way with always the same interval of time between a wave and another. So here we will have 2 different things, first with the random factor, the waves will be deployed always in different way, and then we will have for example 3 strategies, using it randomly, so to catch us using the bot will be hardest.

In v5.5:
The Halt attack mode, it is too active, like this is only to have the game on, it could sleep in around 1minute or 2, and not only 2/3 seconds, the bot is always doing something, i think it could relax more.
Still in the Halt attack mode/Shutdown/sleep, why not a dark elixir full?

Why you delete the v5.5? [edit] Answer: "Its not longer release for now, because we must add more features and bugfix"

Btw, @dinobot @safar46 if you could add this random factor in the last release it will be perfect, thanks!

[edit]
Changing the position where troops are deployed, like a random factor here too, for example instead of deploy one barb in (100,200) it could be (100+r,200+r), here the r, could be between -5 and 5, and the same for the second but with a new r (102+r,202+r). It could give work, but this way it would be much more difficult to detect the bot.

Feb 5, 2015#2

Open your version of the code. Replace every sleep function with something similar to this:

Sleep ((Random(1000, 2000, 1))

This will randomize the sleep, or pause, of the bot. The above code will randomly sleep between 1 and 2 seconds. Adjust your values as needed.

Feb 5, 2015#3

Open your version of the code. Replace every sleep function with something similar to this:

Sleep ((Random(1000, 2000, 1))

This will randomize the sleep, or pause, of the bot. The above code will randomly sleep between 1 and 2 seconds. Adjust your values as needed.

Yes, that's a very good thing, but why not it all the bot, it's only me that are afraid of Supercell?
I could do this in all the bot, but i don't want to do this and in the next day, the devs release a new version, and then, do it to all the bot again.
So if the devs want i could help implementing this to the bot.

I edit the main thread, add a new random factor, to the deploy of the troops, it could be done too?

Feb 5, 2015#4

I edit the main thread, add a new random factor, to the deploy of the troops, it could be done too?

Anything 'can' be done, the question is, will it be done...?

What you ask isn't to difficult. AutoIt code is very simple. There is a TON of information out there on how to use it. You could add what you want fairly easily.

Feb 5, 2015#5

Anything 'can' be done, the question is, will it be done...?

What you ask isn't to difficult. AutoIt code is very simple. There is a TON of information out there on how to use it. You could add what you want fairly easily.

Yes, the question is, it will be done? Like i said i could help to do this, i know only the basic of coding, and never used autoit, but like this is something that looks easy to be done, i could do this, but for that i need the devs to accept this and implement this in the future versions of the bot. And tell me how to do the changes in the deployment of the troops. This way it will be available in all future releases.

Feb 5, 2015#6

I can't guarantee it will work as I have not really figured out what they are doing with the function but, you can try changing this function:

 Func _Sleep($iDelay, $iSleep = True)
	Local $iBegin = TimerInit()
	While TimerDiff($iBegin) < $iDelay
		If $RunState = False Then Return True
		If $iSleep = True Then Sleep(100)
	WEnd
	Return False
 EndFunc   ;==>_Sleep
 Func _Sleep($iDelay, $iSleep = True)
	Local $RandomNumber = Random (100, 1000, 1)
	Local $iBegin = TimerInit()
	While TimerDiff($iBegin) < $iDelay
		If $RunState = False Then Return True
		If $iSleep = True Then Sleep($RandomNumber)
	WEnd
	Return False
EndFunc   ;==>_Sleep

This changes your sleep time randomly from .1 seconds to 1 second, every time the sleep function is called. Keep in mind, this will effect all of your script.

Feb 5, 2015#7

1-2sec makes lots of different in troop deployment... lol
care of what you do with that sleep.

Feb 5, 2015#8

I highly doubt Supercell is analyzing your tap biometrics. It would be next to impossible to tell whether a bot is being used or not unless the same pixels are being tapped over and over again.

Feb 5, 2015#9

1-2sec makes lots of different in troop deployment... lol
care of what you do with that sleep.

Yeah, that was just an example. I wouldn't really use it that way 🙂

Feb 6, 2015#10

Explicit wrote:

I highly doubt Supercell is analyzing your tap biometrics. It would be next to impossible to tell whether a bot is being used or not unless the same pixels are being tapped over and over again.

I don't doubt, it is easy, they check if 'you' use always the same times, and if you deploy the troops always in the same coordinates, or almost always, that way, it's obviosly that you are using a bot, it's impossible to have 3 attacks deploying the troops always in the same coordinates.

Snarg wrote:

dinobot wrote:

1-2sec makes lots of different in troop deployment... lol
care of what you do with that sleep.

Yeah, that was just an example. I wouldn't really use it that way 🙂

Yes it should have different sleeps, in attacking it should keep the time that already have plus a factor between 0.80 an 1.20 for example.

Got something to add?

Log in to post a reply.

Join the conversation