服务器设置
差别
这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录前一修订版后一修订版 | 前一修订版 | ||
服务器设置 [2023/09/23 19:37] – [提取器] admin | 服务器设置 [2023/09/23 20:30] (当前版本) – admin | ||
---|---|---|---|
行 1: | 行 1: | ||
- | ===== 服务器设置 ===== | + | ====== 服务器设置 |
---- | ---- | ||
|安装指南| | | |安装指南| | | ||
|本文是《安装指南》的一部分。您可以单独阅读它,也可以单击上一个链接以在步骤之间轻松移动。| | | |本文是《安装指南》的一部分。您可以单独阅读它,也可以单击上一个链接以在步骤之间轻松移动。| | | ||
- | |[[核心安装|<< | + | |[[核心安装|<< |
- | ==== 目录 ==== | + | ===== 目录 |
行 20: | 行 20: | ||
|mmaps|HIGHLY RECOMMENDED| | |mmaps|HIGHLY RECOMMENDED| | ||
|cameras|Recommended| | |cameras|Recommended| | ||
- | ==== 下载 ==== | + | ===== 下载 |
---- | ---- | ||
如果您不想使用提取器提取这些文件,可以在此处找到下载链接: | 如果您不想使用提取器提取这些文件,可以在此处找到下载链接: | ||
行 33: | 行 33: | ||
- 将 DataDir 配置选项编辑到文件夹的位置。 | - 将 DataDir 配置选项编辑到文件夹的位置。 | ||
- | ==== 提取器 ==== | + | ===== 提取器 |
---- | ---- | ||
- | **(如果您下载了上述文件,则不需要进行此操作)** | + | **(如果您下载了上述文件,则不需要)** |
如果您下载了上面的文件,则可以跳过此步骤并跳转到 worldserver.conf / authserver.conf. | 如果您下载了上面的文件,则可以跳过此步骤并跳转到 worldserver.conf / authserver.conf. | ||
行 47: | 行 47: | ||
[[Windows 服务器设置]] | [[Windows 服务器设置]] | ||
- | AzerothCore | + | AzerothCore |
- | By default, you will compile your core with tools and you will get the following executable files: | + | 默认情况下,您将使用工具编译核心,您将获得以下可执行文件:**mapextractor,vmap4extractor,vmap4assembler,mmaps_generator**(Windows上的.exe)。 |
- | Place the files with your World of Warcraft binary (wow.exe | + | 将文件放到您的魔兽世界文件(wow.exe |
- | After extracting all necessary files, create a folder called Data within the RelWithDebInfo | + | 提取所有必要的文件后,在 |
+ | |||
+ | 如果您使用来自其他项目或分支的提取器,几乎可以肯定您的 AzerothCore 将无法识别提取的数据,甚至无法工作! | ||
+ | |||
+ | 完成此操作后,您可能会收到以下消息,可以安全地忽略该消息: | ||
- | 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 | ||
行 68: | 行 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。 |
- | ==== 配置文件 ==== | + | ===== 配置文件 |
---- | ---- | ||
- | 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. | ||
+ | 打开 .conf 文件并向下滚动到 | ||
- | On a newly compiled configuration, | + | 在新编译的配置上,默认情况下将具有以下值: |
< | < | ||
LoginDatabaseInfo | LoginDatabaseInfo | ||
行 94: | 行 96: | ||
CharacterDatabaseInfo = " | CharacterDatabaseInfo = " | ||
</ | </ | ||
- | They follow this structure: | + | |
+ | 它们遵循以下结构: | ||
< | < | ||
Variablename = " | Variablename = " | ||
</ | </ | ||
- | The following steps must be verified: | ||
- | |||
- | 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: |
服务器设置.1695469057.txt.gz · 最后更改: 2023/09/23 19:37 由 admin