restart azur lane repeatedly when commission failed
Before you asking
- [X] I have searched the existing issues
- [X] I spend at least 5 minutes for thinking and preparing
- [X] I checked Frequently Asked Questions (FAQ) in Wiki page
- [X] I am using the latest version of Alas
Describe the bug
When NO suitable shipgirl found in selected commission, azur lane popup the message and alas click "confirm", then azur lane auto fill Lv.1 shipgirls but not match the requirement, so the commission cannot start normally.
Then alas catch this error and automatically restart azur lane, then try to start the commission again.
To Reproduce
- Go to 'commission'
- Click on 'Awakening Tactical Research'
- If you don't own shipgirls above Lv.100 and not formated, you'll see error
Expected behavior
azur lane will be restarted repeatedly
Relevant log output
═════════════════════════════════════ DEVICE ══════════════════════════════════════
INFO 09:42:04.329 │ DEVICE
INFO 09:42:04.330 │ [IS_ON_PHONE_CLOUD] False
INFO 09:42:04.331 │ [AdbBinary]
Z:\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe
INFO 09:42:04.335 │ [AdbClient] AdbClient(127.0.0.1, 5037)
INFO 09:42:04.337 │ <<< DETECT DEVICE >>>
INFO 09:42:04.339 │ Here are the available devices, copy to
Alas.Emulator.Serial to use it or set Alas.Emulator.Serial="auto"
INFO 09:42:04.340 │ emulator-5554
INFO 09:42:04.342 │ "emulator-5554" is a `emulator-*` serial, skip adb connect
INFO 09:42:04.344 │ [AdbDevice] AdbDevice(serial=emulator-5554)
INFO 09:42:04.347 │ [PackageName] com.YoStarEN.AzurLane
INFO 09:42:04.348 │ [Server] en
INFO 09:42:04.348 │ Screenshot interval set to 0.3s
INFO 09:42:04.350 │ <<< MAATOUCH INIT >>>
INFO 09:42:04.350 │ Scheduler: Start task `Commission`
═══════════════════════════════════════════════════════════════════════════════════
COMMISSION
═══════════════════════════════════════════════════════════════════════════════════
INFO 09:42:04.357 │ Reuse forward: ForwardItem(serial='emulator-5554',
local='tcp:20406', remote='tcp:53516')
INFO 09:42:04.404 │ [Device Orientation] 0 (Normal)
INFO 09:42:04.544 │ [Screen_size] 1280x720
INFO 09:42:04.781 │ early_ocr_import call
INFO 09:42:04.784 │ early_ocr_import start
INFO 09:42:04.784 │ <<< UI ENSURE >>>
INFO 09:42:04.790 │ UI get current page
INFO 09:42:04.790 │ Loading OCR dependencies
INFO 09:42:04.889 │ ^ 10 1280 720 255
INFO 09:42:04.892 │ $ 255
INFO 09:42:04.896 │ MaaTouch stream connected
INFO 09:42:04.900 │ max_contact: 10; max_x: 1280; max_y: 720; max_pressure: 255
INFO 09:42:05.490 │ [UI] page_reward
INFO 09:42:05.514 │ Already at page_reward
INFO 09:42:05.518 │ <<< REWARD RECEIVE >>>
INFO 09:42:05.689 │ Click ( 475, 291) @ REWARD_GOTO_COMMISSION
INFO 09:42:05.979 │ early_ocr_import finish
═════════════════════════════════ COMMISSION SCAN ═════════════════════════════════
INFO 09:42:06.449 │ COMMISSION SCAN
INFO 09:42:06.451 │ [Commission_switch] daily
INFO 09:42:06.452 │ Click ( 35, 263) @ COMMISSION_URGENT
INFO 09:42:06.753 │ [Commission_switch] unknown
INFO 09:42:07.048 │ [Commission_switch] urgent
─────────────────────────────────── SCAN DAILY ────────────────────────────────────
INFO 09:42:07.356 │ SCAN DAILY
INFO 09:42:07.357 │ [Commission_switch] urgent
INFO 09:42:07.359 │ Click ( 44, 160) @ COMMISSION_DAILY
INFO 09:42:07.649 │ [Commission_switch] unknown
INFO 09:42:07.945 │ [Commission_switch] daily
INFO 09:42:07.948 │ [COMMISSION_SCROLL_AREA] 0.01 (252.5-252.0)/(599-504)
INFO 09:42:08.275 │ COMMISSION_SCROLL_AREA set to 0.0
INFO 09:42:08.277 │ [COMMISSION_SCROLL_AREA] 0.01 (252.5-252.0)/(599-504)
INFO 09:42:08.278 │ <<< COMMISSION DETECT >>>
INFO 09:42:08.298 │ Loading OCR model: ./bin/cnocr_models/cnocr
INFO 09:42:08.415 │ [COMMISSION 0.135s] Self Training Ill
INFO 09:42:08.438 │ Loading OCR model: ./bin/cnocr_models/azur_lane
INFO 09:42:08.530 │ [COMMISSION 0.113s] III
INFO 09:42:08.576 │ [DURATION 0.043s] 10:00:00
INFO 09:42:08.580 │ [Commission] Self Training Ill | Ⅲ (Genre: major_comm,
Status: pending, Duration: 10:00:00)
INFO 09:42:08.663 │ [COMMISSION 0.081s] Daily Resource Extractionl
INFO 09:42:08.697 │ [COMMISSION 0.031s] I
INFO 09:42:08.755 │ [DURATION 0.056s] 01:00:00
INFO 09:42:08.758 │ [Commission] Daily Resource Extractionl | Ⅰ (Genre:
daily_resource, Status: pending, Duration: 1:00:00)
INFO 09:42:08.835 │ [COMMISSION 0.074s] Daily Resource Extraction IN
INFO 09:42:08.859 │ [COMMISSION 0.022s] IV
INFO 09:42:08.916 │ [DURATION 0.053s] 02:00:00
INFO 09:42:08.918 │ [Commission] Daily Resource Extraction IN | Ⅳ (Genre:
daily_resource, Status: pending, Duration: 2:00:00)
INFO 09:42:09.022 │ [COMMISSION 0.101s] Daily Resource Extraction i
INFO 09:42:09.056 │ [COMMISSION 0.031s] VI
INFO 09:42:09.115 │ [DURATION 0.056s] 02:00:00
INFO 09:42:09.118 │ [Commission] Daily Resource Extraction i | Ⅵ (Genre:
daily_resource, Status: pending, Duration: 2:00:00)
INFO 09:42:09.121 │ [COMMISSION_SCROLL_AREA] 0.01 (252.5-252.0)/(599-504)
INFO 09:42:09.124 │ [COMMISSION_SCROLL_AREA] 0.01 (252.5-252.0)/(599-504)
INFO 09:42:09.126 │ COMMISSION_SCROLL_AREA set to 1
INFO 09:42:09.129 │ [COMMISSION_SCROLL_AREA] 0.01 (252.5-252.0)/(599-504)
INFO 09:42:09.132 │ Swipe (1255, 331) -> (1254, 459)
INFO 09:42:09.531 │ [COMMISSION_SCROLL_AREA] 0.98
(346.21556886227546-250.5)/(599-501)
INFO 09:42:09.533 │ <<< COMMISSION DETECT >>>
INFO 09:42:09.610 │ [COMMISSION 0.075s] Daily Resource Extractionl
INFO 09:42:09.633 │ [COMMISSION 0.020s] I
INFO 09:42:09.682 │ [DURATION 0.047s] 01:00:00
INFO 09:42:09.685 │ [Commission] Daily Resource Extractionl | Ⅰ (Genre:
daily_resource, Status: pending, Duration: 1:00:00)
INFO 09:42:09.762 │ [COMMISSION 0.074s] Daily Resource Extraction N
INFO 09:42:09.797 │ [COMMISSION 0.032s] IV
INFO 09:42:09.847 │ [DURATION 0.047s] 02:00:00
INFO 09:42:09.849 │ [Commission] Daily Resource Extraction N | Ⅳ (Genre:
daily_resource, Status: pending, Duration: 2:00:00)
INFO 09:42:09.937 │ [COMMISSION 0.085s] Daily Resource Extraction
INFO 09:42:09.973 │ [COMMISSION 0.034s] VI
INFO 09:42:10.028 │ [DURATION 0.052s] 02:00:00
INFO 09:42:10.030 │ [Commission] Daily Resource Extraction | Ⅵ (Genre:
daily_resource, Status: pending, Duration: 2:00:00)
INFO 09:42:10.124 │ [COMMISSION 0.091s] Awakening Tactical ResearchI
INFO 09:42:10.151 │ [COMMISSION 0.024s] I
INFO 09:42:10.214 │ [DURATION 0.059s] 01:00:00
INFO 09:42:10.217 │ [Commission] Awakening Tactical ResearchI | Ⅰ (Genre:
daily_chip, Status: pending, Duration: 1:00:00)
INFO 09:42:10.221 │ [COMMISSION_SCROLL_AREA] 0.98
(346.21556886227546-250.5)/(599-501)
─────────────────────────────────── SCAN URGENT ───────────────────────────────────
INFO 09:42:10.226 │ SCAN URGENT
INFO 09:42:10.228 │ [Commission_switch] daily
INFO 09:42:10.230 │ Click ( 55, 241) @ COMMISSION_URGENT
INFO 09:42:10.394 │ [Commission_switch] daily
INFO 09:42:10.677 │ [Commission_switch] unknown
INFO 09:42:10.978 │ [Commission_switch] urgent
INFO 09:42:11.285 │ <<< COMMISSION DETECT >>>
INFO 09:42:11.353 │ [COMMISSION 0.067s]
WARNING 09:42:11.355 │ Name with unknown genre:
INFO 09:42:11.438 │ [COMMISSION 0.080s]
INFO 09:42:11.481 │ [DURATION 0.040s]
WARNING 09:42:11.484 │ Invalid duration:
INFO 09:42:11.486 │ [Commission] | (Invalid)
─────────────────────────────── SHOWING COMMISSION ────────────────────────────────
INFO 09:42:11.491 │ SHOWING COMMISSION
INFO 09:42:11.493 │ Daily commission
INFO 09:42:11.496 │ [Commission] Awakening Tactical ResearchI | Ⅰ (Genre:
daily_chip, Status: pending, Duration: 1:00:00)
INFO 09:42:11.498 │ [Commission] Daily Resource Extractionl | Ⅰ (Genre:
daily_resource, Status: pending, Duration: 1:00:00)
INFO 09:42:11.500 │ [Commission] Daily Resource Extraction IN | Ⅳ (Genre:
daily_resource, Status: pending, Duration: 2:00:00)
INFO 09:42:11.502 │ [Commission] Daily Resource Extraction i | Ⅵ (Genre:
daily_resource, Status: pending, Duration: 2:00:00)
INFO 09:42:11.505 │ [Commission] Self Training Ill | Ⅲ (Genre: major_comm,
Status: pending, Duration: 10:00:00)
INFO 09:42:11.507 │ Urgent commission
INFO 09:42:11.510 │ [Commission] | (Invalid)
INFO 09:42:11.511 │ [Running] 0/4
INFO 09:42:11.513 │ [Commission Filter] cube
INFO 09:42:11.516 │ [Filter_sort] Awakening Tactical ResearchI | Ⅰ (Genre:
daily_chip, Status: pending, Duration: 1:00:00) > Daily Resource
Extraction i | Ⅵ (Genre: daily_resource, Status: pending, Duration:
2:00:00) > Daily Resource Extraction IN | Ⅳ (Genre: daily_resource,
Status: pending, Duration: 2:00:00) > Daily Resource Extractionl | Ⅰ
(Genre: daily_resource, Status: pending, Duration: 1:00:00) > shortest
INFO 09:42:11.520 │ Choose daily commission
INFO 09:42:11.523 │ Awakening Tactical ResearchI | Ⅰ (Genre: daily_chip,
Status: pending, Duration: 1:00:00)
INFO 09:42:11.526 │ Daily Resource Extraction i | Ⅵ (Genre: daily_resource,
Status: pending, Duration: 2:00:00)
INFO 09:42:11.528 │ Daily Resource Extraction IN | Ⅳ (Genre: daily_resource,
Status: pending, Duration: 2:00:00)
INFO 09:42:11.530 │ Daily Resource Extractionl | Ⅰ (Genre: daily_resource,
Status: pending, Duration: 1:00:00)
═════════════════════════════════ COMMISSION RUN ══════════════════════════════════
INFO 09:42:11.533 │ COMMISSION RUN
INFO 09:42:11.535 │ [Commission_switch] urgent
INFO 09:42:11.536 │ Click ( 60, 141) @ COMMISSION_DAILY
INFO 09:42:11.723 │ [Commission_switch] urgent
INFO 09:42:12.000 │ [Commission_switch] daily
INFO 09:42:12.003 │ [COMMISSION_SCROLL_AREA] 0.01 (252.5-252.0)/(599-504)
INFO 09:42:12.293 │ COMMISSION_SCROLL_AREA set to 0.0
INFO 09:42:12.295 │ [COMMISSION_SCROLL_AREA] 0.01 (252.5-252.0)/(599-504)
──────────────────────────── COMMISSION FIND AND START ────────────────────────────
INFO 09:42:12.320 │ COMMISSION FIND AND START
INFO 09:42:12.322 │ Finding commission Awakening Tactical ResearchI | Ⅰ (Genre:
daily_chip, Status: pending, Duration: 1:00:00)
INFO 09:42:12.325 │ <<< COMMISSION DETECT >>>
INFO 09:42:12.422 │ [COMMISSION 0.095s] Self Training Ill
INFO 09:42:12.454 │ [COMMISSION 0.029s] III
INFO 09:42:12.517 │ [DURATION 0.061s] 10:00:00
INFO 09:42:12.520 │ [Commission] Self Training Ill | Ⅲ (Genre: major_comm,
Status: pending, Duration: 10:00:00)
INFO 09:42:12.623 │ [COMMISSION 0.101s] Daily Resource Extractionl
INFO 09:42:12.666 │ [COMMISSION 0.040s] I
INFO 09:42:12.718 │ [DURATION 0.049s] 01:00:00
INFO 09:42:12.721 │ [Commission] Daily Resource Extractionl | Ⅰ (Genre:
daily_resource, Status: pending, Duration: 1:00:00)
INFO 09:42:12.818 │ [COMMISSION 0.093s] Daily Resource Extraction IN
INFO 09:42:12.851 │ [COMMISSION 0.030s] IV
INFO 09:42:12.921 │ [DURATION 0.067s] 02:00:00
INFO 09:42:12.924 │ [Commission] Daily Resource Extraction IN | Ⅳ (Genre:
daily_resource, Status: pending, Duration: 2:00:00)
INFO 09:42:13.033 │ [COMMISSION 0.106s] Daily Resource Extraction i
INFO 09:42:13.061 │ [COMMISSION 0.025s] VI
INFO 09:42:13.148 │ [DURATION 0.085s] 02:00:00
INFO 09:42:13.151 │ [Commission] Daily Resource Extraction i | Ⅵ (Genre:
daily_resource, Status: pending, Duration: 2:00:00)
INFO 09:42:13.154 │ [COMMISSION_SCROLL_AREA] 0.01 (252.5-252.0)/(599-504)
INFO 09:42:13.157 │ [COMMISSION_SCROLL_AREA] 0.01 (252.5-252.0)/(599-504)
INFO 09:42:13.160 │ COMMISSION_SCROLL_AREA set to 1
INFO 09:42:13.163 │ [COMMISSION_SCROLL_AREA] 0.01 (252.5-252.0)/(599-504)
INFO 09:42:13.166 │ Swipe (1258, 326) -> (1256, 452)
INFO 09:42:13.610 │ [COMMISSION_SCROLL_AREA] 0.99 (346.5-252.0)/(599-504)
INFO 09:42:13.612 │ <<< COMMISSION DETECT >>>
INFO 09:42:13.702 │ [COMMISSION 0.088s] Daily Resource Extractionl
INFO 09:42:13.732 │ [COMMISSION 0.028s] I
INFO 09:42:13.779 │ [DURATION 0.045s] 01:00:00
INFO 09:42:13.782 │ [Commission] Daily Resource Extractionl | Ⅰ (Genre:
daily_resource, Status: pending, Duration: 1:00:00)
INFO 09:42:13.869 │ [COMMISSION 0.085s] Daily Resource Extraction N
INFO 09:42:13.895 │ [COMMISSION 0.023s] IV
INFO 09:42:13.949 │ [DURATION 0.052s] 02:00:00
INFO 09:42:13.952 │ [Commission] Daily Resource Extraction N | Ⅳ (Genre:
daily_resource, Status: pending, Duration: 2:00:00)
INFO 09:42:14.041 │ [COMMISSION 0.087s] Daily Resource Extraction
INFO 09:42:14.071 │ [COMMISSION 0.026s] VI
INFO 09:42:14.117 │ [DURATION 0.043s] 02:00:00
INFO 09:42:14.120 │ [Commission] Daily Resource Extraction | Ⅵ (Genre:
daily_resource, Status: pending, Duration: 2:00:00)
INFO 09:42:14.221 │ [COMMISSION 0.099s] Awakening Tactical ResearchI
INFO 09:42:14.253 │ [COMMISSION 0.029s] I
INFO 09:42:14.317 │ [DURATION 0.061s] 01:00:00
INFO 09:42:14.320 │ [Commission] Awakening Tactical ResearchI | Ⅰ (Genre:
daily_chip, Status: pending, Duration: 1:00:00)
INFO 09:42:14.322 │ <<< COMMISSION START >>>
INFO 09:42:14.515 │ Click ( 510, 595) @ COMMISSION
INFO 09:42:15.262 │ <<< COMMISSION DETECT >>>
INFO 09:42:15.321 │ [COMMISSION 0.057s] Awakening Tactical Research
INFO 09:42:15.350 │ [COMMISSION 0.026s] I
INFO 09:42:15.387 │ [DURATION 0.035s] 01:00:00
INFO 09:42:15.389 │ [Commission] Awakening Tactical Research | Ⅰ (Genre:
daily_chip, Status: pending, Duration: 1:00:00)
INFO 09:42:15.391 │ Selected to the correct commission
INFO 09:42:15.393 │ Click ( 910, 365) @ COMMISSION_ADVICE
INFO 09:42:15.968 │ Click ( 786, 514) @ POPUP_CONFIRM_COMMISSION_START
INFO 09:42:23.085 │ <<< COMMISSION DETECT >>>
INFO 09:42:23.154 │ [COMMISSION 0.067s] Awakening Tactical Research
INFO 09:42:23.184 │ [COMMISSION 0.027s] I
INFO 09:42:23.243 │ [DURATION 0.056s] 01:00:00
INFO 09:42:23.245 │ [Commission] Awakening Tactical Research | Ⅰ (Genre:
daily_chip, Status: pending, Duration: 1:00:00)
INFO 09:42:23.248 │ Selected to the correct commission
INFO 09:42:23.251 │ Click ( 915, 360) @ COMMISSION_ADVICE
INFO 09:42:30.618 │ <<< COMMISSION DETECT >>>
INFO 09:42:30.681 │ [COMMISSION 0.061s] Awakening Tactical Research
INFO 09:42:30.702 │ [COMMISSION 0.019s] I
INFO 09:42:30.740 │ [DURATION 0.036s] 01:00:00
INFO 09:42:30.743 │ [Commission] Awakening Tactical Research | Ⅰ (Genre:
daily_chip, Status: pending, Duration: 1:00:00)
INFO 09:42:30.745 │ Selected to the correct commission
INFO 09:42:30.747 │ Click ( 924, 365) @ COMMISSION_ADVICE
WARNING 09:42:30.935 │ Triggered commission list flashing bug
ERROR 09:42:30.937 │ GameStuckError: Triggered commission list flashing bug
WARNING 09:42:30.940 │ Saving error: ./log/error/1723426950940
WARNING 09:42:31.127 │ Game stuck, com.YoStarEN.AzurLane will be restarted in 10
seconds
WARNING 09:42:31.129 │ If you are playing by hand, please stop Alas
INFO 09:42:31.131 │ Task call: Restart
INFO 09:42:31.148 │ Bind task ['General', 'Alas', 'Commission']
INFO 09:42:31.150 │ Save config ./config\alas.json,
Restart.Scheduler.NextRun=datetime.datetime(2024, 8, 12, 9, 42, 31),
Restart.Scheduler.Enable=True
INFO 09:42:41.158 │ Scheduler: End task `Commission`
INFO 09:42:41.160 │ [Server] en
INFO 09:42:41.176 │ Bind task ['General', 'Alas']
INFO 09:42:41.179 │ Pending tasks: ['Restart', 'Commission', 'Tactical',
'Research', 'Exercise', 'Dorm', 'Reward']
INFO 09:42:41.180 │ [Task] Restart (Enable, 2024-08-12 09:42:31)
INFO 09:42:41.182 │ Bind task ['General', 'Alas', 'Restart']
INFO 09:42:41.197 │ Scheduler: Start task `Restart`
═══════════════════════════════════════════════════════════════════════════════════
RESTART
═══════════════════════════════════════════════════════════════════════════════════
INFO 09:42:41.273 │ <<< APP RESTART >>>
Screenshots
Anything else?
No response
upgrade more shipgirls to solve this phenomenon
https://github.com/LmeSzinc/AzurLaneAutoScript/wiki/FAQ_en_cn#%E6%B2%A1%E6%9C%89%E7%AC%A6%E5%90%88%E5%A7%94%E6%89%98%E8%A6%81%E6%B1%82%E7%9A%84%E8%A7%92%E8%89%B2%E5%AF%BC%E8%87%B4%E6%97%A0%E6%B3%95%E5%BC%80%E5%A7%8B%E5%A7%94%E6%89%98--no-ship-matches-the-required-for-the-commission-which-cannot-be-started-2460
https://github.com/LmeSzinc/AzurLaneAutoScript/wiki/FAQ_en_cn#%E6%B2%A1%E6%9C%89%E7%AC%A6%E5%90%88%E5%A7%94%E6%89%98%E8%A6%81%E6%B1%82%E7%9A%84%E8%A7%92%E8%89%B2%E5%AF%BC%E8%87%B4%E6%97%A0%E6%B3%95%E5%BC%80%E5%A7%8B%E5%A7%94%E6%89%98--no-ship-matches-the-required-for-the-commission-which-cannot-be-started-2460
Thank you for your reply.//