You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Global$aAway[2] = [175, 10] ; Away click, moved from 1,1 to prevent scroll window from top, moved from 0,10 to 175,32 to prevent structure click or 175,10 to just fix MEmu 2.x opening and closing toolbar
30
-
;Global $aRemoveShldButton[4] = [470, 18, 0xA80408, 10] ; Legacy - Main Screen, Red pixel lower part of Minus sign to remove shield, used to validate latest COC installed
29
+
Global$aAway2[2] = [400, 10] ;Second Away Position for Windows like Donate Window where at $aAway is a button
31
30
Global$aNoShield[4] = [448, 20, 0x43484B, 15] ; Main Screen, charcoal pixel center of shield when no shield is present
32
31
Global$aHaveShield[4] = [455, 19, 0xF0F8FB, 15] ; Main Screen, Silver pixel top center of shield
33
32
Global$aHavePerGuard[4] = [455, 19, 0x10100D, 15] ; Main Screen, black pixel in sword outline top center of shield
@@ -52,31 +51,22 @@ Global $aSiegeMachineSize[2] = [755, 136 + $g_iMidOffsetY] ; Training Window, Ov
52
51
Global$aArmySpellSize[2] = [99, 284+$g_iMidOffsetY] ; Training Window Overviewscreen, current number/total capacity
53
52
Global$g_aArmyCCSpellSize[2] = [473, 438+$g_iMidOffsetY] ; Training Window, Overview Screen, Current CC Spell number/total cc spell capacity
54
53
Global$aArmyCCRemainTime[2] = [782, 552+$g_iMidOffsetY] ; Training Window Overviewscreen, Minutes & Seconds remaining till can request again
55
-
Global$aIsCampNotFull[4] = [149, 150+$g_iMidOffsetY, 0x761714, 20] ; Training Window, Overview screen Red pixel in Exclamation mark with camp is not full
56
54
Global$aIsCampFull[4] = [128, 151+$g_iMidOffsetY, 0xFFFFFF, 10] ; Training Window, Overview screen White pixel in check mark with camp IS full (can not test for Green, as it has trees under it!)
57
-
Global$aBarrackFull[4] = [388, 154+$g_iMidOffsetY, 0xE84D50, 20] ; Training Window, Barracks Screen, Red pixel in Exclamation mark with Barrack is full
58
55
Global$aBuildersDigits[2] = [324, 21] ; Main Screen, Free/Total Builders
59
56
Global$aBuildersDigitsBuilderBase[2] = [414, 21] ; Main Screen on Builders Base Free/Total Builders
60
-
Global$aLanguageCheck1[4] = [326, 8, 0xF9FAF9, 20] ; Main Screen Test Language for word 'Builders'
61
-
Global$aLanguageCheck2[4] = [329, 9, 0x060706, 20] ; Main Screen Test Language for word 'Builders'
62
-
Global$aLanguageCheck3[4] = [348, 12, 0x040403, 20] ; Main Screen Test Language for word 'Builders'
63
-
Global$aLanguageCheck4[4] = [354, 11, 0x090908, 20] ; Main Screen Test Language for word 'Builders'
64
57
Global$aTrophies[2] = [69, 84] ; Main Screen, Trophies
65
58
Global$aNoCloudsAttack[4] = [25, 606, 0xCD0D0D, 15] ; Attack Screen: No More Clouds
66
-
Global$aMessageButton[2] = [38, 143] ; Main Screen, Message Button
67
59
Global$aArmyTrainButton[2] = [40, 525+$g_iBottomOffsetY] ; Main Screen, Army Train Button
68
60
Global$aWonOneStar[4] = [714, 538+$g_iBottomOffsetY, 0xC0C8C0, 20] ; Center of 1st Star for winning attack on enemy
69
61
Global$aWonTwoStar[4] = [739, 538+$g_iBottomOffsetY, 0xC0C8C0, 20] ; Center of 2nd Star for winning attack on enemy
70
62
Global$aWonThreeStar[4] = [763, 538+$g_iBottomOffsetY, 0xC0C8C0, 20] ; Center of 3rd Star for winning attack on enemy
71
-
Global$aArmyOverviewTest[4] = [150, 554+$g_iMidOffsetY, 0xBC2BD1, 20] ; Color purple of army overview bottom left
72
63
Global$aCancRequestCCBtn[4] = [340, 250, 0xCC4010, 20] ; Red button Cancel in window request CC
73
64
Global$aSendRequestCCBtn[2] = [524, 250] ; Green button Send in window request CC
74
65
Global$atxtRequestCCBtn[2] = [430, 140] ; textbox in window request CC
75
66
Global$aIsAtkDarkElixirFull[4] = [743, 62+$g_iMidOffsetY, 0x270D33, 10] ; Attack Screen DE Resource bar is full
76
67
Global$aIsDarkElixirFull[4] = [708, 102+$g_iMidOffsetY, 0x270D33, 10] ; Main Screen DE Resource bar is full
77
68
Global$aIsGoldFull[4] = [659, 2+$g_iMidOffsetY, 0xE7C00D, 10] ; Main Screen Gold Resource bar is Full
78
69
Global$aIsElixirFull[4] = [659, 52+$g_iMidOffsetY, 0xC027C0, 10] ; Main Screen Elixir Resource bar is Full
79
-
Global$aConfirmCoCExit[2] = [515, 410+$g_iMidOffsetY] ; CoC Confirm Exit button (no color for button as it matches grass)
$g_aiCurrentSpells[$iSpellIndex] =Number(getBarracksNewTroopQuantity(Slot($aSpellCoords[0], $aSpellCoords[1]), 341, $bNeedCapture)) ; Get The Quantity of the Spell, Slot() Does return the exact spot to read the Number from
55
55
56
56
$sSpellName=$g_aiCurrentSpells[$iSpellIndex] >=2 ? $g_asSpellNames[$iSpellIndex] &" Spells" : $g_asSpellNames[$iSpellIndex] &" Spell"; Select the right Spell Name, If more than one then use Spells at the end
57
-
;If $bSetLog Then SetLog(" - " & $g_aiCurrentSpells[$iSpellIndex] & " " & $sSpellName & " Brewed", $COLOR_SUCCESS) ; Log What Spell is available and How many
0 commit comments