n0tm3   02-26-2015, 01:46 AM
#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
  
Users browsing this thread: 1 Guest(s)
Konloch Software - Bytecode Viewer - Hack Log - Reverse Engineering Forum
Copyright © 2014-2026 The Bytecode Club. Powered By MyBB.
CC0 Unless Specified Otherwise.