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 2, 2015#881

I have a problem. Please help.

LINE 17780

Error parsing function call.

it Happen when the bots is about to drop troops

Jan 2, 2015#882

Here is the log before this bot freeze.

2015-01-02 14:02:57 : (40) [G]: 110873 [E]: 93313 [D]: 1865 [T]: 21
2015-01-02 14:03:00 : (41) [G]: 39476 [E]: [D]: 349 [T]: 32
2015-01-02 14:03:03 : (42) [G]: 18543 [E]: 68059 [D]: 318 [T]: 14
2015-01-02 14:03:07 : (43) [G]: 27996 [E]: 28530 [D]: 274 [T]: 2
2015-01-02 14:03:11 : (44) [G]: 84113 [E]: 91313 [D]: 313 [T]: 18
2015-01-02 14:03:14 : (45) [G]: 37192 [E]: 153972 [D]: 559 [T]: 14
2015-01-02 14:03:17 : (46) [G]: 16220 [E]: 55717 [D]: 252 [T]: 28
2015-01-02 14:03:21 : (47) [G]: 32865 [E]: 2900 [D]: 677 [T]: 25
2015-01-02 14:03:24 : (4😎 [G]: 27426 [E]: 32705 [D]: 111 [T]: 17
2015-01-02 14:03:27 : (49) [G]: 73757 [E]: 54368 [D]: 257 [T]: 22
2015-01-02 14:03:30 : (50) [G]: 23561 [E]: 65858 [D]: 269 [T]: 31
2015-01-02 14:03:33 : (51) [G]: 11500 [E]: 11375 [D]: 0 [T]: 18
2015-01-02 14:03:44 : Cannot locate Next button, Restarting Bot
2015-01-02 14:03:44 : Trying to get to main screen
2015-01-02 14:07:12 : Could not automatically load Clash Of Clans
2015-01-02 14:07:12 : Trying to get to main screen
2015-01-02 14:10:37 : Could not automatically load Clash Of Clans
2015-01-02 14:10:37 : Trying to get to main screen
2015-01-02 14:14:03 : Could not automatically load Clash Of Clans
2015-01-02 14:14:03 : Trying to get to main screen
2015-01-02 14:17:29 : Could not automatically load Clash Of Clans
2015-01-02 14:17:29 : Trying to get to main screen
2015-01-02 14:20:54 : Could not automatically load Clash Of Clans
2015-01-02 14:20:54 : Trying to get to main screen
2015-01-02 14:24:18 : Could not automatically load Clash Of Clans
2015-01-02 14:24:18 : Trying to get to main screen
2015-01-02 14:27:44 : Could not automatically load Clash Of Clans
2015-01-02 14:27:44 : Trying to get to main screen

Jan 2, 2015#883

malicious wrote:

cryzies wrote:

GkevinOD wrote:

Made some fixes and added DropTrophy function!

Pre-Alpha v5.3 Update Log (GkevinOD):
-Fixed random factor to only work during attack.
-Fixed restarting loop
-Added error message when Dead Base cannot be used.
-Added Drop left over troops
-Removed moving BlueStacks
-Added DropTrophy function in idle

Compiled x32: https://mega.co.nz/#!LdpkWBqa!ArIhIRyDg0e_hQk1fhNln3RMObZRyO60L1HnnKd1lwM
Mirror: http://s000.tinyupload.com/index.php?file_id=06744533935417910791

Compiled x64: https://mega.co.nz/#!uAxEhaia!SnDIMs5DSeXEMN2eBv9XpA8R0b8epDXiHAoIbXC522o
Mirror: http://s000.tinyupload.com/index.php?file_id=38041684232634619588

Script: https://mega.co.nz/#!aVRyCajA!hGe0o4aq0onP7vvYxvLEQDCEXDLfKLMAdhacp7n71m4
Mirror: http://s000.tinyupload.com/index.php?file_id=13792517828442661684

*Note: We are preparing a forum dedicated to this bot. It will help keep track of releases and help organize the development of this bot. Antidote will post further details.

Made some what I believe to be improvements.

Added a Do-While to completely drop left over troops.
Added double click on barracks in case resource bubble is covering the barrack.
Shortened the waiting time between gold difference calculation (30sec -> 15sec)
Shortened the time between summoning troop waves

Script only:
https://mega.co.nz/#!PE4CkCIA!KG9JZAhFJuenxAxrIV8-XHqmYI6GOvoQc6gQBK7QtHk

How to use that script? is there any complied version of this?

I compiled it for you guys:
https://mega.co.nz/#!7ZBjSCYC!kjRdd-2dnj5RQESLndFXBNHS-TWQRccjvr8sFUzT4uo

Cryzies

Jan 2, 2015#884

cryzies wrote:

malicious wrote:

cryzies wrote:

GkevinOD wrote:

Made some fixes and added DropTrophy function!

Pre-Alpha v5.3 Update Log (GkevinOD):
-Fixed random factor to only work during attack.
-Fixed restarting loop
-Added error message when Dead Base cannot be used.
-Added Drop left over troops
-Removed moving BlueStacks
-Added DropTrophy function in idle

Compiled x32: https://mega.co.nz/#!LdpkWBqa!ArIhIRyDg0e_hQk1fhNln3RMObZRyO60L1HnnKd1lwM
Mirror: http://s000.tinyupload.com/index.php?file_id=06744533935417910791

Compiled x64: https://mega.co.nz/#!uAxEhaia!SnDIMs5DSeXEMN2eBv9XpA8R0b8epDXiHAoIbXC522o
Mirror: http://s000.tinyupload.com/index.php?file_id=38041684232634619588

Script: https://mega.co.nz/#!aVRyCajA!hGe0o4aq0onP7vvYxvLEQDCEXDLfKLMAdhacp7n71m4
Mirror: http://s000.tinyupload.com/index.php?file_id=13792517828442661684

*Note: We are preparing a forum dedicated to this bot. It will help keep track of releases and help organize the development of this bot. Antidote will post further details.

Made some what I believe to be improvements.

Added a Do-While to completely drop left over troops.
Added double click on barracks in case resource bubble is covering the barrack.
Shortened the waiting time between gold difference calculation (30sec -> 15sec)
Shortened the time between summoning troop waves

Script only:
https://mega.co.nz/#!PE4CkCIA!KG9JZAhFJuenxAxrIV8-XHqmYI6GOvoQc6gQBK7QtHk

How to use that script? is there any complied version of this?

I compiled it for you guys:
https://mega.co.nz/#!7ZBjSCYC!kjRdd-2dnj5RQESLndFXBNHS-TWQRccjvr8sFUzT4uo

Cryzies

Thank sir.

*tested and work flawlessly. even the clash of clan restart, the bot still wait for the CoC to continue.

my configuration

[search]
searchGold=100000
searchElixir=80000
searchDark=0
searchTrophy=0
conditionGoldElixir=1
conditionDark=0
conditionTrophy=0
[attack]
deploy=2
algorithm=0
mode=0
[troop]
composition=0
troop1=0
troop2=0
troop3=1
troop4=1
xBarrack1=472
yBarrack1=175
xBarrack2=564
yBarrack2=207
xBarrack3=246
yBarrack3=275
xBarrack4=423
yBarrack4=438
[general]
frmBotPosX=324
frmBotPosY=179
RandomFactor=0.1
MaxTrophy=3000
Jan 2, 2015#885

what's new with the new compiled version (5.3.1)? faster deployment?

Jan 2, 2015#886

what's new with the new compiled version (5.3.1)? faster deployment?

doing some reading might give you a clue

Jan 2, 2015#887

can anyone here add to drop the king and queen.. please.. it only
drop my acrhcers and barbs .. pls thank yOu crazies can you help make the bot
drop the king and queen?? thank you

Jan 2, 2015#888

can anyone here add to drop the king and queen.. please.. it only
drop my acrhcers and barbs .. pls thank yOu crazies can you help make the bot
drop the king and queen?? thank you

The bot is still UNDER DEVELOPMENT..even if the bot author enable the option to drop the queen and king it still won't work perfectly...currently the author are trying to fix the major issue before working on further function

Jan 2, 2015#889

[5:34:02 PM] Error cannot check for Dead Base, Attacking...
[5:34:02 PM] *If you used 32Bit, use 64Bit.
[5:34:02 PM] Error cannot check for Dead Base, Attacking...
[5:34:02 PM] *If you used 32Bit, use 64Bit.
[5:34:02 PM] Error cannot check for Dead Base, Attacking...
[5:34:02 PM] *If you used 32Bit, use 64Bit.
[5:34:02 PM] Error cannot check for Dead Base, Attacking...
[5:34:02 PM] *If you used 32Bit, use 64Bit.
[5:34:02 PM] ~~~~~~~Dead Base Found!~~~~~~~
[5:34:02 PM] ===============Searching Complete===============

appear errors but the bot still working.
see the picture.

*im using 64bit wins 7

Jan 2, 2015#890

[5:34:02 PM] Error cannot check for Dead Base, Attacking...
[5:34:02 PM] *If you used 32Bit, use 64Bit.
[5:34:02 PM] Error cannot check for Dead Base, Attacking...
[5:34:02 PM] *If you used 32Bit, use 64Bit.
[5:34:02 PM] Error cannot check for Dead Base, Attacking...
[5:34:02 PM] *If you used 32Bit, use 64Bit.
[5:34:02 PM] Error cannot check for Dead Base, Attacking...
[5:34:02 PM] *If you used 32Bit, use 64Bit.
[5:34:02 PM] ~~~~~~~Dead Base Found!~~~~~~~
[5:34:02 PM] ===============Searching Complete===============

appear errors but the bot still working.
see the picture.

*im using 64bit wins 7

are you using 64 bit bot?

This discussion is closed.