The Bytecode Club - Reverse Engineering Forum
Developing Bot - Printable Version

+- The Bytecode Club - Reverse Engineering Forum (https://the.bytecode.club)
+-- Forum: Lobby (https://the.bytecode.club/forumdisplay.php?fid=1)
+--- Forum: Game Cheating, Botting & Reverse Engineering (https://the.bytecode.club/forumdisplay.php?fid=97)
+--- Thread: Developing Bot (/showthread.php?tid=155)



RE: Developing Bot - warrockblack - 12-24-2014

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.


RE: Developing Bot - Envyus - 12-24-2014

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.


RE: Developing Bot - kojometa - 12-24-2014

(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!


RE: Developing Bot - warrockblack - 12-24-2014

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)


RE: Developing Bot - Antidote - 12-24-2014

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


RE: Developing Bot - Antidote - 12-24-2014




RE: Developing Bot - Antidote - 12-24-2014

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?


RE: Developing Bot - Envyus - 12-24-2014

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.


RE: Developing Bot - Antidote - 12-24-2014

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?


RE: Developing Bot - odySSeys - 12-24-2014