Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Bug] camps are full and bot is still "waiting for full army"
#6
It´s Func CheckFullArmy()
maybe the pixel color or position _get ....

Code:
Func CheckFullArmy()
_CaptureRegion()
$Pixel = _ColorCheck(_GetPixelColor(327, 520), Hex(0xD03838, 6), 20)
If $Pixel Then
$fullArmy = True
ElseIf _GUICtrlComboBox_GetCurSel($cmbTroopComp) = 8 Then
$fullArmy = False
EndIf
EndFunc   ;==>CheckFullArmy

I never had problems with my TH8 , but with my Th10 yes ... i will snapshot both and see if there are differences...
Reply
 


Messages In This Thread
RE: [Bug] camps are full and still bot is "waiting for full army" - by promac - 02-20-2015, 09:08 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)

About The Bytecode Club

We're a community 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