Developing Bot
i have a new issue here @GkevinOD! When i ''search'' enemies, my bot always stop when search any village with DarkElixir! without darkelixir, he's work fine!
Member
i have a new issue here @GkevinOD! When i ''search'' enemies, my bot always stop when search any village with DarkElixir! without darkelixir, he's work fine!
> **fly3r01 wrote:** > > > **warrockblack wrote:** > > > > yay, i finally can solve that issue. > > i update my bs, > >  and turn this on! > > ... XD now is FINE! > > working... > > i got only a bit iss
yay, i finally can solve that issue. i update my bs,  and turn this on! ... XD now is FINE! working... i got only a bit issue on dark elixir, when appears. bot stop... i`ll check more times and report -
> Hi Guys, > > I am able to setup the bot to runs without problem. The bot starts to zoom up and train the troops until the army camp is full. then, it starts to search for bases. here comes the problem, the bot search for first base and it just stops and idling without dropping
background i mean when a barrack pop appear, so background is the main screen. When barrack pop appear the bot only ''see'' main screen pixels, he didint see pixel on popup, he cant target any color on popup just on main screen. can u understand now ? :x (sry 4 bad english) // wh
samething @GkevinOD. i think he still dont recognize popup window barrack.... only background pixels.
> ``` $Pixel = PixelSearch(351*$x_ratio, 455*$y_ratio, 351*$x_ratio, 455*$y_ratio, 20, 1, $HWnD) If IsArray($Pixel) Then $FullArmy = True EndIf ``` sorry, but why color is 20 ?
anyone of you guys got problem here: "$Pixel = PixelGetColor(351*$x_ratio, 455*$y_ratio, $HWnD) If $Pixel = 13645880 OR $Pixel = 13645881 OR $Pixel = 13645888 OR $Pixel = 13645889 OR $Pixel = 13645890 OR $Pixel = 13645891 Then" my bot is recognize the background pixel, not popup
I got a problem on bot, he's dont recognize the ''popup'' when click train troops he saw pixels in background only... i have no idea how to fix PixelGetColor, on bot script for he read ''popup'' window on bs... Can someone give me a hand ? XD
@GeoByte, check if you BS are on 800x600 or 800x720... source are compiled on that screen i think.
@Antidote Can u release that source ? (Can i make some changes on source and apply for a BS screen 1440x900) ? or release a separate search func only ? ty.