服务器设置
差别
这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录前一修订版后一修订版 | 前一修订版 | ||
服务器设置 [2023/09/23 19:25] – [Extractors] admin | 服务器设置 [2023/09/23 20:30] (当前版本) – admin | ||
---|---|---|---|
行 1: | 行 1: | ||
- | ===== 服务器设置 ===== | + | ====== 服务器设置 |
---- | ---- | ||
|安装指南| | | |安装指南| | | ||
|本文是《安装指南》的一部分。您可以单独阅读它,也可以单击上一个链接以在步骤之间轻松移动。| | | |本文是《安装指南》的一部分。您可以单独阅读它,也可以单击上一个链接以在步骤之间轻松移动。| | | ||
- | |[[核心安装|<< | + | |[[核心安装|<< |
- | ==== 目录 ==== | + | ===== 目录 |
- | * [[下载]] | + | * [[#下载]] |
- | * [[提取器]] | + | * [[#提取器]] |
- | * [[配置文件]] | + | * [[#配置文件]] |
Now that you have the source compiled, you need to add some necessary files, by either downloading or extracting them. | Now that you have the source compiled, you need to add some necessary files, by either downloading or extracting them. | ||
行 20: | 行 20: | ||
|mmaps|HIGHLY RECOMMENDED| | |mmaps|HIGHLY RECOMMENDED| | ||
|cameras|Recommended| | |cameras|Recommended| | ||
- | ==== Download | + | ===== 下载 ===== |
---- | ---- | ||
- | If you do not want to extract these files using the extractors you can find download links here: | + | 如果您不想使用提取器提取这些文件,可以在此处找到下载链接: |
- | Github | + | Github |
- | Full data (v16) - from 02/01/2023 to now | + | [[https:// |
- | Download the files above. | + | - 下载上面的文件。 |
+ | - 在生成文件夹中创建一个名为 Data 的新文件夹。 例如: windows: C: | ||
+ | - 从 zip 文件中提取文件并将它们放在“Data”文件夹中。 | ||
+ | - 将 DataDir 配置选项编辑到文件夹的位置。 | ||
- | Create a new folder within the build folder called Data. i.e windows: C: | + | ===== 提取器 ===== |
+ | ---- | ||
+ | **(如果您下载了上述文件,则不需要)** | ||
- | Extract the files from the zip file and place them within the Data folder. | + | 如果您下载了上面的文件,则可以跳过此步骤并跳转到 worldserver.conf / authserver.conf. |
- | Edit your the DataDir config option to the location of your folder. | + | 这部分只是整个过程的一般摘要 - 请针对您正在使用的操作系统更详细地阅读它。 |
- | ==== Extractors ==== | + | [[Linux 服务器设置]] |
- | ---- | + | |
- | (Not needed if you downloaded the files above) | + | |
- | If you downloaded the files above you can skip this step and jump forward to worldserver.conf / authserver.conf. | + | [[macOS 服务器设置]] |
- | This part is just a general summary of the overall process - please read it in more detail for the OS you are working with. | + | [[Windows 服务器设置]] |
- | Linux Server Setup | + | AzerothCore 需要从魔兽世界客户端中提取的某些文件。您需要从 3.3.5a 客户端中提取它们。 |
- | macOS Server Setup | + | 默认情况下,您将使用工具编译核心,您将获得以下可执行文件:**mapextractor,vmap4extractor,vmap4assembler,mmaps_generator**(Windows上的.exe)。 |
- | Windows | + | 将文件放到您的魔兽世界文件(wow.exe 在 Windows |
- | AzerothCore needs certain files extracted from the World of Warcraft client. You need to extract them from a 3.3.5a client. | + | 提取所有必要的文件后,在 RelWithDebInfo 或 Debug 目录中创建一个名为 Data 的文件夹,并将文件放入其中。或者,您可以通过更改 worldserver.conf 文件中的 DataDir 值来指定要保存它们的其他目录。 |
- | By default, you will compile your core with tools and you will get the following executable files: mapextractor, | + | 如果您使用来自其他项目或分支的提取器,几乎可以肯定您的 AzerothCore 将无法识别提取的数据,甚至无法工作! |
- | Place the files with your World of Warcraft binary (wow.exe on Windows) and run them. | + | 完成此操作后,您可能会收到以下消息,可以安全地忽略该消息: |
- | After extracting all necessary files, create a folder called Data within the RelWithDebInfo or Debug directory and place the files in there. Alternatively, | ||
- | If you use extractors from other projects or branches it is almost certain that your AzerothCore will not recognize the extracted data or even work! | ||
- | |||
- | When this is complete you may receive the following message which can be safely ignored: | ||
< | < | ||
Processing Map 724 | Processing Map 724 | ||
行 71: | 行 70: | ||
Extract V4.00 2012_02. Work complete. No errors. | Extract V4.00 2012_02. Work complete. No errors. | ||
</ | </ | ||
- | === Trouble Shooting | + | ==== 故障排除 ==== |
- | " | + | **" |
- | You need to run Mapextractor.exe before the makevmaps_simple.bat. | + | 你需要在makevmaps_simple.bat之前运行Mapextractor.exe。 |
- | ==== Config Files ==== | + | ===== 配置文件 ===== |
---- | ---- | ||
- | The configuration, | ||
- | Every time the core is recompiled a distributed, | + | 配置、conf、文件是您配置世界服务器和身份验证服务器设置的地方。 |
- | === Creating the config files === | + | |
- | Go to your configs folder i.e. D: | + | 每次重新编译内核时,都会创建一个分布式的 |
- | Remove the .dist part from worldserver.conf.dist and authserver.conf.dist. | + | ==== 创建配置文件 ==== |
- | You should be left with worldserver.conf | + | - 转到您的配置文件夹,例如:D: |
- | Open the .conf files and scroll down to LoginDatabaseInfo, WorldDatabaseInfo, | + | - 从 worldserver.conf.dist 和 authserver.conf.dist 中删除 .dist 部分。 |
- | + | * 你应该留下 worldserver.conf and authserver.conf. | |
- | On a newly compiled configuration, | + | 打开 .conf 文件并向下滚动到 |
+ | 在新编译的配置上,默认情况下将具有以下值: | ||
+ | < | ||
LoginDatabaseInfo | LoginDatabaseInfo | ||
WorldDatabaseInfo | WorldDatabaseInfo | ||
CharacterDatabaseInfo = " | CharacterDatabaseInfo = " | ||
- | They follow this structure: | + | </ |
+ | 它们遵循以下结构: | ||
+ | < | ||
Variablename = " | Variablename = " | ||
- | The following steps must be verified: | + | </code> |
- | + | ||
- | The hostname (127.0.0.1) can stay the same if AzerothCore is being installed on the same computer that you run WoW on. If not, follow the instruction in Realmlist Table. | + | |
- | + | ||
- | The port (3306) is the standard configured value. If you changed the default port in your MySQL settings, you must change it accordingly. The username and password can be variable. You can choose to either: | + | |
- | + | ||
- | use default acore / acore username and password pair. | + | |
- | create a unique login within a User Manager within your preferred database management tool (commonly identified by an icon that looks like a person or people) and give it the necessary permissions (SELECT, INSERT, UPDATE, DELETE permissions are sufficient, and is much safer). | + | 必须验证以下步骤: |
- | === Updating DataDir === | + | * 如果艾泽拉斯核心安装在运行魔兽世界的同一台计算机上,hostname(127.0.0.1)可以保持不变。 如果没有,请按照 Realmlist 表中的说明进行操作。 |
+ | * 端口 (3306) 是标准配置值。如果您在 MySQL 设置中更改了默认端口,则必须相应地更改它。 用户名和密码可以是可变的。您可以选择: | ||
+ | * 使用默认的 acore / acore 用户名和密码对。 | ||
+ | * 在您的数据库管理工具(通常由看起来像一个或多个人的图标标识)的用户管理器中创建唯一的登录名,并为其提供必要的权限(选择、插入、更新、删除权限就足够了,而且更安全)。 | ||
- | In your worldserver.conf file locate the DataDir | + | ==== 更新 |
- | Edit it to the path of your folder. i.e C: | + | - 在您的 worldserver.conf 文件中,找到 DataDir 选项。 |
+ | - 将其编辑到文件夹的路径。 例如: | ||
- | Pro Tip: For most worldserver.conf | + | // |
- | NOTE: The AzerothCore | + | // |
- | === (Optional) Config options by environment variable | + | ==== (可选)按环境变量配置选项 ==== |
- | It is possible to load config options via environment variables, which you can read about here. | + | 可以通过环境变量加载配置选项,您可以在[[此处]]阅读。 |
- | ==== Help ==== | + | ===== Help ===== |
---- | ---- | ||
If you are still having problems, check: | If you are still having problems, check: |
服务器设置.1695468335.txt.gz · 最后更改: 2023/09/23 19:25 由 admin