The Bytecode Club
Log inJoin the club
Video Game Reverse Engineering

Developing Bot

Started by Antidote · Dec 5, 2014

1,033 replies21,297,466 viewsLocked
Jan 3, 2015#991

@missileplatypus if still getting stuck in "Trying to get main screen" try to update your BS to last version ...

Jan 3, 2015#992

@xpiamchris

COC BOt Pre-Alpha v5.3 is the latest version. GKevinOD usually release the bot updates. I lost track of the Post# already.

Jan 3, 2015#993

Tried adding Clan Castle Troop request and summon. I haven't tested, but it should work. It will only work if: You're in a clan, you have a King you can summon. Click locate your clan castle manually, and click on your clan castle. Lemme know if it doesn't work, I stopped playing after capping gold/elix with no builders left.

v5.3.4

Script:
https://mega.co.nz/#!LZJHCSqT!vCUD066n6jhXWV8jzHJMUQsP-_xTWEAn0xaSpH6LQkw

Exe:
https://mega.co.nz/#!2Q5DkJrB!m0HcPtxskzSJmNeISW7Yo7-dhVNX89TE43wKjbcJymg

Why it's hard to summon clan castle: because everyone has a different clan logo. But the clan castle summon is always to the left of the king, so we use that instead.

Jan 3, 2015#994

@Dinobot

The code is in the Func ZombieSearch().. The function is only called once in a while when the resource criteria are met. Currently it's not detecting accurately for th8 and below because it was based using a th9 account and Lv8 and below collectors didn't matter due to loot penalty. For th9, my autoscreen shot only captured one miss and that is only for boosted collectors. The zombie version was just released earlier than anticipated due to public demand LoL.

Don't worry, it'll get updated once we've compiled the pictures.

And about the memory, it may have been working for more than 8hrs without the dead base search primarily because it quickly finds bases to attack that it is not stuck in a loop for more than 250+ counts. However, the question is, will it run without deadbase with resource criteria set to 999,999 for more than 8hrs? eh.. Any volunteer? 🙂

I don't know if this is related but check this out: http://www.autoitscript.com/forum/topic/126673-clear-memory/

BTW, what Th are you in? can you send me the images?

Jan 3, 2015#995

Ok thank you. I guess in the meantime I'll wait til they release the latest one so there is no overlap.

Jan 3, 2015#996

I am TH9,

This is the images i compiled. I didnt have the boost version..  http://goo.gl/fWRsmt

By the way, is this how we add image?

 Global $Area[5][4], $IS_x[8][4], $IS_y[8][4], $E[5][8]

   $E[0][0] = @ScriptDir&"\images\ELIX1\E9F9.bmp"
   $E[0][1] = @ScriptDir&"\images\ELIX1\E10F8.bmp"
   $E[0][2] = @ScriptDir&"\images\ELIX1\E10F9.bmp"
   $E[0][3] = @ScriptDir&"\images\ELIX1\E11F8.bmp"
   $E[0][4] = @ScriptDir&"\images\ELIX1\E11F9.bmp"
   $E[0][5] = @ScriptDir&"\images\ELIX1\E12F8.bmp"
   $E[0][6] = @ScriptDir&"\images\ELIX1\E12F9.bmp"
   $E[0][7] = @ScriptDir&"\images\ELIX1\E7F9.bmp"

   $E[1][0] = @ScriptDir&"\images\ELIX2\E9F9.bmp"
   $E[1][1] = @ScriptDir&"\images\ELIX2\E10F8.bmp"
   $E[1][2] = @ScriptDir&"\images\ELIX2\E10F9.bmp"
   $E[1][3] = @ScriptDir&"\images\ELIX2\E11F8.bmp"
   $E[1][4] = @ScriptDir&"\images\ELIX2\E11F9.bmp"
   $E[1][5] = @ScriptDir&"\images\ELIX2\E12F8.bmp"
   $E[1][6] = @ScriptDir&"\images\ELIX2\E12F9.bmp"
   $E[1][7] = @ScriptDir&"\images\ELIX2\E7F9.bmp"

   $E[2][0] = @ScriptDir&"\images\ELIX3\E9F9.bmp"
   $E[2][1] = @ScriptDir&"\images\ELIX3\E10F8.bmp"
   $E[2][2] = @ScriptDir&"\images\ELIX3\E10F9.bmp"
   $E[2][3] = @ScriptDir&"\images\ELIX3\E11F8.bmp"
   $E[2][4] = @ScriptDir&"\images\ELIX3\E11F9.bmp"
   $E[2][5] = @ScriptDir&"\images\ELIX3\E12F8.bmp"
   $E[2][6] = @ScriptDir&"\images\ELIX3\E12F9.bmp"
   $E[2][7] = @ScriptDir&"\images\ELIX3\E7F9.bmp"

   $E[3][0] = @ScriptDir&"\images\ELIX4\E9F9.bmp"
   $E[3][1] = @ScriptDir&"\images\ELIX4\E10F8.bmp"
   $E[3][2] = @ScriptDir&"\images\ELIX4\E10F9.bmp"
   $E[3][3] = @ScriptDir&"\images\ELIX4\E11F8.bmp"
   $E[3][4] = @ScriptDir&"\images\ELIX4\E11F9.bmp"
   $E[3][5] = @ScriptDir&"\images\ELIX4\E12F8.bmp"
   $E[3][6] = @ScriptDir&"\images\ELIX4\E12F9.bmp"
   $E[3][7] = @ScriptDir&"\images\ELIX4\E7F9.bmp"

   $E[4][0] = @ScriptDir&"\images\ELIXSNOW\E9F9.bmp"
   $E[4][1] = @ScriptDir&"\images\ELIXSNOW\E10F8.bmp"
   $E[4][2] = @ScriptDir&"\images\ELIXSNOW\E10F9.bmp"
   $E[4][3] = @ScriptDir&"\images\ELIXSNOW\E11F8.bmp"
   $E[4][4] = @ScriptDir&"\images\ELIXSNOW\E11F9.bmp"
   $E[4][5] = @ScriptDir&"\images\ELIXSNOW\E12F8.bmp"
   $E[4][6] = @ScriptDir&"\images\ELIXSNOW\E12F9.bmp"
   $E[4][7] = @ScriptDir&"\images\ELIXSNOW\E7F9.bmp"

I will try the loop when i have my gold... just spammed them on wall.. lol..

Jan 3, 2015#997

@dinobot

Look at the images\elixir#\ folder.. some of the files are still missing because they aren't complete.

You can't just add them there. You have to test them first if the pictures are good to match. We need the full shot of the collector/s or Base to test with.

Btw, I haven't seen a Lv12 collector before. I thought It looks the same as Lv11. How did you manage to earn resources without deadbase? what's your setup?

Jan 3, 2015#998

Go view those top players... Haha ..

And some random search for low player dead base

Jan 3, 2015#999

@harshil0014 your bot can't detected fullarmy ?

Jan 3, 2015#1000

Tried adding Clan Castle Troop request and summon. I haven't tested, but it should work. It will only work if: You're in a clan, you have a King you can summon. Click locate your clan castle manually, and click on your clan castle. Lemme know if it doesn't work, I stopped playing after capping gold/elix with no builders left.

v5.3.4

Script:
https://mega.co.nz/#!LZJHCSqT!vCUD066n6jhXWV8jzHJMUQsP-_xTWEAn0xaSpH6LQkw

Exe:
https://mega.co.nz/#!2Q5DkJrB!m0HcPtxskzSJmNeISW7Yo7-dhVNX89TE43wKjbcJymg

Why it's hard to summon clan castle: because everyone has a different clan logo. But the clan castle summon is always to the left of the king, so we use that instead.

Tested. Worked only on requesting the clan troops, dropping the troop is not working. just as you stated , only when King available i think (havent tested this yet since my king is on upgrading).

This discussion is closed.