Compare commits
32 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
11d2a6ef7e
|
|||
|
1f5b68d095
|
|||
|
5f3ff140dd
|
|||
|
8698fa20c2
|
|||
|
b426c6caac
|
|||
|
8d83ec1657
|
|||
|
7fcda15329
|
|||
|
54aa1bafb5
|
|||
|
d756b0dc3f
|
|||
|
e71118c09e
|
|||
|
44b6d5cdf8
|
|||
|
f92dba92c9
|
|||
|
86ce04cff9
|
|||
|
f2065507c2
|
|||
|
15bf77da3d
|
|||
|
4ce8073096
|
|||
|
aa872c890d
|
|||
|
25e0559171
|
|||
|
df6da1f77a
|
|||
|
fc49adc859
|
|||
|
4582406ef2
|
|||
|
256dc96598
|
|||
|
04744d6f8c
|
|||
|
8fe578615d
|
|||
|
5e9615542c
|
|||
|
36c5f60eb3
|
|||
|
91650cc584
|
|||
|
67881568dd
|
|||
|
f8404edd9e
|
|||
|
ff3ec041d2
|
|||
|
99074a1575
|
|||
|
7862fa6cb8
|
@@ -22,7 +22,12 @@ The script is still under active development. The following features have been i
|
|||||||
Supported servers:
|
Supported servers:
|
||||||
|
|
||||||
- [x] JP
|
- [x] JP
|
||||||
- [x] OVERSEA - Global
|
- [x] OVERSEA
|
||||||
|
|
||||||
|
Supported in-game languages:
|
||||||
|
|
||||||
|
- [x] Japanese
|
||||||
|
- [x] English
|
||||||
|
|
||||||
## Relative projects
|
## Relative projects
|
||||||
|
|
||||||
|
|||||||
@@ -22,12 +22,18 @@
|
|||||||
目前支持的服务器:
|
目前支持的服务器:
|
||||||
|
|
||||||
- [x] 日服
|
- [x] 日服
|
||||||
- [x] 国际服 - 全球
|
- [x] 国际服
|
||||||
|
|
||||||
|
目前支持的游戏内语言:
|
||||||
|
|
||||||
|
- [x] 日语
|
||||||
|
- [x] 英语
|
||||||
|
|
||||||
## 已知问题
|
## 已知问题
|
||||||
|
|
||||||
若愿意提供其他服务器支持,请开 PR 或 Issue。
|
若愿意提供其他语言或国服支持,请开 PR 或 Issue。
|
||||||
|
|
||||||
|
- **国际服登录的全屏通知**:未实现自动关闭,正在研究中
|
||||||
- **大小月卡**:未实现自动领取,~~因为没买过~~,可能不影响使用。愿意提供图片的请开 Issue
|
- **大小月卡**:未实现自动领取,~~因为没买过~~,可能不影响使用。愿意提供图片的请开 Issue
|
||||||
- **月卡的额外悬赏券和学院交流券**:不太清楚月卡领取额外券的机制,~~因为没买过~~,可能影响相关任务使用券和体力的计算。愿意提供相关信息的请开
|
- **月卡的额外悬赏券和学院交流券**:不太清楚月卡领取额外券的机制,~~因为没买过~~,可能影响相关任务使用券和体力的计算。愿意提供相关信息的请开
|
||||||
Issue
|
Issue
|
||||||
|
|||||||
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 6.5 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 9.1 KiB |
|
After Width: | Height: | Size: 9.4 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 8.3 KiB |
|
After Width: | Height: | Size: 6.4 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 8.8 KiB |
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 6.6 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 129 KiB |
|
After Width: | Height: | Size: 6.8 KiB |
|
After Width: | Height: | Size: 5.8 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 5.5 KiB |
|
After Width: | Height: | Size: 6.0 KiB |
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
|
After Width: | Height: | Size: 4.4 KiB |
|
After Width: | Height: | Size: 4.5 KiB |
|
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.6 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 6.5 KiB |
|
Before Width: | Height: | Size: 6.5 KiB |
|
Before Width: | Height: | Size: 6.6 KiB |
|
Before Width: | Height: | Size: 8.5 KiB |
|
Before Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 6.1 KiB |
|
Before Width: | Height: | Size: 6.1 KiB |
|
Before Width: | Height: | Size: 5.4 KiB |
|
Before Width: | Height: | Size: 9.4 KiB |
|
Before Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 5.4 KiB |
|
Before Width: | Height: | Size: 7.6 KiB |
|
Before Width: | Height: | Size: 7.8 KiB |
|
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.8 KiB |
|
Before Width: | Height: | Size: 905 KiB |
|
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 5.0 KiB |
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.0 KiB |
|
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 5.0 KiB |
|
Before Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 6.3 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.4 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 8.7 KiB |
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.4 KiB |
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 5.9 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.7 KiB |
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 5.6 KiB |
|
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 5.1 KiB |
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
|
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 5.8 KiB |
|
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 6.5 KiB |
|
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 6.6 KiB |
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.0 KiB |
|
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 5.1 KiB |
|
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 8.5 KiB |
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 6.1 KiB |
|
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 6.1 KiB |
|
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
|
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 5.4 KiB |
|
Before Width: | Height: | Size: 9.4 KiB After Width: | Height: | Size: 9.4 KiB |
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 5.4 KiB |
|
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 7.6 KiB |
|
Before Width: | Height: | Size: 7.8 KiB After Width: | Height: | Size: 7.8 KiB |
|
Before Width: | Height: | Size: 905 KiB After Width: | Height: | Size: 905 KiB |
|
After Width: | Height: | Size: 1016 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
@@ -128,8 +128,8 @@ Deploy:
|
|||||||
WebuiHost: 0.0.0.0
|
WebuiHost: 0.0.0.0
|
||||||
# --port. Port to listen
|
# --port. Port to listen
|
||||||
# You will be able to access webui via `http://{host}:{port}`
|
# You will be able to access webui via `http://{host}:{port}`
|
||||||
# [In most cases] Default to 22367
|
# [In most cases] Default to 23467
|
||||||
WebuiPort: 22367
|
WebuiPort: 23467
|
||||||
# Language to use on web ui
|
# Language to use on web ui
|
||||||
# 'zh-CN' for Chinese simplified
|
# 'zh-CN' for Chinese simplified
|
||||||
# 'en-US' for English
|
# 'en-US' for English
|
||||||
|
|||||||
@@ -128,8 +128,8 @@ Deploy:
|
|||||||
WebuiHost: 0.0.0.0
|
WebuiHost: 0.0.0.0
|
||||||
# --port. Port to listen
|
# --port. Port to listen
|
||||||
# You will be able to access webui via `http://{host}:{port}`
|
# You will be able to access webui via `http://{host}:{port}`
|
||||||
# [In most cases] Default to 22367
|
# [In most cases] Default to 23467
|
||||||
WebuiPort: 22367
|
WebuiPort: 23467
|
||||||
# Language to use on web ui
|
# Language to use on web ui
|
||||||
# 'zh-CN' for Chinese simplified
|
# 'zh-CN' for Chinese simplified
|
||||||
# 'en-US' for English
|
# 'en-US' for English
|
||||||
|
|||||||
@@ -45,14 +45,13 @@
|
|||||||
"Touch": true,
|
"Touch": true,
|
||||||
"AutoAdjust": true,
|
"AutoAdjust": true,
|
||||||
"SecondCafe": true
|
"SecondCafe": true
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"Mail": {
|
"Invitation": {
|
||||||
"Scheduler": {
|
|
||||||
"Enable": true,
|
"Enable": true,
|
||||||
"NextRun": "2020-01-01 00:00:00",
|
"WaitingHour": 0,
|
||||||
"Command": "Mail",
|
"Choice": "list_top",
|
||||||
"ServerUpdate": "04:00"
|
"Name": null,
|
||||||
|
"Substitute": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Circle": {
|
"Circle": {
|
||||||
@@ -63,6 +62,14 @@
|
|||||||
"ServerUpdate": "04:00"
|
"ServerUpdate": "04:00"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"Mail": {
|
||||||
|
"Scheduler": {
|
||||||
|
"Enable": true,
|
||||||
|
"NextRun": "2020-01-01 00:00:00",
|
||||||
|
"Command": "Mail",
|
||||||
|
"ServerUpdate": "04:00"
|
||||||
|
}
|
||||||
|
},
|
||||||
"Bounty": {
|
"Bounty": {
|
||||||
"Scheduler": {
|
"Scheduler": {
|
||||||
"Enable": true,
|
"Enable": true,
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ class ConfigModel:
|
|||||||
|
|
||||||
# Webui
|
# Webui
|
||||||
WebuiHost: str = "0.0.0.0"
|
WebuiHost: str = "0.0.0.0"
|
||||||
WebuiPort: int = 22367
|
WebuiPort: int = 23467
|
||||||
Language: str = "en-US"
|
Language: str = "en-US"
|
||||||
Theme: str = "default"
|
Theme: str = "default"
|
||||||
DpiScaling: bool = True
|
DpiScaling: bool = True
|
||||||
@@ -77,6 +77,12 @@ class DeployConfig(ConfigModel):
|
|||||||
self.config_template = {}
|
self.config_template = {}
|
||||||
self.read()
|
self.read()
|
||||||
|
|
||||||
|
self.set_repo()
|
||||||
|
|
||||||
|
self.write()
|
||||||
|
self.show_config()
|
||||||
|
|
||||||
|
def set_repo(self):
|
||||||
# Bypass webui.config.DeployConfig.__setattr__()
|
# Bypass webui.config.DeployConfig.__setattr__()
|
||||||
# Don't write these into deploy.yaml
|
# Don't write these into deploy.yaml
|
||||||
if self.Repository == 'cn':
|
if self.Repository == 'cn':
|
||||||
@@ -84,9 +90,6 @@ class DeployConfig(ConfigModel):
|
|||||||
if self.Repository == 'global':
|
if self.Repository == 'global':
|
||||||
super().__setattr__('Repository', 'https://github.com/TheFunny/ArisuAutoSweeper')
|
super().__setattr__('Repository', 'https://github.com/TheFunny/ArisuAutoSweeper')
|
||||||
|
|
||||||
self.write()
|
|
||||||
self.show_config()
|
|
||||||
|
|
||||||
def show_config(self):
|
def show_config(self):
|
||||||
logger.hr("Show deploy config", 1)
|
logger.hr("Show deploy config", 1)
|
||||||
for k, v in self.config.items():
|
for k, v in self.config.items():
|
||||||
|
|||||||
@@ -128,8 +128,8 @@ Deploy:
|
|||||||
WebuiHost: 0.0.0.0
|
WebuiHost: 0.0.0.0
|
||||||
# --port. Port to listen
|
# --port. Port to listen
|
||||||
# You will be able to access webui via `http://{host}:{port}`
|
# You will be able to access webui via `http://{host}:{port}`
|
||||||
# [In most cases] Default to 22367
|
# [In most cases] Default to 23467
|
||||||
WebuiPort: 22367
|
WebuiPort: 23467
|
||||||
# Language to use on web ui
|
# Language to use on web ui
|
||||||
# 'zh-CN' for Chinese simplified
|
# 'zh-CN' for Chinese simplified
|
||||||
# 'en-US' for English
|
# 'en-US' for English
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ def func(ev: threading.Event):
|
|||||||
args, _ = parser.parse_known_args()
|
args, _ = parser.parse_known_args()
|
||||||
|
|
||||||
host = args.host or State.deploy_config.WebuiHost or "0.0.0.0"
|
host = args.host or State.deploy_config.WebuiHost or "0.0.0.0"
|
||||||
port = args.port or int(State.deploy_config.WebuiPort) or 22367
|
port = args.port or int(State.deploy_config.WebuiPort) or 23467
|
||||||
State.electron = args.electron
|
State.electron = args.electron
|
||||||
|
|
||||||
logger.hr("Launcher config")
|
logger.hr("Launcher config")
|
||||||
|
|||||||
@@ -12,6 +12,10 @@
|
|||||||
"option": [
|
"option": [
|
||||||
"auto",
|
"auto",
|
||||||
"JP-Official",
|
"JP-Official",
|
||||||
|
"OVERSEA-TWHKMO",
|
||||||
|
"OVERSEA-Korea",
|
||||||
|
"OVERSEA-Asia",
|
||||||
|
"OVERSEA-America",
|
||||||
"OVERSEA-Global"
|
"OVERSEA-Global"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -201,32 +205,37 @@
|
|||||||
"type": "checkbox",
|
"type": "checkbox",
|
||||||
"value": true
|
"value": true
|
||||||
}
|
}
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"Mail": {
|
"Invitation": {
|
||||||
"Scheduler": {
|
|
||||||
"Enable": {
|
"Enable": {
|
||||||
"type": "checkbox",
|
"type": "checkbox",
|
||||||
"value": true,
|
"value": true
|
||||||
|
},
|
||||||
|
"WaitingHour": {
|
||||||
|
"type": "select",
|
||||||
|
"value": 0,
|
||||||
"option": [
|
"option": [
|
||||||
true,
|
0,
|
||||||
false
|
3,
|
||||||
|
6,
|
||||||
|
9
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"NextRun": {
|
"Choice": {
|
||||||
"type": "datetime",
|
"type": "select",
|
||||||
"value": "2020-01-01 00:00:00",
|
"value": "list_top",
|
||||||
"validate": "datetime"
|
"option": [
|
||||||
|
"list_top",
|
||||||
|
"by_name"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"Command": {
|
"Name": {
|
||||||
"type": "input",
|
"type": "textarea",
|
||||||
"value": "Mail",
|
"value": null
|
||||||
"display": "hide"
|
|
||||||
},
|
},
|
||||||
"ServerUpdate": {
|
"Substitute": {
|
||||||
"type": "input",
|
"type": "checkbox",
|
||||||
"value": "04:00",
|
"value": false
|
||||||
"display": "hide"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -257,6 +266,33 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"Mail": {
|
||||||
|
"Scheduler": {
|
||||||
|
"Enable": {
|
||||||
|
"type": "checkbox",
|
||||||
|
"value": true,
|
||||||
|
"option": [
|
||||||
|
true,
|
||||||
|
false
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"NextRun": {
|
||||||
|
"type": "datetime",
|
||||||
|
"value": "2020-01-01 00:00:00",
|
||||||
|
"validate": "datetime"
|
||||||
|
},
|
||||||
|
"Command": {
|
||||||
|
"type": "input",
|
||||||
|
"value": "Mail",
|
||||||
|
"display": "hide"
|
||||||
|
},
|
||||||
|
"ServerUpdate": {
|
||||||
|
"type": "input",
|
||||||
|
"value": "04:00",
|
||||||
|
"display": "hide"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"Bounty": {
|
"Bounty": {
|
||||||
"Scheduler": {
|
"Scheduler": {
|
||||||
"Enable": {
|
"Enable": {
|
||||||
|
|||||||
@@ -80,6 +80,18 @@ Cafe:
|
|||||||
Touch: true
|
Touch: true
|
||||||
AutoAdjust: true
|
AutoAdjust: true
|
||||||
SecondCafe: true
|
SecondCafe: true
|
||||||
|
Invitation:
|
||||||
|
Enable: true
|
||||||
|
WaitingHour:
|
||||||
|
value: 0
|
||||||
|
option: [ 0, 3, 6, 9 ]
|
||||||
|
Choice:
|
||||||
|
value: list_top
|
||||||
|
option: [ list_top, by_name ]
|
||||||
|
Name:
|
||||||
|
value: null
|
||||||
|
type: textarea
|
||||||
|
Substitute: false
|
||||||
|
|
||||||
Bounty:
|
Bounty:
|
||||||
OnError:
|
OnError:
|
||||||
|
|||||||
@@ -12,8 +12,8 @@
|
|||||||
"page": "setting",
|
"page": "setting",
|
||||||
"tasks": [
|
"tasks": [
|
||||||
"Cafe",
|
"Cafe",
|
||||||
"Mail",
|
|
||||||
"Circle",
|
"Circle",
|
||||||
|
"Mail",
|
||||||
"Bounty",
|
"Bounty",
|
||||||
"Scrimmage",
|
"Scrimmage",
|
||||||
"TacticalChallenge",
|
"TacticalChallenge",
|
||||||
|
|||||||
@@ -25,10 +25,11 @@ Daily:
|
|||||||
Cafe:
|
Cafe:
|
||||||
- Scheduler
|
- Scheduler
|
||||||
- Cafe
|
- Cafe
|
||||||
Mail:
|
- Invitation
|
||||||
- Scheduler
|
|
||||||
Circle:
|
Circle:
|
||||||
- Scheduler
|
- Scheduler
|
||||||
|
Mail:
|
||||||
|
- Scheduler
|
||||||
Bounty:
|
Bounty:
|
||||||
- Scheduler
|
- Scheduler
|
||||||
- Bounty
|
- Bounty
|
||||||
|
|||||||