| 这份 FAQ 没有解决你的问题?请阅读如何求助,了解以最佳方式提出问题的做法。 |
|---|
我无法启动 Auth/WorldServer,出现以下错误:
[ERROR]: Table 'acore_world.table' doesn't exist
Your database structure is not up to date. Please make sure you've executed all queries in the sql/updates folders.
这只是说明你的数据库没有更新,你需要更新你的数据库。
我无法启动 Auth/WorldServer,出现以下错误:
[ERROR]: DatabasePool world NOT opened. There were errors opening the MySQL connections. Check your SQLDriverLogFile for specific errors.
[ERROR]: Cannot connect to world database 127.0.0.1;3306;acore;acore;acore_world
这可能由很多不同的原因造成,可能是你的数据库没有在线、你输入了错误的凭据,或者数据库结构有问题。
你需要在 Worldserver.conf 中启用 SQLDriverLogFile,以获得关于问题所在的准确报告。
要做到这一点,请取消注释 Logger.sql.driver,然后重新运行 WorldServer。
我无法启动 Auth/WorldServer,出现以下错误:
> Loaded 0 acore strings. DB table `acore_string` is empty.
这是因为你根本没有导入数据库。请按照数据库安装中的说明操作。
我无法启动 Auth/WorldServer,出现以下错误:
Unknown column 'level' in 'field list'
Your database structure is not up to date. Please make sure you've executed all queries in the sql/updates folders.
这可能意味着以下几种情况:
核心无法启动,出现以下错误:
dbc exists, and has 13 field(s) (expected 12). Extracted file might be from wrong client version or a database-update has been forgotten.
你需要从与服务器相同且未经修改的客户端版本中提取 DBC 文件,即 3.3.5a。
核心无法启动,一打开就立即关闭。
请使用命令行启动服务器以获取确切的错误信息。
核心无法启动,出现这个错误窗口。
The code execution cannot proceed because libmysql.dll was not found. Reinstalling the program may fix this problem.
Or similar error.
你没有把必要的 .dll 文件复制到二进制目录中。参见核心安装。
核心无法启动,出现以下错误:
AzerothCore does not support MySQL versions below 8.0
请升级你的 MySQL。
注意:AzerothCore 不支持 MariaDB。
出现以下错误:
-- Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM - Failed error
你可以忽略它。这是我们无法隐藏的错误。
当 WorldServer 运行时出现错误:
Map file './maps/0004331.map' is from an incompatible map version (MAPS v9), MAPS v10 is expected
拉取源码,重新编译工具,将提取器复制到你的 WoW 二进制目录,并使用更新后的 mapextractor 重新创建地图。然后用新地图文件替换你的旧地图文件。
当 WorldServer 启动时出现错误:
Used MySQL library version (8.0.19 id 80019) does not match the version id used to compile AzerothCore (id 80024)
你需要使用与编译源码时完全相同的 libmysql.dll 版本。你可以从 *C:\Program Files\MySQL\MySQL Server 8.x\lib* 获取,或按照安装指南操作。
这是因为你更新了 MySQL 服务器,但没有重新编译并添加新的 libmysql.dll 文件。
当我尝试启动 Worldserver 或 Authserver 时出现错误
This application was unable to start correctly (0xc000007b). Click OK to close the application.
这通常是由于将 32/64 位 DLL 与你编译的二进制文件混用造成的。你的 DLL 需要与编译的二进制文件保持相同的位数。
当我尝试启动 Worldserver 或 Authserver 时出现错误
{}DatabaseInfo is not specified in configuration file!
{} = World/Character/Auth
这意味着 .conf 文件中缺少数据库连接信息。
请转到 .conf 中指定的 DatabaseInfo 并添加连接信息。
我没有得到 AzerothCore 的哈希值
请重新安装 Git for Windows,并在询问是否调整 PATH 时选择 "Git from the command line and also 3rd party software"。
我无法在 CentOS/Ubuntu/Debian 等系统上安装 AzerothCore。
你的发行版可能太旧,无法提供受支持的编译器。Ubuntu 22.04 及更早版本已不再受支持:请使用 Ubuntu 24.04 或 26.04,或 Debian 12/13。请参阅受支持的版本了解确切的 GCC 和 CLang 要求。
我无法在 Windows XP/Vista/7 上安装 AzerothCore
AzerothCore 需要 Visual Studio 2022,因此你需要更新到 Windows 10 或更高版本。
我无法在 Linux 上安装 AzerothCore,出现以下错误:
c++: internal compiler error: Segmentation fault (program cc1plus)
这可能是因为:
我该如何在我的操作系统上 <插入问题>。
请使用谷歌搜索或购买一本书来学习你正在使用的操作系统。
我无法编译,出现以下错误:
fatal error C1060: compiler is out of heap space
C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit
请阅读如何:在命令行启用 64 位、x64 托管的 MSVC 工具集。Microsoft。
我无法编译,出现以下错误:
C1001: An internal error has occurred in the compiler.
请更新你的 Visual Studio。
我无法生成 CMake 文件,出现以下错误:
Could NOT find Boost (missing: system filesystem program_options iostreams regex) (found suitable version "1.74.0", minimum required is "1.70")
请确保你安装的版本受支持。
如果你没有下载预编译的 boost,请找到你的 Boost 文件夹
我无法在 Ubuntu 26.04 上生成 CMake 文件,出现以下错误:
The C++ compiler "/usr/bin/clang++" is not able to compile a simple test program.
/usr/bin/x86_64-linux-gnu-ld.bfd: cannot find -lstdc++: No such file or directory
Clang 链接到 GCC 工具链,而在 Ubuntu 26.04 上,clang 21 会选择 GCC 16,而默认的 g++ 是 GCC 15,因此它需要的 C++ 开发文件没有安装。请安装它们:
sudo apt-get install -y libstdc++-16-dev
如果 clang 选择了其他版本,请运行 clang++ -v 并安装与输出中 Selected GCC installation 一行匹配的 libstdc++-<version>-dev。
我在寻找地图提取器,但它们是为 wow 4 版本准备的。
不,它们不是。"vmap4extractor"/"vmap4Assembler" 这个名字反映的是工具自身的版本。它们都适用于 WoW 3.3.5a。
运行提取器时出现 Couldn't open RootWmo。
这不是错误,请忽略它。
我无法使用 Vmap 提取器。
请先提取地图。
我有来自 ManGOS 或 TrinityCore 的地图,可以使用它们吗?
不能。
如果 CMake 找不到 MySQL,则需要设置
MYSQL_INCLUDE_DIR = C:/XX/MySQL/MySQL Server X.X/include 以及
MYSQL_LIBRARY = C:/XX/MySQL/MySQL Server X.X/lib(_XX)/libmysql.lib。
X.X 取决于你使用的 MySQL 版本。
(如果在 CMake 中看不到 MYSQL 字段,请勾选 Advanced 复选框)。
如果你遇到链接器错误(例如 "error LNK2019: unresolved external symbol mysql_server_init"),请确保 MYSQL_LIBRARY 设置为与你编译模式匹配的 libmysql.lib。
如果你遇到 CMake 找不到 OpenSSL 的错误
勾选 Advanced 复选框。
在列表中找到两个 OpenSSL 条目并指向正确的目录:
OPENSSL_ROOT_DIR 是安装路径(默认情况下,C:/OpenSSL-Win32 或 C:/OpenSSL-Win64)
OPENSSL_INCLUDE_DIR 是安装路径中的 "include" 文件夹(默认情况下,C:/OpenSSL-Win32/include 或 C:/OpenSSL-Win64/include)
如果你遇到 CMake 找不到 Boost(缺少:system filesystem program_options iostreams regex)(找到合适的版本 "1.74.0",最低要求 "1.70") 的错误
找到你的 Boost 文件夹
运行 Bootstrap.bat 文件
运行 b2.exe 文件
如果你遇到 系统上未找到 Git 的错误:
勾选 Advanced 复选框。
搜索并找到 GIT_EXECUTABLE
C:/Program Files/Git/cmd/git.exe如果你没有 git.exe,则需要安装 git。参见要求
cd "D:/Path/To/Your/Dir/"git clone https://github.com/azerothcore/azerothcore-wotlk.gitD:/Path/To/Your/Dir/azerothcore-wotlk| 这份 FAQ 没有解决你的问题?请阅读如何求助,了解以最佳方式提出问题的做法。 |
|---|