Thread Rating:
  • 7 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Developing Bot
let me try to explain for you Envyus,
when bot zoom out, x axis is absolute. but y axis, have a little pixels passing of screen, so u need to fix your camera after zoomout, or UP or DOWN.
this work for me. no more miss clicks after it.
Oh I see. So basically once it has zoomed out hold one of the arrow keys until it finds the barracks? Thank you for your help.
(12-24-2014, 04:29 AM)Envyus Wrote:  I am trying to run all of the latest files but have encountered an issue. I manually detect my barracks as I am requested to do so by the bot. It saves the location of all of them but then when it attempts to train my troops in constantly clicks on my DE storage and one of my DE drills. Both are not located near my barracks.
I am boosting my barracks if this has something to do with it?

delete the config file in your bot-folder and try again!
for absolute work, delete your config.ini of folder and start bot again, with one of sides of Y axis selected, or up or down. and always after zoomout, (first time you open the game) u put at same place (up or down)
I wasn't aware that there's a small variation in y axis, but it shouldn't matter anway, since the margin for x and y of barrack is quite large, 1 or 2 pixels off shouldn't affect bot clicking. Can you delete configs.ini file and make sure your resolution is 860x720 and try again?
I originally wrote it to account for resolution as well (using $x_ratio & $y_ratio) but some function (especially GkevinOD's) are very pixel sensitive, so 1 pixel off would make it unusable. If you noticed the bot can still click on basic button on 800x600 but you need 860x720 to run properly.
I've included the reg file to change to 860x720. Just run it and restart BlueStacks (right click on BS's icon in taskbar and click Restart)
http://www23.zippyshare.com/v/59243704/file.html
Also loot depend a lot on trophy and time as well. There are days when loots are abundant in certain trophy range (I'm also mid TH8 and getting good loot in 1400~1500) but also at times there are little. If you experience many loss, you can try different troop composition or lower trophy range. Also can you guy suggest good attack settings? Like drop what troop first, how many troops, wait for how long, ... that would help me optimize attack further

I'm running the bot on another machine with my second account and notice there are 1 or 2 times when it stuck at attack screen (not able to read gold value thus fail the search check). May be for certain numbers pixel can be slightly off. Anyone having this issue?
I have tried everything including deleting the config file and zooming out and using the arrow keys and it does nothing but select my DE storage which is in the middle of my base lol.
Did it output your barrack's position in the box? And did it clicking on different places your just at the middle of your screen?
 


Forum Jump:


Users browsing this thread: 133 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