Skip to content
霞飛 edited this page Jun 8, 2024 · 15 revisions

FAQ 常见问题

这里列举了一些常见问题.

Here list some frequently asked questions (FAQ).

Alas 白屏 | Display white screen when opening Alas (#876)

由未知原因引起的问题. (electron特性)

可以尝试以下操作:

  • Ctrl + R 刷新
  • 打开 Alas 根目录下的 console.bat 或者任何命令行终端, 运行命令 netsh winsock reset 并重启电脑
  • config/deploy.yaml 中禁用 reload (EnableReload: false)
  • 重装 Alas
  • 打开 console.bat 运行命令 python gui.py
    当出现 INFO: Uvicorn running on http://0.0.0.0:22267 (Press CTRL+C to quit) 时在浏览器中打开 http://127.0.0.1:22267

This is a problem caused by an unknown cause. (electron's feature)

Try the following:

  • Ctrl + R to refresh
  • Open console.bat in the Alas root folder or any terminal and run netsh winsock reset then restart your computer
  • Disable reload (EnableReload: false) in config/deploy.yaml
  • Reinstall Alas
  • Open console.bat and run python gui.py. Open http://127.0.0.1:22267 when INFO: Uvicorn running on http://0.0.0.0:22267 (Press CTRL+C to quit) appears.

Alas 引导完成后闪退 | Alas crashes after boot completion (#2481)

由未知原因引起的问题. (Chromium 特性)

将会在未来某个版本修复.

目前已知的解决办法:

  1. 打开 Alas 根目录下的 \toolkit\WebApp 文件夹,右键 alas.exe 创建桌面快捷方式. 回到桌面,右键刚刚创建的快捷方式,打开属性
  2. 目标(T) 的输入路径的最后面加上 --no-sandbox,注意不要遗漏前面的空格
  3. 起始位置(S) 的输入框中,你会看到如 D:\...\AzurLaneAutoScript\toolkit\WebApp 的路径,删除 \toolkit\WebApp,确保路径只到 Alas 的根目录文件夹
  4. 通过这个快捷方式启动 Alas

This is a problem caused by an unknown cause. (Chromium's feature)

Will be fixed in a future version

The known solutions:

  1. Go to \toolkit\WebApp, right click alas.exe and create a desktop shortcut. Back to the desktop, right-click the shortcut just created and open the properties
  2. Add --no-sandbox at the end of the path in Target (T), be careful not to miss the space in front
  3. Delete \toolkit\WebApp at the end of the path in Start in (S), make sure the path is only to the root directory of Alas
  4. Launch Alas via this shortcut

Desktop 2023 05 29 - 12 04 08 02 00_00_00-00_00_30~1

QQ.20230414081857.mp4

舰队心情不足导致无法继续出击 | Not enough fleet emotions to continue the attack (#1849)

以下情况会导致心情计算错误:

  • 手动玩过游戏,Alas 无法追踪.
  • 出击沉船扣 10 心情.
  • Alas 内设置与游戏内不符, 例如设置了后宅二楼但是有一艘忘记放进二楼.
  • 多个任务之间共享同一个角色.

出现心情计算错误时需要:

  • 在游戏内后宅查看心情最低的角色的心情值,手动填入 Alas 内的心情设置中.

The following cases can lead to mood calculation errors:
  • Played the game manually, Alas could not track.
  • Sinking ship when farming will reduce 10 emotions.
  • The setting in Alas do not match the setting in game, such as setting the second floor of the dorm but forgetting to put one into the second floor.
  • Share the same ship between multiple tasks.

Need to be done when a mood calculation error occurs:

  • Check the lowest mood value of the ship in the dorm and fill in the mood setting in Alas.

Not enough fleet emotions

没有符合委托要求的角色导致无法开始委托 | No ship matches the required for the commission which cannot be started (#2460)

这是游戏策划的问题: 高级委托在玩家有一艘100级船的时候就会推送, 但委托又不能指派队伍中的角色.

避免这个问题有以下方式:

  • 将更多的船提升到 100 级.
  • 清空所有困难图编队, 只保留每日困难打的困难图的编队.
  • 清空活动 CD 图编队, 只保留要打的图的编队.
  • 清空共斗编队, 限界挑战编队等特殊活动的编队(如果有的话).

This is a problem caused by the game planner: advanced commissions are pushed when the player has a level 100 ship, but commissions cannot be assigned to ships in the fleet.

Avoid this problem by:

  • Upgrade more ships to level 100.
  • Clear all the hard campaign fleet, only retain the hard campaign fleet to play the daily hard.
  • Clear the event CD campaign fleet and keep only the fleet of the campaign to be played.
  • Clear the fleet for special events such as Raid (if available).

月度开荒报错 | Opsi Explore report error(#2511)

YYYY-MM-DDTHH:mm:ss.sssZ | WARNING | Zone [xxx|XXXX] locked, neighbouring zones may not have been explored

XXXX 附近的某个海域无法完成。这通常是因为没有按要求修改游戏设置,特别是 自律时自动提交道具 的选项,或者是海域内有模拟战未完成。解决办法:

  • 修改 游戏设置.
  • 上一次完成的区域 设置清空,重新运行即可.

This is usually due to not modifying the game settings as required, especially the option to Automatically Submit Items on Auto Search, or having unfinished practice battles in the sea. Solution:

  • Modify Game Settings.
  • Clear Last Zone Completed, and just rerun it.

将 Windows Server 升级至 2022 或者更新版本。对于腾讯云服务器用户,请开启桌面体验。


If the import fails on Windows, make sure you have Visual C++ redistributable 2015 installed. If you are using older Windows version than Windows 10 and latest system updates are not installed, Universal C Runtime might be also required.

Windows N and KN editions do not include Media Feature Pack which is required by OpenCV. If you are using Windows N or KN edition, please install also Windows Media Feature Pack.

If you have Windows Server 2012+, media DLLs are probably missing too; please install the Feature called "Media Foundation" in the Server Manager. Beware, some posts advise to install "Windows Server Essentials Media Pack", but this one requires the "Windows Server Essentials Experience" role, and this role will deeply affect your Windows Server configuration (by enforcing active directory integration etc.); so just installing the "Media Foundation" should be a safer choice.

If the above does not help, check if you are using Anaconda. Old Anaconda versions have a bug which causes the error, see this issue for a manual fix.

If you still encounter the error after you have checked all the previous solutions, download Dependencies and open the cv2.pyd (located usually at C:\Users\username\AppData\Local\Programs\Python\PythonXX\Lib\site-packages\cv2) file with it to debug missing DLL issues.

以下部分问题已经过时,仅供参考 | Some of the following questions are outdated and are for reference only

Why Alas is not running 为什么Alas不运行

INFO | No task pending
INFO | Wait until 2021-10-27 21:10:54 for task `Commission`

Because Alas has finished all the tasks, has nothing to do now, can only wait for commission, research, etc.

因为 Alas 已经完成了所有任务,现在无事可干,只能等待委托科研等结束。

CRITICAL | No task waiting or pending
CRITICAL | Please enable at least one task

Just as the log said, you need to enable at least one task before running.

正如 log 里描述的,你需要开启至少一项任务才能开始运行。

Why Alas get stuck in emotion recover 为什么Alas卡在心情回复里

INFO | Click ( 507, 457) @ C3
INFO | Combat preparation.
INFO | [Emotion recovered] 2020-06-26 23:42:00
INFO | [Emotion recovered] 2020-06-26 23:42:00
INFO | [Emotion recovered] 2020-06-26 23:42:00

Because Alas is waiting for mood recovered.

If you think this is not what you expected, please check your setting in "Mood control". If you want to continue even if it's red face, turn off "enable_emotion_reduce" and turn on "ignore_low_emotion_warn". If you changed your fleet by hand, update Emotion Value in Emotion Settings.

因为Alas正在等待心情回复.

如果你认为这不是你希望的, 请检查你的"心情设置". 如果你希望红脸出击, 关掉"启用心情消耗", 并开启"无视红脸出击警告". 如果你手动调整了队伍, 在 心情设置 中更新 心情值.

How to Run Both Reward and Main 怎样同时运行主线图出击和收获

You don't need to do anything, This is automatic.

When you running "Main", "Event", "Raid", Alas will check reward from time to time according to your settings.

你不需要做任何操作, 这是自动的

当你运行"主线图", "活动图", "共斗活动"的时候, Alas会根据设置, 时不时地检查收获.

Starting from current page is not supported 不支持从当前界面启动

INFO | <<< UI ENSURE >>>
INFO | Unknown ui page
INFO | Unable to goto page_main
WARNING | Starting from current page is not supported
WARNING | Supported page: ['page_main', 'page_campaign', 'page_fleet', 'page_exercise', 'page_daily', 'page_event', 'page_sp', 'page_mission', 'page_raid']
WARNING | Supported page: Any page with a "HOME" button on the upper-right

Please check your page in game when you starting Alas.

Alas can goto the page it need automatically, but only allow starting at these pages: page_main, page_campaign, page_fleet, page_exercise, page_daily, page_event, page_sp, page_mission, page_raid. Alas can also start at any page with the "HOME" button on the upper-right. Most pages in game have that, except page_main itself, dorm, meowfficer.

请检查你在启动Alas时的游戏界面.

Alas可以自动切换到需要的游戏界面, 但是只允许在这些界面下启动: 主界面, 出击, 编队, 演习, 每日, 活动, SP活动, 任务领取, 共斗活动. Alas也可以在右上角有"一键回港"按钮的界面下启动, 游戏中大部分界面都有这个按钮, 除了主界面本身, 后宅, 指挥喵.

Why Alas lost connection when I start another emulator 为什么我打开另一个模拟器时Alas会断开连接

adb server version (36) doesn't match this client (41); killing...

Because you have 2 ADB in different versions.

Different version of ADB will kill each other when starting. Chinese emulators (NoxPlayer, LDPlayer, MemuPlayer, MuMuPlayer) use their own adb, instead of the one in system PATH, so when they start they kill the adb.exe Alas is using. To solve this:

  • Replace the ADB in your emulator with the one Alas is using.

    If you install Alas by Easy_install, find your ADB in <your_alas_install_folder>\toolkit\Lib\site-packages\adbutils\binaries . If you install Alas in the advanced way, find your ADB in system PATH. Then goto you emulator installation folder, replace adb.exe with yours.

    Take NoxPlayer as an example. There are 2 ADB in nox install folder, adb.exe and nox_adb.exe. Make backup for these 2 files and delete them. Copy two adb.exe to your nox install folder, and rename them to adb.exe and nox_adb.exe.

因为你有两个不同版本的ADB

不同版本的ADB之间会互相结束对方. 国产模拟器 (夜神模拟器, 雷电模拟器, 逍遥模拟器, MuMu模拟器) 都会使用自己的ADB, 而不会使用配置在环境变量中的ADB. 所以当它们启动时, 就会结束Alas正在使用的 adb.exe. 解决这个问题:

  • 将模拟器中的ADB替换为Alas使用的ADB.

    如果你使用傻瓜式安装包安装的Alas, 找到位于 <你的Alas安装目录>\toolkit\Lib\site-packages\adbutils\binaries 下的ADB. 如果你使用的高级方法安装的Alas, 找到位于环境变量中的ADB, 把它替换为你自己的.

    以夜神模拟器为例, 夜神模拟器安装目录下有两个ADB, adb.exenox_adb.exe 备份它们并删除. 复制两份 adb.exe 到夜神模拟器安装目录, 重命名为 adb.exenox_adb.exe.

Clone this wiki locally