do we need to use rooted bluestack?
Video Game Reverse Engineering
Developing Bot
Started by Antidote · Dec 5, 2014
@bushido-21 No you do not need a rooted bluestacks for the bot
@GkevinOD ok thank you 🙂 btw i just delete "dir" on program filedir and replace with (x86) and au3toexe convertion dont have any error and im try it now i post if any problem exist... thanks again 🙂

Its not attacking again...
Check out the timing between preparing to attack and finished attacking.

@Antidote and @GkevinOD
I have been playing around with imagesearch and pixelsearch. I found out it very unreliable especially on the following condition:
- Level of zoom changed the pixel color.
- Placement of the building/item changed the pixel color.
I have written a short imagesearch for loot collector. So far it been working well even i changed of the collector location.
http://s000.tinyupload.com/?file_id=21700194837896152937
Global $WinPos = WinGetPos ("BlueStacks App Player")
Func CollectResources()
Local $Search
If $isDLL =-1 Then
MsgBox(48, "Error", "Missing ImageSearchDLL.dll." & @LF & "Place the ImageSearchDLL.dll in same folder.")
Exit
EndIf
while $i < 10
$Search = _ImageSearchArea('Images\Bubble.BMP', 0, $WinPos[0], $WinPos[1], $WinPos[0]+$WinPos[2], $WinPos[1]+$WinPos[3], $x, $y, $i)
If $Search = 1 Then
ControlClick ("", "", "", "left", 1, $x-$WinPos[0], $y-$WinPos[1])
;MouseClick("left", $x + 6, $y + 15, 1, 10) screen.
EndIf
$i += 1
Sleep(200)
WEnd
EndFunc
Again

@zealous Read the Read Me.txt and you can find out why
@zealous Have you tried Pre-Alpha v005?
@zealous Read the Read Me.txt and you can find out why
isit the attack from all side thing ? yeah i tried that. now im trying the 2 side to see if it might work.
@zealous Next update, both 2 side and 3 side will be implemented, along with improvement on timing and speed
@GkevinOD after skip base around 260+ still running and spoted dead base and attacking the bot working fine and not hang thanks 🙂
This discussion is closed.