58 Commits
Author SHA1 Message Date
YoursFunny ed72dc90f5 fix: update configs and asset files 2026-10-05 22:48:57 +08:00
YoursFunny e6d19ed6a2 fix(bounty): add 2 new options (road, mansion) and ui assets 2026-10-05 22:48:38 +08:00
YoursFunny 01907a64a7 fix: update assets file 2026-08-18 23:13:06 +08:00
YoursFunny 52b9e12d1f fix: update assets for en and combine shared assets 2026-08-18 23:11:54 +08:00
YoursFunny d82acb051e fix: update assets for jp 2026-08-18 23:11:53 +08:00
YoursFunny 79db2bc78e fix: update assets file 2026-08-05 10:43:10 +08:00
YoursFunny e6a1adf22d fix: update assets for jp 2026-08-05 10:42:25 +08:00
YoursFunny 59b6351f13 fix: change main page check 2026-08-05 09:59:56 +08:00
YoursFunny 57540add70 fix: update assets file 2026-05-26 22:00:25 +08:00
YoursFunny 2be5efbe70 fix: update ui assets for OVERSEA server 2026-05-26 22:00:17 +08:00
YoursFunny 3ee3ab51f4 fix: update assets file 2026-05-26 19:47:04 +08:00
YoursFunny 1c849e292e fix: update ui assets for OVERSEA server 2026-05-26 19:46:46 +08:00
YoursFunny ffa1917b22 fix: update assets file 2026-04-24 19:44:04 +08:00
YoursFunny e1396627d9 fix: update ui assets for jp 2026-04-24 19:41:41 +08:00
YoursFunny 2fbc6586df fix: update assets file 2026-01-20 19:48:40 +08:00
YoursFunny 602311b8c5 fix: update ui assets for jp 2026-01-20 19:45:38 +08:00
YoursFunny 0d1c936541 fix: update assets file 2025-09-23 20:03:39 +08:00
YoursFunny 6581511e1a fix: update configs to enable new bounty stage for OVERSEA server 2025-09-23 20:03:20 +08:00
YoursFunny c562913778 fix: update ui assets for en 2025-09-23 20:03:19 +08:00
YoursFunny 95148d2548 fix: update assets file 2025-08-09 13:20:45 +08:00
YoursFunny 44605f42cd fix: update ui assets for OVERSEA server 2025-08-09 13:20:21 +08:00
YoursFunny fdc50c77a5 fix: update assets file 2025-07-22 20:21:06 +08:00
YoursFunny 15ebf70681 fix: update ui assets for jp 2025-07-22 20:20:36 +08:00
YoursFunny b34c37a4b7 fix: update configs 2025-05-18 19:58:36 +08:00
YoursFunny 92408edd79 fix(bounty): update stage select option 2025-05-18 19:58:35 +08:00
YoursFunny 49c0894227 fix: update assets file 2025-05-13 21:56:02 +08:00
YoursFunny 1497a0a825 fix(cafe): update ui assets for jp & en 2025-05-13 21:55:42 +08:00
YoursFunny e41b8bf54a fix(cafe): synchronize Cafe No.2 for global server 2025-05-13 21:55:41 +08:00
YoursFunny cae02d62ec fix: update assets file 2025-04-22 19:54:32 +08:00
YoursFunny b16d25f9f5 fix: update ui assets for jp 2025-04-22 19:53:39 +08:00
YoursFunny 6cd0ded0c9 fix(cafe): correct invitation detection of Cafe No.2 in OVERSEA server 2025-03-08 18:44:34 +08:00
YoursFunny 62c147fdab fix(cafe): adjust timer of Cafe No.2 2025-01-22 19:40:43 +08:00
YoursFunny 5d4c5f939b fix(cafe): adjust click template offset 2025-01-22 19:40:32 +08:00
YoursFunny e6649762c8 fix: update assets file 2025-01-20 23:19:29 +08:00
YoursFunny 8cb4803f80 fix(cafe): update ui assets for jp 2025-01-20 23:18:06 +08:00
YoursFunny 51c7a5fed2 fix(cafe): update latest Cafe No.2 switch for jp 2025-01-20 23:17:39 +08:00
YoursFunny e7ecf0e94f fix: update assets file 2024-11-12 18:16:45 +08:00
YoursFunny 2a1394d733 fix(cafe): update ui assets for en 2024-11-12 18:16:45 +08:00
YoursFunny 164dee90d9 lang(cafe): correct Cafe No.2 description 2024-11-12 18:16:44 +08:00
YoursFunny f0da132f4e fix(cafe): enable Cafe No.2 for OVERSEA server 2024-11-12 18:03:30 +08:00
YoursFunny 191c3b31dc fix: update assets file 2024-10-23 23:32:55 +08:00
YoursFunny a5d20a95be fix: update ui assets for en 2024-10-23 23:32:47 +08:00
YoursFunny 7f0b2ff73f fix: update assets file 2024-09-24 14:07:02 +08:00
YoursFunny daf55b76e2 fix: update ui assets for en 2024-09-24 14:06:27 +08:00
YoursFunny 5b2e22163a fix: update assets file 2024-07-24 17:27:50 +08:00
YoursFunny 2ec7e45172 fix: update ui assets and circle for en 2024-07-24 17:27:38 +08:00
YoursFunny cd27718801 fix: update assets file 2024-07-11 18:03:37 +08:00
YoursFunny 2b12f51110 fix: update jp ui assets 2024-07-11 18:02:45 +08:00
YoursFunny a059394b71 fix: update assets file 2024-07-09 16:05:05 +08:00
YoursFunny cdccc85207 fix: update en ui assets 2024-07-09 16:04:18 +08:00
YoursFunny 9a1d8f101d fix: update assets file 2024-05-04 20:15:01 +08:00
YoursFunny bb5224d721 fix: update en ui assets 2024-05-04 20:11:50 +08:00
YoursFunny 573d742c03 fix: update assets file 2024-05-04 19:55:41 +08:00
YoursFunny f9076ae537 fix: update en ui assets 2024-05-04 19:54:57 +08:00
YoursFunny 9d9e3c0f91 fix: update ui assets for jp 2024-04-24 19:38:24 +08:00
YoursFunny c6063a4f3d fix: update ui assets for jp 2024-03-27 20:35:23 +08:00
YoursFunny b9cf5aa910 fix: update ui assets for jp 2024-02-21 18:26:00 +08:00
YoursFunny d082df0f03 fix: update ui assets and circle for jp 2024-01-25 19:40:09 +08:00
90 changed files with 536 additions and 286 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.9 KiB

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.7 KiB

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.9 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.3 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.5 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

+8
View File
@@ -91,6 +91,14 @@
"Schoolhouse": {
"Stage": 0,
"Count": 2
},
"Road": {
"Stage": 0,
"Count": 0
},
"Mansion": {
"Stage": 0,
"Count": 0
}
},
"Scrimmage": {
+52 -3
View File
@@ -343,7 +343,8 @@
6,
7,
8,
9
9,
10
]
},
"Count": {
@@ -365,7 +366,8 @@
6,
7,
8,
9
9,
10
]
},
"Count": {
@@ -387,13 +389,60 @@
6,
7,
8,
9
9,
10
]
},
"Count": {
"type": "input",
"value": 2
}
},
"Road": {
"Stage": {
"type": "select",
"value": 0,
"option": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10
]
},
"Count": {
"type": "input",
"value": 0
}
},
"Mansion": {
"Stage": {
"type": "select",
"value": 0,
"option": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10
]
},
"Count": {
"type": "input",
"value": 0
}
}
},
"Scrimmage": {
+13 -3
View File
@@ -101,18 +101,28 @@ Bounty:
Highway:
Stage:
value: 0
option: [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
option: [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ]
Count: 2
DesertRailroad:
Stage:
value: 0
option: [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
option: [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ]
Count: 2
Schoolhouse:
Stage:
value: 0
option: [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
option: [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ]
Count: 2
Road:
Stage:
value: 0
option: [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ]
Count: 0
Mansion:
Stage:
value: 0
option: [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ]
Count: 0
Scrimmage:
OnError:
+2
View File
@@ -36,6 +36,8 @@ Daily:
- Highway
- DesertRailroad
- Schoolhouse
- Road
- Mansion
Scrimmage:
- Scheduler
- Scrimmage
+11 -3
View File
@@ -56,17 +56,25 @@ class GeneratedConfig:
Bounty_OnError = 'skip' # stop, skip
# Group `Highway`
Highway_Stage = 0 # 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
Highway_Stage = 0 # 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
Highway_Count = 2
# Group `DesertRailroad`
DesertRailroad_Stage = 0 # 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
DesertRailroad_Stage = 0 # 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
DesertRailroad_Count = 2
# Group `Schoolhouse`
Schoolhouse_Stage = 0 # 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
Schoolhouse_Stage = 0 # 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
Schoolhouse_Count = 2
# Group `Road`
Road_Stage = 0 # 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
Road_Count = 0
# Group `Mansion`
Mansion_Stage = 0 # 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
Mansion_Count = 0
# Group `Scrimmage`
Scrimmage_OnError = 'skip' # stop, skip
+57 -4
View File
@@ -218,7 +218,7 @@
},
"SecondCafe": {
"name": "Second Floor",
"help": "JP server only\nEnable auto switch to second floor and perform interaction"
"help": "Enable auto switch to second floor and perform interaction"
}
},
"Invitation": {
@@ -282,7 +282,8 @@
"6": "06 - Overpass F",
"7": "07 - Overpass G",
"8": "08 - Overpass H",
"9": "09 - Overpass I"
"9": "09 - Overpass I",
"10": "10 - Overpass J"
},
"Count": {
"name": "Sweep X times",
@@ -306,7 +307,8 @@
"6": "06 - Abandoned Train F",
"7": "07 - Abandoned Train G",
"8": "08 - Abandoned Train H",
"9": "09 - Abandoned Train I"
"9": "09 - Abandoned Train I",
"10": "10 - Abandoned Train J"
},
"Count": {
"name": "Sweep X times",
@@ -330,7 +332,58 @@
"6": "06 - Besieged Classroom F",
"7": "07 - Besieged Classroom G",
"8": "08 - Besieged Classroom H",
"9": "09 - Besieged Classroom I"
"9": "09 - Besieged Classroom I",
"10": "10 - Besieged Classroom J"
},
"Count": {
"name": "Sweep X times",
"help": "Sweep the selected stage for X times"
}
},
"Road": {
"_info": {
"name": "Road",
"help": ""
},
"Stage": {
"name": "Select Stage",
"help": "",
"0": "Auto select",
"1": "01 - Burning Road A",
"2": "02 - Burning Road B",
"3": "03 - Burning Road C",
"4": "04 - Burning Road D",
"5": "05 - Burning Road E",
"6": "06 - Burning Road F",
"7": "07 - Burning Road G",
"8": "08 - Burning Road H",
"9": "09 - Burning Road I",
"10": "10 - Burning Road J"
},
"Count": {
"name": "Sweep X times",
"help": "Sweep the selected stage for X times"
}
},
"Mansion": {
"_info": {
"name": "Mansion",
"help": ""
},
"Stage": {
"name": "Select Stage",
"help": "",
"0": "Auto select",
"1": "01 - Historic Mansion A",
"2": "02 - Historic Mansion B",
"3": "03 - Historic Mansion C",
"4": "04 - Historic Mansion D",
"5": "05 - Historic Mansion E",
"6": "06 - Historic Mansion F",
"7": "07 - Historic Mansion G",
"8": "08 - Historic Mansion H",
"9": "09 - Historic Mansion I",
"10": "10 - Historic Mansion J"
},
"Count": {
"name": "Sweep X times",
+57 -4
View File
@@ -218,7 +218,7 @@
},
"SecondCafe": {
"name": "第二咖啡厅",
"help": "仅支持日服\n自动切换第二咖啡厅进行互动点击"
"help": "自动切换第二咖啡厅进行互动点击"
}
},
"Invitation": {
@@ -282,7 +282,8 @@
"6": "06 - 高架公路 F",
"7": "07 - 高架公路 G",
"8": "08 - 高架公路 H",
"9": "09 - 高架公路 I"
"9": "09 - 高架公路 I",
"10": "10 - 高架公路 J"
},
"Count": {
"name": "扫荡次数",
@@ -306,7 +307,8 @@
"6": "06 - 被遗弃的列车 F",
"7": "07 - 被遗弃的列车 G",
"8": "08 - 被遗弃的列车 H",
"9": "09 - 被遗弃的列车 I"
"9": "09 - 被遗弃的列车 I",
"10": "10 - 被遗弃的列车 J"
},
"Count": {
"name": "扫荡次数",
@@ -330,7 +332,58 @@
"6": "06 - 被袭击的教室 F",
"7": "07 - 被袭击的教室 G",
"8": "08 - 被袭击的教室 H",
"9": "09 - 被袭击的教室 I"
"9": "09 - 被袭击的教室 I",
"10": "10 - 被袭击的教室 J"
},
"Count": {
"name": "扫荡次数",
"help": "扫荡所选择关卡 X 次"
}
},
"Road": {
"_info": {
"name": "道路",
"help": ""
},
"Stage": {
"name": "选择关卡",
"help": "",
"0": "自动选择",
"1": "01 - 燃烧道路 A",
"2": "02 - 燃烧道路 B",
"3": "03 - 燃烧道路 C",
"4": "04 - 燃烧道路 D",
"5": "05 - 燃烧道路 E",
"6": "06 - 燃烧道路 F",
"7": "07 - 燃烧道路 G",
"8": "08 - 燃烧道路 H",
"9": "09 - 燃烧道路 I",
"10": "10 - 燃烧道路 J"
},
"Count": {
"name": "扫荡次数",
"help": "扫荡所选择关卡 X 次"
}
},
"Mansion": {
"_info": {
"name": "宅邸",
"help": ""
},
"Stage": {
"name": "选择关卡",
"help": "",
"0": "自动选择",
"1": "01 - 古老宅邸 A",
"2": "02 - 古老宅邸 B",
"3": "03 - 古老宅邸 C",
"4": "04 - 古老宅邸 D",
"5": "05 - 古老宅邸 E",
"6": "06 - 古老宅邸 F",
"7": "07 - 古老宅邸 G",
"8": "08 - 古老宅邸 H",
"9": "09 - 古老宅邸 I",
"10": "10 - 古老宅邸 J"
},
"Count": {
"name": "扫荡次数",
+157 -108
View File
@@ -51,17 +51,17 @@ CAFE_CHECK = ButtonWrapper(
name='CAFE_CHECK',
jp=Button(
file='./assets/jp/base/page/CAFE_CHECK.png',
area=(264, 11, 337, 35),
search=(244, 0, 357, 55),
color=(188, 197, 205),
button=(264, 11, 337, 35),
area=(108, 11, 182, 36),
search=(88, 0, 202, 56),
color=(191, 200, 208),
button=(108, 11, 182, 36),
),
en=Button(
file='./assets/en/base/page/CAFE_CHECK.png',
area=(196, 8, 259, 37),
search=(176, 0, 279, 57),
color=(188, 197, 206),
button=(196, 8, 259, 37),
area=(106, 12, 167, 36),
search=(86, 0, 187, 56),
color=(173, 184, 194),
button=(106, 12, 167, 36),
),
)
CIRCLE_CHECK = ButtonWrapper(
@@ -136,10 +136,10 @@ HOME = ButtonWrapper(
name='HOME',
share=Button(
file='./assets/share/base/page/HOME.png',
area=(1218, 8, 1253, 41),
search=(1198, 0, 1273, 61),
color=(168, 182, 205),
button=(1218, 8, 1253, 41),
area=(1224, 10, 1250, 35),
search=(1204, 0, 1270, 55),
color=(162, 176, 202),
button=(1224, 10, 1250, 35),
),
)
LOADING_CHECK = ButtonWrapper(
@@ -171,119 +171,168 @@ MAIL_CHECK = ButtonWrapper(
)
MAIN_GO_TO_CAFE = ButtonWrapper(
name='MAIN_GO_TO_CAFE',
jp=Button(
file='./assets/jp/base/page/MAIN_GO_TO_CAFE.png',
area=(86, 636, 112, 674),
search=(66, 616, 132, 694),
color=(177, 223, 246),
button=(86, 636, 112, 674),
),
share=Button(
file='./assets/share/base/page/MAIN_GO_TO_CAFE.png',
area=(81, 638, 102, 668),
search=(61, 618, 122, 688),
color=(156, 209, 233),
button=(81, 638, 102, 668),
area=(85, 637, 113, 674),
search=(65, 617, 133, 694),
color=(178, 224, 246),
button=(85, 637, 113, 674),
),
)
MAIN_GO_TO_CIRCLE = ButtonWrapper(
name='MAIN_GO_TO_CIRCLE',
jp=Button(
file='./assets/jp/base/page/MAIN_GO_TO_CIRCLE.png',
area=(533, 633, 558, 661),
search=(513, 613, 578, 681),
color=(171, 228, 255),
button=(533, 633, 558, 661),
),
share=Button(
file='./assets/share/base/page/MAIN_GO_TO_CIRCLE.png',
area=(540, 631, 583, 660),
search=(520, 611, 603, 680),
color=(131, 204, 234),
button=(540, 631, 583, 660),
area=(533, 636, 558, 661),
search=(513, 616, 578, 681),
color=(162, 224, 255),
button=(533, 636, 558, 661),
),
)
MAIN_GO_TO_CRAFTING = ButtonWrapper(
name='MAIN_GO_TO_CRAFTING',
jp=Button(
file='./assets/jp/base/page/MAIN_GO_TO_CRAFTING.png',
area=(643, 632, 669, 664),
search=(623, 612, 689, 684),
color=(210, 237, 252),
button=(643, 632, 669, 664),
),
share=Button(
file='./assets/share/base/page/MAIN_GO_TO_CRAFTING.png',
area=(665, 622, 693, 664),
search=(645, 602, 713, 684),
color=(192, 229, 241),
button=(665, 622, 693, 664),
area=(644, 636, 666, 665),
search=(624, 616, 686, 685),
color=(205, 234, 251),
button=(644, 636, 666, 665),
),
)
MAIN_GO_TO_GACHA = ButtonWrapper(
name='MAIN_GO_TO_GACHA',
jp=Button(
file='./assets/jp/base/page/MAIN_GO_TO_GACHA.png',
area=(874, 650, 895, 669),
search=(854, 630, 915, 689),
color=(158, 228, 254),
button=(874, 650, 895, 669),
),
share=Button(
file='./assets/share/base/page/MAIN_GO_TO_GACHA.png',
area=(900, 623, 924, 670),
search=(880, 603, 944, 690),
color=(157, 219, 241),
button=(900, 623, 924, 670),
area=(871, 655, 896, 674),
search=(851, 635, 916, 694),
color=(139, 221, 249),
button=(871, 655, 896, 674),
),
)
MAIN_GO_TO_MAIL = ButtonWrapper(
name='MAIN_GO_TO_MAIL',
share=Button(
file='./assets/share/base/page/MAIN_GO_TO_MAIL.png',
area=(1130, 29, 1156, 49),
search=(1110, 9, 1176, 69),
color=(94, 121, 166),
button=(1130, 29, 1156, 49),
area=(1144, 27, 1165, 44),
search=(1124, 7, 1185, 64),
color=(102, 125, 168),
button=(1144, 27, 1165, 44),
),
)
MAIN_GO_TO_MOMOTALK = ButtonWrapper(
name='MAIN_GO_TO_MOMOTALK',
share=Button(
file='./assets/share/base/page/MAIN_GO_TO_MOMOTALK.png',
area=(154, 134, 177, 158),
search=(134, 114, 197, 178),
color=(255, 219, 227),
button=(154, 134, 177, 158),
area=(125, 118, 146, 151),
search=(105, 98, 166, 171),
color=(244, 200, 211),
button=(125, 118, 146, 151),
),
)
MAIN_GO_TO_PURCHASE = ButtonWrapper(
name='MAIN_GO_TO_PURCHASE',
share=Button(
file='./assets/share/base/page/MAIN_GO_TO_PURCHASE.png',
area=(148, 204, 183, 253),
search=(128, 184, 203, 273),
color=(172, 214, 239),
button=(148, 204, 183, 253),
area=(122, 209, 148, 243),
search=(102, 189, 168, 263),
color=(190, 222, 246),
button=(122, 209, 148, 243),
),
)
MAIN_GO_TO_SCHEDULE = ButtonWrapper(
name='MAIN_GO_TO_SCHEDULE',
jp=Button(
file='./assets/jp/base/page/MAIN_GO_TO_SCHEDULE.png',
area=(197, 637, 216, 668),
search=(177, 617, 236, 688),
color=(181, 224, 241),
button=(197, 637, 216, 668),
),
share=Button(
file='./assets/share/base/page/MAIN_GO_TO_SCHEDULE.png',
area=(194, 638, 216, 672),
search=(174, 618, 236, 692),
color=(149, 194, 222),
button=(194, 638, 216, 672),
area=(196, 650, 225, 670),
search=(176, 630, 245, 690),
color=(196, 228, 242),
button=(196, 650, 225, 670),
),
)
MAIN_GO_TO_SHOP = ButtonWrapper(
name='MAIN_GO_TO_SHOP',
jp=Button(
file='./assets/jp/base/page/MAIN_GO_TO_SHOP.png',
area=(753, 632, 787, 668),
search=(733, 612, 807, 688),
color=(167, 220, 247),
button=(753, 632, 787, 668),
),
share=Button(
file='./assets/share/base/page/MAIN_GO_TO_SHOP.png',
area=(773, 630, 816, 667),
search=(753, 610, 836, 687),
color=(146, 208, 235),
button=(773, 630, 816, 667),
area=(750, 633, 788, 666),
search=(730, 613, 808, 686),
color=(168, 220, 246),
button=(750, 633, 788, 666),
),
)
MAIN_GO_TO_TASK = ButtonWrapper(
name='MAIN_GO_TO_TASK',
jp=Button(
file='./assets/jp/base/page/MAIN_GO_TO_TASK.png',
area=(30, 214, 55, 248),
search=(10, 194, 75, 268),
color=(186, 218, 245),
button=(30, 214, 55, 248),
),
share=Button(
file='./assets/share/base/page/MAIN_GO_TO_TASK.png',
area=(52, 220, 78, 248),
search=(32, 200, 98, 268),
color=(226, 207, 203),
button=(52, 220, 78, 248),
area=(37, 216, 60, 247),
search=(17, 196, 80, 267),
color=(195, 225, 248),
button=(37, 216, 60, 247),
),
)
MAIN_GO_TO_WORK = ButtonWrapper(
name='MAIN_GO_TO_WORK',
jp=Button(
file='./assets/jp/base/page/MAIN_GO_TO_WORK.png',
area=(1167, 605, 1241, 632),
search=(1147, 585, 1261, 652),
color=(135, 149, 169),
button=(1167, 605, 1241, 632),
area=(1167, 668, 1222, 688),
search=(1147, 648, 1242, 708),
color=(141, 156, 174),
button=(1167, 668, 1222, 688),
),
en=Button(
file='./assets/en/base/page/MAIN_GO_TO_WORK.png',
area=(1127, 605, 1250, 637),
search=(1107, 585, 1270, 657),
color=(90, 112, 141),
button=(1127, 605, 1250, 637),
area=(1155, 669, 1250, 690),
search=(1135, 649, 1270, 710),
color=(116, 136, 159),
button=(1155, 669, 1250, 690),
),
)
MISSION_CHECK = ButtonWrapper(
@@ -446,101 +495,101 @@ WORK_GO_TO_BOUNTY = ButtonWrapper(
name='WORK_GO_TO_BOUNTY',
jp=Button(
file='./assets/jp/base/page/WORK_GO_TO_BOUNTY.png',
area=(669, 412, 765, 436),
search=(649, 392, 785, 456),
color=(165, 181, 208),
button=(669, 412, 765, 436),
area=(679, 401, 741, 417),
search=(659, 381, 761, 437),
color=(155, 164, 186),
button=(679, 401, 741, 417),
),
en=Button(
file='./assets/en/base/page/WORK_GO_TO_BOUNTY.png',
area=(671, 409, 760, 440),
search=(651, 389, 780, 460),
color=(183, 202, 227),
button=(671, 409, 760, 440),
area=(679, 402, 736, 421),
search=(659, 382, 756, 441),
color=(188, 196, 211),
button=(679, 402, 736, 421),
),
)
WORK_GO_TO_COMMISSIONS = ButtonWrapper(
name='WORK_GO_TO_COMMISSIONS',
jp=Button(
file='./assets/jp/base/page/WORK_GO_TO_COMMISSIONS.png',
area=(655, 494, 751, 518),
search=(635, 474, 771, 538),
color=(165, 179, 204),
button=(655, 494, 751, 518),
area=(661, 504, 724, 521),
search=(641, 484, 744, 541),
color=(155, 163, 184),
button=(661, 504, 724, 521),
),
en=Button(
file='./assets/en/base/page/WORK_GO_TO_COMMISSIONS.png',
area=(656, 494, 803, 517),
search=(636, 474, 823, 537),
color=(192, 204, 221),
button=(656, 494, 803, 517),
area=(661, 504, 762, 520),
search=(641, 484, 782, 540),
color=(169, 178, 195),
button=(661, 504, 762, 520),
),
)
WORK_GO_TO_MISSION = ButtonWrapper(
name='WORK_GO_TO_MISSION',
jp=Button(
file='./assets/jp/base/page/WORK_GO_TO_MISSION.png',
area=(720, 160, 803, 199),
search=(700, 140, 823, 219),
color=(165, 178, 204),
button=(720, 160, 803, 199),
area=(703, 231, 742, 252),
search=(683, 211, 762, 272),
color=(144, 158, 184),
button=(703, 231, 742, 252),
),
en=Button(
file='./assets/en/base/page/WORK_GO_TO_MISSION.png',
area=(720, 160, 871, 206),
search=(700, 140, 891, 226),
color=(192, 204, 221),
button=(720, 160, 871, 206),
area=(712, 221, 819, 247),
search=(692, 201, 839, 267),
color=(140, 162, 190),
button=(712, 221, 819, 247),
),
)
WORK_GO_TO_SCHOOL_EXCHANGE = ButtonWrapper(
name='WORK_GO_TO_SCHOOL_EXCHANGE',
jp=Button(
file='./assets/jp/base/page/WORK_GO_TO_SCHOOL_EXCHANGE.png',
area=(641, 575, 758, 599),
search=(621, 555, 778, 619),
color=(165, 179, 204),
button=(641, 575, 758, 599),
area=(642, 606, 721, 624),
search=(622, 586, 741, 644),
color=(167, 174, 192),
button=(642, 606, 721, 624),
),
en=Button(
file='./assets/en/base/page/WORK_GO_TO_SCHOOL_EXCHANGE.png',
area=(643, 572, 778, 602),
search=(623, 552, 798, 622),
color=(190, 203, 221),
button=(643, 572, 778, 602),
area=(642, 607, 729, 627),
search=(622, 587, 749, 647),
color=(196, 200, 211),
button=(642, 607, 729, 627),
),
)
WORK_GO_TO_STORY = ButtonWrapper(
name='WORK_GO_TO_STORY',
jp=Button(
file='./assets/jp/base/page/WORK_GO_TO_STORY.png',
area=(995, 163, 1032, 197),
search=(975, 143, 1052, 217),
color=(191, 201, 219),
button=(995, 163, 1032, 197),
area=(1074, 232, 1169, 251),
search=(1054, 212, 1189, 271),
color=(202, 207, 220),
button=(1074, 232, 1169, 251),
),
en=Button(
file='./assets/en/base/page/WORK_GO_TO_STORY.png',
area=(994, 159, 1109, 211),
search=(974, 139, 1129, 231),
color=(208, 215, 228),
button=(994, 159, 1109, 211),
area=(992, 221, 1075, 255),
search=(972, 201, 1095, 275),
color=(192, 198, 213),
button=(992, 221, 1075, 255),
),
)
WORK_GO_TO_TACTICAL_CHALLENGE = ButtonWrapper(
name='WORK_GO_TO_TACTICAL_CHALLENGE',
jp=Button(
file='./assets/jp/base/page/WORK_GO_TO_TACTICAL_CHALLENGE.png',
area=(1012, 535, 1151, 562),
search=(992, 515, 1171, 582),
color=(159, 174, 200),
button=(1012, 535, 1151, 562),
area=(821, 600, 911, 620),
search=(801, 580, 931, 640),
color=(156, 164, 185),
button=(821, 600, 911, 620),
),
en=Button(
file='./assets/en/base/page/WORK_GO_TO_TACTICAL_CHALLENGE.png',
area=(1012, 532, 1152, 591),
search=(992, 512, 1172, 611),
color=(199, 211, 227),
button=(1012, 532, 1152, 591),
area=(818, 608, 923, 623),
search=(798, 588, 943, 643),
color=(198, 202, 215),
button=(818, 608, 923, 623),
),
)
+1 -1
View File
@@ -69,7 +69,7 @@ class Page:
# Main Page
page_main = Page(MAIN_GO_TO_PURCHASE)
page_main = Page(MAIN_GO_TO_TASK)
# Cafe
page_cafe = Page(CAFE_CHECK)
+52 -8
View File
@@ -54,6 +54,28 @@ CHECK_HIGHWAY = ButtonWrapper(
button=(104, 143, 391, 188),
),
)
CHECK_MANSION = ButtonWrapper(
name='CHECK_MANSION',
jp=Button(
file='./assets/jp/bounty/CHECK_MANSION.png',
area=(108, 148, 313, 178),
search=(88, 128, 333, 198),
color=(167, 173, 178),
button=(108, 148, 313, 178),
),
en=None,
)
CHECK_ROAD = ButtonWrapper(
name='CHECK_ROAD',
jp=Button(
file='./assets/jp/bounty/CHECK_ROAD.png',
area=(108, 148, 313, 178),
search=(88, 128, 333, 198),
color=(168, 175, 179),
button=(108, 148, 313, 178),
),
en=None,
)
CHECK_SCHOOLHOUSE = ButtonWrapper(
name='CHECK_SCHOOLHOUSE',
jp=Button(
@@ -92,10 +114,10 @@ SELECT_DESERT_RAILROAD = ButtonWrapper(
name='SELECT_DESERT_RAILROAD',
jp=Button(
file='./assets/jp/bounty/SELECT_DESERT_RAILROAD.png',
area=(1066, 271, 1224, 311),
search=(1046, 251, 1244, 331),
color=(178, 188, 199),
button=(1066, 271, 1224, 311),
area=(1071, 290, 1219, 321),
search=(1051, 270, 1239, 341),
color=(155, 166, 181),
button=(1071, 290, 1219, 321),
),
en=Button(
file='./assets/en/bounty/SELECT_DESERT_RAILROAD.png',
@@ -122,14 +144,36 @@ SELECT_HIGHWAY = ButtonWrapper(
button=(1073, 167, 1223, 202),
),
)
SELECT_MANSION = ButtonWrapper(
name='SELECT_MANSION',
jp=Button(
file='./assets/jp/bounty/SELECT_MANSION.png',
area=(1156, 657, 1221, 688),
search=(1136, 637, 1241, 708),
color=(145, 158, 175),
button=(1156, 657, 1221, 688),
),
en=None,
)
SELECT_ROAD = ButtonWrapper(
name='SELECT_ROAD',
jp=Button(
file='./assets/jp/bounty/SELECT_ROAD.png',
area=(1156, 535, 1219, 565),
search=(1136, 515, 1239, 585),
color=(146, 159, 175),
button=(1156, 535, 1219, 565),
),
en=None,
)
SELECT_SCHOOLHOUSE = ButtonWrapper(
name='SELECT_SCHOOLHOUSE',
jp=Button(
file='./assets/jp/bounty/SELECT_SCHOOLHOUSE.png',
area=(1154, 381, 1223, 417),
search=(1134, 361, 1243, 437),
color=(173, 185, 198),
button=(1154, 381, 1223, 417),
area=(1157, 412, 1220, 443),
search=(1137, 392, 1240, 463),
color=(157, 170, 185),
button=(1157, 412, 1220, 443),
),
en=Button(
file='./assets/en/bounty/SELECT_SCHOOLHOUSE.png',
+6 -4
View File
@@ -21,10 +21,12 @@ class BountyStatus(Flag):
class Bounty(BountyUI):
@property
def bounty_info(self):
bounty = (SELECT_HIGHWAY, SELECT_DESERT_RAILROAD, SELECT_SCHOOLHOUSE)
check = (CHECK_HIGHWAY, CHECK_DESERT_RAILROAD, CHECK_SCHOOLHOUSE)
stage = (self.config.Highway_Stage, self.config.DesertRailroad_Stage, self.config.Schoolhouse_Stage)
count = (self.config.Highway_Count, self.config.DesertRailroad_Count, self.config.Schoolhouse_Count)
bounty = (SELECT_HIGHWAY, SELECT_DESERT_RAILROAD, SELECT_SCHOOLHOUSE, SELECT_ROAD, SELECT_MANSION)
check = (CHECK_HIGHWAY, CHECK_DESERT_RAILROAD, CHECK_SCHOOLHOUSE, CHECK_ROAD, CHECK_MANSION)
stage = (self.config.Highway_Stage, self.config.DesertRailroad_Stage, self.config.Schoolhouse_Stage,
self.config.Road_Stage, self.config.Mansion_Stage)
count = (self.config.Highway_Count, self.config.DesertRailroad_Count, self.config.Schoolhouse_Count,
self.config.Road_Count, self.config.Mansion_Count)
info = zip(bounty, check, stage, count)
return filter(lambda x: x[3] > 0, info)
+60 -94
View File
@@ -27,102 +27,68 @@ CAFE_FIRST = ButtonWrapper(
name='CAFE_FIRST',
jp=Button(
file='./assets/jp/cafe/CAFE_FIRST.png',
area=(82, 152, 136, 175),
search=(62, 132, 156, 195),
color=(111, 127, 147),
button=(82, 152, 136, 175),
area=(96, 92, 111, 110),
search=(76, 72, 131, 130),
color=(185, 192, 200),
button=(96, 92, 111, 110),
),
en=Button(
file='./assets/en/cafe/CAFE_FIRST.png',
area=(82, 152, 136, 175),
search=(62, 132, 156, 195),
color=(111, 127, 147),
button=(82, 152, 136, 175),
area=(205, 96, 215, 107),
search=(185, 76, 235, 127),
color=(176, 184, 194),
button=(205, 96, 215, 107),
),
)
CAFE_INVITE = ButtonWrapper(
name='CAFE_INVITE',
jp=Button(
file='./assets/jp/cafe/CAFE_INVITE.png',
area=(816, 635, 845, 655),
search=(796, 615, 865, 675),
color=(173, 182, 192),
button=(816, 635, 845, 655),
area=(870, 637, 903, 663),
search=(850, 617, 923, 683),
color=(253, 217, 235),
button=(870, 637, 903, 663),
),
en=Button(
file='./assets/en/cafe/CAFE_INVITE.png',
area=(816, 635, 845, 655),
search=(796, 615, 865, 675),
color=(173, 182, 192),
button=(816, 635, 845, 655),
area=(870, 637, 903, 663),
search=(850, 617, 923, 683),
color=(253, 217, 235),
button=(870, 637, 903, 663),
),
)
CAFE_INVITED = ButtonWrapper(
name='CAFE_INVITED',
jp=Button(
file='./assets/jp/cafe/CAFE_INVITED.png',
area=(815, 633, 847, 657),
search=(795, 613, 867, 677),
color=(144, 144, 146),
button=(815, 633, 847, 657),
area=(870, 637, 903, 663),
search=(850, 617, 923, 683),
color=(111, 109, 109),
button=(870, 637, 903, 663),
),
en=Button(
file='./assets/en/cafe/CAFE_INVITED.png',
area=(815, 633, 847, 657),
search=(795, 613, 867, 677),
color=(144, 144, 146),
button=(815, 633, 847, 657),
area=(870, 637, 903, 663),
search=(850, 617, 923, 683),
color=(111, 109, 109),
button=(870, 637, 903, 663),
),
)
CAFE_SECOND = ButtonWrapper(
name='CAFE_SECOND',
jp=Button(
file='./assets/jp/cafe/CAFE_SECOND.png',
area=(219, 152, 279, 175),
search=(199, 132, 299, 195),
color=(110, 126, 146),
button=(219, 152, 279, 175),
area=(99, 92, 108, 110),
search=(79, 72, 128, 130),
color=(193, 200, 209),
button=(99, 92, 108, 110),
),
en=Button(
file='./assets/en/cafe/CAFE_SECOND.png',
area=(219, 152, 279, 175),
search=(199, 132, 299, 195),
color=(110, 126, 146),
button=(219, 152, 279, 175),
),
)
CHANGE_CAFE_NOT_SELECTED = ButtonWrapper(
name='CHANGE_CAFE_NOT_SELECTED',
jp=Button(
file='./assets/jp/cafe/CHANGE_CAFE_NOT_SELECTED.png',
area=(84, 89, 178, 109),
search=(64, 69, 198, 129),
color=(185, 193, 203),
button=(84, 89, 178, 109),
),
en=Button(
file='./assets/en/cafe/CHANGE_CAFE_NOT_SELECTED.png',
area=(84, 89, 178, 109),
search=(64, 69, 198, 129),
color=(185, 193, 203),
button=(84, 89, 178, 109),
),
)
CHANGE_CAFE_SELECTED = ButtonWrapper(
name='CHANGE_CAFE_SELECTED',
jp=Button(
file='./assets/jp/cafe/CHANGE_CAFE_SELECTED.png',
area=(40, 87, 191, 112),
search=(20, 67, 211, 132),
color=(82, 105, 130),
button=(40, 87, 191, 112),
),
en=Button(
file='./assets/en/cafe/CHANGE_CAFE_SELECTED.png',
area=(40, 87, 191, 112),
search=(20, 67, 211, 132),
color=(82, 105, 130),
button=(40, 87, 191, 112),
area=(207, 96, 214, 107),
search=(187, 76, 234, 127),
color=(174, 182, 192),
button=(207, 96, 214, 107),
),
)
CHECK_MOMOTALK = ButtonWrapper(
@@ -146,17 +112,17 @@ CHECK_REWARD = ButtonWrapper(
name='CHECK_REWARD',
jp=Button(
file='./assets/jp/cafe/CHECK_REWARD.png',
area=(1095, 621, 1146, 637),
search=(1075, 601, 1166, 657),
color=(82, 105, 129),
button=(1086, 607, 1225, 685),
area=(1120, 635, 1166, 651),
search=(1100, 615, 1186, 671),
color=(79, 102, 127),
button=(1109, 627, 1239, 691),
),
en=Button(
file='./assets/en/cafe/CHECK_REWARD.png',
area=(1090, 613, 1229, 644),
search=(1070, 593, 1249, 664),
color=(64, 88, 115),
button=(1086, 611, 1229, 685),
area=(1116, 636, 1218, 654),
search=(1096, 616, 1238, 674),
color=(77, 100, 125),
button=(1113, 625, 1239, 692),
),
)
CLICKABLE_TEMPLATE = ButtonWrapper(
@@ -180,10 +146,10 @@ GET_REWARD = ButtonWrapper(
),
en=Button(
file='./assets/en/cafe/GET_REWARD.png',
area=(581, 503, 692, 536),
search=(561, 483, 712, 556),
color=(208, 190, 63),
button=(539, 491, 741, 555),
area=(593, 506, 687, 548),
search=(573, 486, 707, 568),
color=(211, 193, 64),
button=(543, 492, 736, 564),
),
)
GET_REWARD_CLOSE = ButtonWrapper(
@@ -197,10 +163,10 @@ GET_REWARD_CLOSE = ButtonWrapper(
),
en=Button(
file='./assets/en/cafe/GET_REWARD_CLOSE.png',
area=(883, 134, 926, 178),
search=(863, 114, 946, 198),
color=(215, 220, 224),
button=(883, 134, 926, 178),
area=(968, 132, 997, 162),
search=(948, 112, 1017, 182),
color=(187, 193, 201),
button=(968, 132, 997, 162),
),
)
GOT_REWARD = ButtonWrapper(
@@ -214,10 +180,10 @@ GOT_REWARD = ButtonWrapper(
),
en=Button(
file='./assets/en/cafe/GOT_REWARD.png',
area=(543, 489, 741, 558),
search=(523, 469, 761, 578),
color=(211, 212, 212),
button=(543, 489, 741, 558),
area=(544, 493, 735, 563),
search=(524, 473, 755, 583),
color=(213, 213, 212),
button=(544, 493, 735, 563),
),
)
INVENTORY = ButtonWrapper(
@@ -377,17 +343,17 @@ OCR_CAFE = ButtonWrapper(
name='OCR_CAFE',
jp=Button(
file='./assets/jp/cafe/OCR_CAFE.png',
area=(1103, 642, 1202, 672),
search=(1083, 622, 1222, 692),
color=(87, 107, 129),
button=(1103, 642, 1202, 672),
area=(1127, 657, 1219, 682),
search=(1107, 637, 1239, 702),
color=(93, 112, 134),
button=(1127, 657, 1219, 682),
),
en=Button(
file='./assets/en/cafe/OCR_CAFE.png',
area=(1105, 639, 1195, 674),
search=(1085, 619, 1215, 694),
color=(84, 104, 127),
button=(1105, 639, 1195, 674),
area=(1127, 657, 1219, 682),
search=(1107, 637, 1239, 702),
color=(93, 112, 134),
button=(1127, 657, 1219, 682),
),
)
OCR_NAME = ButtonWrapper(
+7 -31
View File
@@ -1,6 +1,5 @@
from enum import Enum
from module.base.decorator import Config
from module.base.timer import Timer
from module.logger import logger
from module.ui.switch import Switch
@@ -9,10 +8,6 @@ from tasks.cafe.assets.assets_cafe import *
from tasks.cafe.invitation import handle_invitation
from tasks.cafe.ui import CafeUI
SWITCH_CAFE = Switch('Cafe_switch')
SWITCH_CAFE.add_state('off', CHANGE_CAFE_NOT_SELECTED)
SWITCH_CAFE.add_state('on', CHANGE_CAFE_SELECTED)
SWITCH_CAFE_SELECT = Switch('Cafe_switch_select')
SWITCH_CAFE_SELECT.add_state('1', CAFE_FIRST)
SWITCH_CAFE_SELECT.add_state('2', CAFE_SECOND)
@@ -30,16 +25,10 @@ class CafeStatus(Enum):
class Cafe(CafeUI):
@Config.when(Emulator_GameLanguage='jp')
def _is_second_cafe_on(self):
@property
def is_second_cafe_on(self):
return self.config.Cafe_SecondCafe
@Config.when(Emulator_GameLanguage=None)
def _is_second_cafe_on(self):
return False
is_second_cafe_on = property(_is_second_cafe_on)
def _handle_cafe(self, status):
match status:
case CafeStatus.STUDENT_LIST:
@@ -70,7 +59,7 @@ class Cafe(CafeUI):
if handle_invitation(self):
return CafeStatus.CLICK
case CafeStatus.CLICK:
buttons = self.get_clickable_buttons(offset=(45, 10))
buttons = self.get_clickable_buttons()
self.click = len(buttons)
logger.attr('Clickable', self.click)
if not buttons:
@@ -116,7 +105,6 @@ class Cafe(CafeUI):
status = CafeStatus.STUDENT_LIST
loading_timer = Timer(2).start()
action_timer = Timer(1, count=1)
is_list = False
is_reset = False
is_second = False
is_enable = is_reward_on or is_touch_on
@@ -133,11 +121,6 @@ class Cafe(CafeUI):
if not loading_timer.reached():
continue
if not is_list and status == CafeStatus.STUDENT_LIST and self.appear(STUDENT_LIST):
is_list = True
loading_timer = Timer(3).start()
continue
if not is_reward_on and status == CafeStatus.OCR:
logger.info('Skip reward')
status = CafeStatus.CLICK
@@ -154,26 +137,19 @@ class Cafe(CafeUI):
continue
if self.is_second_cafe_on and not is_second and status == CafeStatus.FINISHED:
if not SWITCH_CAFE.appear(main=self):
logger.warning('Cafe switch not found')
continue
if SWITCH_CAFE.get(main=self) == 'off':
SWITCH_CAFE.set('on', main=self)
logger.info('Switching to second cafe')
if not SWITCH_CAFE_SELECT.appear(main=self):
logger.info('Cafe switch select not found')
logger.info('Cafe switch not found')
continue
match (SWITCH_CAFE_SELECT.get(main=self)):
match SWITCH_CAFE_SELECT.get(main=self):
case '1':
if self.click_with_interval(CAFE_SECOND):
if self.click_with_interval(CAFE_FIRST):
continue
case '2':
logger.info('Cafe second arrived')
SWITCH_CAFE.set('off', main=self)
status = CafeStatus.STUDENT_LIST
is_list = False
is_second = True
self.check = 0
loading_timer.reset().start()
if action_timer.reached_and_reset():
logger.attr('Status', status)
+3 -3
View File
@@ -6,7 +6,7 @@ import numpy as np
from module.base.base import ModuleBase
from module.base.timer import Timer
from module.base.utils import area_size, area_offset
from module.base.utils import area_offset, area_size
from module.config.utils import get_server_next_update
from module.logger import logger
from module.ocr.ocr import Ocr
@@ -223,7 +223,7 @@ def handle_invitation_status(status: InvitationStatus, main: ModuleBase) -> Invi
if not invitation.is_invitation:
logger.info('Invitation waiting until next refresh')
return InvitationStatus.FINISHED
if main.appear(CAFE_INVITED):
if main.match_color(CAFE_INVITED):
logger.info('Invitation in cooldown')
return InvitationStatus.FINISHED
if invitation.choice != 'list_top' and invitation.target_name is None:
@@ -243,7 +243,7 @@ def handle_invitation_status(status: InvitationStatus, main: ModuleBase) -> Invi
case InvitationStatus.SELECT:
if main.appear(INVITE_CONFIRM):
return InvitationStatus.CONFIRM
if main.config.LANG == 'jp' and main.appear(INVITE_IN_SECOND):
if main.appear(INVITE_IN_SECOND):
return InvitationStatus.IN_SECOND
if main.appear(INVITE_SUBSTITUTE):
return InvitationStatus.SUBSTITUTE
+1 -1
View File
@@ -31,7 +31,7 @@ class CafeUI(UI):
# generate result
return cv2.bitwise_and(image, image, mask=mask)
def get_clickable_buttons(self, similarity=0.8, offset=(45, 10)):
def get_clickable_buttons(self, similarity=0.8, offset=(40, 10)):
image = self.extract_clickable_from_image(self.device.image)
self.template.matched_button._button_offset = offset
self.template.load_offset(self.template)
+17
View File
@@ -3,6 +3,23 @@ from module.base.button import Button, ButtonWrapper
# This file was auto-generated, do not modify it manually. To generate:
# ``` python -m dev_tools.button_extract ```
CIRCLE = ButtonWrapper(
name='CIRCLE',
jp=Button(
file='./assets/jp/circle/CIRCLE.png',
area=(191, 314, 233, 356),
search=(171, 294, 253, 376),
color=(191, 224, 240),
button=(188, 299, 435, 456),
),
en=Button(
file='./assets/en/circle/CIRCLE.png',
area=(196, 314, 235, 355),
search=(176, 294, 255, 375),
color=(183, 221, 238),
button=(191, 298, 434, 457),
),
)
GET_REWARD_AP = ButtonWrapper(
name='GET_REWARD_AP',
jp=Button(
+15 -2
View File
@@ -2,7 +2,7 @@ from enum import Enum
from module.base.timer import Timer
from module.logger import logger
from tasks.base.page import page_circle
from tasks.base.page import CIRCLE_CHECK, MAIN_GO_TO_CIRCLE
from tasks.base.ui import UI
from tasks.circle.assets.assets_circle import *
@@ -17,6 +17,19 @@ class CircleStatus(Enum):
class Circle(UI):
def _enter_circle(self):
self.ui_goto_main()
action_timer = Timer(1, 8)
while not self.appear(CIRCLE_CHECK):
self.device.screenshot()
if not action_timer.reached_and_reset():
continue
if self.appear(CIRCLE):
self.click_with_interval(CIRCLE, 3)
continue
else:
self.device.click(MAIN_GO_TO_CIRCLE)
def _handle_circle(self, status):
match status:
case CircleStatus.REWARD:
@@ -31,7 +44,7 @@ class Circle(UI):
return status
def run(self):
self.ui_ensure(page_circle)
self._enter_circle()
status = CircleStatus.REWARD
action_timer = Timer(0.5)
+8 -8
View File
@@ -7,19 +7,19 @@ OCR_AP = ButtonWrapper(
name='OCR_AP',
share=Button(
file='./assets/share/item/data/OCR_AP.png',
area=(560, 11, 667, 37),
search=(540, 0, 687, 57),
color=(211, 216, 219),
button=(560, 11, 667, 37),
area=(512, 13, 597, 32),
search=(492, 0, 617, 52),
color=(199, 204, 208),
button=(512, 13, 597, 32),
),
)
OCR_DATA = ButtonWrapper(
name='OCR_DATA',
share=Button(
file='./assets/share/item/data/OCR_DATA.png',
area=(768, 12, 1072, 37),
search=(748, 0, 1092, 57),
color=(212, 220, 224),
button=(768, 12, 1072, 37),
area=(716, 14, 1058, 33),
search=(696, 0, 1078, 53),
color=(211, 219, 224),
button=(716, 14, 1058, 33),
),
)
@@ -133,9 +133,9 @@ PLAYER_SELECT_FIRST = ButtonWrapper(
),
en=Button(
file='./assets/en/tactical_challenge/PLAYER_SELECT_FIRST.png',
area=(470, 293, 503, 322),
search=(450, 273, 523, 342),
color=(206, 214, 220),
area=(468, 296, 493, 315),
search=(448, 276, 513, 335),
color=(191, 202, 207),
button=(606, 181, 1100, 256),
),
)
@@ -150,9 +150,9 @@ PLAYER_SELECT_SECOND = ButtonWrapper(
),
en=Button(
file='./assets/en/tactical_challenge/PLAYER_SELECT_SECOND.png',
area=(467, 450, 507, 482),
search=(447, 430, 527, 502),
color=(210, 219, 225),
area=(467, 454, 493, 473),
search=(447, 434, 513, 493),
color=(191, 202, 207),
button=(610, 338, 1098, 407),
),
)
@@ -167,9 +167,9 @@ PLAYER_SELECT_THIRD = ButtonWrapper(
),
en=Button(
file='./assets/en/tactical_challenge/PLAYER_SELECT_THIRD.png',
area=(472, 612, 504, 641),
search=(452, 592, 524, 661),
color=(208, 216, 222),
area=(468, 613, 492, 631),
search=(448, 593, 512, 651),
color=(188, 199, 204),
button=(609, 500, 1101, 565),
),
)