1
0
mirror of https://github.com/TheFunny/ArisuAutoSweeper synced 2026-06-24 00:54:52 +00:00

59 Commits

Author SHA1 Message Date
YoursFunny ff2f226713 fix: update assets file 2026-05-26 21:54:23 +08:00
YoursFunny 8177d0f56d fix: update ui assets for OVERSEA server 2026-05-26 21:53:53 +08:00
YoursFunny b606108871 fix: update assets file 2026-04-24 19:30:05 +08:00
YoursFunny be09b39bbe fix: update ui assets for jp 2026-04-24 19:26:36 +08:00
YoursFunny fafb9d5a5c fix: update assets file 2026-01-20 19:45:18 +08:00
YoursFunny 998d52b56c fix: update ui assets for jp 2026-01-20 19:43:55 +08:00
YoursFunny 3e6a82764a fix(login): disable clicking back when login for jp 2025-10-27 14:30:45 +08:00
YoursFunny 3cd8161afb feat(momotalk): add a single tool page for momotalk,
remove its scheduler,
and some minor improvements
2025-10-13 11:41:48 +08:00
YoursFunny 02b8de6d18 fix: update assets file 2025-09-23 20:02:23 +08:00
YoursFunny 7a321eae48 fix: update configs to enable new bounty stage for OVERSEA server 2025-09-23 20:01:32 +08:00
YoursFunny ad19268e5a fix: update ui assets for zht 2025-09-23 19:59:49 +08:00
YoursFunny 8bc170e170 fix: update ui assets for en 2025-09-23 19:59:26 +08:00
YoursFunny 1d618d1624 fix: update assets file 2025-08-09 13:19:41 +08:00
YoursFunny 9eb3bde649 fix: update ui assets for OVERSEA server 2025-08-09 13:18:23 +08:00
YoursFunny 62ef4c733c fix: update assets file 2025-07-22 20:13:27 +08:00
YoursFunny 27dbd31434 fix: update ui assets for jp 2025-07-22 20:12:46 +08:00
YoursFunny 74ef1a7b4d fix: update configs 2025-05-18 19:57:13 +08:00
YoursFunny 43282354cd fix(bounty): update stage select option 2025-05-18 19:53:27 +08:00
YoursFunny f92d92aec0 fix: update assets file 2025-05-13 21:54:43 +08:00
YoursFunny 3a00c47125 fix(cafe): update ui assets for zht 2025-05-13 21:53:18 +08:00
YoursFunny bca3395cb9 fix(cafe): update ui assets for jp & en 2025-05-13 21:53:08 +08:00
YoursFunny 766cb78377 fix(cafe): synchronize Cafe No.2 for global server 2025-05-13 21:52:07 +08:00
YoursFunny 84acb67061 fix: update assets file 2025-04-22 19:53:10 +08:00
YoursFunny 9c07251669 fix: update ui assets for jp 2025-04-22 19:52:59 +08:00
YoursFunny 19272d6cbe fix(cafe): correct invitation detection of Cafe No.2 in OVERSEA server 2025-03-08 18:43:25 +08:00
YoursFunny f268cfeda8 fix: update assets file 2025-01-29 16:41:31 +08:00
YoursFunny 37b5d4e4d2 fix(cafe): update ui assets for zht 2025-01-29 16:40:32 +08:00
YoursFunny 29bd71ccc8 fix(cafe): adjust timer of Cafe No.2 2025-01-22 15:01:49 +08:00
YoursFunny d5f4891d4e fix(cafe): adjust click template offset 2025-01-22 15:01:20 +08:00
YoursFunny 9a500b9191 fix: update assets file 2025-01-20 23:20:29 +08:00
YoursFunny 180fa6aa7d fix(cafe): update ui assets for jp 2025-01-20 23:19:46 +08:00
YoursFunny 4325118562 fix(cafe): update latest Cafe No.2 switch for jp 2025-01-20 23:19:45 +08:00
YoursFunny 2adf3f9efe fix: update assets file 2024-11-12 18:16:27 +08:00
YoursFunny 648bbb8a63 fix(cafe): update ui assets for zht 2024-11-12 18:16:05 +08:00
YoursFunny f73bba3e20 fix(cafe): update ui assets for en 2024-11-12 18:16:05 +08:00
YoursFunny e321fd7e28 lang(cafe): correct Cafe No.2 description 2024-11-12 18:16:05 +08:00
YoursFunny 6215f061c8 fix(cafe): enable Cafe No.2 for OVERSEA server 2024-11-12 18:09:13 +08:00
YoursFunny 72a948da68 fix: update assets file 2024-10-23 23:35:14 +08:00
YoursFunny c69a8543c6 fix: update ui assets for en
(cherry picked from commit a5d20a95be)
2024-10-23 23:34:54 +08:00
YoursFunny c16e50157e fix: update ui assets for zht 2024-10-23 23:29:51 +08:00
YoursFunny 2cd705b5ba fix: update assets file 2024-09-24 14:08:29 +08:00
YoursFunny f70e75f1a6 fix: update ui assets for en
(cherry picked from commit daf55b76e2)
2024-09-24 14:07:36 +08:00
YoursFunny 861cf9a2da fix: update ui assets for zht 2024-09-24 13:58:49 +08:00
YoursFunny 437977ef63 fix(circle): improve circle enter 2024-09-03 15:10:36 +08:00
YoursFunny 123c248f43 fix: update assets file 2024-09-03 15:07:40 +08:00
YoursFunny 1461cc41c6 fix(circle): update ui assets 2024-09-03 15:07:11 +08:00
YoursFunny 34af75245e fix(tc): improve stability of reward 2024-08-10 17:49:26 +08:00
YoursFunny 6e3d5fc4c5 fix(popup): update assets files 2024-08-10 17:48:25 +08:00
YoursFunny 16d5f214d8 fix(popup): update ui assets 2024-08-10 17:48:07 +08:00
YoursFunny f669130e33 fix(cafe): improve stability of closing reward window 2024-08-10 17:10:46 +08:00
YoursFunny 8fe8ed5f86 fix: update assets file 2024-07-24 17:32:37 +08:00
YoursFunny e070bb839e fix: update ui assets for zht 2024-07-24 17:32:28 +08:00
YoursFunny 90c47745d7 fix: update ui assets and circle for en
(cherry picked from commit 2ec7e45172)
2024-07-24 17:28:34 +08:00
YoursFunny e832e3c27f fix: update assets file 2024-07-11 18:04:45 +08:00
YoursFunny 3391874151 fix: update jp ui assets 2024-07-11 18:03:54 +08:00
YoursFunny b02528f14b fix: update assets file 2024-07-09 16:09:29 +08:00
YoursFunny addb984c8e fix: update zht ui assets 2024-07-09 16:08:52 +08:00
YoursFunny 1d837b5441 fix: update en ui assets 2024-07-09 16:05:38 +08:00
YoursFunny 99a82242d7 fix: correct tray tooltip 2024-05-07 16:40:28 +08:00
114 changed files with 481 additions and 441 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.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.7 KiB

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 18 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: 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

+1
View File
@@ -377,6 +377,7 @@ pre.rich-traceback-code {
#pywebio-scope-scheduler-bar, #pywebio-scope-scheduler-bar,
#pywebio-scope-log-bar, #pywebio-scope-log-bar,
#pywebio-scope-log, #pywebio-scope-log,
#pywebio-scope-daemon-log-bar,
#pywebio-scope-daemon-overview #pywebio-scope-groups { #pywebio-scope-daemon-overview #pywebio-scope-groups {
font-weight: 500; font-weight: 500;
margin: 0.3125rem; margin: 0.3125rem;
+4 -3
View File
@@ -133,12 +133,13 @@ pre.rich-traceback-code {
color: #c9d1d9; color: #c9d1d9;
} }
#pywebio-scope-scheduler-bar,
#pywebio-scope-log-bar,
#pywebio-scope-log,
#pywebio-scope-running, #pywebio-scope-running,
#pywebio-scope-pending, #pywebio-scope-pending,
#pywebio-scope-waiting, #pywebio-scope-waiting,
#pywebio-scope-scheduler-bar,
#pywebio-scope-log-bar,
#pywebio-scope-log,
#pywebio-scope-daemon-log-bar,
#pywebio-scope-daemon-overview #pywebio-scope-groups { #pywebio-scope-daemon-overview #pywebio-scope-groups {
background-color: #2f3136; background-color: #2f3136;
border: 1px solid #21262d; border: 1px solid #21262d;
+4 -3
View File
@@ -133,12 +133,13 @@ pre.rich-traceback-code {
border: 1px solid lightgrey; border: 1px solid lightgrey;
} }
#pywebio-scope-scheduler-bar,
#pywebio-scope-log-bar,
#pywebio-scope-log,
#pywebio-scope-running, #pywebio-scope-running,
#pywebio-scope-pending, #pywebio-scope-pending,
#pywebio-scope-waiting, #pywebio-scope-waiting,
#pywebio-scope-scheduler-bar,
#pywebio-scope-log-bar,
#pywebio-scope-log,
#pywebio-scope-daemon-log-bar,
#pywebio-scope-daemon-overview #pywebio-scope-groups { #pywebio-scope-daemon-overview #pywebio-scope-groups {
background-color: white; background-color: white;
border: 1px solid lightgrey; border: 1px solid lightgrey;
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.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 6.5 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.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 7.1 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: 7.2 KiB

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 28 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: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.5 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 4.7 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.6 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: 12 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

+2 -5
View File
@@ -250,11 +250,8 @@
} }
}, },
"Momotalk": { "Momotalk": {
"Scheduler": { "Momotalk": {
"Enable": false, "Enable": true
"NextRun": "2020-01-01 00:00:00",
"Command": "Momotalk",
"ServerUpdate": "04:00"
} }
} }
} }
+8 -23
View File
@@ -770,7 +770,8 @@
6, 6,
7, 7,
8, 8,
9 9,
10
] ]
}, },
"Count": { "Count": {
@@ -792,7 +793,8 @@
6, 6,
7, 7,
8, 8,
9 9,
10
] ]
}, },
"Count": { "Count": {
@@ -814,7 +816,8 @@
6, 6,
7, 7,
8, 8,
9 9,
10
] ]
}, },
"Count": { "Count": {
@@ -1059,28 +1062,10 @@
} }
}, },
"Momotalk": { "Momotalk": {
"Scheduler": { "Momotalk": {
"Enable": { "Enable": {
"type": "checkbox", "type": "checkbox",
"value": false, "value": true,
"option": [
true,
false
]
},
"NextRun": {
"type": "datetime",
"value": "2020-01-01 00:00:00",
"validate": "datetime"
},
"Command": {
"type": "input",
"value": "Momotalk",
"display": "hide"
},
"ServerUpdate": {
"type": "input",
"value": "04:00",
"display": "hide" "display": "hide"
} }
} }
+10 -3
View File
@@ -156,17 +156,17 @@ Bounty:
Highway: Highway:
Stage: Stage:
value: 0 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 Count: 2
DesertRailroad: DesertRailroad:
Stage: Stage:
value: 0 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 Count: 2
Schoolhouse: Schoolhouse:
Stage: Stage:
value: 0 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 Count: 2
Scrimmage: Scrimmage:
@@ -267,3 +267,10 @@ ItemStorage:
stored: StoredTacticalChallengeTicket stored: StoredTacticalChallengeTicket
order: 6 order: 6
color: "#7ac8e5" color: "#7ac8e5"
# ==================== Momotalk ====================
Momotalk:
Enable:
value: true
display: hide
+7 -1
View File
@@ -33,7 +33,13 @@
"tasks": [ "tasks": [
"Circle", "Circle",
"Task", "Task",
"Mail", "Mail"
]
},
"Tool": {
"menu": "collapse",
"page": "tool",
"tasks": [
"Momotalk" "Momotalk"
] ]
} }
+8 -1
View File
@@ -80,5 +80,12 @@ Reward:
- Scheduler - Scheduler
Mail: Mail:
- Scheduler - Scheduler
# ==================== Tool ====================
Tool:
menu: 'collapse'
page: 'tool'
tasks:
Momotalk: Momotalk:
- Scheduler - Momotalk
+6 -3
View File
@@ -87,15 +87,15 @@ class GeneratedConfig:
Bounty_OnError = 'skip' # stop, skip Bounty_OnError = 'skip' # stop, skip
# Group `Highway` # 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 Highway_Count = 2
# Group `DesertRailroad` # 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 DesertRailroad_Count = 2
# Group `Schoolhouse` # 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 Schoolhouse_Count = 2
# Group `Scrimmage` # Group `Scrimmage`
@@ -166,3 +166,6 @@ class GeneratedConfig:
ItemStorage_BountyTicket = {} ItemStorage_BountyTicket = {}
ItemStorage_ScrimmageTicket = {} ItemStorage_ScrimmageTicket = {}
ItemStorage_TacticalChallengeTicket = {} ItemStorage_TacticalChallengeTicket = {}
# Group `Momotalk`
Momotalk_Enable = True
+21 -4
View File
@@ -15,6 +15,10 @@
"Reward": { "Reward": {
"name": "Reward", "name": "Reward",
"help": "" "help": ""
},
"Tool": {
"name": "Tools",
"help": ""
} }
}, },
"Task": { "Task": {
@@ -251,7 +255,7 @@
}, },
"SecondCafe": { "SecondCafe": {
"name": "Second Floor", "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": { "Invitation": {
@@ -502,7 +506,8 @@
"6": "06 - Overpass F", "6": "06 - Overpass F",
"7": "07 - Overpass G", "7": "07 - Overpass G",
"8": "08 - Overpass H", "8": "08 - Overpass H",
"9": "09 - Overpass I" "9": "09 - Overpass I",
"10": "10 - Overpass J"
}, },
"Count": { "Count": {
"name": "Sweep X times", "name": "Sweep X times",
@@ -526,7 +531,8 @@
"6": "06 - Abandoned Train F", "6": "06 - Abandoned Train F",
"7": "07 - Abandoned Train G", "7": "07 - Abandoned Train G",
"8": "08 - Abandoned Train H", "8": "08 - Abandoned Train H",
"9": "09 - Abandoned Train I" "9": "09 - Abandoned Train I",
"10": "10 - Abandoned Train J"
}, },
"Count": { "Count": {
"name": "Sweep X times", "name": "Sweep X times",
@@ -550,7 +556,8 @@
"6": "06 - Besieged Classroom F", "6": "06 - Besieged Classroom F",
"7": "07 - Besieged Classroom G", "7": "07 - Besieged Classroom G",
"8": "08 - Besieged Classroom H", "8": "08 - Besieged Classroom H",
"9": "09 - Besieged Classroom I" "9": "09 - Besieged Classroom I",
"10": "10 - Besieged Classroom J"
}, },
"Count": { "Count": {
"name": "Sweep X times", "name": "Sweep X times",
@@ -846,6 +853,16 @@
"help": "" "help": ""
} }
}, },
"Momotalk": {
"_info": {
"name": "Momotalk",
"help": "Tools need to stop the scheduler and then run independently"
},
"Enable": {
"name": "",
"help": ""
}
},
"Gui": { "Gui": {
"Aside": { "Aside": {
"Install": "Install", "Install": "Install",
+21 -4
View File
@@ -15,6 +15,10 @@
"Reward": { "Reward": {
"name": "收菜", "name": "收菜",
"help": "" "help": ""
},
"Tool": {
"name": "工具",
"help": ""
} }
}, },
"Task": { "Task": {
@@ -251,7 +255,7 @@
}, },
"SecondCafe": { "SecondCafe": {
"name": "第二咖啡厅", "name": "第二咖啡厅",
"help": "仅支持日服\n自动切换第二咖啡厅进行互动点击" "help": "自动切换第二咖啡厅进行互动点击"
} }
}, },
"Invitation": { "Invitation": {
@@ -502,7 +506,8 @@
"6": "06 - 高架公路 F", "6": "06 - 高架公路 F",
"7": "07 - 高架公路 G", "7": "07 - 高架公路 G",
"8": "08 - 高架公路 H", "8": "08 - 高架公路 H",
"9": "09 - 高架公路 I" "9": "09 - 高架公路 I",
"10": "10 - 高架公路 J"
}, },
"Count": { "Count": {
"name": "扫荡次数", "name": "扫荡次数",
@@ -526,7 +531,8 @@
"6": "06 - 被遗弃的列车 F", "6": "06 - 被遗弃的列车 F",
"7": "07 - 被遗弃的列车 G", "7": "07 - 被遗弃的列车 G",
"8": "08 - 被遗弃的列车 H", "8": "08 - 被遗弃的列车 H",
"9": "09 - 被遗弃的列车 I" "9": "09 - 被遗弃的列车 I",
"10": "10 - 被遗弃的列车 J"
}, },
"Count": { "Count": {
"name": "扫荡次数", "name": "扫荡次数",
@@ -550,7 +556,8 @@
"6": "06 - 被袭击的教室 F", "6": "06 - 被袭击的教室 F",
"7": "07 - 被袭击的教室 G", "7": "07 - 被袭击的教室 G",
"8": "08 - 被袭击的教室 H", "8": "08 - 被袭击的教室 H",
"9": "09 - 被袭击的教室 I" "9": "09 - 被袭击的教室 I",
"10": "10 - 被袭击的教室 J"
}, },
"Count": { "Count": {
"name": "扫荡次数", "name": "扫荡次数",
@@ -846,6 +853,16 @@
"help": "" "help": ""
} }
}, },
"Momotalk": {
"_info": {
"name": "Momotalk",
"help": "工具需要停止调度器再单独运行"
},
"Enable": {
"name": "",
"help": ""
}
},
"Gui": { "Gui": {
"Aside": { "Aside": {
"Install": "安装", "Install": "安装",
+4 -3
View File
@@ -611,7 +611,7 @@ class AlasGUI(Frame):
[ [
put_scope("scheduler-bar"), put_scope("scheduler-bar"),
put_scope("groups"), put_scope("groups"),
put_scope("log-bar"), put_scope("daemon-log-bar"),
put_scope("log", [put_html("")]), put_scope("log", [put_html("")]),
], ],
) )
@@ -625,7 +625,7 @@ class AlasGUI(Frame):
[ [
put_scope( put_scope(
"_daemon_upper", "_daemon_upper",
[put_scope("scheduler-bar"), put_scope("log-bar")], [put_scope("scheduler-bar"), put_scope("daemon-log-bar")],
), ),
put_scope("groups"), put_scope("groups"),
put_scope("log", [put_html("")]), put_scope("log", [put_html("")]),
@@ -654,7 +654,8 @@ class AlasGUI(Frame):
scope="scheduler_btn", scope="scheduler_btn",
) )
with use_scope("log-bar"): with use_scope("daemon-log-bar"):
with use_scope("log-title"):
put_text(t("Gui.Overview.Log")).style( put_text(t("Gui.Overview.Log")).style(
"font-size: 1.25rem; margin: auto .5rem auto;" "font-size: 1.25rem; margin: auto .5rem auto;"
) )
+6 -1
View File
@@ -6,11 +6,12 @@ from multiprocessing import Process
from typing import Dict, List, Union from typing import Dict, List, Union
from filelock import FileLock from filelock import FileLock
from rich.console import Console, ConsoleRenderable
from module.config.utils import filepath_config from module.config.utils import filepath_config
from module.logger import logger, set_file_logger, set_func_logger from module.logger import logger, set_file_logger, set_func_logger
from module.webui.fake import get_config_mod, mod_instance from module.webui.fake import get_config_mod, mod_instance
from module.webui.setting import State from module.webui.setting import State
from rich.console import Console, ConsoleRenderable
class ProcessManager: class ProcessManager:
@@ -147,6 +148,10 @@ class ProcessManager:
if e is not None: if e is not None:
AzurLaneAutoScript.stop_event = e AzurLaneAutoScript.stop_event = e
ArisuAutoSweeper(config_name=config_name).loop() ArisuAutoSweeper(config_name=config_name).loop()
elif func == "Momotalk":
from tasks.momotalk.momotalk import MomoTalk
MomoTalk(config=config_name, task="Momotalk").run()
else: else:
logger.critical(f"No function matched: {func}") logger.critical(f"No function matched: {func}")
logger.info(f"[{config_name}] exited. Reason: Finish\n") logger.info(f"[{config_name}] exited. Reason: Finish\n")
+182 -140
View File
@@ -65,24 +65,24 @@ CAFE_CHECK = ButtonWrapper(
name='CAFE_CHECK', name='CAFE_CHECK',
jp=Button( jp=Button(
file='./assets/jp/base/page/CAFE_CHECK.png', file='./assets/jp/base/page/CAFE_CHECK.png',
area=(264, 11, 337, 35), area=(108, 11, 182, 36),
search=(244, 0, 357, 55), search=(88, 0, 202, 56),
color=(188, 197, 205), color=(191, 200, 208),
button=(264, 11, 337, 35), button=(108, 11, 182, 36),
), ),
en=Button( en=Button(
file='./assets/en/base/page/CAFE_CHECK.png', file='./assets/en/base/page/CAFE_CHECK.png',
area=(196, 8, 259, 37), area=(106, 12, 167, 36),
search=(176, 0, 279, 57), search=(86, 0, 187, 56),
color=(188, 197, 206), color=(173, 184, 194),
button=(196, 8, 259, 37), button=(106, 12, 167, 36),
), ),
zht=Button( zht=Button(
file='./assets/zht/base/page/CAFE_CHECK.png', file='./assets/zht/base/page/CAFE_CHECK.png',
area=(94, 2, 307, 43), area=(107, 9, 190, 38),
search=(74, 0, 327, 63), search=(87, 0, 210, 58),
color=(187, 196, 201), color=(154, 166, 178),
button=(94, 2, 307, 43), button=(107, 9, 190, 38),
), ),
) )
CIRCLE_CHECK = ButtonWrapper( CIRCLE_CHECK = ButtonWrapper(
@@ -103,10 +103,10 @@ CIRCLE_CHECK = ButtonWrapper(
), ),
zht=Button( zht=Button(
file='./assets/zht/base/page/CIRCLE_CHECK.png', file='./assets/zht/base/page/CIRCLE_CHECK.png',
area=(93, 3, 224, 39), area=(106, 10, 161, 38),
search=(73, 0, 244, 59), search=(86, 0, 181, 58),
color=(187, 197, 206), color=(154, 167, 180),
button=(93, 3, 224, 39), button=(106, 10, 161, 38),
), ),
) )
COMMISSIONS_CHECK = ButtonWrapper( COMMISSIONS_CHECK = ButtonWrapper(
@@ -207,6 +207,13 @@ GACHA_CHECK = ButtonWrapper(
) )
HOME = ButtonWrapper( HOME = ButtonWrapper(
name='HOME', name='HOME',
jp=Button(
file='./assets/jp/base/page/HOME.png',
area=(1224, 10, 1250, 35),
search=(1204, 0, 1270, 55),
color=(162, 176, 202),
button=(1224, 10, 1250, 35),
),
share=Button( share=Button(
file='./assets/share/base/page/HOME.png', file='./assets/share/base/page/HOME.png',
area=(1218, 8, 1253, 41), area=(1218, 8, 1253, 41),
@@ -253,10 +260,10 @@ MAIN_GO_TO_CAFE = ButtonWrapper(
name='MAIN_GO_TO_CAFE', name='MAIN_GO_TO_CAFE',
jp=Button( jp=Button(
file='./assets/jp/base/page/MAIN_GO_TO_CAFE.png', file='./assets/jp/base/page/MAIN_GO_TO_CAFE.png',
area=(76, 638, 104, 674), area=(86, 632, 113, 670),
search=(56, 618, 124, 694), search=(66, 612, 133, 690),
color=(173, 212, 230), color=(174, 222, 246),
button=(76, 638, 104, 674), button=(86, 632, 113, 670),
), ),
share=Button( share=Button(
file='./assets/share/base/page/MAIN_GO_TO_CAFE.png', file='./assets/share/base/page/MAIN_GO_TO_CAFE.png',
@@ -270,27 +277,27 @@ MAIN_GO_TO_CIRCLE = ButtonWrapper(
name='MAIN_GO_TO_CIRCLE', name='MAIN_GO_TO_CIRCLE',
jp=Button( jp=Button(
file='./assets/jp/base/page/MAIN_GO_TO_CIRCLE.png', file='./assets/jp/base/page/MAIN_GO_TO_CIRCLE.png',
area=(542, 630, 581, 665), area=(531, 631, 561, 659),
search=(522, 610, 601, 685), search=(511, 611, 581, 679),
color=(164, 225, 243), color=(182, 230, 254),
button=(542, 630, 581, 665), button=(531, 631, 561, 659),
), ),
share=Button( share=Button(
file='./assets/share/base/page/MAIN_GO_TO_CIRCLE.png', file='./assets/share/base/page/MAIN_GO_TO_CIRCLE.png',
area=(540, 631, 583, 660), area=(542, 630, 581, 665),
search=(520, 611, 603, 680), search=(522, 610, 601, 685),
color=(131, 204, 234), color=(163, 225, 242),
button=(540, 631, 583, 660), button=(542, 630, 581, 665),
), ),
) )
MAIN_GO_TO_CRAFTING = ButtonWrapper( MAIN_GO_TO_CRAFTING = ButtonWrapper(
name='MAIN_GO_TO_CRAFTING', name='MAIN_GO_TO_CRAFTING',
jp=Button( jp=Button(
file='./assets/jp/base/page/MAIN_GO_TO_CRAFTING.png', file='./assets/jp/base/page/MAIN_GO_TO_CRAFTING.png',
area=(661, 620, 693, 668), area=(645, 627, 667, 662),
search=(641, 600, 713, 688), search=(625, 607, 687, 682),
color=(183, 216, 230), color=(206, 235, 251),
button=(661, 620, 693, 668), button=(645, 627, 667, 662),
), ),
share=Button( share=Button(
file='./assets/share/base/page/MAIN_GO_TO_CRAFTING.png', file='./assets/share/base/page/MAIN_GO_TO_CRAFTING.png',
@@ -304,10 +311,10 @@ MAIN_GO_TO_GACHA = ButtonWrapper(
name='MAIN_GO_TO_GACHA', name='MAIN_GO_TO_GACHA',
jp=Button( jp=Button(
file='./assets/jp/base/page/MAIN_GO_TO_GACHA.png', file='./assets/jp/base/page/MAIN_GO_TO_GACHA.png',
area=(898, 631, 927, 663), area=(871, 626, 893, 671),
search=(878, 611, 947, 683), search=(851, 606, 913, 691),
color=(170, 229, 247), color=(172, 223, 242),
button=(898, 631, 927, 663), button=(871, 626, 893, 671),
), ),
share=Button( share=Button(
file='./assets/share/base/page/MAIN_GO_TO_GACHA.png', file='./assets/share/base/page/MAIN_GO_TO_GACHA.png',
@@ -319,6 +326,13 @@ MAIN_GO_TO_GACHA = ButtonWrapper(
) )
MAIN_GO_TO_MAIL = ButtonWrapper( MAIN_GO_TO_MAIL = ButtonWrapper(
name='MAIN_GO_TO_MAIL', name='MAIN_GO_TO_MAIL',
jp=Button(
file='./assets/jp/base/page/MAIN_GO_TO_MAIL.png',
area=(1144, 27, 1165, 44),
search=(1124, 7, 1185, 64),
color=(102, 125, 168),
button=(1144, 27, 1165, 44),
),
share=Button( share=Button(
file='./assets/share/base/page/MAIN_GO_TO_MAIL.png', file='./assets/share/base/page/MAIN_GO_TO_MAIL.png',
area=(1130, 29, 1156, 49), area=(1130, 29, 1156, 49),
@@ -329,32 +343,46 @@ MAIN_GO_TO_MAIL = ButtonWrapper(
) )
MAIN_GO_TO_MOMOTALK = ButtonWrapper( MAIN_GO_TO_MOMOTALK = ButtonWrapper(
name='MAIN_GO_TO_MOMOTALK', name='MAIN_GO_TO_MOMOTALK',
jp=Button(
file='./assets/jp/base/page/MAIN_GO_TO_MOMOTALK.png',
area=(125, 118, 146, 151),
search=(105, 98, 166, 171),
color=(244, 200, 211),
button=(125, 118, 146, 151),
),
share=Button( share=Button(
file='./assets/share/base/page/MAIN_GO_TO_MOMOTALK.png', file='./assets/share/base/page/MAIN_GO_TO_MOMOTALK.png',
area=(154, 134, 177, 158), area=(138, 130, 159, 161),
search=(134, 114, 197, 178), search=(118, 110, 179, 181),
color=(255, 219, 227), color=(251, 215, 224),
button=(154, 134, 177, 158), button=(138, 130, 159, 161),
), ),
) )
MAIN_GO_TO_PURCHASE = ButtonWrapper( MAIN_GO_TO_PURCHASE = ButtonWrapper(
name='MAIN_GO_TO_PURCHASE', name='MAIN_GO_TO_PURCHASE',
jp=Button(
file='./assets/jp/base/page/MAIN_GO_TO_PURCHASE.png',
area=(122, 209, 148, 243),
search=(102, 189, 168, 263),
color=(190, 222, 246),
button=(122, 209, 148, 243),
),
share=Button( share=Button(
file='./assets/share/base/page/MAIN_GO_TO_PURCHASE.png', file='./assets/share/base/page/MAIN_GO_TO_PURCHASE.png',
area=(148, 204, 183, 253), area=(136, 210, 165, 250),
search=(128, 184, 203, 273), search=(116, 190, 185, 270),
color=(172, 214, 239), color=(175, 216, 240),
button=(148, 204, 183, 253), button=(136, 210, 165, 250),
), ),
) )
MAIN_GO_TO_SCHEDULE = ButtonWrapper( MAIN_GO_TO_SCHEDULE = ButtonWrapper(
name='MAIN_GO_TO_SCHEDULE', name='MAIN_GO_TO_SCHEDULE',
jp=Button( jp=Button(
file='./assets/jp/base/page/MAIN_GO_TO_SCHEDULE.png', file='./assets/jp/base/page/MAIN_GO_TO_SCHEDULE.png',
area=(194, 646, 222, 672), area=(198, 634, 217, 667),
search=(174, 626, 242, 692), search=(178, 614, 237, 687),
color=(150, 197, 223), color=(176, 222, 243),
button=(194, 646, 222, 672), button=(198, 634, 217, 667),
), ),
share=Button( share=Button(
file='./assets/share/base/page/MAIN_GO_TO_SCHEDULE.png', file='./assets/share/base/page/MAIN_GO_TO_SCHEDULE.png',
@@ -368,10 +396,10 @@ MAIN_GO_TO_SHOP = ButtonWrapper(
name='MAIN_GO_TO_SHOP', name='MAIN_GO_TO_SHOP',
jp=Button( jp=Button(
file='./assets/jp/base/page/MAIN_GO_TO_SHOP.png', file='./assets/jp/base/page/MAIN_GO_TO_SHOP.png',
area=(774, 628, 816, 670), area=(752, 628, 786, 665),
search=(754, 608, 836, 690), search=(732, 608, 806, 685),
color=(145, 203, 229), color=(168, 221, 248),
button=(774, 628, 816, 670), button=(752, 628, 786, 665),
), ),
share=Button( share=Button(
file='./assets/share/base/page/MAIN_GO_TO_SHOP.png', file='./assets/share/base/page/MAIN_GO_TO_SHOP.png',
@@ -383,36 +411,43 @@ MAIN_GO_TO_SHOP = ButtonWrapper(
) )
MAIN_GO_TO_TASK = ButtonWrapper( MAIN_GO_TO_TASK = ButtonWrapper(
name='MAIN_GO_TO_TASK', 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( share=Button(
file='./assets/share/base/page/MAIN_GO_TO_TASK.png', file='./assets/share/base/page/MAIN_GO_TO_TASK.png',
area=(52, 220, 78, 248), area=(47, 219, 70, 246),
search=(32, 200, 98, 268), search=(27, 199, 90, 266),
color=(226, 207, 203), color=(212, 204, 208),
button=(52, 220, 78, 248), button=(47, 219, 70, 246),
), ),
) )
MAIN_GO_TO_WORK = ButtonWrapper( MAIN_GO_TO_WORK = ButtonWrapper(
name='MAIN_GO_TO_WORK', name='MAIN_GO_TO_WORK',
jp=Button( jp=Button(
file='./assets/jp/base/page/MAIN_GO_TO_WORK.png', file='./assets/jp/base/page/MAIN_GO_TO_WORK.png',
area=(1167, 605, 1241, 632), area=(1167, 668, 1222, 688),
search=(1147, 585, 1261, 652), search=(1147, 648, 1242, 708),
color=(135, 149, 169), color=(141, 156, 174),
button=(1167, 605, 1241, 632), button=(1167, 668, 1222, 688),
), ),
en=Button( en=Button(
file='./assets/en/base/page/MAIN_GO_TO_WORK.png', file='./assets/en/base/page/MAIN_GO_TO_WORK.png',
area=(1127, 605, 1250, 637), area=(1143, 591, 1241, 613),
search=(1107, 585, 1270, 657), search=(1123, 571, 1261, 633),
color=(90, 112, 141), color=(110, 129, 154),
button=(1127, 605, 1250, 637), button=(1143, 591, 1241, 613),
), ),
zht=Button( zht=Button(
file='./assets/zht/base/page/MAIN_GO_TO_WORK.png', file='./assets/zht/base/page/MAIN_GO_TO_WORK.png',
area=(1167, 595, 1277, 637), area=(1188, 586, 1241, 613),
search=(1147, 575, 1280, 657), search=(1168, 566, 1261, 633),
color=(73, 100, 133), color=(141, 155, 174),
button=(1167, 595, 1277, 637), button=(1188, 586, 1241, 613),
), ),
) )
MISSION_CHECK = ButtonWrapper( MISSION_CHECK = ButtonWrapper(
@@ -441,6 +476,13 @@ MISSION_CHECK = ButtonWrapper(
) )
MOMOTALK_CHECK = ButtonWrapper( MOMOTALK_CHECK = ButtonWrapper(
name='MOMOTALK_CHECK', name='MOMOTALK_CHECK',
jp=Button(
file='./assets/jp/base/page/MOMOTALK_CHECK.png',
area=(144, 107, 169, 130),
search=(124, 87, 189, 150),
color=(253, 211, 219),
button=(144, 107, 169, 130),
),
share=Button( share=Button(
file='./assets/share/base/page/MOMOTALK_CHECK.png', file='./assets/share/base/page/MOMOTALK_CHECK.png',
area=(144, 107, 169, 130), area=(144, 107, 169, 130),
@@ -631,48 +673,48 @@ WORK_GO_TO_BOUNTY = ButtonWrapper(
name='WORK_GO_TO_BOUNTY', name='WORK_GO_TO_BOUNTY',
jp=Button( jp=Button(
file='./assets/jp/base/page/WORK_GO_TO_BOUNTY.png', file='./assets/jp/base/page/WORK_GO_TO_BOUNTY.png',
area=(667, 383, 764, 409), area=(679, 401, 741, 417),
search=(647, 363, 784, 429), search=(659, 381, 761, 437),
color=(171, 187, 212), color=(155, 164, 186),
button=(667, 383, 764, 409), button=(679, 401, 741, 417),
), ),
en=Button( en=Button(
file='./assets/en/base/page/WORK_GO_TO_BOUNTY.png', file='./assets/en/base/page/WORK_GO_TO_BOUNTY.png',
area=(671, 409, 760, 440), area=(668, 385, 756, 412),
search=(651, 389, 780, 460), search=(648, 365, 776, 432),
color=(183, 202, 227), color=(180, 198, 223),
button=(671, 409, 760, 440), button=(668, 385, 756, 412),
), ),
zht=Button( zht=Button(
file='./assets/zht/base/page/WORK_GO_TO_BOUNTY.png', file='./assets/zht/base/page/WORK_GO_TO_BOUNTY.png',
area=(668, 410, 770, 438), area=(667, 383, 769, 410),
search=(648, 390, 790, 458), search=(647, 363, 789, 430),
color=(170, 185, 211), color=(169, 184, 209),
button=(668, 410, 770, 438), button=(667, 383, 769, 410),
), ),
) )
WORK_GO_TO_COMMISSIONS = ButtonWrapper( WORK_GO_TO_COMMISSIONS = ButtonWrapper(
name='WORK_GO_TO_COMMISSIONS', name='WORK_GO_TO_COMMISSIONS',
jp=Button( jp=Button(
file='./assets/jp/base/page/WORK_GO_TO_COMMISSIONS.png', file='./assets/jp/base/page/WORK_GO_TO_COMMISSIONS.png',
area=(653, 475, 749, 501), area=(661, 504, 724, 521),
search=(633, 455, 769, 521), search=(641, 484, 744, 541),
color=(171, 185, 208), color=(155, 163, 184),
button=(653, 475, 749, 501), button=(661, 504, 724, 521),
), ),
en=Button( en=Button(
file='./assets/en/base/page/WORK_GO_TO_COMMISSIONS.png', file='./assets/en/base/page/WORK_GO_TO_COMMISSIONS.png',
area=(656, 494, 803, 517), area=(653, 477, 787, 496),
search=(636, 474, 823, 537), search=(633, 457, 807, 516),
color=(192, 204, 221), color=(187, 199, 218),
button=(656, 494, 803, 517), button=(653, 477, 787, 496),
), ),
zht=Button( zht=Button(
file='./assets/zht/base/page/WORK_GO_TO_COMMISSIONS.png', file='./assets/zht/base/page/WORK_GO_TO_COMMISSIONS.png',
area=(656, 492, 757, 519), area=(654, 474, 753, 503),
search=(636, 472, 777, 539), search=(634, 454, 773, 523),
color=(177, 190, 212), color=(179, 192, 213),
button=(656, 492, 757, 519), button=(654, 474, 753, 503),
), ),
) )
WORK_GO_TO_EVENT = ButtonWrapper( WORK_GO_TO_EVENT = ButtonWrapper(
@@ -703,95 +745,95 @@ WORK_GO_TO_MISSION = ButtonWrapper(
name='WORK_GO_TO_MISSION', name='WORK_GO_TO_MISSION',
jp=Button( jp=Button(
file='./assets/jp/base/page/WORK_GO_TO_MISSION.png', file='./assets/jp/base/page/WORK_GO_TO_MISSION.png',
area=(722, 155, 807, 199), area=(710, 220, 769, 249),
search=(702, 135, 827, 219), search=(690, 200, 789, 269),
color=(173, 188, 211), color=(137, 153, 180),
button=(722, 155, 807, 199), button=(710, 220, 769, 249),
), ),
en=Button( en=Button(
file='./assets/en/base/page/WORK_GO_TO_MISSION.png', file='./assets/en/base/page/WORK_GO_TO_MISSION.png',
area=(720, 160, 871, 206), area=(721, 158, 873, 197),
search=(700, 140, 891, 226), search=(701, 138, 893, 217),
color=(192, 204, 221), color=(180, 195, 215),
button=(720, 160, 871, 206), button=(721, 158, 873, 197),
), ),
zht=Button( zht=Button(
file='./assets/zht/base/page/WORK_GO_TO_MISSION.png', file='./assets/zht/base/page/WORK_GO_TO_MISSION.png',
area=(719, 152, 805, 202), area=(720, 152, 812, 200),
search=(699, 132, 825, 222), search=(700, 132, 832, 220),
color=(182, 194, 214), color=(181, 195, 215),
button=(719, 152, 805, 202), button=(720, 152, 812, 200),
), ),
) )
WORK_GO_TO_SCHOOL_EXCHANGE = ButtonWrapper( WORK_GO_TO_SCHOOL_EXCHANGE = ButtonWrapper(
name='WORK_GO_TO_SCHOOL_EXCHANGE', name='WORK_GO_TO_SCHOOL_EXCHANGE',
jp=Button( jp=Button(
file='./assets/jp/base/page/WORK_GO_TO_SCHOOL_EXCHANGE.png', file='./assets/jp/base/page/WORK_GO_TO_SCHOOL_EXCHANGE.png',
area=(636, 566, 753, 592), area=(642, 606, 721, 624),
search=(616, 546, 773, 612), search=(622, 586, 741, 644),
color=(176, 187, 207), color=(167, 174, 192),
button=(636, 566, 753, 592), button=(642, 606, 721, 624),
), ),
en=Button( en=Button(
file='./assets/en/base/page/WORK_GO_TO_SCHOOL_EXCHANGE.png', file='./assets/en/base/page/WORK_GO_TO_SCHOOL_EXCHANGE.png',
area=(643, 572, 778, 602), area=(635, 569, 769, 597),
search=(623, 552, 798, 622), search=(615, 549, 789, 617),
color=(190, 203, 221), color=(198, 204, 216),
button=(643, 572, 778, 602), button=(635, 569, 769, 597),
), ),
zht=Button( zht=Button(
file='./assets/zht/base/page/WORK_GO_TO_SCHOOL_EXCHANGE.png', file='./assets/zht/base/page/WORK_GO_TO_SCHOOL_EXCHANGE.png',
area=(643, 575, 764, 601), area=(635, 567, 761, 594),
search=(623, 555, 784, 621), search=(615, 547, 781, 614),
color=(171, 185, 208), color=(181, 191, 209),
button=(643, 575, 764, 601), button=(635, 567, 761, 594),
), ),
) )
WORK_GO_TO_STORY = ButtonWrapper( WORK_GO_TO_STORY = ButtonWrapper(
name='WORK_GO_TO_STORY', name='WORK_GO_TO_STORY',
jp=Button( jp=Button(
file='./assets/jp/base/page/WORK_GO_TO_STORY.png', file='./assets/jp/base/page/WORK_GO_TO_STORY.png',
area=(998, 155, 1078, 199), area=(993, 220, 1081, 250),
search=(978, 135, 1098, 219), search=(973, 200, 1101, 270),
color=(215, 221, 232), color=(209, 214, 224),
button=(998, 155, 1078, 199), button=(993, 220, 1081, 250),
), ),
en=Button( en=Button(
file='./assets/en/base/page/WORK_GO_TO_STORY.png', file='./assets/en/base/page/WORK_GO_TO_STORY.png',
area=(994, 159, 1109, 211), area=(996, 159, 1112, 205),
search=(974, 139, 1129, 231), search=(976, 139, 1132, 225),
color=(208, 215, 228), color=(200, 209, 225),
button=(994, 159, 1109, 211), button=(996, 159, 1112, 205),
), ),
zht=Button( zht=Button(
file='./assets/zht/base/page/WORK_GO_TO_STORY.png', file='./assets/zht/base/page/WORK_GO_TO_STORY.png',
area=(995, 153, 1086, 201), area=(991, 152, 1093, 202),
search=(975, 133, 1106, 221), search=(971, 132, 1113, 222),
color=(181, 192, 212), color=(190, 200, 218),
button=(995, 153, 1086, 201), button=(991, 152, 1093, 202),
), ),
) )
WORK_GO_TO_TACTICAL_CHALLENGE = ButtonWrapper( WORK_GO_TO_TACTICAL_CHALLENGE = ButtonWrapper(
name='WORK_GO_TO_TACTICAL_CHALLENGE', name='WORK_GO_TO_TACTICAL_CHALLENGE',
jp=Button( jp=Button(
file='./assets/jp/base/page/WORK_GO_TO_TACTICAL_CHALLENGE.png', file='./assets/jp/base/page/WORK_GO_TO_TACTICAL_CHALLENGE.png',
area=(801, 565, 920, 593), area=(821, 600, 911, 620),
search=(781, 545, 940, 613), search=(801, 580, 931, 640),
color=(172, 186, 209), color=(156, 164, 185),
button=(801, 565, 920, 593), button=(821, 600, 911, 620),
), ),
en=Button( en=Button(
file='./assets/en/base/page/WORK_GO_TO_TACTICAL_CHALLENGE.png', file='./assets/en/base/page/WORK_GO_TO_TACTICAL_CHALLENGE.png',
area=(1012, 532, 1152, 591), area=(803, 566, 922, 623),
search=(992, 512, 1172, 611), search=(783, 546, 942, 643),
color=(199, 211, 227), color=(186, 201, 220),
button=(1012, 532, 1152, 591), button=(803, 566, 922, 623),
), ),
zht=Button( zht=Button(
file='./assets/zht/base/page/WORK_GO_TO_TACTICAL_CHALLENGE.png', file='./assets/zht/base/page/WORK_GO_TO_TACTICAL_CHALLENGE.png',
area=(1014, 530, 1120, 569), area=(801, 564, 908, 595),
search=(994, 510, 1140, 589), search=(781, 544, 928, 615),
color=(190, 201, 219), color=(179, 192, 213),
button=(1014, 530, 1120, 569), button=(801, 564, 908, 595),
), ),
) )
+6 -6
View File
@@ -31,9 +31,9 @@ AP_EXCEED = ButtonWrapper(
name='AP_EXCEED', name='AP_EXCEED',
jp=Button( jp=Button(
file='./assets/jp/base/popup/AP_EXCEED.png', file='./assets/jp/base/popup/AP_EXCEED.png',
area=(611, 147, 669, 177), area=(400, 288, 879, 377),
search=(591, 127, 689, 197), search=(380, 268, 899, 397),
color=(143, 156, 170), color=(201, 202, 202),
button=(539, 470, 743, 533), button=(539, 470, 743, 533),
), ),
en=Button( en=Button(
@@ -133,9 +133,9 @@ INSUFFICIENT_INVENTORY = ButtonWrapper(
name='INSUFFICIENT_INVENTORY', name='INSUFFICIENT_INVENTORY',
jp=Button( jp=Button(
file='./assets/jp/base/popup/INSUFFICIENT_INVENTORY.png', file='./assets/jp/base/popup/INSUFFICIENT_INVENTORY.png',
area=(610, 124, 669, 153), area=(371, 392, 896, 451),
search=(590, 104, 689, 173), search=(351, 372, 916, 471),
color=(139, 153, 168), color=(213, 218, 222),
button=(535, 494, 746, 565), button=(535, 494, 746, 565),
), ),
en=Button( en=Button(
+4 -3
View File
@@ -1,10 +1,10 @@
from module.base.button import ButtonWrapper from module.base.button import ButtonWrapper
from module.base.decorator import run_once, Config from module.base.decorator import Config, run_once
from module.base.timer import Timer from module.base.timer import Timer
from module.base.utils import get_color from module.base.utils import get_color
from module.exception import GameNotRunningError, GamePageUnknownError, RequestHumanTakeover from module.exception import GameNotRunningError, GamePageUnknownError, RequestHumanTakeover
from module.logger import logger from module.logger import logger
from module.ocr.ocr import Ocr, Digit from module.ocr.ocr import Digit, Ocr
from tasks.base.assets.assets_base_page import BACK from tasks.base.assets.assets_base_page import BACK
from tasks.base.main_page import MainPage from tasks.base.main_page import MainPage
from tasks.base.page import Page, page_main from tasks.base.page import Page, page_main
@@ -23,7 +23,8 @@ class UI(MainPage):
# temporary block check for jp # temporary block check for jp
@Config.when(Emulator_GameLanguage='jp') @Config.when(Emulator_GameLanguage='jp')
def appear_trademark_year(self): def appear_trademark_year(self):
return False # this disables using back button in jp due to a login issue
return True
@Config.when(Emulator_GameLanguage=None) @Config.when(Emulator_GameLanguage=None)
def appear_trademark_year(self): def appear_trademark_year(self):

Some files were not shown because too many files have changed in this diff Show More