Replies: 1 comment
-
这个问题再点一下启动按钮就好了 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
────────────────────────────────────── 13-4 ───────────────────────────────────────
INFO 10:36:07.307 │ 13-4
INFO 10:36:07.309 │ Expect emotion reduce: (2, 14)
INFO 10:36:07.320 │ Bind task {'General', 'Alas', 'Main'}
INFO 10:36:07.322 │ Save config ./config\alas.json,
Main.Emotion.Fleet1Value=119,
Main.Emotion.Fleet1Record=datetime.datetime(2022, 11, 4, 10, 36, 7),
Main.Emotion.Fleet2Value=137,
Main.Emotion.Fleet2Record=datetime.datetime(2022, 11, 4, 10, 36, 7)
ERROR 10:36:07.331 │ PermissionError: [WinError 5] 拒绝访问。
╭────────────────── Traceback (most recent call last) ───────────────────╮
│ │
│ F:\leidian\AlasApp_0.3.7\alas.py:63 in run │
│ │
│ 61 │ │ try: │
│ 62 │ │ │ self.device.screenshot() │
│ ❱ 63 │ │ │ self.getattribute(command)() │
│ 64 │ │ │ return True │
│ 65 │ │ except TaskEnd: │
│ │
│ ╭───────────────────────────── locals ─────────────────────────────╮ │
│ │ command = 'main' │ │
│ │ e = PermissionError(13, '拒绝访问。', None, 5) │ │
│ │ self = <alas.AzurLaneAutoScript object at 0x0000022107770D88> │ │
│ ╰──────────────────────────────────────────────────────────────────╯ │
│ F:\leidian\AlasApp_0.3.7\alas.py:314 in main │
│ │
│ 312 │ │ from module.campaign.run import CampaignRun │
│ 313 │ │ CampaignRun(config=self.config, device=self.device).run( │
│ ❱ 314 │ │ │ name=self.config.Campaign_Name, folder=self.config.C │
│ mode=self.config.Campaign_Mode) │
│ 315 │ │
│ 316 │ def main2(self): │
│ │
│ ╭────────────────────────────── locals ──────────────────────────────╮ │
│ │ CampaignRun = <class 'module.campaign.run.CampaignRun'> │ │
│ │ self = <alas.AzurLaneAutoScript object at │ │
│ │ 0x0000022107770D88> │ │
│ ╰────────────────────────────────────────────────────────────────────╯ │
│ │
│ F:\leidian\AlasApp_0.3.7\module\campaign\run.py:250 in run │
│ │
│ 248 │ │ │ # Run │
│ 249 │ │ │ try: │
│ ❱ 250 │ │ │ │ self.campaign.run() │
│ 251 │ │ │ except ScriptEnd as e: │
│ 252 │ │ │ │ logger.hr('Script end') │
│ │
│ ╭────────────────────────────── locals ──────────────────────────────╮ │
│ │ folder = 'campaign_main' │ │
│ │ mode = 'normal' │ │
│ │ name = 'campaign_13_4' │ │
│ │ self = <module.campaign.run.CampaignRun object at │ │
│ │ 0x00000221385BF2C8> │ │
│ │ total = 0 │ │
│ ╰────────────────────────────────────────────────────────────────────╯ │
│ │
│ F:\leidian\AlasApp_0.3.7\module\campaign\campaign_base.py:123 in run │
│ │
│ 121 │ │ │
│ 122 │ │ # Enter map │
│ ❱ 123 │ │ self.emotion.check_reduce(self.map_battle) │
│ 124 │ │ self.ENTRANCE.area = self.ENTRANCE.button │
│ 125 │ │ self.enter_map(self.ENTRANCE, mode=self.config.Campaign │
│ │
│ ╭────────────────────────────── locals ──────────────────────────────╮ │
│ │ self = <campaign.campaign_main.campaign_13_4.Campaign object at │ │
│ │ 0x000002213809A388> │ │
│ ╰────────────────────────────────────────────────────────────────────╯ │
│ │
│ F:\leidian\AlasApp_0.3.7\module\combat\emotion.py:222 in check_reduce │
│ │
│ 220 │ │ │
│ 221 │ │ self.update() │
│ ❱ 222 │ │ self.record() │
│ 223 │ │ self.show() │
│ 224 │ │ recovered = max([f.get_recovered(b) for f, b in zip(self │
│ │
│ ╭────────────────────────────── locals ──────────────────────────────╮ │
│ │ battle = (2, 14) │ │
│ │ method = 'fleet1_boss_fleet2_mob' │ │
│ │ self = <module.combat.emotion.Emotion object at │ │
│ │ 0x00000221388BAB08> │ │
│ ╰────────────────────────────────────────────────────────────────────╯ │
│ │
│ F:\leidian\AlasApp_0.3.7\module\combat\emotion.py:170 in record │
│ │
│ 168 │ │ │ value[fleet.value_name] = fleet.current │
│ 169 │ │ │
│ ❱ 170 │ │ self.config.set_record(**value) │
│ 171 │ │
│ 172 │ def show(self): │
│ │
│ ╭────────────────────────────── locals ──────────────────────────────╮ │
│ │ fleet = <module.combat.emotion.FleetEmotion object at │ │
│ │ 0x000002213865F9C8> │ │
│ │ self = <module.combat.emotion.Emotion object at │ │
│ │ 0x00000221388BAB08> │ │
│ │ value = {'Emotion_Fleet1Value': 119, 'Emotion_Fleet2Value': 137} │ │
│ ╰────────────────────────────────────────────────────────────────────╯ │
│ │
│ F:\leidian\AlasApp_0.3.7\module\config\config.py:317 in set_record │
│ │
│ 315 │ │ │ │ record = arg.replace("Value", "Record") │
│ 316 │ │ │ │ self.setattr(arg, value) │
│ ❱ 317 │ │ │ │ self.setattr(record, datetime.now().replace( │
│ 318 │ │
│ 319 │ def multi_set(self): │
│ │
│ ╭────────────────────────────── locals ──────────────────────────────╮ │
│ │ arg = 'Emotion_Fleet2Value' │ │
│ │ kwargs = {'Emotion_Fleet1Value': 119, 'Emotion_Fleet2Value': 137} │ │
│ │ record = 'Emotion_Fleet2Record' │ │
│ │ self = <module.config.config.AzurLaneConfig object at │ │
│ │ 0x000002213815D1C8> │ │
│ │ value = 137 │ │
│ ╰────────────────────────────────────────────────────────────────────╯ │
│ │
│ F:\leidian\AlasApp_0.3.7\module\config\config.py:746 in exit │
│ │
│ 744 │ def exit(self, exc_type, exc_val, exc_tb): │
│ 745 │ │ if not self.in_wrapper: │
│ ❱ 746 │ │ │ self.main.update() │
│ 747 │ │ │ self.main.auto_update = True │
│ 748 │
│ │
│ ╭────────────────────────────── locals ──────────────────────────────╮ │
│ │ exc_tb = None │ │
│ │ exc_type = None │ │
│ │ exc_val = None │ │
│ │ self = <module.config.config.MultiSetWrapper object at │ │
│ │ 0x0000022138450D48> │ │
│ ╰────────────────────────────────────────────────────────────────────╯ │
│ │
│ F:\leidian\AlasApp_0.3.7\module\config\config.py:258 in update │
│ │
│ 256 │ │ self.config_override() │
│ 257 │ │ self.bind(self.task) │
│ ❱ 258 │ │ self.save() │
│ 259 │ │
│ 260 │ def config_override(self): │
│ │
│ ╭────────────────────────────── locals ──────────────────────────────╮ │
│ │ self = <module.config.config.AzurLaneConfig object at │ │
│ │ 0x000002213815D1C8> │ │
│ ╰────────────────────────────────────────────────────────────────────╯ │
│ │
│ F:\leidian\AlasApp_0.3.7\module\config\config.py:252 in save │
│ │
│ 250 │ │ # Don't use self.modified = {}, that will create a new o │
│ 251 │ │ self.modified.clear() │
│ ❱ 252 │ │ self.write_file(self.config_name, data=self.data) │
│ 253 │ │
│ 254 │ def update(self): │
│ │
│ ╭────────────────────────────── locals ──────────────────────────────╮ │
│ │ mod_name = 'alas' │ │
│ │ path = 'Main.Emotion.Fleet2Record' │ │
│ │ self = <module.config.config.AzurLaneConfig object at │ │
│ │ 0x000002213815D1C8> │ │
│ │ value = datetime.datetime(2022, 11, 4, 10, 36, 7) │ │
│ ╰────────────────────────────────────────────────────────────────────╯ │
│ │
│ F:\leidian\AlasApp_0.3.7\module\config\config_updater.py:611 in │
│ write_file │
│ │
│ 609 │ │ │ mod_name (str): │
│ 610 │ │ """ │
│ ❱ 611 │ │ write_file(filepath_config(config_name, mod_name), data) │
│ 612 │ │
│ 613 │ @Timer │
│ │
│ ╭────────────────────────────── locals ──────────────────────────────╮ │
│ │ config_name = 'alas' │ │
│ │ data = { │ │
│ │ │ 'Alas': { │ │
│ │ │ │ 'Emulator': { │ │
│ │ │ │ │ 'Serial': 'emulator-5554', │ │
│ │ │ │ │ 'PackageName': 'com.bilibili.azurlane', │ │
│ │ │ │ │ 'ServerName': 'cn_android-11', │ │
│ │ │ │ │ 'ScreenshotMethod': 'aScreenCap', │ │
│ │ │ │ │ 'ControlMethod': 'minitouch', │ │
│ │ │ │ │ 'ScreenshotDedithering': False, │ │
│ │ │ │ │ 'AdbRestart': True │ │
│ │ │ │ }, │ │
│ │ │ │ 'RestartEmulator': { │ │
│ │ │ │ │ 'Enable': False, │ │
│ │ │ │ │ 'EmulatorType': 'bluestacks_5' │ │
│ │ │ │ }, │ │
│ │ │ │ 'Error': { │ │
│ │ │ │ │ 'HandleError': True, │ │
│ │ │ │ │ 'SaveError': True, │ │
│ │ │ │ │ 'OnePushConfig': 'provider: null', │ │
│ │ │ │ │ 'ScreenshotLength': 1 │ │
│ │ │ │ }, │ │
│ │ │ │ 'Optimization': { │ │
│ │ │ │ │ 'ScreenshotInterval': 0.3, │ │
│ │ │ │ │ 'CombatScreenshotInterval': 1.0, │ │
│ │ │ │ │ 'TaskHoardingDuration': 0, │ │
│ │ │ │ │ 'WhenTaskQueueEmpty': 'goto_main' │ │
│ │ │ │ }, │ │
│ │ │ │ 'DropRecord': { │ │
│ │ │ │ │ 'SaveFolder': './screenshots', │ │
│ │ │ │ │ 'AzurStatsID': │ │
│ │ 'rv7yn410fb9dpc6q2t8hgxwmij35soul', │ │
│ │ │ │ │ 'API': 'default', │ │
│ │ │ │ │ 'ResearchRecord': 'save_and_upload', │ │
│ │ │ │ │ 'CommissionRecord': 'save', │ │
│ │ │ │ │ 'CombatRecord': 'do_not', │ │
│ │ │ │ │ 'OpsiRecord': 'do_not', │ │
│ │ │ │ │ 'MeowfficerBuy': 'do_not', │ │
│ │ │ │ │ 'MeowfficerTalent': 'save' │ │
│ │ │ │ } │ │
│ │ │ }, │ │
│ │ │ 'General': { │ │
│ │ │ │ 'Retirement': { │ │
│ │ │ │ │ 'Enable': True, │ │
│ │ │ │ │ 'RetireMode': 'one_click_retire', │ │
│ │ │ │ │ 'RetireAmount': 'retire_all', │ │
│ │ │ │ │ 'EnhanceFavourite': False, │ │
│ │ │ │ │ 'EnhanceFilter': None, │ │
│ │ │ │ │ 'EnhanceCheckPerCategory': 2, │ │
│ │ │ │ │ 'OldRetireN': True, │ │
│ │ │ │ │ 'OldRetireR': True, │ │
│ │ │ │ │ 'OldRetireSR': False, │ │
│ │ │ │ │ 'OldRetireSSR': False │ │
│ │ │ │ } │ │
│ │ │ }, │ │
│ │ │ 'Restart': { │ │
│ │ │ │ 'Scheduler': { │ │
│ │ │ │ │ 'Enable': True, │ │
│ │ │ │ │ 'NextRun': datetime.datetime(2022, 11, │ │
│ │ 5, 0, 0), │ │
│ │ │ │ │ 'Command': 'Restart', │ │
│ │ │ │ │ 'SuccessInterval': 0, │ │
│ │ │ │ │ 'FailureInterval': 0, │ │
│ │ │ │ │ 'ServerUpdate': '00:00' │ │
│ │ │ │ } │ │
│ │ │ }, │ │
│ │ │ 'Main': { │ │
│ │ │ │ 'Scheduler': { │ │
│ │ │ │ │ 'Enable': True, │ │
│ │ │ │ │ 'NextRun': datetime.datetime(2022, 11, │ │
│ │ 4, 10, 36), │ │
│ │ │ │ │ 'Command': 'Main', │ │
│ │ │ │ │ 'SuccessInterval': 0, │ │
│ │ │ │ │ 'FailureInterval': 120, │ │
│ │ │ │ │ 'ServerUpdate': '00:00' │ │
│ │ │ │ }, │ │
│ │ │ │ 'Campaign': { │ │
│ │ │ │ │ 'Name': '13-4', │ │
│ │ │ │ │ 'Event': 'campaign_main', │ │
│ │ │ │ │ 'Mode': 'normal', │ │
│ │ │ │ │ 'UseClearMode': True, │ │
│ │ │ │ │ 'UseFleetLock': True, │ │
│ │ │ │ │ 'UseAutoSearch': True, │ │
│ │ │ │ │ 'Use2xBook': False, │ │
│ │ │ │ │ 'AmbushEvade': True │ │
│ │ │ │ }, │ │
│ │ │ │ 'StopCondition': { │ │
│ │ │ │ │ 'RunCount': 0, │ │
│ │ │ │ │ 'OilLimit': 13300, │ │
│ │ │ │ │ 'MapAchievement': 'non_stop', │ │
│ │ │ │ │ 'StageIncrease': False, │ │
│ │ │ │ │ 'GetNewShip': False, │ │
│ │ │ │ │ 'ReachLevel': 0 │ │
│ │ │ │ }, │ │
│ │ │ │ 'Fleet': { │ │
│ │ │ │ │ 'Fleet1': 1, │ │
│ │ │ │ │ 'Fleet1Formation': 'line_ahead', │ │
│ │ │ │ │ 'Fleet1Mode': 'combat_auto', │ │
│ │ │ │ │ 'Fleet1Step': 3, │ │
│ │ │ │ │ 'Fleet2': 6, │ │
│ │ │ │ │ 'Fleet2Formation': 'line_ahead', │ │
│ │ │ │ │ 'Fleet2Mode': 'combat_auto', │ │
│ │ │ │ │ 'Fleet2Step': 2, │ │
│ │ │ │ │ 'FleetOrder': 'fleet1_boss_fleet2_mob' │ │
│ │ │ │ }, │ │
│ │ │ │ 'Submarine': { │ │
│ │ │ │ │ 'Fleet': 1, │ │
│ │ │ │ │ 'Mode': 'do_not_use', │ │
│ │ │ │ │ 'AutoSearchMode': 'sub_standby', │ │
│ │ │ │ │ 'DistanceToBoss': '2_grid_to_boss' │ │
│ │ │ │ }, │ │
│ │ │ │ 'Emotion': { │ │
│ │ │ │ │ 'CalculateEmotion': True, │ │
│ │ │ │ │ 'IgnoreLowEmotionWarn': False, │ │
│ │ │ │ │ 'Fleet1Value': 119, │ │
│ │ │ │ │ 'Fleet1Record': datetime.datetime(2022, │ │
│ │ 11, 4, 10, 36, 7), │ │
│ │ │ │ │ 'Fleet1Control': 'prevent_yellow_face', │ │
│ │ │ │ │ 'Fleet1Recover': 'not_in_dormitory', │ │
│ │ │ │ │ 'Fleet1Oath': False, │ │
│ │ │ │ │ 'Fleet2Value': 137, │ │
│ │ │ │ │ 'Fleet2Record': datetime.datetime(2022, │ │
│ │ 11, 4, 10, 36, 7), │ │
│ │ │ │ │ 'Fleet2Control': 'keep_exp_bonus', │ │
│ │ │ │ │ ... +2 │ │
│ │ │ │ }, │ │
│ │ │ │ 'HpControl': { │ │
│ │ │ │ │ 'UseHpBalance': False, │ │
│ │ │ │ │ 'UseEmergencyRepair': False, │ │
│ │ │ │ │ 'UseLowHpRetreat': False, │ │
│ │ │ │ │ 'HpBalanceThreshold': 0.2, │ │
│ │ │ │ │ 'HpBalanceWeight': '1000, 1000, 1000', │ │
│ │ │ │ │ 'RepairUseSingleThreshold': 0.3, │ │
│ │ │ │ │ 'RepairUseMultiThreshold': 0.6, │ │
│ │ │ │ │ 'LowHpRetreatThreshold': 0.3 │ │
│ │ │ │ }, │ │
│ │ │ │ 'EnemyPriority': { │ │
│ │ │ │ │ 'EnemyScaleBalanceWeight': │ │
│ │ 'default_mode' │ │
│ │ │ │ } │ │
│ │ │ }, │ │
│ │ │ 'Main2': { │ │
│ │ │ │ 'Scheduler': { │ │
│ │ │ │ │ 'Enable': False, │ │
│ │ │ │ │ 'NextRun': datetime.datetime(2020, 1, 1, │ │
│ │ 0, 0), │ │
│ │ │ │ │ 'Command': 'Main2', │ │
│ │ │ │ │ 'SuccessInterval': 0, │ │
│ │ │ │ │ 'FailureInterval': 120, │ │
│ │ │ │ │ 'ServerUpdate': '00:00' │ │
│ │ │ │ }, │ │
│ │ │ │ 'Campaign': { │ │
│ │ │ │ │ 'Name': '1-1', │ │
│ │ │ │ │ 'Event': 'campaign_main', │ │
│ │ │ │ │ 'Mode': 'normal', │ │
│ │ │ │ │ 'UseClearMode': False, │ │
│ │ │ │ │ 'UseFleetLock': True, │ │
│ │ │ │ │ 'UseAutoSearch': False, │ │
│ │ │ │ │ 'Use2xBook': False, │ │
│ │ │ │ │ 'AmbushEvade': True │ │
│ │ │ │ }, │ │
│ │ │ │ 'StopCondition': { │ │
│ │ │ │ │ 'RunCount': 16, │ │
│ │ │ │ │ 'OilLimit': 1000, │ │
│ │ │ │ │ 'MapAchievement': 'map_3_stars', │ │
│ │ │ │ │ 'StageIncrease': False, │ │
│ │ │ │ │ 'GetNewShip': False, │ │
│ │ │ │ │ 'ReachLevel': 0 │ │
│ │ │ │ }, │ │
│ │ │ │ 'Fleet': { │ │
│ │ │ │ │ 'Fleet1': 1, │ │
│ │ │ │ │ 'Fleet1Formation': 'double_line', │ │
│ │ │ │ │ 'Fleet1Mode': 'combat_auto', │ │
│ │ │ │ │ 'Fleet1Step': 3, │ │
│ │ │ │ │ 'Fleet2': 2, │ │
│ │ │ │ │ 'Fleet2Formation': 'double_line', │ │
│ │ │ │ │ 'Fleet2Mode': 'combat_auto', │ │
│ │ │ │ │ 'Fleet2Step': 2, │ │
│ │ │ │ │ 'FleetOrder': 'fleet1_mob_fleet2_boss' │ │
│ │ │ │ }, │ │
│ │ │ │ 'Submarine': { │ │
│ │ │ │ │ 'Fleet': 0, │ │
│ │ │ │ │ 'Mode': 'do_not_use', │ │
│ │ │ │ │ 'AutoSearchMode': 'sub_standby', │ │
│ │ │ │ │ 'DistanceToBoss': '2_grid_to_boss' │ │
│ │ │ │ }, │ │
│ │ │ │ 'Emotion': { │ │
│ │ │ │ │ 'CalculateEmotion': False, │ │
│ │ │ │ │ 'IgnoreLowEmotionWarn': False, │ │
│ │ │ │ │ 'Fleet1Value': 119, │ │
│ │ │ │ │ 'Fleet1Record': datetime.datetime(2020, │ │
│ │ 1, 1, 0, 0), │ │
│ │ │ │ │ 'Fleet1Control': 'prevent_yellow_face', │ │
│ │ │ │ │ 'Fleet1Recover': 'not_in_dormitory', │ │
│ │ │ │ │ 'Fleet1Oath': False, │ │
│ │ │ │ │ 'Fleet2Value': 119, │ │
│ │ │ │ │ 'Fleet2Record': datetime.datetime(2020, │ │
│ │ 1, 1, 0, 0), │ │
│ │ │ │ │ 'Fleet2Control': 'prevent_yellow_face', │ │
│ │ │ │ │ ... +2 │ │
│ │ │ │ }, │ │
│ │ │ │ 'HpControl': { │ │
│ │ │ │ │ 'UseHpBalance': False, │ │
│ │ │ │ │ 'UseEmergencyRepair': False, │ │
│ │ │ │ │ 'UseLowHpRetreat': False, │ │
│ │ │ │ │ 'HpBalanceThreshold': 0.2, │ │
│ │ │ │ │ 'HpBalanceWeight': '1000, 1000, 1000', │ │
│ │ │ │ │ 'RepairUseSingleThreshold': 0.3, │ │
│ │ │ │ │ 'RepairUseMultiThreshold': 0.6, │ │
│ │ │ │ │ 'LowHpRetreatThreshold': 0.3 │ │
│ │ │ │ }, │ │
│ │ │ │ 'EnemyPriority': { │ │
│ │ │ │ │ 'EnemyScaleBalanceWeight': │ │
│ │ 'S3_enemy_first' │ │
│ │ │ │ } │ │
│ │ │ }, │ │
│ │ │ 'Main3': { │ │
│ │ │ │ 'Scheduler': { │ │
│ │ │ │ │ 'Enable': False, │ │
│ │ │ │ │ 'NextRun': datetime.datetime(2020, 1, 1, │ │
│ │ 0, 0), │ │
│ │ │ │ │ 'Command': 'Main3', │ │
│ │ │ │ │ 'SuccessInterval': 0, │ │
│ │ │ │ │ 'FailureInterval': 120, │ │
│ │ │ │ │ 'ServerUpdate': '00:00' │ │
│ │ │ │ }, │ │
│ │ │ │ 'Campaign': { │ │
│ │ │ │ │ 'Name': '12-4', │ │
│ │ │ │ │ 'Event': 'campaign_main', │ │
│ │ │ │ │ 'Mode': 'normal', │ │
│ │ │ │ │ 'UseClearMode': True, │ │
│ │ │ │ │ 'UseFleetLock': True, │ │
│ │ │ │ │ 'UseAutoSearch': True, │ │
│ │ │ │ │ 'Use2xBook': False, │ │
│ │ │ │ │ 'AmbushEvade': True │ │
│ │ │ │ }, │ │
│ │ │ │ 'StopCondition': { │ │
│ │ │ │ │ 'RunCount': 0, │ │
│ │ │ │ │ 'OilLimit': 1000, │ │
│ │ │ │ │ 'MapAchievement': 'non_stop', │ │
│ │ │ │ │ 'StageIncrease': False, │ │
│ │ │ │ │ 'GetNewShip': False, │ │
│ │ │ │ │ 'ReachLevel': 0 │ │
│ │ │ │ }, │ │
│ │ │ │ 'Fleet': { │ │
│ │ │ │ │ 'Fleet1': 1, │ │
│ │ │ │ │ 'Fleet1Formation': 'double_line', │ │
│ │ │ │ │ 'Fleet1Mode': 'combat_auto', │ │
│ │ │ │ │ 'Fleet1Step': 3, │ │
│ │ │ │ │ 'Fleet2': 2, │ │
│ │ │ │ │ 'Fleet2Formation': 'double_line', │ │
│ │ │ │ │ 'Fleet2Mode': 'combat_auto', │ │
│ │ │ │ │ 'Fleet2Step': 2, │ │
│ │ │ │ │ 'FleetOrder': 'fleet1_mob_fleet2_boss' │ │
│ │ │ │ }, │ │
│ │ │ │ 'Submarine': { │ │
│ │ │ │ │ 'Fleet': 0, │ │
│ │ │ │ │ 'Mode': 'do_not_use', │ │
│ │ │ │ │ 'AutoSearchMode': 'sub_standby', │ │
│ │ │ │ │ 'DistanceToBoss': '2_grid_to_boss' │ │
│ │ │ │ }, │ │
│ │ │ │ 'Emotion': { │ │
│ │ │ │ │ 'CalculateEmotion': True, │ │
│ │ │ │ │ 'IgnoreLowEmotionWarn': False, │ │
│ │ │ │ │ 'Fleet1Value': 119, │ │
│ │ │ │ │ 'Fleet1Record': datetime.datetime(2020, │ │
│ │ 1, 1, 0, 0), │ │
│ │ │ │ │ 'Fleet1Control': 'prevent_yellow_face', │ │
│ │ │ │ │ 'Fleet1Recover': 'not_in_dormitory', │ │
│ │ │ │ │ 'Fleet1Oath': False, │ │
│ │ │ │ │ 'Fleet2Value': 119, │ │
│ │ │ │ │ 'Fleet2Record': datetime.datetime(2020, │ │
│ │ 1, 1, 0, 0), │ │
│ │ │ │ │ 'Fleet2Control': 'prevent_yellow_face', │ │
│ │ │ │ │ ... +2 │ │
│ │ │ │ }, │ │
│ │ │ │ 'HpControl': { │ │
│ │ │ │ │ 'UseHpBalance': False, │ │
│ │ │ │ │ 'UseEmergencyRepair': False, │ │
│ │ │ │ │ 'UseLowHpRetreat': False, │ │
│ │ │ │ │ 'HpBalanceThreshold': 0.2, │ │
│ │ │ │ │ 'HpBalanceWeight': '1000, 1000, 1000', │ │
│ │ │ │ │ 'RepairUseSingleThreshold': 0.3, │ │
│ │ │ │ │ 'RepairUseMultiThreshold': 0.6, │ │
│ │ │ │ │ 'LowHpRetreatThreshold': 0.3 │ │
│ │ │ │ }, │ │
│ │ │ │ 'EnemyPriority': { │ │
│ │ │ │ │ 'EnemyScaleBalanceWeight': │ │
│ │ 'default_mode' │ │
│ │ │ │ } │ │
│ │ │ }, │ │
│ │ │ 'GemsFarming': { │ │
│ │ │ │ 'Scheduler': { │ │
│ │ │ │ │ 'Enable': False, │ │
│ │ │ │ │ 'NextRun': datetime.datetime(2022, 11, │ │
│ │ 3, 21, 24), │ │
│ │ │ │ │ 'Command': 'GemsFarming', │ │
│ │ │ │ │ 'SuccessInterval': 0, │ │
│ │ │ │ │ 'FailureInterval': 120, │ │
│ │ │ │ │ 'ServerUpdate': '00:00' │ │
│ │ │ │ }, │ │
│ │ │ │ 'GemsFarming': { │ │
│ │ │ │ │ 'FlagshipChange': True, │ │
│ │ │ │ │ 'FlagshipEquipChange': False, │ │
│ │ │ │ │ 'VanguardChange': False, │ │
│ │ │ │ │ 'VanguardEquipChange': False, │ │
│ │ │ │ │ 'LowEmotionRetreat': True, │ │
│ │ │ │ │ 'CommonCV': 'any', │ │
│ │ │ │ │ 'CommissionLimit': True │ │
│ │ │ │ }, │ │
│ │ │ │ 'Campaign': { │ │
│ │ │ │ │ 'Name': '12-4', │ │
│ │ │ │ │ 'Event': 'campaign_main', │ │
│ │ │ │ │ 'Mode': 'normal', │ │
│ │ │ │ │ 'UseClearMode': True, │ │
│ │ │ │ │ 'UseFleetLock': True, │ │
│ │ │ │ │ 'UseAutoSearch': True, │ │
│ │ │ │ │ 'Use2xBook': False, │ │
│ │ │ │ │ 'AmbushEvade': True │ │
│ │ │ │ }, │ │
│ │ │ │ 'StopCondition': { │ │
│ │ │ │ │ 'RunCount': 0, │ │
│ │ │ │ │ 'OilLimit': 1000, │ │
│ │ │ │ │ 'MapAchievement': 'non_stop', │ │
│ │ │ │ │ 'StageIncrease': False, │ │
│ │ │ │ │ 'GetNewShip': False, │ │
│ │ │ │ │ 'ReachLevel': 0 │ │
│ │ │ │ }, │ │
│ │ │ │ 'Fleet': { │ │
│ │ │ │ │ 'Fleet1': 1, │ │
│ │ │ │ │ 'Fleet1Formation': 'double_line', │ │
│ │ │ │ │ 'Fleet1Mode': 'combat_auto', │ │
│ │ │ │ │ 'Fleet1Step': 3, │ │
│ │ │ │ │ 'Fleet2': 2, │ │
│ │ │ │ │ 'Fleet2Formation': 'double_line', │ │
│ │ │ │ │ 'Fleet2Mode': 'combat_auto', │ │
│ │ │ │ │ 'Fleet2Step': 2, │ │
│ │ │ │ │ 'FleetOrder': 'fleet1_mob_fleet2_boss' │ │
│ │ │ │ }, │ │
│ │ │ │ 'Submarine': { │ │
│ │ │ │ │ 'Fleet': 0, │ │
│ │ │ │ │ 'Mode': 'do_not_use', │ │
│ │ │ │ │ 'AutoSearchMode': 'sub_standby', │ │
│ │ │ │ │ 'DistanceToBoss': '2_grid_to_boss' │ │
│ │ │ │ }, │ │
│ │ │ │ 'Emotion': { │ │
│ │ │ │ │ 'CalculateEmotion': True, │ │
│ │ │ │ │ 'IgnoreLowEmotionWarn': False, │ │
│ │ │ │ │ 'Fleet1Value': 119, │ │
│ │ │ │ │ 'Fleet1Record': datetime.datetime(2020, │ │
│ │ 1, 1, 0, 0), │ │
│ │ │ │ │ 'Fleet1Control': 'prevent_yellow_face', │ │
│ │ │ │ │ 'Fleet1Recover': 'not_in_dormitory', │ │
│ │ │ │ │ 'Fleet1Oath': False, │ │
│ │ │ │ │ 'Fleet2Value': 119, │ │
│ │ │ │ │ 'Fleet2Record': datetime.datetime(2020, │ │
│ │ 1, 1, 0, 0), │ │
│ │ │ │ │ 'Fleet2Control': 'prevent_yellow_face', │ │
│ │ │ │ │ ... +2 │ │
│ │ │ │ }, │ │
│ │ │ │ 'EnemyPriority': { │ │
│ │ │ │ │ 'EnemyScaleBalanceWeight': │ │
│ │ 'default_mode' │ │
│ │ │ │ } │ │
│ │ │ }, │ │
│ │ │ 'EventGeneral': { │ │
│ │ │ │ 'EventGeneral': { │ │
│ │ │ │ │ 'PtLimit': 51250, │ │
│ │ │ │ │ 'TimeLimit': datetime.datetime(2020, 1, │ │
│ │ 1, 0, 0) │ │
│ │ │ │ }, │ │
│ │ │ │ 'TaskBalancer': { │ │
│ │ │ │ │ 'Enable': True, │ │
│ │ │ │ │ 'CoinLimit': 10000, │ │
│ │ │ │ │ 'TaskCall': 'Main' │ │
│ │ │ │ } │ │
│ │ │ }, │ │
│ │ │ 'Event': { │ │
│ │ │ │ 'Scheduler': { │ │
│ │ │ │ │ 'Enable': False, │ │
│ │ │ │ │ 'NextRun': datetime.datetime(2022, 10, │ │
│ │ 6, 0, 51, 40), │ │
│ │ │ │ │ 'Command': 'Event', │ │
│ │ │ │ │ 'SuccessInterval': 0, │ │
│ │ │ │ │ 'FailureInterval': 120, │ │
│ │ │ │ │ 'ServerUpdate': '00:00' │ │
│ │ │ │ }, │ │
│ │ │ │ 'Campaign': { │ │
│ │ │ │ │ 'Name': 'D3', │ │
│ │ │ │ │ 'Event': 'event_20220915_cn', │ │
│ │ │ │ │ 'Mode': 'normal', │ │
│ │ │ │ │ 'UseClearMode': True, │ │
│ │ │ │ │ 'UseFleetLock': True, │ │
│ │ │ │ │ 'UseAutoSearch': True, │ │
│ │ │ │ │ 'Use2xBook': False, │ │
│ │ │ │ │ 'AmbushEvade': True │ │
│ │ │ │ }, │ │
│ │ │ │ 'StopCondition': { │ │
│ │ │ │ │ 'RunCount': 0, │ │
│ │ │ │ │ 'OilLimit': 13500, │ │
│ │ │ │ │ 'MapAchievement': 'non_stop', │ │
│ │ │ │ │ 'StageIncrease': False, │ │
│ │ │ │ │ 'GetNewShip': False, │ │
│ │ │ │ │ 'ReachLevel': 0 │ │
│ │ │ │ }, │ │
│ │ │ │ 'Fleet': { │ │
│ │ │ │ │ 'Fleet1': 1, │ │
│ │ │ │ │ 'Fleet1Formation': 'double_line', │ │
│ │ │ │ │ 'Fleet1Mode': 'combat_auto', │ │
│ │ │ │ │ 'Fleet1Step': 3, │ │
│ │ │ │ │ 'Fleet2': 2, │ │
│ │ │ │ │ 'Fleet2Formation': 'double_line', │ │
│ │ │ │ │ 'Fleet2Mode': 'combat_auto', │ │
│ │ │ │ │ 'Fleet2Step': 2, │ │
│ │ │ │ │ 'FleetOrder': │ │
│ │ 'fleet1_standby_fleet2_all' │ │
│ │ │ │ }, │ │
│ │ │ │ 'Submarine': { │ │
│ │ │ │ │ 'Fleet': 0, │ │
│ │ │ │ │ 'Mode': 'do_not_use', │ │
│ │ │ │ │ 'AutoSearchMode': 'sub_standby', │ │
│ │ │ │ │ 'DistanceToBoss': '2_grid_to_boss' │ │
│ │ │ │ }, │ │
│ │ │ │ 'Emotion': { │ │
│ │ │ │ │ 'CalculateEmotion': True, │ │
│ │ │ │ │ 'IgnoreLowEmotionWarn': False, │ │
│ │ │ │ │ 'Fleet1Value': 119, │ │
│ │ │ │ │ 'Fleet1Record': datetime.datetime(2022, │ │
│ │ 10, 5, 15, 52, 52), │ │
│ │ │ │ │ 'Fleet1Control': 'prevent_yellow_face', │ │
│ │ │ │ │ 'Fleet1Recover': 'not_in_dormitory', │ │
│ │ │ │ │ 'Fleet1Oath': False, │ │
│ │ │ │ │ 'Fleet2Value': 136, │ │
│ │ │ │ │ 'Fleet2Record': datetime.datetime(2022, │ │
│ │ 10, 5, 15, 52, 52), │ │
│ │ │ │ │ 'Fleet2Control': 'keep_exp_bonus', │ │
│ │ │ │ │ ... +2 │ │
│ │ │ │ }, │ │
│ │ │ │ 'HpControl': { │ │
│ │ │ │ │ 'UseHpBalance': False, │ │
│ │ │ │ │ 'UseEmergencyRepair': False, │ │
│ │ │ │ │ 'UseLowHpRetreat': False, │ │
│ │ │ │ │ 'HpBalanceThreshold': 0.2, │ │
│ │ │ │ │ 'HpBalanceWeight': '1000, 1000, 1000', │ │
│ │ │ │ │ 'RepairUseSingleThreshold': 0.3, │ │
│ │ │ │ │ 'RepairUseMultiThreshold': 0.6, │ │
│ │ │ │ │ 'LowHpRetreatThreshold': 0.3 │ │
│ │ │ │ }, │ │
│ │ │ │ 'EnemyPriority': { │ │
│ │ │ │ │ 'EnemyScaleBalanceWeight': │ │
│ │ 'default_mode' │ │
│ │ │ │ } │ │
│ │ │ }, │ │
│ │ │ 'Event2': { │ │
│ │ │ │ 'Scheduler': { │ │
│ │ │ │ │ 'Enable': False, │ │
│ │ │ │ │ 'NextRun': datetime.datetime(2020, 1, 1, │ │
│ │ 0, 0), │ │
│ │ │ │ │ 'Command': 'Event2', │ │
│ │ │ │ │ 'SuccessInterval': 0, │ │
│ │ │ │ │ 'FailureInterval': 120, │ │
│ │ │ │ │ 'ServerUpdate': '00:00' │ │
│ │ │ │ }, │ │
│ │ │ │ 'Campaign': { │ │
│ │ │ │ │ 'Name': '12-4', │ │
│ │ │ │ │ 'Event': 'event_20220915_cn', │ │
│ │ │ │ │ 'Mode': 'normal', │ │
│ │ │ │ │ 'UseClearMode': True, │ │
│ │ │ │ │ 'UseFleetLock': True, │ │
│ │ │ │ │ 'UseAutoSearch': True, │ │
│ │ │ │ │ 'Use2xBook': False, │ │
│ │ │ │ │ 'AmbushEvade': True │ │
│ │ │ │ }, │ │
│ │ │ │ 'StopCondition': { │ │
│ │ │ │ │ 'RunCount': 0, │ │
│ │ │ │ │ 'OilLimit': 1000, │ │
│ │ │ │ │ 'MapAchievement': 'non_stop', │ │
│ │ │ │ │ 'StageIncrease': False, │ │
│ │ │ │ │ 'GetNewShip': False, │ │
│ │ │ │ │ 'ReachLevel': 0 │ │
│ │ │ │ }, │ │
│ │ │ │ 'Fleet': { │ │
│ │ │ │ │ 'Fleet1': 1, │ │
│ │ │ │ │ 'Fleet1Formation': 'double_line', │ │
│ │ │ │ │ 'Fleet1Mode': 'combat_auto', │ │
│ │ │ │ │ 'Fleet1Step': 3, │ │
│ │ │ │ │ 'Fleet2': 2, │ │
│ │ │ │ │ 'Fleet2Formation': 'double_line', │ │
│ │ │ │ │ 'Fleet2Mode': 'combat_auto', │ │
│ │ │ │ │ 'Fleet2Step': 2, │ │
│ │ │ │ │ 'FleetOrder': 'fleet1_mob_fleet2_boss' │ │
│ │ │ │ }, │ │
│ │ │ │ 'Submarine': { │ │
│ │ │ │ │ 'Fleet': 0, │ │
│ │ │ │ │ 'Mode': 'do_not_use', │ │
│ │ │ │ │ 'AutoSearchMode': 'sub_standby', │ │
│ │ │ │ │ 'DistanceToBoss': '2_grid_to_boss' │ │
│ │ │ │ }, │ │
│ │ │ │ 'Emotion': { │ │
│ │ │ │ │ 'CalculateEmotion': True, │ │
│ │ │ │ │ 'IgnoreLowEmotionWarn': False, │ │
│ │ │ │ │ 'Fleet1Value': 119, │ │
│ │ │ │ │ 'Fleet1Record': datetime.datetime(2020, │ │
│ │ 1, 1, 0, 0), │ │
│ │ │ │ │ 'Fleet1Control': 'prevent_yellow_face', │ │
│ │ │ │ │ 'Fleet1Recover': 'not_in_dormitory', │ │
│ │ │ │ │ 'Fleet1Oath': False, │ │
│ │ │ │ │ 'Fleet2Value': 119, │ │
│ │ │ │ │ 'Fleet2Record': datetime.datetime(2020, │ │
│ │ 1, 1, 0, 0), │ │
│ │ │ │ │ 'Fleet2Control': 'prevent_yellow_face', │ │
│ │ │ │ │ ... +2 │ │
│ │ │ │ }, │ │
│ │ │ │ 'HpControl': { │ │
│ │ │ │ │ 'UseHpBalance': False, │ │
│ │ │ │ │ 'UseEmergencyRepair': False, │ │
│ │ │ │ │ 'UseLowHpRetreat': False, │ │
│ │ │ │ │ 'HpBalanceThreshold': 0.2, │ │
│ │ │ │ │ 'HpBalanceWeight': '1000, 1000, 1000', │ │
│ │ │ │ │ 'RepairUseSingleThreshold': 0.3, │ │
│ │ │ │ │ 'RepairUseMultiThreshold': 0.6, │ │
│ │ │ │ │ 'LowHpRetreatThreshold': 0.3 │ │
│ │ │ │ }, │ │
│ │ │ │ 'EnemyPriority': { │ │
│ │ │ │ │ 'EnemyScaleBalanceWeight': │ │
│ │ 'default_mode' │ │
│ │ │ │ } │ │
│ │ │ }, │ │
│ │ │ ... +40 │ │
│ │ } │ │
│ │ mod_name = 'alas' │ │
│ ╰────────────────────────────────────────────────────────────────────╯ │
│ │
│ F:\leidian\AlasApp_0.3.7\module\config\utils.py:136 in write_file │
│ │
│ 134 │ │ │ with atomic_write(file, overwrite=True, encoding='ut │
│ 135 │ │ │ │ s = json.dumps(data, indent=2, ensure_ascii=Fals │
│ default=str) │
│ ❱ 136 │ │ │ │ f.write(s) │
│ 137 │ │ else: │
│ 138 │ │ │ print(f'Unsupported config file extension: {ext}') │
│ │
│ ╭────────────────────────────── locals ──────────────────────────────╮ │
│ │ _ = './config\alas' │ │
│ │ data = { │ │
│ │ │ 'Alas': { │ │
│ │ │ │ 'Emulator': { │ │
│ │ │ │ │ 'Serial': 'emulator-5554', │ │
│ │ │ │ │ 'PackageName': 'com.bilibili.azurlane', │ │
│ │ │ │ │ 'ServerName': 'cn_android-11', │ │
│ │ │ │ │ 'ScreenshotMethod': 'aScreenCap', │ │
│ │ │ │ │ 'ControlMethod': 'minitouch', │ │
│ │ │ │ │ 'ScreenshotDedithering': False, │ │
│ │ │ │ │ 'AdbRestart': True │ │
│ │ │ │ }, │ │
│ │ │ │ 'RestartEmulator': { │ │
│ │ │ │ │ 'Enable': False, │ │
│ │ │ │ │ 'EmulatorType': 'bluestacks_5' │ │
│ │ │ │ }, │ │
│ │ │ │ 'Error': { │ │
│ │ │ │ │ 'HandleError': True, │ │
│ │ │ │ │ 'SaveError': True, │ │
│ │ │ │ │ 'OnePushConfig': 'provider: null', │ │
│ │ │ │ │ 'ScreenshotLength': 1 │ │
│ │ │ │ }, │ │
│ │ │ │ 'Optimization': { │ │
│ │ │ │ │ 'ScreenshotInterval': 0.3, │ │
│ │ │ │ │ 'CombatScreenshotInterval': 1.0, │ │
│ │ │ │ │ 'TaskHoardingDuration': 0, │ │
│ │ │ │ │ 'WhenTaskQueueEmpty': 'goto_main' │ │
│ │ │ │ }, │ │
│ │ │ │ 'DropRecord': { │ │
│ │ │ │ │ 'SaveFolder': './screenshots', │ │
│ │ │ │ │ 'AzurStatsID': │ │
│ │ 'rv7yn410fb9dpc6q2t8hgxwmij35soul', │ │
│ │ │ │ │ 'API': 'default', │ │
│ │ │ │ │ 'ResearchRecord': 'save_and_upload', │ │
│ │ │ │ │ 'CommissionRecord': 'save', │ │
│ │ │ │ │ 'CombatRecord': 'do_not', │ │
│ │ │ │ │ 'OpsiRecord': 'do_not', │ │
│ │ │ │ │ 'MeowfficerBuy': 'do_not', │ │
│ │ │ │ │ 'MeowfficerTalent': 'save' │ │
│ │ │ │ } │ │
│ │ │ }, │ │
│ │ │ 'General': { │ │
│ │ │ │ 'Retirement': { │ │
│ │ │ │ │ 'Enable': True, │ │
│ │ │ │ │ 'RetireMode': 'one_click_retire', │ │
│ │ │ │ │ 'RetireAmount': 'retire_all', │ │
│ │ │ │ │ 'EnhanceFavourite': False, │ │
│ │ │ │ │ 'EnhanceFilter': None, │ │
│ │ │ │ │ 'EnhanceCheckPerCategory': 2, │ │
│ │ │ │ │ 'OldRetireN': True, │ │
│ │ │ │ │ 'OldRetireR': True, │ │
│ │ │ │ │ 'OldRetireSR': False, │ │
│ │ │ │ │ 'OldRetireSSR': False │ │
│ │ │ │ } │ │
│ │ │ }, │ │
│ │ │ 'Restart': { │ │
│ │ │ │ 'Scheduler': { │ │
│ │ │ │ │ 'Enable': True, │ │
│ │ │ │ │ 'NextRun': datetime.datetime(2022, 11, 5, 0, │ │
│ │ 0), │ │
│ │ │ │ │ 'Command': 'Restart', │ │
│ │ │ │ │ 'SuccessInterval': 0, │ │
│ │ │ │ │ 'FailureInterval': 0, │ │
│ │ │ │ │ 'ServerUpdate': '00:00' │ │
│ │ │ │ } │ │
│ │ │ }, │ │
│ │ │ 'Main': { │ │
│ │ │ │ 'Scheduler': { │ │
│ │ │ │ │ 'Enable': True, │ │
│ │ │ │ │ 'NextRun': datetime.datetime(2022, 11, 4, 10, │ │
│ │ 36), │ │
│ │ │ │ │ 'Command': 'Main', │ │
│ │ │ │ │ 'SuccessInterval': 0, │ │
│ │ │ │ │ 'FailureInterval': 120, │ │
│ │ │ │ │ 'ServerUpdate': '00:00' │ │
│ │ │ │ }, │ │
│ │ │ │ 'Campaign': { │ │
│ │ │ │ │ 'Name': '13-4', │ │
│ │ │ │ │ 'Event': 'campaign_main', │ │
│ │ │ │ │ 'Mode': 'normal', │ │
│ │ │ │ │ 'UseClearMode': True, │ │
│ │ │ │ │ 'UseFleetLock': True, │ │
│ │ │ │ │ 'UseAutoSearch': True, │ │
│ │ │ │ │ 'Use2xBook': False, │ │
│ │ │ │ │ 'AmbushEvade': True │ │
│ │ │ │ }, │ │
│ │ │ │ 'StopCondition': { │ │
│ │ │ │ │ 'RunCount': 0, │ │
│ │ │ │ │ 'OilLimit': 13300, │ │
│ │ │ │ │ 'MapAchievement': 'non_stop', │ │
│ │ │ │ │ 'StageIncrease': False, │ │
│ │ │ │ │ 'GetNewShip': False, │ │
│ │ │ │ │ 'ReachLevel': 0 │ │
│ │ │ │ }, │ │
│ │ │ │ 'Fleet': { │ │
│ │ │ │ │ 'Fleet1': 1, │ │
│ │ │ │ │ 'Fleet1Formation': 'line_ahead', │ │
│ │ │ │ │ 'Fleet1Mode': 'combat_auto', │ │
│ │ │ │ │ 'Fleet1Step': 3, │ │
│ │ │ │ │ 'Fleet2': 6, │ │
│ │ │ │ │ 'Fleet2Formation': 'line_ahead', │ │
│ │ │ │ │ 'Fleet2Mode': 'combat_auto', │ │
│ │ │ │ │ 'Fleet2Step': 2, │ │
│ │ │ │ │ 'FleetOrder': 'fleet1_boss_fleet2_mob' │ │
│ │ │ │ }, │ │
│ │ │ │ 'Submarine': { │ │
│ │ │ │ │ 'Fleet': 1, │ │
│ │ │ │ │ 'Mode': 'do_not_use', │ │
│ │ │ │ │ 'AutoSearchMode': 'sub_standby', │ │
│ │ │ │ │ 'DistanceToBoss': '2_grid_to_boss' │ │
│ │ │ │ }, │ │
│ │ │ │ 'Emotion': { │ │
│ │ │ │ │ 'CalculateEmotion': True, │ │
│ │ │ │ │ 'IgnoreLowEmotionWarn': False, │ │
│ │ │ │ │ 'Fleet1Value': 119, │ │
│ │ │ │ │ 'Fleet1Record': datetime.datetime(2022, 11, │ │
│ │ 4, 10, 36, 7), │ │
│ │ │ │ │ 'Fleet1Control': 'prevent_yellow_face', │ │
│ │ │ │ │ 'Fleet1Recover': 'not_in_dormitory', │ │
│ │ │ │ │ 'Fleet1Oath': False, │ │
│ │ │ │ │ 'Fleet2Value': 137, │ │
│ │ │ │ │ 'Fleet2Record': datetime.datetime(2022, 11, │ │
│ │ 4, 10, 36, 7), │ │
│ │ │ │ │ 'Fleet2Control': 'keep_exp_bonus', │ │
│ │ │ │ │ ... +2 │ │
│ │ │ │ }, │ │
│ │ │ │ 'HpControl': { │ │
│ │ │ │ │ 'UseHpBalance': False, │ │
│ │ │ │ │ 'UseEmergencyRepair': False, │ │
│ │ │ │ │ 'UseLowHpRetreat': False, │ │
│ │ │ │ │ 'HpBalanceThreshold': 0.2, │ │
│ │ │ │ │ 'HpBalanceWeight': '1000, 1000, 1000', │ │
│ │ │ │ │ 'RepairUseSingleThreshold': 0.3, │ │
│ │ │ │ │ 'RepairUseMultiThreshold': 0.6, │ │
│ │ │ │ │ 'LowHpRetreatThreshold': 0.3 │ │
│ │ │ │ }, │ │
│ │ │ │ 'EnemyPriority': { │ │
│ │ │ │ │ 'EnemyScaleBalanceWeight': 'default_mode' │ │
│ │ │ │ } │ │
│ │ │ }, │ │
│ │ │ 'Main2': { │ │
│ │ │ │ 'Scheduler': { │ │
│ │ │ │ │ 'Enable': False, │ │
│ │ │ │ │ 'NextRun': datetime.datetime(2020, 1, 1, 0, │ │
│ │ 0), │ │
│ │ │ │ │ 'Command': 'Main2', │ │
│ │ │ │ │ 'SuccessInterval': 0, │ │
│ │ │ │ │ 'FailureInterval': 120, │ │
│ │ │ │ │ 'ServerUpdate': '00:00' │ │
│ │ │ │ }, │ │
│ │ │ │ 'Campaign': { │ │
│ │ │ │ │ 'Name': '1-1', │ │
│ │ │ │ │ 'Event': 'campaign_main', │ │
│ │ │ │ │ 'Mode': 'normal', │ │
│ │ │ │ │ 'UseClearMode': False, │ │
│ │ │ │ │ 'UseFleetLock': True, │ │
│ │ │ │ │ 'UseAutoSearch': False, │ │
│ │ │ │ │ 'Use2xBook': False, │ │
│ │ │ │ │ 'AmbushEvade': True │ │
│ │ │ │ }, │ │
│ │ │ │ 'StopCondition': { │ │
│ │ │ │ │ 'RunCount': 16, │ │
│ │ │ │ │ 'OilLimit': 1000, │ │
│ │ │ │ │ 'MapAchievement': 'map_3_stars', │ │
│ │ │ │ │ 'StageIncrease': False, │ │
│ │ │ │ │ 'GetNewShip': False, │ │
│ │ │ │ │ 'ReachLevel': 0 │ │
│ │ │ │ }, │ │
│ │ │ │ 'Fleet': { │ │
│ │ │ │ │ 'Fleet1': 1, │ │
│ │ │ │ │ 'Fleet1Formation': 'double_line', │ │
│ │ │ │ │ 'Fleet1Mode': 'combat_auto', │ │
│ │ │ │ │ 'Fleet1Step': 3, │ │
│ │ │ │ │ 'Fleet2': 2, │ │
│ │ │ │ │ 'Fleet2Formation': 'double_line', │ │
│ │ │ │ │ 'Fleet2Mode': 'combat_auto', │ │
│ │ │ │ │ 'Fleet2Step': 2, │ │
│ │ │ │ │ 'FleetOrder': 'fleet1_mob_fleet2_boss' │ │
│ │ │ │ }, │ │
│ │ │ │ 'Submarine': { │ │
│ │ │ │ │ 'Fleet': 0, │ │
│ │ │ │ │ 'Mode': 'do_not_use', │ │
│ │ │ │ │ 'AutoSearchMode': 'sub_standby', │ │
│ │ │ │ │ 'DistanceToBoss': '2_grid_to_boss' │ │
│ │ │ │ }, │ │
│ │ │ │ 'Emotion': { │ │
│ │ │ │ │ 'CalculateEmotion': False, │ │
│ │ │ │ │ 'IgnoreLowEmotionWarn': False, │ │
│ │ │ │ │ 'Fleet1Value': 119, │ │
│ │ │ │ │ 'Fleet1Record': datetime.datetime(2020, 1, 1, │ │
│ │ 0, 0), │ │
│ │ │ │ │ 'Fleet1Control': 'prevent_yellow_face', │ │
│ │ │ │ │ 'Fleet1Recover': 'not_in_dormitory', │ │
│ │ │ │ │ 'Fleet1Oath': False, │ │
│ │ │ │ │ 'Fleet2Value': 119, │ │
│ │ │ │ │ 'Fleet2Record': datetime.datetime(2020, 1, 1, │ │
│ │ 0, 0), │ │
│ │ │ │ │ 'Fleet2Control': 'prevent_yellow_face', │ │
│ │ │ │ │ ... +2 │ │
│ │ │ │ }, │ │
│ │ │ │ 'HpControl': { │ │
│ │ │ │ │ 'UseHpBalance': False, │ │
│ │ │ │ │ 'UseEmergencyRepair': False, │ │
│ │ │ │ │ 'UseLowHpRetreat': False, │ │
│ │ │ │ │ 'HpBalanceThreshold': 0.2, │ │
│ │ │ │ │ 'HpBalanceWeight': '1000, 1000, 1000', │ │
│ │ │ │ │ 'RepairUseSingleThreshold': 0.3, │ │
│ │ │ │ │ 'RepairUseMultiThreshold': 0.6, │ │
│ │ │ │ │ 'LowHpRetreatThreshold': 0.3 │ │
│ │ │ │ }, │ │
│ │ │ │ 'EnemyPriority': { │ │
│ │ │ │ │ 'EnemyScaleBalanceWeight': 'S3_enemy_first' │ │
│ │ │ │ } │ │
│ │ │ }, │ │
│ │ │ 'Main3': { │ │
│ │ │ │ 'Scheduler': { │ │
│ │ │ │ │ 'Enable': False, │ │
│ │ │ │ │ 'NextRun': datetime.datetime(2020, 1, 1, 0, │ │
│ │ 0), │ │
│ │ │ │ │ 'Command': 'Main3', │ │
│ │ │ │ │ 'SuccessInterval': 0, │ │
│ │ │ │ │ 'FailureInterval': 120, │ │
│ │ │ │ │ 'ServerUpdate': '00:00' │ │
│ │ │ │ }, │ │
│ │ │ │ 'Campaign': { │ │
│ │ │ │ │ 'Name': '12-4', │ │
│ │ │ │ │ 'Event': 'campaign_main', │ │
│ │ │ │ │ 'Mode': 'normal', │ │
│ │ │ │ │ 'UseClearMode': True, │ │
│ │ │ │ │ 'UseFleetLock': True, │ │
│ │ │ │ │ 'UseAutoSearch': True, │ │
│ │ │ │ │ 'Use2xBook': False, │ │
│ │ │ │ │ 'AmbushEvade': True │ │
│ │ │ │ }, │ │
│ │ │ │ 'StopCondition': { │ │
│ │ │ │ │ 'RunCount': 0, │ │
│ │ │ │ │ 'OilLimit': 1000, │ │
│ │ │ │ │ 'MapAchievement': 'non_stop', │ │
│ │ │ │ │ 'StageIncrease': False, │ │
│ │ │ │ │ 'GetNewShip': False, │ │
│ │ │ │ │ 'ReachLevel': 0 │ │
│ │ │ │ }, │ │
│ │ │ │ 'Fleet': { │ │
│ │ │ │ │ 'Fleet1': 1, │ │
│ │ │ │ │ 'Fleet1Formation': 'double_line', │ │
│ │ │ │ │ 'Fleet1Mode': 'combat_auto', │ │
│ │ │ │ │ 'Fleet1Step': 3, │ │
│ │ │ │ │ 'Fleet2': 2, │ │
│ │ │ │ │ 'Fleet2Formation': 'double_line', │ │
│ │ │ │ │ 'Fleet2Mode': 'combat_auto', │ │
│ │ │ │ │ 'Fleet2Step': 2, │ │
│ │ │ │ │ 'FleetOrder': 'fleet1_mob_fleet2_boss' │ │
│ │ │ │ }, │ │
│ │ │ │ 'Submarine': { │ │
│ │ │ │ │ 'Fleet': 0, │ │
│ │ │ │ │ 'Mode': 'do_not_use', │ │
│ │ │ │ │ 'AutoSearchMode': 'sub_standby', │ │
│ │ │ │ │ 'DistanceToBoss': '2_grid_to_boss' │ │
│ │ │ │ }, │ │
│ │ │ │ 'Emotion': { │ │
│ │ │ │ │ 'CalculateEmotion': True, │ │
│ │ │ │ │ 'IgnoreLowEmotionWarn': False, │ │
│ │ │ │ │ 'Fleet1Value': 119, │ │
│ │ │ │ │ 'Fleet1Record': datetime.datetime(2020, 1, 1, │ │
│ │ 0, 0), │ │
│ │ │ │ │ 'Fleet1Control': 'prevent_yellow_face', │ │
│ │ │ │ │ 'Fleet1Recover': 'not_in_dormitory', │ │
│ │ │ │ │ 'Fleet1Oath': False, │ │
│ │ │ │ │ 'Fleet2Value': 119, │ │
│ │ │ │ │ 'Fleet2Record': datetime.datetime(2020, 1, 1, │ │
│ │ 0, 0), │ │
│ │ │ │ │ 'Fleet2Control': 'prevent_yellow_face', │ │
│ │ │ │ │ ... +2 │ │
│ │ │ │ }, │ │
│ │ │ │ 'HpControl': { │ │
│ │ │ │ │ 'UseHpBalance': False, │ │
│ │ │ │ │ 'UseEmergencyRepair': False, │ │
│ │ │ │ │ 'UseLowHpRetreat': False, │ │
│ │ │ │ │ 'HpBalanceThreshold': 0.2, │ │
│ │ │ │ │ 'HpBalanceWeight': '1000, 1000, 1000', │ │
│ │ │ │ │ 'RepairUseSingleThreshold': 0.3, │ │
│ │ │ │ │ 'RepairUseMultiThreshold': 0.6, │ │
│ │ │ │ │ 'LowHpRetreatThreshold': 0.3 │ │
│ │ │ │ }, │ │
│ │ │ │ 'EnemyPriority': { │ │
│ │ │ │ │ 'EnemyScaleBalanceWeight': 'default_mode' │ │
│ │ │ │ } │ │
│ │ │ }, │ │
│ │ │ 'GemsFarming': { │ │
│ │ │ │ 'Scheduler': { │ │
│ │ │ │ │ 'Enable': False, │ │
│ │ │ │ │ 'NextRun': datetime.datetime(2022, 11, 3, 21, │ │
│ │ 24), │ │
│ │ │ │ │ 'Command': 'GemsFarming', │ │
│ │ │ │ │ 'SuccessInterval': 0, │ │
│ │ │ │ │ 'FailureInterval': 120, │ │
│ │ │ │ │ 'ServerUpdate': '00:00' │ │
│ │ │ │ }, │ │
│ │ │ │ 'GemsFarming': { │ │
│ │ │ │ │ 'FlagshipChange': True, │ │
│ │ │ │ │ 'FlagshipEquipChange': False, │ │
│ │ │ │ │ 'VanguardChange': False, │ │
│ │ │ │ │ 'VanguardEquipChange': False, │ │
│ │ │ │ │ 'LowEmotionRetreat': True, │ │
│ │ │ │ │ 'CommonCV': 'any', │ │
│ │ │ │ │ 'CommissionLimit': True │ │
│ │ │ │ }, │ │
│ │ │ │ 'Campaign': { │ │
│ │ │ │ │ 'Name': '12-4', │ │
│ │ │ │ │ 'Event': 'campaign_main', │ │
│ │ │ │ │ 'Mode': 'normal', │ │
│ │ │ │ │ 'UseClearMode': True, │ │
│ │ │ │ │ 'UseFleetLock': True, │ │
│ │ │ │ │ 'UseAutoSearch': True, │ │
│ │ │ │ │ 'Use2xBook': False, │ │
│ │ │ │ │ 'AmbushEvade': True │ │
│ │ │ │ }, │ │
│ │ │ │ 'StopCondition': { │ │
│ │ │ │ │ 'RunCount': 0, │ │
│ │ │ │ │ 'OilLimit': 1000, │ │
│ │ │ │ │ 'MapAchievement': 'non_stop', │ │
│ │ │ │ │ 'StageIncrease': False, │ │
│ │ │ │ │ 'GetNewShip': False, │ │
│ │ │ │ │ 'ReachLevel': 0 │ │
│ │ │ │ }, │ │
│ │ │ │ 'Fleet': { │ │
│ │ │ │ │ 'Fleet1': 1, │ │
│ │ │ │ │ 'Fleet1Formation': 'double_line', │ │
│ │ │ │ │ 'Fleet1Mode': 'combat_auto', │ │
│ │ │ │ │ 'Fleet1Step': 3, │ │
│ │ │ │ │ 'Fleet2': 2, │ │
│ │ │ │ │ 'Fleet2Formation': 'double_line', │ │
│ │ │ │ │ 'Fleet2Mode': 'combat_auto', │ │
│ │ │ │ │ 'Fleet2Step': 2, │ │
│ │ │ │ │ 'FleetOrder': 'fleet1_mob_fleet2_boss' │ │
│ │ │ │ }, │ │
│ │ │ │ 'Submarine': { │ │
│ │ │ │ │ 'Fleet': 0, │ │
│ │ │ │ │ 'Mode': 'do_not_use', │ │
│ │ │ │ │ 'AutoSearchMode': 'sub_standby', │ │
│ │ │ │ │ 'DistanceToBoss': '2_grid_to_boss' │ │
│ │ │ │ }, │ │
│ │ │ │ 'Emotion': { │ │
│ │ │ │ │ 'CalculateEmotion': True, │ │
│ │ │ │ │ 'IgnoreLowEmotionWarn': False, │ │
│ │ │ │ │ 'Fleet1Value': 119, │ │
│ │ │ │ │ 'Fleet1Record': datetime.datetime(2020, 1, 1, │ │
│ │ 0, 0), │ │
│ │ │ │ │ 'Fleet1Control': 'prevent_yellow_face', │ │
│ │ │ │ │ 'Fleet1Recover': 'not_in_dormitory', │ │
│ │ │ │ │ 'Fleet1Oath': False, │ │
│ │ │ │ │ 'Fleet2Value': 119, │ │
│ │ │ │ │ 'Fleet2Record': datetime.datetime(2020, 1, 1, │ │
│ │ 0, 0), │ │
│ │ │ │ │ 'Fleet2Control': 'prevent_yellow_face', │ │
│ │ │ │ │ ... +2 │ │
│ │ │ │ }, │ │
│ │ │ │ 'EnemyPriority': { │ │
│ │ │ │ │ 'EnemyScaleBalanceWeight': 'default_mode' │ │
│ │ │ │ } │ │
│ │ │ }, │ │
│ │ │ 'EventGeneral': { │ │
│ │ │ │ 'EventGeneral': { │ │
│ │ │ │ │ 'PtLimit': 51250, │ │
│ │ │ │ │ 'TimeLimit': datetime.datetime(2020, 1, 1, 0, │ │
│ │ 0) │ │
│ │ │ │ }, │ │
│ │ │ │ 'TaskBalancer': { │ │
│ │ │ │ │ 'Enable': True, │ │
│ │ │ │ │ 'CoinLimit': 10000, │ │
│ │ │ │ │ 'TaskCall': 'Main' │ │
│ │ │ │ } │ │
│ │ │ }, │ │
│ │ │ 'Event': { │ │
│ │ │ │ 'Scheduler': { │ │
│ │ │ │ │ 'Enable': False, │ │
│ │ │ │ │ 'NextRun': datetime.datetime(2022, 10, 6, 0, │ │
│ │ 51, 40), │ │
│ │ │ │ │ 'Command': 'Event', │ │
│ │ │ │ │ 'SuccessInterval': 0, │ │
│ │ │ │ │ 'FailureInterval': 120, │ │
│ │ │ │ │ 'ServerUpdate': '00:00' │ │
│ │ │ │ }, │ │
│ │ │ │ 'Campaign': { │ │
│ │ │ │ │ 'Name': 'D3', │ │
│ │ │ │ │ 'Event': 'event_20220915_cn', │ │
│ │ │ │ │ 'Mode': 'normal', │ │
│ │ │ │ │ 'UseClearMode': True, │ │
│ │ │ │ │ 'UseFleetLock': True, │ │
│ │ │ │ │ 'UseAutoSearch': True, │ │
│ │ │ │ │ 'Use2xBook': False, │ │
│ │ │ │ │ 'AmbushEvade': True │ │
│ │ │ │ }, │ │
│ │ │ │ 'StopCondition': { │ │
│ │ │ │ │ 'RunCount': 0, │ │
│ │ │ │ │ 'OilLimit': 13500, │ │
│ │ │ │ │ 'MapAchievement': 'non_stop', │ │
│ │ │ │ │ 'StageIncrease': False, │ │
│ │ │ │ │ 'GetNewShip': False, │ │
│ │ │ │ │ 'ReachLevel': 0 │ │
│ │ │ │ }, │ │
│ │ │ │ 'Fleet': { │ │
│ │ │ │ │ 'Fleet1': 1, │ │
│ │ │ │ │ 'Fleet1Formation': 'double_line', │ │
│ │ │ │ │ 'Fleet1Mode': 'combat_auto', │ │
│ │ │ │ │ 'Fleet1Step': 3, │ │
│ │ │ │ │ 'Fleet2': 2, │ │
│ │ │ │ │ 'Fleet2Formation': 'double_line', │ │
│ │ │ │ │ 'Fleet2Mode': 'combat_auto', │ │
│ │ │ │ │ 'Fleet2Step': 2, │ │
│ │ │ │ │ 'FleetOrder': 'fleet1_standby_fleet2_all' │ │
│ │ │ │ }, │ │
│ │ │ │ 'Submarine': { │ │
│ │ │ │ │ 'Fleet': 0, │ │
│ │ │ │ │ 'Mode': 'do_not_use', │ │
│ │ │ │ │ 'AutoSearchMode': 'sub_standby', │ │
│ │ │ │ │ 'DistanceToBoss': '2_grid_to_boss' │ │
│ │ │ │ }, │ │
│ │ │ │ 'Emotion': { │ │
│ │ │ │ │ 'CalculateEmotion': True, │ │
│ │ │ │ │ 'IgnoreLowEmotionWarn': False, │ │
│ │ │ │ │ 'Fleet1Value': 119, │ │
│ │ │ │ │ 'Fleet1Record': datetime.datetime(2022, 10, │ │
│ │ 5, 15, 52, 52), │ │
│ │ │ │ │ 'Fleet1Control': 'prevent_yellow_face', │ │
│ │ │ │ │ 'Fleet1Recover': 'not_in_dormitory', │ │
│ │ │ │ │ 'Fleet1Oath': False, │ │
│ │ │ │ │ 'Fleet2Value': 136, │ │
│ │ │ │ │ 'Fleet2Record': datetime.datetime(2022, 10, │ │
│ │ 5, 15, 52, 52), │ │
│ │ │ │ │ 'Fleet2Control': 'keep_exp_bonus', │ │
│ │ │ │ │ ... +2 │ │
│ │ │ │ }, │ │
│ │ │ │ 'HpControl': { │ │
│ │ │ │ │ 'UseHpBalance': False, │ │
│ │ │ │ │ 'UseEmergencyRepair': False, │ │
│ │ │ │ │ 'UseLowHpRetreat': False, │ │
│ │ │ │ │ 'HpBalanceThreshold': 0.2, │ │
│ │ │ │ │ 'HpBalanceWeight': '1000, 1000, 1000', │ │
│ │ │ │ │ 'RepairUseSingleThreshold': 0.3, │ │
│ │ │ │ │ 'RepairUseMultiThreshold': 0.6, │ │
│ │ │ │ │ 'LowHpRetreatThreshold': 0.3 │ │
│ │ │ │ }, │ │
│ │ │ │ 'EnemyPriority': { │ │
│ │ │ │ │ 'EnemyScaleBalanceWeight': 'default_mode' │ │
│ │ │ │ } │ │
│ │ │ }, │ │
│ │ │ 'Event2': { │ │
│ │ │ │ 'Scheduler': { │ │
│ │ │ │ │ 'Enable': False, │ │
│ │ │ │ │ 'NextRun': datetime.datetime(2020, 1, 1, 0, │ │
│ │ 0), │ │
│ │ │ │ │ 'Command': 'Event2', │ │
│ │ │ │ │ 'SuccessInterval': 0, │ │
│ │ │ │ │ 'FailureInterval': 120, │ │
│ │ │ │ │ 'ServerUpdate': '00:00' │ │
│ │ │ │ }, │ │
│ │ │ │ 'Campaign': { │ │
│ │ │ │ │ 'Name': '12-4', │ │
│ │ │ │ │ 'Event': 'event_20220915_cn', │ │
│ │ │ │ │ 'Mode': 'normal', │ │
│ │ │ │ │ 'UseClearMode': True, │ │
│ │ │ │ │ 'UseFleetLock': True, │ │
│ │ │ │ │ 'UseAutoSearch': True, │ │
│ │ │ │ │ 'Use2xBook': False, │ │
│ │ │ │ │ 'AmbushEvade': True │ │
│ │ │ │ }, │ │
│ │ │ │ 'StopCondition': { │ │
│ │ │ │ │ 'RunCount': 0, │ │
│ │ │ │ │ 'OilLimit': 1000, │ │
│ │ │ │ │ 'MapAchievement': 'non_stop', │ │
│ │ │ │ │ 'StageIncrease': False, │ │
│ │ │ │ │ 'GetNewShip': False, │ │
│ │ │ │ │ 'ReachLevel': 0 │ │
│ │ │ │ }, │ │
│ │ │ │ 'Fleet': { │ │
│ │ │ │ │ 'Fleet1': 1, │ │
│ │ │ │ │ 'Fleet1Formation': 'double_line', │ │
│ │ │ │ │ 'Fleet1Mode': 'combat_auto', │ │
│ │ │ │ │ 'Fleet1Step': 3, │ │
│ │ │ │ │ 'Fleet2': 2, │ │
│ │ │ │ │ 'Fleet2Formation': 'double_line', │ │
│ │ │ │ │ 'Fleet2Mode': 'combat_auto', │ │
│ │ │ │ │ 'Fleet2Step': 2, │ │
│ │ │ │ │ 'FleetOrder': 'fleet1_mob_fleet2_boss' │ │
│ │ │ │ }, │ │
│ │ │ │ 'Submarine': { │ │
│ │ │ │ │ 'Fleet': 0, │ │
│ │ │ │ │ 'Mode': 'do_not_use', │ │
│ │ │ │ │ 'AutoSearchMode': 'sub_standby', │ │
│ │ │ │ │ 'DistanceToBoss': '2_grid_to_boss' │ │
│ │ │ │ }, │ │
│ │ │ │ 'Emotion': { │ │
│ │ │ │ │ 'CalculateEmotion': True, │ │
│ │ │ │ │ 'IgnoreLowEmotionWarn': False, │ │
│ │ │ │ │ 'Fleet1Value': 119, │ │
│ │ │ │ │ 'Fleet1Record': datetime.datetime(2020, 1, 1, │ │
│ │ 0, 0), │ │
│ │ │ │ │ 'Fleet1Control': 'prevent_yellow_face', │ │
│ │ │ │ │ 'Fleet1Recover': 'not_in_dormitory', │ │
│ │ │ │ │ 'Fleet1Oath': False, │ │
│ │ │ │ │ 'Fleet2Value': 119, │ │
│ │ │ │ │ 'Fleet2Record': datetime.datetime(2020, 1, 1, │ │
│ │ 0, 0), │ │
│ │ │ │ │ 'Fleet2Control': 'prevent_yellow_face', │ │
│ │ │ │ │ ... +2 │ │
│ │ │ │ }, │ │
│ │ │ │ 'HpControl': { │ │
│ │ │ │ │ 'UseHpBalance': False, │ │
│ │ │ │ │ 'UseEmergencyRepair': False, │ │
│ │ │ │ │ 'UseLowHpRetreat': False, │ │
│ │ │ │ │ 'HpBalanceThreshold': 0.2, │ │
│ │ │ │ │ 'HpBalanceWeight': '1000, 1000, 1000', │ │
│ │ │ │ │ 'RepairUseSingleThreshold': 0.3, │ │
│ │ │ │ │ 'RepairUseMultiThreshold': 0.6, │ │
│ │ │ │ │ 'LowHpRetreatThreshold': 0.3 │ │
│ │ │ │ }, │ │
│ │ │ │ 'EnemyPriority': { │ │
│ │ │ │ │ 'EnemyScaleBalanceWeight': 'default_mode' │ │
│ │ │ │ } │ │
│ │ │ }, │ │
│ │ │ ... +40 │ │
│ │ } │ │
│ │ ext = '.json' │ │
│ │ f = <_io.TextIOWrapper │ │
│ │ name='F:\leidian\AlasApp_0.3.7\config\tmpahnc0l3n' │ │
│ │ mode='w' encoding='utf-8'> │ │
│ │ file = './config\alas.json' │ │
│ │ folder = './config' │ │
│ │ lock = <filelock._windows.WindowsFileLock object at │ │
│ │ 0x0000022138079AC8> │ │
│ │ s = '{\n "Alas": {\n "Emulator": {\n "Serial": │ │
│ │ "emulator-5554",\n "PackageN'+43950 │ │
│ ╰────────────────────────────────────────────────────────────────────╯ │
│ │
│ F:\leidian\AlasApp_0.3.7\toolkit\lib\contextlib.py:119 in exit │
│ │
│ 117 │ │ if type is None: │
│ 118 │ │ │ try: │
│ ❱ 119 │ │ │ │ next(self.gen) │
│ 120 │ │ │ except StopIteration: │
│ 121 │ │ │ │ return False │
│ │
│ ╭────────────────────────────── locals ──────────────────────────────╮ │
│ │ self = <contextlib._GeneratorContextManager object at │ │
│ │ 0x000002213862CAC8> │ │
│ │ traceback = None │ │
│ │ type = None │ │
│ │ value = None │ │
│ ╰────────────────────────────────────────────────────────────────────╯ │
│ │
│ F:\leidian\AlasApp_0.3.7\module\config\atomicwrites.py:179 in _open │
│ │
│ 177 │ │ │ │ yield f │
│ 178 │ │ │ │ self.sync(f) │
│ ❱ 179 │ │ │ self.commit(f) │
│ 180 │ │ │ success = True │
│ 181 │ │ finally: │
│ │
│ ╭────────────────────────────── locals ──────────────────────────────╮ │
│ │ f = <_io.TextIOWrapper │ │
│ │ name='F:\leidian\AlasApp_0.3.7\config\tmpahn… │ │
│ │ mode='w' encoding='utf-8'> │ │
│ │ get_fileobject = <bound method AtomicWriter.get_fileobject of │ │
│ │ <module.config.atomicwrites.AtomicWriter object │ │
│ │ at 0x00000221381F5DC8>> │ │
│ │ self = <module.config.atomicwrites.AtomicWriter object │ │
│ │ at 0x00000221381F5DC8> │ │
│ │ success = False │ │
│ ╰────────────────────────────────────────────────────────────────────╯ │
│ │
│ F:\leidian\AlasApp_0.3.7\module\config\atomicwrites.py:212 in commit │
│ │
│ 210 │ │ '''Move the temporary file to the target location.''' │
│ 211 │ │ if self._overwrite: │
│ ❱ 212 │ │ │ replace_atomic(f.name, self._path) │
│ 213 │ │ else: │
│ 214 │ │ │ move_atomic(f.name, self._path) │
│ │
│ ╭────────────────────────────── locals ──────────────────────────────╮ │
│ │ f = <_io.TextIOWrapper │ │
│ │ name='F:\leidian\AlasApp_0.3.7\config\tmpahnc0l3n' │ │
│ │ mode='w' encoding='utf-8'> │ │
│ │ self = <module.config.atomicwrites.AtomicWriter object at │ │
│ │ 0x00000221381F5DC8> │ │
│ ╰────────────────────────────────────────────────────────────────────╯ │
│ │
│ F:\leidian\AlasApp_0.3.7\module\config\atomicwrites.py:106 in │
│ replace_atomic │
│ │
│ 104 │ atomic. │
│ 105 │ ''' │
│ ❱ 106 │ return _replace_atomic(src, dst) │
│ 107 │
│ 108 │
│ │
│ ╭──────────────────────── locals ─────────────────────────╮ │
│ │ dst = './config\alas.json' │ │
│ │ src = 'F:\leidian\AlasApp_0.3.7\config\tmpahnc0l3n' │ │
│ ╰─────────────────────────────────────────────────────────╯ │
│ │
│ F:\leidian\AlasApp_0.3.7\module\config\atomicwrites.py:87 in │
│ _replace_atomic │
│ │
│ 85 │ │ _handle_errors(windll.kernel32.MoveFileExW( │
│ 86 │ │ │ _path_to_unicode(src), _path_to_unicode(dst), │
│ ❱ 87 │ │ │ _windows_default_flags | _MOVEFILE_REPLACE_EXISTING │
│ 88 │ │ )) │
│ 89 │
│ │
│ ╭──────────────────────── locals ─────────────────────────╮ │
│ │ dst = './config\alas.json' │ │
│ │ src = 'F:\leidian\AlasApp_0.3.7\config\tmpahnc0l3n' │ │
│ ╰─────────────────────────────────────────────────────────╯ │
│ │
│ F:\leidian\AlasApp_0.3.7\module\config\atomicwrites.py:81 in │
│ _handle_errors │
│ │
│ 79 │ def _handle_errors(rv): │
│ 80 │ │ if not rv: │
│ ❱ 81 │ │ │ raise WinError() │
│ 82 │
│ 83 │
│ │
│ ╭─ locals ─╮ │
│ │ rv = 0 │ │
│ ╰──────────╯ │
╰────────────────────────────────────────────────────────────────────────╯
PermissionError: [WinError 5] 拒绝访问。
WARNING 10:36:08.912 │ Saving error: ./log/error/1667529368912
INFO 10:36:09.092 │ No provider specified, skip sending
Beta Was this translation helpful? Give feedback.
All reactions