Skip to content

Commit 7e41dcb

Browse files
Release hotfix v6.2.2
1 parent 1ef4ccf commit 7e41dcb

94 files changed

Lines changed: 9117 additions & 4325 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG

Lines changed: 46 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,47 @@
1+
* **V6.2.2**
2+
* Add Android support for LeapDroid 1.5.0 - 1.3.0 (http://www.leapdroid.com/)
3+
* Fix bot stop working and freezing sometimes (bot buttons did disappear as well)
4+
* Fix OCR sometimes not working at all (English language detection...)
5+
* Fix ADB connect problems
6+
* Fix Android ADB screencap performance issues for some Windows installations
7+
* Fix Android ADB screencap protocol error when bot stopped
8+
* Fix deactivation of "Bot Tab" controls when bot is running
9+
* Fix BlueStacks manual mouse clicks little off when undocked after being docked
10+
* Fix BlueStacks2 docking/undocking issues
11+
* Fix Android Window search (not using title anymore)
12+
* Fix zoom-out for Nox 3.7.0 and 3.7.1
13+
* Fix not finding home screen when docked in non background mode
14+
* Fix close while training GUI errors
15+
* Fix random click not adding window offset and reduce zone size on collectors to remove errors
16+
* Fix typo in CSV forced side code that prevent proper operation
17+
* Fix saving photo when bot stopped and Android Window moved
18+
* Fix Dock Mode when Windows Screen Size changes
19+
* Fix Android Window minimize when bot stopped or paused
20+
* Fix restarting bot with /restart parameter
21+
* Fix Training idle time log off without a shield error due old shield time value
22+
* Fix Pause causing bot crashes and unwanted error messages/behavior
23+
* Fix BlueStacks memory problems when in halt mode
24+
* Fix launching bot with profile command line parameter not creating profile
25+
* Fix Random start of attack when army is not full when search start army size filter enabled or zero value
26+
* Fix search IF filter to require ALL enabled filter conditions as true to start search, instead of only one.
27+
* Fix rare issue of fast re-starting attack immediately after personal break without checking Heroes
28+
* Fix share replay feature not working after working for awhile (@Samkie provided)
29+
* Adjust Training idle time feature to allow users to disable anti-ban smartwait when shielded
30+
* Improve hero activation when more than 11 slots occupied (from @Promac post in forums)
31+
* Improve Android Shield support in Window 7
32+
* Improve non background mode not stealing focus to bring android to front
33+
* Improve train order log message
34+
* Add warning message when heroes are found being upgraded and wait for hero is enabled in GUI
35+
* Add check of reload CoC messages for banned accounts and stop bot
36+
* Remove forced bot repositioning on low screen resolution
37+
* Change Android priority order to MEmu, BlueStacks2, BlueStacks, Droid4X, LeapDroid, Nox
38+
* Change default zoom-out for BlueStacks/BlueStacks2 to use WinAPI Ctrl-Click when un-docked
39+
* Change wait when another device connects from Seconds to Minutes in bot option input box
40+
* Change Spell training to automatically pre-train spells for next attack, when army full (@mikemikemikecoc)
41+
* Enable Accelerator Key (not global hotkeys!) that work when bot window is active:
42+
Pause/Break Key = Pause/Resume bot
43+
ESC = Stop bot
44+
145
* **V6.2.1**
246
* Fix GUI display of clone/skeleton spells for TH level where they are not available
347
* Fix old training bug (@Promac submitted)
@@ -42,15 +86,15 @@
4286
* Minor User Interface changes to Bot Options tab: Moved "Village Search Delay" to Search & Attack Options tab, Moved "Train Click Delay" to Train Army Options tab; as they seem better aligned with those tabs.
4387
* New scroll to waters and zoom-out ADB scripts for slower computer
4488

45-
* **V6.1.4**
89+
* **V6.1.4**
4690
* Improve Freeze, Poison, and Haste spell training detection
4791
* Improved donaton detection images for Healer, Barbarian, Lava Hound, Wizard, Poison, Earthquake, Haste.
4892
* Fix manual TH locate warning error creating confusion on proper button to choose
4993
* Fix variable not declared error in attack planner
5094
* Reduce (hopefully fixed) resource collection errors with new match images
5195
* Updated Taiwan language file (from @flowclouds)
5296

53-
* **V6.1.3**
97+
* **V6.1.3**
5498
* Improve troop deploy click speed
5599
* Improve click speed for MEmu, Droid4X and Nox (adb.click.enabled now by default disabled (0) in config.ini, ensure mouse is not over Android Window!)
56100
* Improve Android Emulator launch by closing Windows WerFault AppCrash Window preventing launch of emulator
@@ -161,7 +205,6 @@
161205
* Improve healing spell detection during training
162206

163207
* **V5.3.2**
164-
>>>>>>> release/MBR_v.6.1
165208
* Updated Italian language file (from @davideroma)
166209
* Improve Troops&Spells Detection army overview
167210
* Fix Hero Status detection

COCBot/GUI/MBR GUI Control BOT Options.au3

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,3 +342,63 @@ Func btnTestAttackBar()
342342
EndFunc
343343

344344

345+
Func btnTestClickDrag()
346+
347+
Local $i
348+
349+
SetLog("Testing Click drag functionality...", $COLOR_BLUE)
350+
For $i = 0 To 4
351+
SetLog("Click x1/y1=100/600 and drag to x2/y2=150/600", $COLOR_BLUE)
352+
ClickDrag(100, 600, 150, 600)
353+
Next
354+
SetDebugLog("Waiting 3 Seconds...")
355+
_SleepStatus(3000, True, True, False)
356+
For $i = 0 To 4
357+
SetLog("Click x1/y1=150/600 and drag to x2/y2=100/600", $COLOR_BLUE)
358+
ClickDrag(150, 600, 100, 600)
359+
Next
360+
361+
EndFunc
362+
363+
Func btnTestImage()
364+
365+
Local $sImageFile = FileOpenDialog("Select CoC screenshot to test", $dirTemp, "Image (*.png)", $FD_FILEMUSTEXIST, "", $frmBot)
366+
367+
SetLog("Testing image " & $sImageFile, $COLOR_BLUE)
368+
369+
Local $currentRunState = $RunState
370+
$RunState = True
371+
372+
; load test image
373+
Local $hBMP = _GDIPlus_BitmapCreateFromFile($sImageFile)
374+
Local $hHBMP = _GDIPlus_BitmapCreateDIBFromBitmap($hBMP)
375+
TestCapture($hHBMP)
376+
377+
SetLog("Testing image hHBitmap = " & $hHBMP)
378+
379+
Local $Result
380+
381+
SetLog("Testing checkObstacles", $COLOR_GREEN)
382+
$Result = checkObstacles()
383+
SetLog("Testing checkObstacles DONE, $Result=" & $Result, $COLOR_GREEN)
384+
385+
SetLog("Testing waitMainScreen...", $COLOR_GREEN)
386+
$Result = waitMainScreen()
387+
SetLog("Testing waitMainScreen DONE, $Result=" & $Result, $COLOR_GREEN)
388+
389+
SetLog("Testing waitMainScreenMini", $COLOR_GREEN)
390+
$Result = waitMainScreenMini()
391+
SetLog("Testing waitMainScreenMini DONE, $Result=" & $Result, $COLOR_GREEN)
392+
393+
;checkObstacles()
394+
395+
_GDIPlus_BitmapDispose($hBMP)
396+
_WinAPI_DeleteObject($hHBMP)
397+
398+
TestCapture(0)
399+
400+
SetLog("Testing finished", $COLOR_BLUE)
401+
402+
$RunState = $currentRunState
403+
404+
EndFunc

COCBot/GUI/MBR GUI Control Bottom.au3

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
Func Initiate()
1717
WinGetAndroidHandle()
1818
If $HWnD <> 0 And ($AndroidBackgroundLaunched = True Or AndroidControlAvailable()) Then
19-
;WinActivate($HWnD)
2019
SetLog(_PadStringCenter(" " & $sBotTitle & " Powered by MyBot.run ", 50, "~"), $COLOR_PURPLE)
2120
SetLog($Compiled & " running on " & @OSVersion & " " & @OSServicePack & " " & @OSArch)
2221
If Not $bSearchMode Then
@@ -45,7 +44,7 @@ Func Initiate()
4544
; $RunState = True
4645

4746
If Not $bSearchMode Then
48-
AdlibRegister("SetTime", 1000)
47+
;AdlibRegister("SetTime", 1000)
4948
If $restarted = 1 Then
5049
$restarted = 0
5150
IniWrite($config, "general", "Restarted", 0)
@@ -148,10 +147,12 @@ Func btnStart()
148147
EndFunc ;==>btnStart
149148

150149
Func btnStop()
151-
; always invoked in MyBot.run.au3!
152-
EnableControls($frmBotBottom, False, $frmBotBottomCtrlState)
153-
$RunState = False ; Exit BotStart()
154-
$BotAction = $eBotStop
150+
If $RunState Then
151+
; always invoked in MyBot.run.au3!
152+
EnableControls($frmBotBottom, False, $frmBotBottomCtrlState)
153+
$RunState = False ; Exit BotStart()
154+
$BotAction = $eBotStop
155+
EndIf
155156
EndFunc ;==>btnStop
156157

157158
Func btnSearchMode()

COCBot/GUI/MBR GUI Control Child Army.au3

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ Func btnCloseWaitStopRandom()
383383
GUICtrlSetState($btnCloseWaitStop, BitOR($GUI_DISABLE, $GUI_UNCHECKED))
384384
Else
385385
$ibtnCloseWaitStopRandom = 0
386-
GUICtrlSetState($btnCloseWaitStop, $GUI_ENABLE)
386+
If GUICtrlRead($chkCloseWaitEnable) = $GUI_CHECKED Then GUICtrlSetState($btnCloseWaitStop, $GUI_ENABLE)
387387
EndIf
388388
EndFunc ;==>btnCloseWaitStopRandom
389389

@@ -433,6 +433,7 @@ Func chkTroopOrder($bNoiseMode = True)
433433
For $i = 0 To UBound($DefaultTroopGroup) - 1
434434
$sNewTrainList &= $TroopName[$i] & ", "
435435
Next
436+
$sNewTrainList = StringLeft($sNewTrainList, StringLen($sNewTrainList)-2)
436437
Setlog("Current train order= " & $sNewTrainList, $COLOR_BLUE)
437438
EndIf
438439
EndIf
@@ -464,6 +465,7 @@ Func chkDarkTroopOrder($bNoiseMode = True)
464465
For $i = 0 To UBound($DefaultTroopGroupDark) - 1
465466
$sNewTrainList &= $TroopDarkName[$i] & ", "
466467
Next
468+
$sNewTrainList = StringLeft($sNewTrainList, StringLen($sNewTrainList)-2)
467469
Setlog("Current train order= " & $sNewTrainList, $COLOR_BLUE)
468470
EndIf
469471
EndIf

COCBot/GUI/MBR GUI Control Tab General.au3

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ Func MoveDivider()
135135
_GUICtrlRichEdit_SetSel($txtLog, - 1, -1) ; select end
136136
_GUICtrlRichEdit_SetSel($txtAtkLog, - 1, -1) ; select end
137137

138+
SetDebugLog("MoveDivider exit", Default, True)
139+
138140
EndFunc ;==>MoveDivider
139141

140142

COCBot/GUI/MBR GUI Design Bottom.au3

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,23 +24,24 @@ Local $y_bottom = 0 ; 515
2424
Local $x = 15, $y = $y_bottom + 10
2525
$grpButtons = GUICtrlCreateGroup("https://mybot.run " & GetTranslated(602,0, "- freeware bot -"), $x - 5, $y - 10, 190, 108)
2626
$btnStart = GUICtrlCreateButton(GetTranslated(602,1, "Start Bot"), $x, $y + 2 +5, 90, 40-5)
27+
$txtTip = GetTranslated(602,30, "Use this to START the bot.")
28+
_GUICtrlSetTip(-1, $txtTip)
2729
GUICtrlSetOnEvent(-1, "btnStart")
2830
IF $btnColor then GUICtrlSetBkColor(-1, 0x5CAD85)
2931
GUICtrlSetState(-1, $GUI_DISABLE)
3032
$btnStop = GUICtrlCreateButton(GetTranslated(602,2, "Stop Bot"), -1, -1, 90, 40-5)
31-
;GUICtrlSetOnEvent(-1, "btnStop")
33+
$txtTip = GetTranslated(602,31, "Use this to STOP the bot (or ESC key).")
34+
_GUICtrlSetTip(-1, $txtTip)
3235
IF $btnColor then GUICtrlSetBkColor(-1, 0xDB4D4D)
3336
GUICtrlSetState(-1, $GUI_HIDE)
3437
$btnPause = GUICtrlCreateButton(GetTranslated(602,3, "Pause"), $x + 90, -1, 90, 40-5)
35-
$txtTip = GetTranslated(602,4, "Use this to PAUSE all actions of the bot until you Resume.")
38+
$txtTip = GetTranslated(602,4, "Use this to PAUSE all actions of the bot until you Resume (or Pause/Break key).")
3639
_GUICtrlSetTip(-1, $txtTip)
37-
;GUICtrlSetOnEvent(-1, "btnPause")
3840
IF $btnColor then GUICtrlSetBkColor(-1, 0xFFA500)
3941
GUICtrlSetState(-1, $GUI_HIDE)
4042
$btnResume = GUICtrlCreateButton(GetTranslated(602,5, "Resume"), -1, -1, 90, 40-5)
41-
$txtTip = GetTranslated(602,6, "Use this to RESUME a paused Bot.")
43+
$txtTip = GetTranslated(602,6, "Use this to RESUME a paused Bot (or Pause/Break key).")
4244
_GUICtrlSetTip(-1, $txtTip)
43-
;GUICtrlSetOnEvent(-1, "btnResume")
4445
IF $btnColor then GUICtrlSetBkColor(-1, 0xFFA500)
4546
GUICtrlSetState(-1, $GUI_HIDE)
4647
$btnSearchMode = GUICtrlCreateButton(GetTranslated(602,7, "Search Mode"), -1, -1, 90, 40-5)
@@ -52,12 +53,10 @@ $grpButtons = GUICtrlCreateGroup("https://mybot.run " & GetTranslated(602,0, "-
5253
$btnMakeScreenshot = GUICtrlCreateButton(GetTranslated(602,9, "Photo"), $x , $y + 45, 40, -1)
5354
$txtTip = GetTranslated(602,10, "Click here to take a snaphot of your village and save it to a file.")
5455
_GUICtrlSetTip(-1, $txtTip)
55-
;GUICtrlSetOnEvent(-1, "btnMakeScreenshot")
5656
IF $btnColor then GUICtrlSetBkColor(-1, 0x5CAD85)
5757
$btnHide = GUICtrlCreateButton(GetTranslated(602,11, "Hide"), $x + 40, $y + 45, 50, -1)
5858
$txtTip = GetTranslated(602,12, "Use this to move the Android Window out of sight.") & @CRLF & GetTranslated(602,13, "(Not minimized, but hidden)")
5959
_GUICtrlSetTip(-1, $txtTip)
60-
;GUICtrlSetOnEvent(-1, "btnHide")
6160
IF $btnColor Then GUICtrlSetBkColor(-1, 0x22C4F5)
6261
GUICtrlSetState(-1, $GUI_DISABLE)
6362
$btnEmbed = GUICtrlCreateButton(GetTranslated(602,27, "Dock"), $x + 90, $y + 45, 90, -1)
@@ -77,31 +76,25 @@ $grpButtons = GUICtrlCreateGroup("https://mybot.run " & GetTranslated(602,0, "-
7776
$txtTip = GetTranslated(601,18,"Paypal Donate?")
7877
_GUICtrlSetTip(-1, $txtTip)
7978
$btnAttackNowDB = GUICtrlCreateButton(GetTranslated(602,18, "DB Attack!"), $x + 190, $y - 4, 60, -1)
80-
;GUICtrlSetOnEvent(-1, "btnAttackNowDB")
8179
GUICtrlSetState(-1, $GUI_HIDE)
8280
$btnAttackNowLB = GUICtrlCreateButton(GetTranslated(602,19, "LB Attack!"), $x + 190, $y + 23, 60, -1)
83-
;GUICtrlSetOnEvent(-1, "btnAttackNowLB")
8481
GUICtrlSetState(-1, $GUI_HIDE)
8582
$btnAttackNowTS = GUICtrlCreateButton(GetTranslated(602,20, "TH Snipe!"), $x + 190, $y + 50, 60, -1)
86-
;GUICtrlSetOnEvent(-1, "btnAttackNowTS")
8783
GUICtrlSetState(-1, $GUI_HIDE)
8884
GUICtrlCreateGroup("", -99, -99, 1, 1)
8985

9086
If $AndroidAdbScreencap = True Then chkBackground() ; update background mode GUI
9187

9288
$pic2arrow = GUICtrlCreatePic(@ScriptDir & "\Images\2arrow.jpg", $x + 187, $y + 10, 50, 45)
93-
; GUICtrlSetOnEvent(-1, "arrows")
9489

9590
$lblVersion = GUICtrlCreateLabel($sBotVersion, 205, $y + 60, 60, 17, $SS_CENTER)
9691
GUICtrlSetColor(-1, $COLOR_MEDGRAY)
9792

9893
$arrowleft = GUICtrlCreatePic(@ScriptDir & "\Images\triangle_left.bmp", $x + 247, $y + 30, 8, 14)
9994
$txtTip = GetTranslated(602,25, "Switch between village info and stats")
10095
_GUICtrlSetTip(-1, $txtTip)
101-
;GUICtrlSetOnEvent(-1, "btnVillageStat")
10296
$arrowright = GUICtrlCreatePic(@ScriptDir & "\Images\triangle_right.bmp", $x + 247 + 198, $y + 30, 8, 14)
10397
_GUICtrlSetTip(-1, $txtTip)
104-
;GUICtrlSetOnEvent(-1, "btnVillageStat")
10598

10699
;~ Village
107100
Local $x = 290, $y = $y_bottom + 20

COCBot/GUI/MBR GUI Design Child Attack - Troops.au3

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,8 @@ $y = $yStart + 45
639639
GUICtrlSetOnEvent(-1, "chkTroopOrder2")
640640

641641
Local $sComboData = ""
642-
Local $aTroopOrderList[13] = [ "", $sTxtBarbarians, $sTxtArchers, $sTxtGiants, $sTxtGoblins, $sTxtWallBreakers, $sTxtBalloons, $sTxtWizards, $sTxtHealers, $sTxtDragons, $sTxtPekkas, $sTxtBabyDragons, $sTxtMiners]
642+
; Do Not Use translated names here or ChangeTroopTrainOrder() code breaks
643+
Local $aTroopOrderList[13] = [ "", "Barbarians", "Archers", "Giants", "Goblins", "Wall Breakers", "Balloons", "Wizards", "Healers", "Dragons", "Pekkas", "Baby Dragons", "Miners"]
643644

644645
; Create translated list of Troops for combo box
645646
For $j = 0 To UBound($aTroopOrderList) - 1
@@ -679,7 +680,8 @@ $y = $yStart + 45
679680
GUICtrlSetOnEvent(-1, "chkDarkTroopOrder2")
680681

681682
Local $sComboData = ""
682-
Local $aDarkTroopOrderList[8] = [ "", $sTxtMinions, $sTxtHogRiders, $sTxtValkyries, $sTxtGolems, $sTxtWitches, $sTxtLavaHounds, $sTxtBowlers]
683+
; Do Not Use translated names here or ChangeDarkTroopTrainOrder()code breaks
684+
Local $aDarkTroopOrderList[8] = [ "", "Minions", "Hog Riders", "Valkyries", "Golems", "Witches", "Lava Hounds", "Bowlers"]
683685

684686
; Create translated list of Troops for combo box
685687
For $j = 0 To UBound($aDarkTroopOrderList) - 1

COCBot/GUI/MBR GUI Design Child Bot - Debug.au3

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,25 @@ $grpDebug = GUICtrlCreateGroup(GetTranslated(636,34, "Debug"), $x - 20, $y - 20,
5050
GUICtrlSetState(-1, $GUI_DISABLE)
5151
GUICtrlSetState(-1, $GUI_HIDE)
5252

53-
Local $x = 305
53+
Local $x = 295
5454
$y = 45
55-
$btnTestTrain = GUICtrlCreateButton(GetTranslated(636,88, "Test Train"), $x , $y , 120, 30)
55+
$btnTestTrain = GUICtrlCreateButton(GetTranslated(636,88, "Test Train"), $x , $y , 140, 30)
5656

57-
$y += 50
57+
$y += 35
5858

59-
$btnTestDonateCC = GUICtrlCreateButton(GetTranslated(636,89, "Test Donate"), $x , $y , 120, 30)
59+
$btnTestDonateCC = GUICtrlCreateButton(GetTranslated(636,89, "Test Donate"), $x , $y , 140, 30)
6060

61-
$y += 50
61+
$y += 35
6262

63-
$btnTestAttackBar = GUICtrlCreateButton(GetTranslated(636,90, "Test Attack Bar"), $x , $y , 120, 30)
63+
$btnTestAttackBar = GUICtrlCreateButton(GetTranslated(636,90, "Test Attack Bar"), $x , $y , 140, 30)
64+
65+
$y += 35
66+
67+
$btnTestClickDrag = GUICtrlCreateButton(GetTranslated(636,102, "Test Click Drag (scrolling)"), $x , $y , 140, 30)
68+
69+
$y += 35
70+
71+
$btnTestImage = GUICtrlCreateButton(GetTranslated(636,103, "Test Image"), $x , $y , 140, 30)
6472

6573
GUICtrlCreateGroup("", -99, -99, 1, 1)
6674

COCBot/GUI/MBR GUI Design Child Bot - Options.au3

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,12 @@ $y +=48
152152
$grpTimeWakeUp = GUICtrlCreateGroup(GetTranslated(636,85, "Remote Device"), $x - 20, $y - 20 , 225, 42)
153153
$y -= 5
154154
$lblTimeWakeUp = GUICtrlCreateLabel(GetTranslated(636,86, "When 'Another Device' wait") & ":", $x - 10, $y + 2, -1, -1)
155-
$txtTip = GetTranslated(636,87, "Enter the time to wait (in seconds) before the Bot reconnects when another device took control.")
155+
$txtTip = GetTranslated(636,87, "Enter the time to wait (in Minutes) before the Bot reconnects when another device took control.")
156156
_GUICtrlSetTip(-1, $txtTip)
157-
$txtTimeWakeUp = GUICtrlCreateInput("240", $x + 127, $y - 1, 35, 21, BitOR($GUI_SS_DEFAULT_INPUT, $ES_CENTER, $ES_NUMBER))
157+
$txtTimeWakeUp = GUICtrlCreateInput("2", $x + 127, $y - 1, 35, 21, BitOR($GUI_SS_DEFAULT_INPUT, $ES_CENTER, $ES_NUMBER))
158158
_GUICtrlSetTip(-1, $txtTip)
159159
GUICtrlSetLimit(-1, 3)
160-
$lblTimeWakeUpSec = GUICtrlCreateLabel(GetTranslated(603,6, "sec."), $x + 165, $y + 2, -1, -1)
160+
$lblTimeWakeUpSec = GUICtrlCreateLabel(GetTranslated(603,10, "min."), $x + 165, $y + 2, -1, -1)
161161
GUICtrlCreateGroup("", -99, -99, 1, 1)
162162

163163
$y+= 51

COCBot/GUI/MBR GUI Design Child Bot - Stats.au3

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ Global $LastControlToHide = GUICtrlCreateDummy()
2020
Global $iPrevState[$LastControlToHide + 1]
2121
;~ -------------------------------------------------------------
2222

23-
$hGUI_STATS = GUICreate("", $_GUI_MAIN_WIDTH - 28, $_GUI_MAIN_HEIGHT - 255 - 28, 5, 25, BitOR($WS_CHILD, $WS_TABSTOP), -1, $hGUI_BOT)
2423
;GUISetBkColor($COLOR_WHITE, $hGUI_STATS)
2524

2625
GUISwitch($hGUI_STATS)
@@ -206,7 +205,7 @@ $hGUI_STATS_TAB_ITEM1 = GUICtrlCreateTabItem(GetTranslated(600,38,"Gain"))
206205
GUICtrlSetState(-1,$GUI_HIDE)
207206
$LegendLeague = GUICtrlCreateIcon(@ScriptDir & "\images\League\Legend.ico",-1, $x - 2, $y - 2, 64, 64)
208207
GUICtrlSetState(-1,$GUI_HIDE)
209-
208+
210209
$lblLeague = GUICtrlCreateLabel("", $x + 20, $y + 50, 64, 64, $SS_CENTER)
211210
GUICtrlSetFont($lblLeague, 12, $FW_BOLD)
212211
GUICtrlSetColor($lblLeague, $COLOR_BLACK)

0 commit comments

Comments
 (0)