Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Farm looking for Th outside OR dead base
#17
hmmm.. maybe they can add another else if somewhere in the search codes like if the checkTownhall() returns "-" , the bot will click next?
I am not sure about this code, but maybe something like this
Code:
ElseIf checkTownhall() = "-" Then
SetLog("~~~~~~~Unable to detect Townhall, skipping~~~~~~~", $COLOR_ORANGE)
Click(750, 500)

tried the code above, it didn't work. I'm about to try this code next. Still going to put this in the villageSearch under the deadbase if clause.

Code:
                     ElseIf $searchTH = "-" And $THLoc  = "-" Then
                        SetLog("~~~~~~~Unable to detect Townhall, skipping~~~~~~~", $COLOR_ORANGE)
                        Click(750, 500)
I am still using 5.5. Wink
Reply
 


Messages In This Thread
RE: Farm looking for Th outside OR dead base - by n0tm3 - 02-26-2015, 01:46 AM

Forum Jump:


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