Giter Site home page Giter Site logo

aio-mod's People

Contributors

boludoz avatar clementinise avatar dissociable avatar juliusbairaktaris avatar salvadorstm avatar vdrag0n avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

aio-mod's Issues

Clean Yard detects Mortars

Hey!

I noticed that when the AIO CleanYard is running, it click through my Mortars (Level 1 to Level 5).

If I understand the code correctly, it detects an an Edge Obstacle, which isn't there, since "Is Edge ?" returns true

Also there is a tiny typo in the code, twice the "Coordinates X:"

If $g_bDebugSetlog Then SetDebugLog("_CleanYard found : - Is BB? " & $bIsBB & "- Is Edge ? " & $g_bEdgeObstacle & " - Coordinates X: " & $aResult[$i][1] & " | Coordinates X: " & $aResult[$i][2], $COLOR_SUCCESS)

Debug log
[02:56:40] _RunFunction: CleanYard BEGIN
[02:56:41] **Main Window OK**
[02:56:41] No. of Free/Total Builders: 1/5
[02:56:41] AnroidOnlyZoomOut()
[02:56:41] findMultipleQuick imgloc search returned no results for 'C:\Users\super\Desktop\AIOMod\imgxml\village\Page\BuilderBase\' !
[02:56:41] findMultipleQuick Returned Error or No values : 
[02:56:41] FindImageInPlace : > BoatBuilderBase - C:\Users\super\Desktop\AIOMod\imgxml\Boat\BoatBuilderBase_0_89.xml - 487,44,708,242
[02:56:41] findImage imgloc search returned no results in 487,44|708,44|708,242|487,242 for 'C:\Users\super\Desktop\AIOMod\imgxml\Boat\BoatBuilderBase_0_89.xml' !
[02:56:41] FindImageInPlace : BoatBuilderBase NOT Found
[02:56:41] Base Builder not detected.
[02:56:41] GetVillageSize check for image stoneCC-131-477-78,6_0_93.xml
[02:56:41] findImage imgloc search returned no results in 31,402|231,402|231,552|31,552 for 'C:\Users\super\Desktop\AIOMod\imgxml\village\NormalVillage\stoneCC-131-477-78,6_0_93.xml' !
[02:56:41] GetVillageSize check for image stoneDS-108-433-55,6_0_93.xml
[02:56:41] findImage : stoneDS-108-433-55,6_0_93.xml Found in: 1|111,430
[02:56:41] Found stone image at 111, 430: stoneDS-108-433-55,6_0_93.xml
[02:56:41] GetVillageSize check for image treeAS-563-96-62,2_0_92.xml
[02:56:41] findImage imgloc search returned no results in 463,21|663,21|663,171|463,171 for 'C:\Users\super\Desktop\AIOMod\imgxml\village\NormalVillage\treeAS-563-96-62,2_0_92.xml' !
[02:56:41] GetVillageSize check for image treeCC-616-112-83,6_0_92.xml
[02:56:42] findImage imgloc search returned no results in 516,37|716,37|716,187|516,187 for 'C:\Users\super\Desktop\AIOMod\imgxml\village\NormalVillage\treeCC-616-112-83,6_0_92.xml' !
[02:56:42] GetVillageSize check for image treeHM-561-82-75,4_0_92.xml
[02:56:42] findImage imgloc search returned no results in 461,7|661,7|661,157|461,157 for 'C:\Users\super\Desktop\AIOMod\imgxml\village\NormalVillage\treeHM-561-82-75,4_0_92.xml' !
[02:56:42] GetVillageSize check for image treeJS-574-102-60,8_0_92.xml
[02:56:42] findImage imgloc search returned no results in 474,27|674,27|674,177|474,177 for 'C:\Users\super\Desktop\AIOMod\imgxml\village\NormalVillage\treeJS-574-102-60,8_0_92.xml' !
[02:56:42] GetVillageSize check for image treePC-538-93-51,4_0_91.xml
[02:56:42] findImage imgloc search returned no results in 438,18|638,18|638,168|438,168 for 'C:\Users\super\Desktop\AIOMod\imgxml\village\NormalVillage\treePC-538-93-51,4_0_91.xml' !
[02:56:42] GetVillageSize check for image treeSS-559-97-59,2_0_92.xml
[02:56:42] findImage : treeSS-559-97-59,2_0_92.xml Found in: 1|549,104
[02:56:42] Found tree image at 549, 104: treeSS-559-97-59,2_0_92.xml
[02:56:42] GetVillageSize measured: 431.203662991376, Zoom factor: 0.968996995486238, Offset: -7, 0
[02:56:42] **Main Window OK**
[02:56:42] **Main Window OK**
[02:56:42] No. of Free/Total Builders: 1/5
[02:56:43] Waiting for DLL async function | Tag :  Func : SearchMultipleTilesBetweenLevels Params :  0xB405386B -QzpcVXNlcnNcc3VwZXJcRGVza3RvcFxBSU9Nb2RcaW1neG1sXE9ic3RhY2xlc19Tbm93
FV 0 FV 0 1000 Default Default Default
[02:56:44] Waiting for DLL async function | Tag :  Func : SearchMultipleTilesBetweenLevels Params :  0xB405386B -QzpcVXNlcnNcc3VwZXJcRGVza3RvcFxBSU9Nb2RcaW1neG1sXE9ic3RhY2xlc19Tbm93
FV 0 FV 0 1000 Default Default Default
[02:56:44] findMultipleQuick imgloc search returned no results for 'C:\Users\super\Desktop\AIOMod\imgxml\Obstacles_Snow' !
[02:56:44] findMultipleQuick Returned Error or No values : 
[02:56:45] Waiting for DLL async function | Tag :  Func : SearchMultipleTilesBetweenLevels Params :  0xB505386B -QzpcVXNlcnNcc3VwZXJcRGVza3RvcFxBSU9Nb2RcaW1neG1sXFJlc291cmNlc1xPYnN0YWNsZXM=
FV 0 FV 0 1000 Default Default Default
[02:56:46] Waiting for DLL async function | Tag :  Func : SearchMultipleTilesBetweenLevels Params :  0xB505386B -QzpcVXNlcnNcc3VwZXJcRGVza3RvcFxBSU9Nb2RcaW1neG1sXFJlc291cmNlc1xPYnN0YWNsZXM=
FV 0 FV 0 1000 Default Default Default
[02:56:48] - Removing some obstacles - Custom by AIO Mod ++.
[02:56:48] ReturnPreVD | 15|31|859|648
[02:56:48] isInDiamond | Is in diamond? False / Correction: -7
[02:56:48] isInDiamond | Is in diamond? False / Correction: -7
[02:56:48] isInDiamond | Is in diamond? False / Correction: -7
[02:56:48] isInDiamond | Is in diamond? False / Correction: -7
[02:56:48] isInDiamond | Is in diamond? False / Correction: -7
[02:56:48] isInDiamond | Is in diamond? True / Correction: -7
[02:56:48] _CleanYard found : - Is BB? False- Is Edge ? True - Coordinates X: 444 | Coordinates X: 256
[02:56:48] - Removing some obstacles, wait. - Custom by AIO Mod ++.
[02:56:48] Default sleep : 1000 - Random sleep : 1111
[02:56:49] Force random ClickAway.
[02:56:49] ClickAway ? False
[02:56:49] PureClick 444,256,1,0 #0430 | Clean yard*
[02:56:49] minitouch: d 0 442 258 1, speed=10, delay=15
[02:56:49] Default sleep : 500 - Random sleep : 496
[02:56:50]  imgloc searching for: RemoveObstacle : C:\Users\super\Desktop\AIOMod\imgxml\imglocbuttons\RemoveObstacle_0_90.xml
[02:56:50] imglocFindButton imgloc search returned no results for 'C:\Users\super\Desktop\AIOMod\imgxml\imglocbuttons\RemoveObstacle_0_90.xml' !
[02:56:51]  imgloc searching for: RemoveObstacle : C:\Users\super\Desktop\AIOMod\imgxml\imglocbuttons\RemoveObstacle_0_90.xml
[02:56:51] imglocFindButton imgloc search returned no results for 'C:\Users\super\Desktop\AIOMod\imgxml\imglocbuttons\RemoveObstacle_0_90.xml' !
[02:56:52]  imgloc searching for: RemoveObstacle : C:\Users\super\Desktop\AIOMod\imgxml\imglocbuttons\RemoveObstacle_0_90.xml
[02:56:52] imglocFindButton imgloc search returned no results for 'C:\Users\super\Desktop\AIOMod\imgxml\imglocbuttons\RemoveObstacle_0_90.xml' !
[02:56:53] RemoveObstacle Button Image(s) NOT FOUND : RemoveObstacle*
[02:56:53] Cannot find Remove Button
[02:56:53]  imgloc searching for: Okay : C:\Users\super\Desktop\AIOMod\imgxml\imglocbuttons\Okay_0_92.xml
[02:56:54] imglocFindButton imgloc search returned no results for 'C:\Users\super\Desktop\AIOMod\imgxml\imglocbuttons\Okay_0_92.xml' !
[02:56:55]  imgloc searching for: Okay : C:\Users\super\Desktop\AIOMod\imgxml\imglocbuttons\Okay_0_92.xml
[02:56:55] imglocFindButton imgloc search returned no results for 'C:\Users\super\Desktop\AIOMod\imgxml\imglocbuttons\Okay_0_92.xml' !
[02:56:56]  imgloc searching for: Okay : C:\Users\super\Desktop\AIOMod\imgxml\imglocbuttons\Okay_0_92.xml
[02:56:56] imglocFindButton imgloc search returned no results for 'C:\Users\super\Desktop\AIOMod\imgxml\imglocbuttons\Okay_0_92.xml' !
[02:56:57] Okay Button Image(s) NOT FOUND : Okay*
[02:56:57]  - CleanYardAIO | 0x1 error | Try x : 0
[02:56:57] Default sleep : 250 - Random sleep : 235
[02:56:58] isInDiamond | Is in diamond? False / Correction: -7
[02:56:58] isInDiamond | Is in diamond? False / Correction: -7
[02:56:58] isInDiamond | Is in diamond? False / Correction: -7
[02:56:58] isInDiamond | Is in diamond? False / Correction: -7
[02:56:58] isInDiamond | Is in diamond? False / Correction: -7
[02:56:58] isInDiamond | Is in diamond? False / Correction: -7
[02:56:58] isInDiamond | Is in diamond? False / Correction: -7
[02:56:58] isInDiamond | Is in diamond? False / Correction: -7
[02:56:58] isInDiamond | Is in diamond? False / Correction: -7
[02:56:58] isInDiamond | Is in diamond? False / Correction: -7
[02:56:58] isInDiamond | Is in diamond? False / Correction: -7
[02:56:58] isInDiamond | Is in diamond? False / Correction: -7
[02:56:58] isInDiamond | Is in diamond? False / Correction: -7
[02:56:58] isInDiamond | Is in diamond? False / Correction: -7
[02:56:58] isInDiamond | Is in diamond? False / Correction: -7
[02:56:58] isInDiamond | Is in diamond? False / Correction: -7
[02:56:58] isInDiamond | Is in diamond? False / Correction: -7
[02:56:58] isInDiamond | Is in diamond? False / Correction: -7
[02:56:58] isInDiamond | Is in diamond? False / Correction: -7
[02:56:58] isInDiamond | Is in diamond? False / Correction: -7
[02:56:58] isInDiamond | Is in diamond? False / Correction: -7
[02:56:58] isInDiamond | Is in diamond? False / Correction: -7
[02:56:58] isInDiamond | Is in diamond? False / Correction: -7
[02:56:58] isInDiamond | Is in diamond? False / Correction: -7
[02:56:58] isInDiamond | Is in diamond? True / Correction: -7
[02:56:58] _CleanYard found : - Is BB? False- Is Edge ? True - Coordinates X: 815 | Coordinates X: 353
[02:56:58] - Removing some obstacles, wait. - Custom by AIO Mod ++.
[02:56:58] Default sleep : 1000 - Random sleep : 932
[02:56:59] Force random ClickAway.
[02:56:59] ClickAway ? False
[02:56:59] PureClick 815,353,1,0 #0430 | Clean yard*
[02:56:59] minitouch: d 0 814 353 1, speed=10, delay=15
[02:56:59] Default sleep : 500 - Random sleep : 435
[02:57:00]  imgloc searching for: RemoveObstacle : C:\Users\super\Desktop\AIOMod\imgxml\imglocbuttons\RemoveObstacle_0_90.xml
[02:57:00] imglocFindButton imgloc search returned no results for 'C:\Users\super\Desktop\AIOMod\imgxml\imglocbuttons\RemoveObstacle_0_90.xml' !
[02:57:01]  imgloc searching for: RemoveObstacle : C:\Users\super\Desktop\AIOMod\imgxml\imglocbuttons\RemoveObstacle_0_90.xml
[02:57:01] imglocFindButton imgloc search returned no results for 'C:\Users\super\Desktop\AIOMod\imgxml\imglocbuttons\RemoveObstacle_0_90.xml' !
[02:57:02]  imgloc searching for: RemoveObstacle : C:\Users\super\Desktop\AIOMod\imgxml\imglocbuttons\RemoveObstacle_0_90.xml
[02:57:02] imglocFindButton imgloc search returned no results for 'C:\Users\super\Desktop\AIOMod\imgxml\imglocbuttons\RemoveObstacle_0_90.xml' !
[02:57:02] RemoveObstacle Button Image(s) NOT FOUND : RemoveObstacle*
[02:57:02] Cannot find Remove Button
[02:57:03]  imgloc searching for: Okay : C:\Users\super\Desktop\AIOMod\imgxml\imglocbuttons\Okay_0_92.xml
[02:57:03] imglocFindButton imgloc search returned no results for 'C:\Users\super\Desktop\AIOMod\imgxml\imglocbuttons\Okay_0_92.xml' !
[02:57:04]  imgloc searching for: Okay : C:\Users\super\Desktop\AIOMod\imgxml\imglocbuttons\Okay_0_92.xml
[02:57:05] imglocFindButton imgloc search returned no results for 'C:\Users\super\Desktop\AIOMod\imgxml\imglocbuttons\Okay_0_92.xml' !
[02:57:06]  imgloc searching for: Okay : C:\Users\super\Desktop\AIOMod\imgxml\imglocbuttons\Okay_0_92.xml
[02:57:06] imglocFindButton imgloc search returned no results for 'C:\Users\super\Desktop\AIOMod\imgxml\imglocbuttons\Okay_0_92.xml' !
[02:57:07] Okay Button Image(s) NOT FOUND : Okay*
[02:57:07]  - CleanYardAIO | 0x1 error | Try x : 1
[02:57:07] Default sleep : 250 - Random sleep : 246
[02:57:07] isInDiamond | Is in diamond? False / Correction: -7
[02:57:07] isInDiamond | Is in diamond? False / Correction: -7
[02:57:07] isInDiamond | Is in diamond? False / Correction: -7
[02:57:07] isInDiamond | Is in diamond? False / Correction: -7
[02:57:07] isInDiamond | Is in diamond? False / Correction: -7
[02:57:07] isInDiamond | Is in diamond? False / Correction: -7
[02:57:08] isInDiamond | Is in diamond? False / Correction: -7
[02:57:08] isInDiamond | Is in diamond? False / Correction: -7
[02:57:08] isInDiamond | Is in diamond? False / Correction: -7
[02:57:08] isInDiamond | Is in diamond? False / Correction: -7
[02:57:08] isInDiamond | Is in diamond? True / Correction: -7
[02:57:08] _CleanYard found : - Is BB? False- Is Edge ? True - Coordinates X: 525 | Coordinates X: 316
[02:57:08] - Removing some obstacles, wait. - Custom by AIO Mod ++.
[02:57:08] Default sleep : 1000 - Random sleep : 1042
[02:57:09] Force random ClickAway.
[02:57:09] ClickAway ? False
[02:57:09] PureClick 525,316,1,0 #0430 | Clean yard*
[02:57:09] minitouch: d 0 525 318 1, speed=10, delay=15
[02:57:09] Default sleep : 500 - Random sleep : 574
[02:57:10]  imgloc searching for: RemoveObstacle : C:\Users\super\Desktop\AIOMod\imgxml\imglocbuttons\RemoveObstacle_0_90.xml
[02:57:10] imglocFindButton imgloc search returned no results for 'C:\Users\super\Desktop\AIOMod\imgxml\imglocbuttons\RemoveObstacle_0_90.xml' !
[02:57:11]  imgloc searching for: RemoveObstacle : C:\Users\super\Desktop\AIOMod\imgxml\imglocbuttons\RemoveObstacle_0_90.xml
[02:57:11] imglocFindButton imgloc search returned no results for 'C:\Users\super\Desktop\AIOMod\imgxml\imglocbuttons\RemoveObstacle_0_90.xml' !
[02:57:12]  imgloc searching for: RemoveObstacle : C:\Users\super\Desktop\AIOMod\imgxml\imglocbuttons\RemoveObstacle_0_90.xml
[02:57:12] imglocFindButton imgloc search returned no results for 'C:\Users\super\Desktop\AIOMod\imgxml\imglocbuttons\RemoveObstacle_0_90.xml' !
[02:57:13] RemoveObstacle Button Image(s) NOT FOUND : RemoveObstacle*
[02:57:13] Cannot find Remove Button
[02:57:13]  imgloc searching for: Okay : C:\Users\super\Desktop\AIOMod\imgxml\imglocbuttons\Okay_0_92.xml
[02:57:14] imglocFindButton imgloc search returned no results for 'C:\Users\super\Desktop\AIOMod\imgxml\imglocbuttons\Okay_0_92.xml' !
[02:57:15]  imgloc searching for: Okay : C:\Users\super\Desktop\AIOMod\imgxml\imglocbuttons\Okay_0_92.xml
[02:57:15] imglocFindButton imgloc search returned no results for 'C:\Users\super\Desktop\AIOMod\imgxml\imglocbuttons\Okay_0_92.xml' !
[02:57:16]  imgloc searching for: Okay : C:\Users\super\Desktop\AIOMod\imgxml\imglocbuttons\Okay_0_92.xml
[02:57:16] imglocFindButton imgloc search returned no results for 'C:\Users\super\Desktop\AIOMod\imgxml\imglocbuttons\Okay_0_92.xml' !
[02:57:17] Okay Button Image(s) NOT FOUND : Okay*
[02:57:17]  - CleanYardAIO | 0x1 error | Try x : 2

Version 4.3.8 - Error line 69835

Good boldina, I am attaching an image of an error that just happened to me, from what I can read in the log, it is due to the update of the heroes, I have looked at the previous case, and the error of the line does not match, so It must be a new error, as always I will try to discover the exact moment when it fails, a greeting and thanks.

https://ibb.co/ChL99KH

Problem with starting bot

Every time I want to start the bot, it happens an error.
It says:

Line 73173 (File "C:\Users\Luis\Desktop\MyBot.run(7)\MyBot.run.exe"):

Error: Variable subscript badly formatted.

Thanks for help!

error

[12:22:33 PM] Open Brew Spells Tab
[12:22:36 PM] Don't know how to train the troop with index 29 yet
[12:22:37 PM] Brewing 5x Rage Spells
[12:22:37 PM] Don't know how to train the troop with index 29 yet
[12:22:40 PM] Don't know how to train the troop with index 31 yet
[12:22:41 PM] Brewing 1x Freeze Spell
[12:22:41 PM] Don't know how to train the troop with index 31 yet
[12:22:42 PM] Brewing 2nd Army...
[12:22:45 PM] Don't know how to train the troop with index 29 yet
[12:22:45 PM] Brewing 5x Rage Spells
[12:22:46 PM] Don't know how to train the troop with index 29 yet
[12:22:48 PM] Don't know how to train the troop with index 31 yet
[12:22:49 PM] Brewing 1x Freeze Spell
[12:22:50 PM] Don't know how to train the troop with index 31 yet

BB Smart Attack does not deploy Machine

Version - May 22, 2020 commit

[6:09:04 PM] Machine, (526,675), Slot: 6, Count: 1
[6:09:04 PM] All Troops Deployed
[6:09:04 PM] Android Suspend Mode Enabled

It seems to detect the Machine, but does not deploy

on-going issues

Main Base Issues:

  1. when Bot attacks when shield is on, occasionally, the info button will be clicked causing search bases to fail and Bot defaults to cloud search.
    Temp fix: reduce waitforclouds maxsearchcount to just 7.
  2. For attacking, IsMainPage can be unreliable, which causes attack to cloud one way or another.
    temp fix: add waitMainScreen before isMainPage in preparesearch.
  3. Opening army window can fail sometimes due to other windows open or not on main screen.
    temp fix: add waitMainScreen before opening army window

BB Issues.
4) BB attack cloud wait does not handle wifi discounnect well, and will sit on clouds due to wifi disconnect.
temp fix: add If $g_bRestart = True Then Return after clicking attack, and after cloud wait.
5) BB always fails to check camp for Minions and possibly other units even if the camp is already filled with minions.
6) BB fails to fill camp after removing troops occasionally. This is a click fail, i.e. remove 2, click 2, but results in only 1 camp.
7) BB smart attack setting is ignored - CVS attack is always on.

Version 4.3.6 - the bot gets stuck in the BBase

Hi, I am attaching an image with the bot error, I do not know how it can happen, I will try to see it to give you more details, you simply jam in that action, looking at the log the last thing it did was humanization, if you hit the X, the bot continues without any problem but as you can see in the image it had been in the same situation for 10 minutes without moving forward, I hope you can find a solution, thank you very much for your time and attention, best regards

https://ibb.co/WBqdKWw

Request CC: fail to find send coordinates

2: D [2020-06-24 10:52:32.089] SearchPixelDonate FindWhite 462|419
2: D [2020-06-24 10:52:32.091] SearchPixelDonate X, Y: 587,261
2: D [2020-06-24 10:52:32.553] SearchPixelDonate FixedMatrixSend
2: D [2020-06-24 10:52:39.803] My Bot v7.8.3.hotfix - AiO++ MOD v4.0.5 - (MEmu) AutoIt Error: Line 414 (File "C:\Users\Desktop\AIO-Mod-master\COCBot\Team__AiO__MOD++\functions\Mod's\ModFuncs.au3"):

Click($aClickSend[0], $aClickSend[1], 1, 100, "#0256")
Click($aClickSend[0], ^ ERROR

Cannot create dummy

Hello when starting the bot, I get an error message: cannot create dummy file: \MEmu Photo\

Bitdefender was the issue.

Version 4.2.5: BB Troop Drop Issue

Even though the [TH6-9]_GiBomCart _Modified.CSV is using FRONT which is supposed to be redline drop points I´ve noticed that the bot instead uses external edges at times. This behaviour seems to be random and not in all attacks.

Lspell recognized as FSpell in Spell Queue

Attempting to brew and queue Lightning spells. Lightning does get queued correctly, however Bot recognizes as the double queued Lightning as freeze in queue, which removes the queued lightning and rebrew the lightning.

2: L [2020-06-25 09:19:08.006] Checking Troop tab: 400/400
2: D [2020-06-25 09:19:11.067] Drag | $aCoordArray: 733-208
2: D [2020-06-25 09:19:11.068] Drag detected 2 times!
2: D [2020-06-25 09:19:11.068] Drag | $aCoordArray: 803-26
2: D [2020-06-25 09:19:11.086] Drag (775) x3
2: D [2020-06-25 09:19:11.097] Drag (704) x7
2: L [2020-06-25 09:19:12.564] Checking Spell tab: 12/12
2: D [2020-06-25 09:19:15.247] FSpell | $aCoordArray: 801-219
2: D [2020-06-25 09:19:15.266] FSpell (775) x6
2: L [2020-06-25 09:19:15.268] Some wrong spells in queue (Freeze x6/0)
2: L [2020-06-25 09:19:16.880] Checking Spell tab: 6/12
2: L [2020-06-25 09:19:16.881] Brewing 2nd Army...
2: L [2020-06-25 09:19:21.594] Brewing 6x Lightning Spells

BB attack fails on army check and loop during attack.

commit: 85d0e88

[6:05:32 AM] Detected 6 Camp(s).
[6:05:49 AM] Builder base army: Fail DeleteTroop.
[6:05:57 AM] Builder base army: LocateTroopButton troop not unlocked or fail.
[6:06:03 AM] Exit from Camps!
[6:06:14 AM] Entering in Builder Base Attack!
[6:06:23 AM] Full Army detected
[6:06:25 AM] - Are you ready to Battle? True
[6:06:25 AM] - Is To Drop Trophies? False
[6:06:25 AM] - Battle Machine ready to use
[6:06:25 AM] Finding Button Now!
[6:06:35 AM] The Versus Battle begins NOW!
[6:06:45 AM] Minion, (106,674), Slot: 0, Count: 10
[6:06:45 AM] Minion, (178,674), Slot: 1, Count: 10
[6:06:45 AM] Minion, (250,674), Slot: 2, Count: 10
[6:06:45 AM] Minion, (322,674), Slot: 3, Count: 10
[6:06:45 AM] Minion, (394,674), Slot: 4, Count: 10
[6:06:45 AM] BabyDrag, (463,668), Slot: 5, Count: 3
[6:06:45 AM] Machine, (526,675), Slot: 6, Count: 1
[6:06:45 AM] Attack using the [TH4-6]_BDM script.
[6:06:45 AM] Available 6 Camps.
[6:06:45 AM] Incorrect troop On Camp 5 - Minion -> Barbarian
[6:06:45 AM] Click Switch Button 4
[6:06:51 AM] Selected Raged Barbarian X:| 383 Y:| 564
[6:06:51 AM] Incorrect troop On Camp 1 - Barbarian -> Minion
[6:06:51 AM] Click Switch Button 0
[6:06:56 AM] Selected Beta Minion X:| 329 Y:| 551
[6:06:56 AM] Incorrect troop On Camp 5 - Minion -> Barbarian
[6:06:56 AM] Click Switch Button 4
[6:07:01 AM] Selected Raged Barbarian X:| 383 Y:| 564
[6:07:01 AM] Incorrect troop On Camp 1 - Barbarian -> Minion
[6:07:01 AM] Click Switch Button 0
[6:07:06 AM] Selected Beta Minion X:| 329 Y:| 551
[6:07:06 AM] Incorrect troop On Camp 5 - Minion -> Barbarian
[6:07:06 AM] Click Switch Button 4
[6:07:11 AM] Selected Raged Barbarian X:| 383 Y:| 564
[6:07:11 AM] Incorrect troop On Camp 1 - Barbarian -> Minion
[6:07:11 AM] Click Switch Button 0
[6:07:16 AM] Selected Beta Minion X:| 329 Y:| 551
[6:07:16 AM] Incorrect troop On Camp 5 - Minion -> Barbarian
[6:07:16 AM] Click Switch Button 4
[6:07:21 AM] Time Execution : 163720.2535
[6:07:21 AM] Result : 0

Settings: minions all six camps
Actual army: 5x minion 1x baby dragon.
Bug:

  1. Army fails to switch the 6th army on army camp check
  2. During attack setup, bot will loop changing camp 5 (Minion-correct), when camp 6 (baby dragon) needs to be changed

#Problem 2

I'm having problem with requesting cc troops:
[11:02:57 AM] Requesting Clan Castle reinforcements
[11:03:11 AM] Request has already been made, or request window not available
And it keeps on repeating

Problem#3
Having problem locating every thing instead of th and cc.
It keeps thinking that the location provided is grass.
After multiple times it says:
Operation error-Bad king/queen/warden/lab location.

Cheers!

AIO Version (fbfda55) : Collector lvl 14 always selected

Even if i unselect collector lvl 14 from deadbase search filtering, as soon as the bot restarts it is enabled and set at 50%.

Having it selected for Th12 and Th13 seems to be a good idea but for TH11 and below the bot just skips too many good dead bases resulting in an extremely high number of searches before every attack if it all it attacks.

I remember reading one of the commits which mentioned enabling lvl 14 collectors with 50% fill criteria selected, maybe it's doing it every time the bot starts even if the user has it unselected?

Main Screen and Builder Base switch loop

Main Screen and Builder Base switch loop
My Bot v7 8 3 hotfix - AiO++ MOD v4 0 7
Even all the Builder base options are disabled!

I'm sorry to say but this version is getting more and more unstable every time I fetch the new commits!
At least there should be a branch named dev or something else where you push your new commits there and once you tested all, then merge them to the master branch.

Versión 4.3.1 - Error Line 68949

good again boldina, thanks for your efforts and those of the AIO ++ team, I am having a problem with the bot, I am attaching an image, if you need more information do not hesitate to ask for it,

I guess it has to do with the barbarian king level upgrade, thanks again.

https://ibb.co/c2wQZBC

Won't do anything after it

[12:25:39 PM] [G]: 270 126 [E]: 11 300 570 [D]: 200 000 [GEM]: 885
[12:25:39 PM] Let's wait for a few minutes!
[12:25:42 PM] Total Army Camp Capacity: 245/245 (100%)
[12:25:43 PM] - 41 Balloons Available
[12:25:43 PM] - 20 Minions Available
[12:25:43 PM] - Barbarian King Available
[12:25:43 PM] - Grand Warden Available
[12:25:44 PM] Total Spell Factory Capacity: 0/11
[12:25:44 PM] Total Siege Workshop Capacity: 0/2
[12:25:45 PM] Total Clan Castle Spells: 0/1
[12:25:45 PM] Total Siege CC Capacity: 1/1
[12:25:45 PM] - 1 Wall Wrecker Available
[12:25:46 PM] Chief, is your Army ready? Yes, it is!
[12:25:49 PM] Checking Troop tab: 490/490
[12:25:51 PM] Open Build Siege Machines Tab
Sc here:
https://imgur.com/a/ZqvpxSR

Cant count spells

Bot seems to have trouble at the spells. Getting stuck for a long time writing big guy in the way or something like that. Also it will never attack on builder base as it gets stuck on waiting for walls until it breaks out and goes back to normal village. This was not present in earlier versions

commit 6d15f4ac96c514d7cde3f59d3417f519eb76c394 issues

I'm assuming this is still incomplete since:

  1. outside collector logic only has search Mines
  2. obstacle removal is finding actual buildings and not obstacles.
  3. occasionally determining resources/trophies in search and base results in zero after adjusting the base diamond (a past issue, but fixed, now reoccurring).

#problem

Hello sir, the bot is having problem zooming out with new COC version. It wasn't having any issues before the latest update. It was doing an awesome job.
Awesome mod!
Cheers

bb csv issue

:01:16] Selected Raged Barbarian X:| 166 Y:| 564
[오후 4:01:16] Incorrect troop On Camp 1 - Barbarian -> Minion
[오후 4:01:16] Click Switch Button 0
[오후 4:01:19] Selected Beta Minion X:| 334 Y:| 551
[오후 4:01:19] Incorrect troop On Camp 5 - Minion -> Barbarian
[오후 4:01:19] Click Switch Button 4
[오후 4:01:22] Selected Raged Barbarian X:| 166 Y:| 564
[오후 4:01:22] Incorrect troop On Camp 1 - Barbarian -> Minion
[오후 4:01:22] Click Switch Button 0
[오후 4:01:25] Selected Beta Minion X:| 334 Y:| 551
[오후 4:01:25] Incorrect troop On Camp 5 - Minion -> Barbarian
[오후 4:01:25] Click Switch Button 4
[오후 4:01:29] Selected Raged Barbarian X:| 166 Y:| 564
[오후 4:01:29] Incorrect troop On Camp 1 - Barbarian -> Minion
[오후 4:01:29] Click Switch Button 0
[오후 4:01:32] Selected Beta Minion X:| 334 Y:| 551
[오후 4:01:32] Incorrect troop On Camp 5 - Minion -> Barbarian

why??
i want to using midrop
but bot compel barb

runBuilderBase only works starting from BB and not Main base

With latest switch base code, BB will work during loop since runBuilderBase runs from the Main Base.

If runBuilderBase runs from the Builder Base then BB loop starts.

[3:40:09 PM] [0] Going to Normal Village
[3:40:13 PM] Trying to locate Main Screen
[3:40:22 PM] Main Screen located
[3:40:26 PM] BB Don't detected.

Version 4.2.5: BB Attack Troop Selection

Running the bot with select CSV based on base enabled in BB attack.

When the bot is using the GiBomCart CSV it selects proper troops in all the camps but when it uses the Midrop CSV (weak air) the bot fails to select dropships and uses a full minion army (6 camp space).

Crash in Humanization

Hey there!

Just installed the new Update (4.5.5) and noticed that the Bot suddenly crashed.
I wanted to investigate a little and ran the Bot as Script and received the following error:

---------------------------
.NET-BroadcastEventWindow.4.0.0.0.362af4b.0: AutoIt3.exe - Anwendungsbeendung
---------------------------
Line 485  (File "C:\Users\xxxxx\Desktop\AIOMod\COCBot\Team__AiO__MOD++\functions\Mod's\Humanization.au3"):  $g_aSetActionPriority[10] = 0 ^ ERROR  Error: Array variable has incorrect number of subscripts or subscript dimension range exceeded. 
---------------------------
OK   
---------------------------

Tooltips opening slow

Hey, I just realized that tooltips are opening very slow or are not showing at all.

It took like 3 seconds to reach this stage:
image

I'm using AIO++ MOD v4.5.2 on Win10 20H2

getOcrAndCapture error newest version

Hi.
With 7ef5426 GetOcrAndCapture got removed from ' COCBot/Team__AiO__MOD++/functions/Mod's/ChatActions/IAChat.au3'

This function is still in use in 'COCBot/functions/Read Text/GetOcr.au3' on line 111 and will cause a crash when starting the bot.

image

Stop at 3 wins in BB broken

The bot reads the remaining number of attacks in BB properly initially, but once 3 victories are achieved and no more attacks remain for the day the counter resets and the bot says 3 attacks left and keeps attacking.

Builder Base issues

  1. Smart Attack Drop order not working:
2: L [] Deploying Troops in Custom Order.
2: L [] Deploying CannonCart x3
2: L [] SuperPekka, (156,677), Slot: 1, Count: 1

it had to drop SuperPekka first.

  1. Smart Attack not Dropping Battle Machine

The issues are not fixed till a1d69fb commit

Beta 4.0.5: Line 60 (File : \Attack\SmartZap\drillSearch.au3)

$aReturnResult[$iResult][3] = Ceiling(Number($g_aDrillLevelTotal[$aReturnResult[$iResult][2]-1]*$g_fDarkStealFactor))
$aReturnResult[$iResult][3] = Ceiling(Number(^ERROR

Error: Array variable has incorrect number of subscripts or subscript dimension range exceeded

keeps on saying that it detects changes with the loot but actually there's no change in the loot.

[7:27:11 AM] Exit in 8s, [G]: 1238 [E]: [DE]: 1460 [%]:
[7:27:11 AM] Gold & Elixir & DE change detected, waiting...
[7:27:15 AM] Exit in 8s, [G]: 1238 [E]: 279 [DE]: 1460 [%]: 71 [7:27:18 AM]
Exit in 5s, [G]: 1238 [E]: 279 [DE]: 1460 [%]: 71 [7:27:20 AM]
Exit in 3s, [G]: 1238 [E]: 279 [DE]: 1460 [%]: 71 [7:27:22 AM]
Exit in 2s, [G]: 1238 [E]: [DE]: [%]: 71 [7:27:22 AM] Gold & Elixir & DE change detected, waiting...
[7:27:26 AM] Exit in 8s, [G]: 1238 [E]: 279 [DE]: [%]: 71
[7:27:26 AM] Gold & Elixir & DE change detected, waiting...
[7:27:29 AM] Exit in 8s, [G]: 1238 [E]: 279 [DE]: 1460 [%]: 71
[7:27:31 AM] Exit in 6s, [G]: 1238 [E]: 279 [DE]: 1460 [%]: 71
[7:27:33 AM] Exit in 4s, [G]: 1238 [E]: 279 [DE]: 1460 [%]:
[7:27:33 AM] Overall Damage Percentage change detected, waiting...
[7:27:37 AM] Exit in 8s, [G]: 1238 [E]: 279 [DE]: 1460 [%]: 71
[7:27:37 AM] Gold & Elixir & DE change detected, waiting...
[7:27:41 AM] Exit in 8s, [G]: 1238 [E]: [DE]: [%]: 71
[7:27:41 AM] Gold & Elixir & DE change detected, waiting...
[7:27:44 AM] Exit in 8s, [G]: 1238 [E]: 279 [DE]: [%]:
[7:27:48 AM] Exit now, [G]: [E]: [DE]: [%]:
[7:27:48 AM] Battle has finished [7:27:52 AM] Returning Home

Version 4.1.1: Drop Trophies

The bot keeps clicking boost army or boost heroes (above the troop list while attacking) while trying to drop trophies. It does work normally a few times but fails a lot more. Happens with and without heroes.

clash of clan scenery

the bot will not work if the scenery is selected.
second it wont attack if the goblin xp is set on farming xp during training.(keeps farming xp even the troops is ready).

getOcrAndCapture causing Search click next timeout

The NEXT button times out due to checkAttackDisable x2 searching getAttackDisable 3x using getOcrAndCapture 8x

Reducing Local $iMax from 8 to 3 prevents this.

Is searching empty OCR 8 times necessary?

GTFO Does Not Train New Troops.

Am I doing something wrong? The GTFO will properly jump clans in the latest 4.4.3 Patch but it will not train any troops. I get the 95/5 ratio but I'm working with a TH2. Can you add support for the ratio being based of army camp size / custom value? Maybe an option to allow for refill after each jump. Is there no way to detect no troops left to donate?

Here is a screenshot of the bot trying to donate with no troops. Something about -1. Maybe a refill vector?
https://imgur.com/a/1RyDoXm

CSV settings apply failed

BOT Log is giving an error "Has to set spell capacity first, CSV settings apply failed" when I am trying to apply any Script

Suggestion

Dear Sir/Madam
im sorry to say this in here cause i dont know where should i say this.
can you make this change on super xp?
we are using warden along with queen,when the hero(warden) is dropped, warden's ability also be activated.
thans a lot
your work is awesome

Version 4.2.5 : OCR issues

I´m running multiple instances and only a few of them seem to have this OCR issue. Tried restarting bot and pc with no effect.

DEBUG | ERROR on GetOCRCurrent
Cannot find Army Window...
DEBUG | ERROR on GetCurrentArmy

The bot has several page errors and then proceeds to restart the emulator, which seems to solve the issue temporarily but after running for some duration or performing an account switch the same errors pops up. The bot does work but this error loop slows down the no.of attacks significantly.

Setup info: Windows 10 latest build, Memu 6.2.7, Multi instances with account switching enabled.

Let me know if any additional files are required to debug.

Version 4.5.5 - bot gets stuck in BBase

It gets stuck in different ways, once opening the laboratory, again just looking at its status, open the chat and stay that way, it doesn't give any error therefore I can't give you more information, I don't know if it just happens to me , I have disabled all the options in BBase and it continues to happen, I will go back to the previous version because I am not able to make it work, as always thank you very much for your work, it has been a long time since I contacted you due to an error.

All the best.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.