-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGlobalVar.au3
103 lines (89 loc) · 2.82 KB
/
GlobalVar.au3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
#comments-start
Menu-----------------------
Goto Battle 1600, 965
Goto Event 416, 641
Goto Spirit 1100, 315
Goto Hunt 1100, 945
Event------------------------
First Event 1200, 340
Second Event 1200, 620
Adventure--------------------
Start Adventure 1600, 1000
Ready 1600, 1000
Loop----
Select team 1419, 960
1st Sup 970, 274
War Sup 585, 168
Knight Sup 647, 168
Thief Sup 750, 168
Healer Sup 1000, 168
Start 1422, 952
Clear 966, 484
Confirm 1750, 1000
Try Again 1750, 1000
Lobby 400, 1000
Back 175, 1000
End--------------------------
#comments-end
Global $application, $mouse, $visible=True, $start=False, $posXNormal[10], $posYNormal[10], $posXPurchase[5], $posYPurchase[5]
Global $save=0, $click=0, $appSize=0, $ratiow=0, $ratioh=0, $appwidth=0, $appheight=0, $saveNormal=0, $savePurchase=0, $TaskbarSize=0
Global $resolution=""
Global $timeDelayPurchase=0, $timeStartPurchase=0
Global $purchased=False
Global $gcComboSetKey, $gcConnectStatus, $gclW, $gclH, $gclS, $gcComboMode
Global $gccComboBuyEnergy, $gclIntervalClick, $gclInterval
Global $tciStart, $gcbStart, $isStartLoop, $tciShow
;GUI----------------
Const $TOOLWIDTH = 200
Const $TOOLHEIGHT = 250
Const $PADDING_EDGE=5
Const $PADDING_TOP=10
Const $COMBO_HEIGHT=20
Const $TEXT_HEIGHT=15
Const $COMBO_ALIGN=3
;String------------------
Const $STR_CONNECT_DEVICE="Connect device: Ctrl + Shift + "
Const $STR_CONNECTION_STATUS="Status:"
Const $STR_CONNECTION_OFFLINE="Offline"
Const $STR_CONNECTION_ONLINE="Connected"
Const $STR_DEVICE_SCREEN="Device size:"
Const $STR_WIDTH="W:"
Const $STR_HEIGHT="H:"
Const $STR_CLICK_WAIT="Click wait(ms):"
Const $STR_LOOP="Loop(s):"
Const $STR_BUY_ENERGY="Buy Energy:"
Const $STR_COMBO_NONE="None"
Const $STR_COMBO_USE_GEM="Use Gem"
Const $STR_COMBO_USE_LEAF="Use Leaf"
Const $STR_COMBO_ADVENTURE="Adventure"
Const $STR_COMBO_SPIRIT="Spirit"
Const $STR_COMBO_HUNT="Hunt"
Const $STR_COMBO_EVENT1="Event 1"
Const $STR_COMBO_EVENT2="Event 2"
Const $STR_MODE="Mode:"
;-----------
Const $LOOPPURCHASE = 2*60*1000 ; 2min
Const $DELAYPURCHASE = 5*1000 ; 5sec
Const $SCREEN_SIZE[2] = [1920, 1080]
;------------
Const $MENU[8] = [1600, 965, 416, 641, 1100, 315, 1100, 945]
Const $EVENT[4] = [1200, 340, 1200, 620]
; Buy----
Const $BUY_LEAF[2] = [762, 515]
Const $BUY_GEM[2] = [1150, 515]
Const $BUY_CANCEL[2] = [765, 770]
Const $BUY_CONFIRM[2] = [1090, 770]
; Loop----
Const $ADVENTURE_READY[2] = [1600, 1000] ;// 2 times
Const $ADVENTURE[10] = [966, 484, 1750, 1000, 1750, 1000, 1419, 960, 1422, 952]
Const $SUPPORT[12] = [970, 274, 585, 168, 585, 168, 647, 168, 750, 168, 1000, 768]
Const $REVIVE[2] = [0,0] ; place holder
;Const $BUY_ENERGY[4] = [, , , ]
;Const $URGENT_MISSION[2] = [] ; place holder
;------------
Const $TASKBAR = 60
Const $WM_LBUTTONDOWN = 0x201
Const $WM_LBUTTONUP = 0x202
Const $MK_LBUTTON = 0x1
;------------
Const $APPLICATION_NAME = "Auto Epic7 for Android"