The Bytecode Club
Log inJoin the club
Video Game Reverse Engineering

[BUG] Cannot recognise TH Level

Started by usabug · Feb 17, 2015

5 replies91,844 views
Feb 17, 2015#1

Hey m8s ,
Bot doesn't recognize TH level at the new version .
It shows all TH's as TH LVL 4-6 .
==================Quote =======================
10:27:31 πμ] ============Searching For All Base============
[10:27:31 πμ] ~Gold: 112000; Elixir: 112000; Dark: 0; Trophy: 0; Townhall: 8
[10:27:35 πμ] Error: Image Search not working...
[10:27:35 πμ] (1) [G]: 161394 [E]: 356683 [D]: 1079 [T]: 25 [TH]: 4-6, Outside
[10:27:37 πμ] ===============Searching Complete===============
==================unquote ======================
And the base was th9 ( TH was not outside )
Cheers .

Feb 17, 2015#2

Some Screenshots from searching ...

Feb 17, 2015#3

why bot can't recognize TH?? here is my log
2015-02-17 21:57:51 : ============Searching For Dead Base============
2015-02-17 21:57:52 : ~Gold: 100000; Elixir: 100000; Dark: 0; Trophy: 0; Townhall: 7
2015-02-17 21:57:56 : (1) [G]: 67328 [E]: 73199 [D]: 454 [T]: 30 [TH]: -, -
2015-02-17 21:58:09 : (2) [G]: 17543 [E]: 6615 [D]: 0 [T]: 28 [TH]: -, -
2015-02-17 21:58:18 : (3) [G]: 55783 [E]: 85966 [D]: 6 [T]: 28 [TH]: -, -
2015-02-17 21:58:27 : (4) [G]: 88512 [E]: 57119 [D]: 0 [T]: 15 [TH]: -, -
2015-02-17 21:58:36 : (5) [G]: 22399 [E]: 29421 [D]: 37 [T]: 13 [TH]: -, -
2015-02-17 21:58:45 : (6) [G]: 52357 [E]: 85715 [D]: 0 [T]: 19 [TH]: -, -
2015-02-17 21:58:54 : (7) [G]: 41016 [E]: 63745 [D]: 522 [T]: 28 [TH]: -, -
2015-02-17 21:59:04 : (😎 [G]: 86109 [E]: 102811 [D]: 215 [T]: 28 [TH]: -, -
2015-02-17 21:59:15 : (9) [G]: 173165 [E]: 123038 [D]: 717 [T]: 23 [TH]: -, -
2015-02-17 21:59:25 : (10) [G]: 24250 [E]: 19615 [D]: 0 [T]: 13 [TH]: -, -
2015-02-17 21:59:35 : (11) [G]: 255294 [E]: 271342 [D]: 255 [T]: 27 [TH]: -, -
2015-02-17 21:59:44 : (12) [G]: 35687 [E]: 49872 [D]: 380 [T]: 24 [TH]: -, -
2015-02-17 21:59:54 : (13) [G]: 30693 [E]: 94248 [D]: 0 [T]: 19 [TH]: -, -
2015-02-17 22:00:02 : (14) [G]: 60321 [E]: 29438 [D]: 0 [T]: 19 [TH]: -, -
2015-02-17 22:00:11 : (15) [G]: 60948 [E]: 69428 [D]: 0 [T]: 28 [TH]: -, -
2015-02-17 22:00:20 : (16) [G]: 243111 [E]: 113231 [D]: 241 [T]: 29 [TH]: -, -


 BLUESTACKS

Version: 0.9.6.4092
BlueStacks is open and not minimized
Resolution: 860, 720

 AUTOIT

Version: 3.3.12.0
Native x32
Compiled

 SPECS

CPU: X64
OS: X64; WIN_81

 DESKTOP

Aero Enabled
Depth: 32
Resolution: 768, 1366
Refresh rate: 60

 FUNCTION CALL

_WinAPI_GetDC: 0x5B011A08
_WinAPI_CreateCompatibleDC: 0x4B011F9B
_WinAPI_CreateCompatibleBitmap: 0xF3051EC9

Feb 18, 2015#4

So i was trying to figure out why the bot didn't recognize the TH lvl , and the full collectors , showing every time an error ....

Error: Image search not working .

So the reason was that i didn't understand correctly the installation instructions!

===============Quote=================================================
Download bot and uncompress the zip file and save under a folder. ( Note: Do not use Folder Name that is same as the bot name )

================Unquote==============================================

Yes i already done this but it doesnt say anywhere that when you compile it you should NOT Move the exe file from the original folder .

So when the exe searching to find the folder images , it cannot find anything cause i have moved the exe file to my desktop .

So if everybody else have the same issue the solution is to copy with the .exe file and the folder images and .dll file !

To make it simple , after you compile the bot to .exe make an new folder and copy inside the following folder/files :

1)CoC bot.exe
2)images/
3)CocBot.dll

Cheers m8s !

Feb 18, 2015#5

So i was trying to figure out why the bot didn't recognize the TH lvl , and the full collectors , showing every time an error ....

Error: Image search not working .

So the reason was that i didn't understand correctly the installation instructions!

===============Quote=================================================
Download bot and uncompress the zip file and save under a folder. ( Note: Do not use Folder Name that is same as the bot name )

================Unquote==============================================

Yes i already done this but it doesnt say anywhere that when you compile it you should NOT Move the exe file from the original folder .

So when the exe searching to find the folder images , it cannot find anything cause i have moved the exe file to my desktop .

So if everybody else have the same issue the solution is to copy with the .exe file and the folder images and .dll file !

To make it simple , after you compile the bot to .exe make an new folder and copy inside the following folder/files :

1)CoC bot.exe  
2)images/
3)CocBot.dll

Cheers m8s !

Why did you even move the file when the default action is right click compile and you end up with all the files you need.

Feb 19, 2015#6

Hey m8s ,
Bot doesn't recognize TH level at the new version .
It shows all TH's as TH LVL 4-6 .
==================Quote =======================
10:27:31 πμ] ============Searching For All Base============
[10:27:31 πμ] ~Gold: 112000; Elixir: 112000; Dark: 0; Trophy: 0; Townhall: 8
[10:27:35 πμ] Error: Image Search not working...
[10:27:35 πμ] (1) [G]: 161394 [E]: 356683 [D]: 1079 [T]: 25 [TH]: 4-6, Outside
[10:27:37 πμ] ===============Searching Complete===============
==================unquote ======================
And the base was th9 ( TH was not outside )
Cheers .

That's a false positive from the lower left corner of the screen (by the rocks and beach).

TH detection is still at the initial stage.

Got something to add?

Log in to post a reply.

Join the conversation