mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 13:17:00 +08:00
Add: Submodule AlasFpyBridge (experimental)
This commit is contained in:
250
submodule/AlasFpyBridge/module/config/argument/args.json
Normal file
250
submodule/AlasFpyBridge/module/config/argument/args.json
Normal file
@@ -0,0 +1,250 @@
|
||||
{
|
||||
"Fpy": {
|
||||
"FpyEmulator": {
|
||||
"Serial": {
|
||||
"type": "input",
|
||||
"value": "127.0.0.1:5555",
|
||||
"valuetype": "str"
|
||||
},
|
||||
"Cmdline": {
|
||||
"type": "textarea",
|
||||
"value": "python3 fgo.py cli --no-color"
|
||||
}
|
||||
},
|
||||
"Emulator": {
|
||||
"ServerName": {
|
||||
"type": "input",
|
||||
"value": "disabled",
|
||||
"display": "hide"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
"SaveError": {
|
||||
"type": "checkbox",
|
||||
"value": false,
|
||||
"display": "hide"
|
||||
},
|
||||
"OnePushConfig": {
|
||||
"type": "input",
|
||||
"value": "provider: null",
|
||||
"mode": "yaml",
|
||||
"display": "hide"
|
||||
}
|
||||
},
|
||||
"Optimization": {
|
||||
"WhenTaskQueueEmpty": {
|
||||
"type": "input",
|
||||
"value": "stay_there",
|
||||
"display": "hide"
|
||||
}
|
||||
},
|
||||
"Storage": {
|
||||
"Storage": {
|
||||
"type": "storage",
|
||||
"value": {},
|
||||
"valuetype": "ignore",
|
||||
"display": "disabled"
|
||||
}
|
||||
}
|
||||
},
|
||||
"FpyHeartbeat": {
|
||||
"Scheduler": {
|
||||
"Enable": {
|
||||
"type": "checkbox",
|
||||
"value": true
|
||||
},
|
||||
"NextRun": {
|
||||
"type": "datetime",
|
||||
"value": "2023-01-01 05:00:00",
|
||||
"validate": "datetime"
|
||||
},
|
||||
"Command": {
|
||||
"type": "input",
|
||||
"value": "FpyHeartbeat",
|
||||
"display": "hide"
|
||||
},
|
||||
"SuccessInterval": {
|
||||
"type": "input",
|
||||
"value": 60,
|
||||
"display": "hide"
|
||||
},
|
||||
"FailureInterval": {
|
||||
"type": "input",
|
||||
"value": 120,
|
||||
"display": "hide"
|
||||
},
|
||||
"ServerUpdate": {
|
||||
"type": "input",
|
||||
"value": "05:00",
|
||||
"display": "hide"
|
||||
}
|
||||
},
|
||||
"Interval": {
|
||||
"Interval": {
|
||||
"type": "input",
|
||||
"value": "00:05"
|
||||
}
|
||||
},
|
||||
"Storage": {
|
||||
"Storage": {
|
||||
"type": "storage",
|
||||
"value": {},
|
||||
"valuetype": "ignore",
|
||||
"display": "disabled"
|
||||
}
|
||||
}
|
||||
},
|
||||
"FpyMain": {
|
||||
"Scheduler": {
|
||||
"Enable": {
|
||||
"type": "checkbox",
|
||||
"value": false
|
||||
},
|
||||
"NextRun": {
|
||||
"type": "datetime",
|
||||
"value": "2023-01-01 05:00:00",
|
||||
"validate": "datetime"
|
||||
},
|
||||
"Command": {
|
||||
"type": "input",
|
||||
"value": "FpyMain",
|
||||
"display": "hide"
|
||||
},
|
||||
"SuccessInterval": {
|
||||
"type": "input",
|
||||
"value": 60,
|
||||
"display": "hide"
|
||||
},
|
||||
"FailureInterval": {
|
||||
"type": "input",
|
||||
"value": 120,
|
||||
"display": "hide"
|
||||
},
|
||||
"ServerUpdate": {
|
||||
"type": "input",
|
||||
"value": "05:00",
|
||||
"display": "hide"
|
||||
}
|
||||
},
|
||||
"Apple": {
|
||||
"AppleKind": {
|
||||
"type": "select",
|
||||
"value": "gold",
|
||||
"option": [
|
||||
"gold",
|
||||
"silver",
|
||||
"bronze",
|
||||
"copper",
|
||||
"quartz"
|
||||
]
|
||||
},
|
||||
"AppleCount": {
|
||||
"type": "input",
|
||||
"value": 0
|
||||
},
|
||||
"EatOnce": {
|
||||
"type": "checkbox",
|
||||
"value": true
|
||||
},
|
||||
"AppleTotal": {
|
||||
"type": "input",
|
||||
"value": 999
|
||||
}
|
||||
},
|
||||
"Limit": {
|
||||
"Defeated": {
|
||||
"type": "checkbox",
|
||||
"value": true
|
||||
},
|
||||
"KizunaReisou": {
|
||||
"type": "checkbox",
|
||||
"value": true
|
||||
},
|
||||
"SpecialDrop": {
|
||||
"type": "input",
|
||||
"value": 0
|
||||
}
|
||||
},
|
||||
"Interval": {
|
||||
"Interval": {
|
||||
"type": "input",
|
||||
"value": "07:00"
|
||||
}
|
||||
},
|
||||
"Storage": {
|
||||
"Storage": {
|
||||
"type": "storage",
|
||||
"value": {},
|
||||
"valuetype": "ignore",
|
||||
"display": "disabled"
|
||||
}
|
||||
}
|
||||
},
|
||||
"FpyDailyFpSummon": {
|
||||
"Scheduler": {
|
||||
"Enable": {
|
||||
"type": "checkbox",
|
||||
"value": false
|
||||
},
|
||||
"NextRun": {
|
||||
"type": "datetime",
|
||||
"value": "2023-01-01 05:00:00",
|
||||
"validate": "datetime"
|
||||
},
|
||||
"Command": {
|
||||
"type": "input",
|
||||
"value": "FpyDailyFpSummon",
|
||||
"display": "hide"
|
||||
},
|
||||
"SuccessInterval": {
|
||||
"type": "input",
|
||||
"value": 60,
|
||||
"display": "hide"
|
||||
},
|
||||
"FailureInterval": {
|
||||
"type": "input",
|
||||
"value": 120,
|
||||
"display": "hide"
|
||||
},
|
||||
"ServerUpdate": {
|
||||
"type": "input",
|
||||
"value": "00:00",
|
||||
"display": "hide"
|
||||
}
|
||||
},
|
||||
"Storage": {
|
||||
"Storage": {
|
||||
"type": "storage",
|
||||
"value": {},
|
||||
"valuetype": "ignore",
|
||||
"display": "disabled"
|
||||
}
|
||||
}
|
||||
},
|
||||
"FpyBattle": {
|
||||
"Storage": {
|
||||
"Storage": {
|
||||
"type": "storage",
|
||||
"value": {},
|
||||
"valuetype": "ignore",
|
||||
"display": "disabled"
|
||||
}
|
||||
}
|
||||
},
|
||||
"FpyBenchmark": {
|
||||
"Command": {
|
||||
"Command": {
|
||||
"type": "textarea",
|
||||
"value": "bench"
|
||||
}
|
||||
},
|
||||
"Storage": {
|
||||
"Storage": {
|
||||
"type": "storage",
|
||||
"value": {},
|
||||
"valuetype": "ignore",
|
||||
"display": "disabled"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
75
submodule/AlasFpyBridge/module/config/argument/argument.yaml
Normal file
75
submodule/AlasFpyBridge/module/config/argument/argument.yaml
Normal file
@@ -0,0 +1,75 @@
|
||||
# --------------------
|
||||
# Define arguments.
|
||||
# --------------------
|
||||
|
||||
Scheduler:
|
||||
Enable: False
|
||||
NextRun: 2023-01-01 05:00:00
|
||||
Command: Fpy
|
||||
SuccessInterval:
|
||||
value: 60
|
||||
display: hide
|
||||
FailureInterval:
|
||||
value: 120
|
||||
display: hide
|
||||
ServerUpdate:
|
||||
value: 05:00
|
||||
display: hide
|
||||
|
||||
Emulator:
|
||||
ServerName:
|
||||
value: disabled
|
||||
display: hide
|
||||
Error:
|
||||
SaveError:
|
||||
value: False
|
||||
display: hide
|
||||
OnePushConfig:
|
||||
mode: yaml
|
||||
value: 'provider: null'
|
||||
display: hide
|
||||
Optimization:
|
||||
WhenTaskQueueEmpty:
|
||||
value: stay_there
|
||||
display: hide
|
||||
|
||||
FpyEmulator:
|
||||
Serial:
|
||||
value: 127.0.0.1:5555
|
||||
valuetype: str
|
||||
Cmdline:
|
||||
value: python3 fgo.py cli --no-color
|
||||
type: textarea
|
||||
|
||||
Interval:
|
||||
Interval:
|
||||
value: 07:00
|
||||
|
||||
Apple:
|
||||
AppleKind:
|
||||
value: gold
|
||||
option:
|
||||
- gold
|
||||
- silver
|
||||
- bronze
|
||||
- copper
|
||||
- quartz
|
||||
AppleCount:
|
||||
value: 0
|
||||
EatOnce:
|
||||
value: True
|
||||
AppleTotal:
|
||||
value: 999
|
||||
|
||||
Limit:
|
||||
Defeated:
|
||||
value: True
|
||||
KizunaReisou:
|
||||
value: True
|
||||
SpecialDrop:
|
||||
value: 0
|
||||
|
||||
Command:
|
||||
Command:
|
||||
value: bench
|
||||
type: textarea
|
||||
@@ -0,0 +1,9 @@
|
||||
# --------------------
|
||||
# Define default values
|
||||
# --------------------
|
||||
|
||||
FpyHeartbeat:
|
||||
Scheduler:
|
||||
Enable: True
|
||||
Interval:
|
||||
Interval: 00:05
|
||||
18
submodule/AlasFpyBridge/module/config/argument/menu.json
Normal file
18
submodule/AlasFpyBridge/module/config/argument/menu.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"Task": {
|
||||
"Fpy": [
|
||||
"Fpy",
|
||||
"FpyHeartbeat"
|
||||
],
|
||||
"Farm": [
|
||||
"FpyMain"
|
||||
],
|
||||
"Daily": [
|
||||
"FpyDailyFpSummon"
|
||||
],
|
||||
"Tool": [
|
||||
"FpyBattle",
|
||||
"FpyBenchmark"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
# --------------------
|
||||
# Define non-modifiable values
|
||||
# --------------------
|
||||
|
||||
FpyDailyFpSummon:
|
||||
Scheduler:
|
||||
ServerUpdate: 00:00
|
||||
35
submodule/AlasFpyBridge/module/config/argument/task.yaml
Normal file
35
submodule/AlasFpyBridge/module/config/argument/task.yaml
Normal file
@@ -0,0 +1,35 @@
|
||||
# --------------------
|
||||
# Define argument group of tasks.
|
||||
# --------------------
|
||||
|
||||
# ==================== Fpy ====================
|
||||
|
||||
Fpy:
|
||||
- FpyEmulator
|
||||
- Emulator
|
||||
- Error
|
||||
- Optimization
|
||||
|
||||
FpyHeartbeat:
|
||||
- Scheduler
|
||||
- Interval
|
||||
|
||||
# ==================== Farm ====================
|
||||
|
||||
FpyMain:
|
||||
- Scheduler
|
||||
- Apple
|
||||
- Limit
|
||||
- Interval
|
||||
|
||||
# ==================== Daily ====================
|
||||
|
||||
FpyDailyFpSummon:
|
||||
- Scheduler
|
||||
|
||||
# ==================== Tool ====================
|
||||
|
||||
FpyBattle: []
|
||||
|
||||
FpyBenchmark:
|
||||
- Command
|
||||
Reference in New Issue
Block a user