LmeSzinc / AzurLaneAutoScript

Azur Lane bot (CN/EN/JP/TW) 碧蓝航线脚本 | 无缝委托科研,全自动大世界
https://alas.azurlane.cloud
GNU General Public License v3.0
6.96k stars 833 forks source link

貌似ALAS無法識別JP服務器中的載入畫面或戰鬥結果畫面。 #364

Closed h29800020 closed 3 years ago

h29800020 commented 3 years ago

大佬 貌似ALAS無法識別JP服務器中的載入畫面或戰鬥結果畫面。

ALAS can't recognize loading screen or battle result screen in JP server.

railzy commented 3 years ago

遇到了同样的问题。并且根据 error log 对比游戏内画面和 jp assets,似乎也没有问题。 Same issue. I have compared JP assests mentioned in the error logs with the game but can't find any problem.

log1 ``` 2021-02-25 22:07:19.397 | INFO | ==================== EXERCISE ==================== 2021-02-25 22:07:19.397 | INFO | [Change_opponent_count] 0 2021-02-25 22:07:19.987 | INFO | Loading OCR model: ./bin/cnocr_models/azur_lane 2021-02-25 22:07:20.046 | INFO | [OCR_EXERCISE_REMAIN 0.076s] 2 2021-02-25 22:07:20.046 | INFO | <<< REMAIN: 2 >>> 2021-02-25 22:07:20.046 | INFO | <<< UI CLICK >>> 2021-02-25 22:07:20.064 | INFO | Click ( 183, 299) @ OPPONENT_0_0 2021-02-25 22:07:21.546 | INFO | [POWER 0.044s] [6780, 7129] 2021-02-25 22:07:21.604 | INFO | [LEVEL 0.058s] [120, 120, 120, 120, 120, 120] 2021-02-25 22:07:21.604 | INFO | [OPPONENT_0] ( 6780) 120 120 120 | ( 7129) 120 120 120 2021-02-25 22:07:21.604 | INFO | <<< UI CLICK >>> 2021-02-25 22:07:21.607 | INFO | Click ( 48, 55) @ BACK_ARROW 2021-02-25 22:07:22.403 | INFO | <<< UI CLICK >>> 2021-02-25 22:07:22.405 | INFO | Click ( 449, 214) @ OPPONENT_1_0 2021-02-25 22:07:24.420 | INFO | [POWER 0.044s] [10360, 10958] 2021-02-25 22:07:24.481 | INFO | [LEVEL 0.061s] [108, 106, 105, 111, 99, 103] 2021-02-25 22:07:24.481 | INFO | [OPPONENT_1] (10360) 108 106 105 | (10958) 111 99 103 2021-02-25 22:07:24.481 | INFO | <<< UI CLICK >>> 2021-02-25 22:07:24.484 | INFO | Click ( 56, 62) @ BACK_ARROW 2021-02-25 22:07:25.160 | INFO | <<< UI CLICK >>> 2021-02-25 22:07:25.162 | INFO | Click ( 700, 301) @ OPPONENT_2_0 2021-02-25 22:07:27.112 | INFO | [POWER 0.044s] [13753, 13801] 2021-02-25 22:07:27.165 | INFO | [LEVEL 0.053s] [120, 120, 120, 120, 120, 120] 2021-02-25 22:07:27.166 | INFO | [OPPONENT_2] (13753) 120 120 120 | (13801) 120 120 120 2021-02-25 22:07:27.166 | INFO | <<< UI CLICK >>> 2021-02-25 22:07:27.169 | INFO | Click ( 63, 62) @ BACK_ARROW 2021-02-25 22:07:27.830 | INFO | <<< UI CLICK >>> 2021-02-25 22:07:27.833 | INFO | Click ( 979, 295) @ OPPONENT_3_0 2021-02-25 22:07:29.167 | INFO | [POWER 0.039s] [12573, 11735] 2021-02-25 22:07:29.225 | INFO | [LEVEL 0.058s] [120, 109, 112, 104, 114, 109] 2021-02-25 22:07:29.225 | INFO | [OPPONENT_3] (12573) 120 109 112 | (11735) 104 114 109 2021-02-25 22:07:29.225 | INFO | <<< UI CLICK >>> 2021-02-25 22:07:29.228 | INFO | Click ( 57, 55) @ BACK_ARROW 2021-02-25 22:07:29.945 | INFO | [Order] [0 1 3 2] 2021-02-25 22:07:29.945 | INFO | <<< OPPONENT: 0 >>> 2021-02-25 22:07:30.516 | INFO | Click ( 278, 181) @ OPPONENT_0_0 2021-02-25 22:07:31.873 | INFO | Click ( 627, 572) @ EXERCISE_PREPARATION 2021-02-25 22:07:33.509 | INFO | <<< TRY: 1 >>> 2021-02-25 22:07:33.509 | INFO | Combat preparation 2021-02-25 22:07:34.241 | INFO | Click (1116, 639) @ BATTLE_PREPARATION 2021-02-25 22:12:34.296 | WARNING | Wait too long 2021-02-25 22:12:34.296 | WARNING | Waiting for {'PAUSE', 'BATTLE_PREPARATION'} 2021-02-25 22:12:34.296 | WARNING | Wait too long 2021-02-25 22:12:34.297 | INFO | Saving error: ./log/error/1614262354297 ```
log2 ``` 2021-02-25 21:14:48.552 | INFO | -------------------- BATTLE_0 -------------------- 2021-02-25 21:14:48.552 | INFO | Using function: battle_0 2021-02-25 21:14:48.553 | INFO | <<< CLEAR SIREN >>> 2021-02-25 21:14:48.553 | INFO | sort=('weight', 'cost_2') 2021-02-25 21:14:48.553 | INFO | Grids: [F5] 2021-02-25 21:14:48.553 | INFO | Clear enemy: F5 2021-02-25 21:14:48.553 | INFO | [Fleet_1: B7] Fleet_2: D7 2021-02-25 21:14:48.554 | INFO | Full path: [B7, B6, C6, D6, E6, F6, F5] 2021-02-25 21:14:48.554 | INFO | Path: [D6, F6, F5] 2021-02-25 21:14:48.554 | INFO | In sight: D6 2021-02-25 21:14:48.554 | INFO | Focus to: D5 2021-02-25 21:14:48.555 | INFO | Map swipe: (0, 0) 2021-02-25 21:14:49.389 | INFO | Global D6 (camera=D5) -> Local D5 (center=D4) 2021-02-25 21:14:49.392 | INFO | Click ( 654, 458) @ D5 2021-02-25 21:14:52.844 | INFO | Arrive D6 2021-02-25 21:14:54.506 | INFO | Arrive D6 confirm. Result: nothing. Expected: 2021-02-25 21:14:54.506 | INFO | Round: 1, enemy_round: {0: 1} 2021-02-25 21:14:54.510 | INFO | In sight: F6 2021-02-25 21:14:54.510 | INFO | Focus to: D5 2021-02-25 21:14:54.510 | INFO | Map swipe: (0, 0) 2021-02-25 21:14:55.337 | INFO | Global F6 (camera=D5) -> Local F5 (center=D4) 2021-02-25 21:14:55.339 | INFO | Click ( 912, 459) @ F5 2021-02-25 21:14:58.042 | INFO | Arrive F6 2021-02-25 21:14:59.576 | INFO | Combat preparation. 2021-02-25 21:14:59.578 | INFO | [Automation] ON 2021-02-25 21:14:59.581 | INFO | Click (1158, 639) @ BATTLE_PREPARATION 2021-02-25 21:15:01.474 | INFO | [Automation] ON 2021-02-25 21:19:59.810 | WARNING | Wait too long 2021-02-25 21:19:59.810 | WARNING | Waiting for {'AUTOMATION_OFF', 'STORY_LETTER_BLACK', 'STORY_CHOOSE_SHORT_2', 'STORY_CHOOSE', 'AUTOMATION_CONFIRM', 'RETIRE_APPEAR_1', 'STORY_CHOOSE_LONG', 'STORY_CHOOSE_LONG_2', 'STORY_CHOOSE_LONG_3', 'STORY_CHOOSE_2', 'AUTOMATION_CONFIRM_CHECK', 'GAME_TIPS', 'PAUSE', 'AUTOMATION_ON', 'BATTLE_PREPARATION', 'STORY_SKIP'} 2021-02-25 21:19:59.811 | WARNING | Wait too long 2021-02-25 21:19:59.811 | INFO | Saving error: ./log/error/1614259199811 ```