用户工具

站点工具


服务器设置

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录前一修订版
后一修订版
前一修订版
服务器设置 [2023/09/23 19:29] – [目录] admin服务器设置 [2023/09/23 20:30] (当前版本) admin
行 1: 行 1:
-===== 服务器设置 =====+====== 服务器设置 ======
 ---- ----
 |安装指南| | |安装指南| |
 |本文是《安装指南》的一部分。您可以单独阅读它,也可以单击上一个链接以在步骤之间轻松移动。| | |本文是《安装指南》的一部分。您可以单独阅读它,也可以单击上一个链接以在步骤之间轻松移动。| |
-|[[核心安装|<< Step 2: 核心安装]]|Step 4: 数据库安装 >>|+|[[核心安装|<< Step 2: 核心安装]]|[[数据库安装|Step 4: 数据库安装 >>]]|
  
-==== 目录 ====+===== 目录 =====
  
  
行 20: 行 20:
 |mmaps|HIGHLY RECOMMENDED| |mmaps|HIGHLY RECOMMENDED|
 |cameras|Recommended| |cameras|Recommended|
-==== 下载 ====+===== 下载 =====
 ---- ----
-If you do not want to extract these files using the extractors you can find download links here:+如果您不想使用提取器提取这些文件,可以在此处找到下载链接:
  
-Github link:+Github 链接:
  
-Full data (v16) - from 02/01/2023 to now+[[https://github.com/wowgaming/client-data/releases/|Full data (v16) - from 02/01/2023 to now]]
  
-Download the files above.+  - 下载上面的文件。 
 +  - 在生成文件夹中创建一个名为 Data 的新文件夹。 例如: windows: C:\Build\bin\RelWithDebInfo\Data or Linux: $HOME/azeroth-server/data/ 
 +  - 从 zip 文件中提取文件并将它们放在“Data”文件夹中。 
 +  - 将 DataDir 配置选项编辑到文件夹的位置。
  
-Create a new folder within the build folder called Data. i.e windows: C:\Build\bin\RelWithDebInfo\Data or Linux: $HOME/azeroth-server/data/+===== 提取器 ===== 
 +---- 
 +**(如果您下载了上述文件,则不需要)**
  
-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 Server Setup+将文件放到您的魔兽世界文件(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, vmap4extractor, vmap4assembler, mmaps_generator (.exe on Windows).+如果您使用来自其他项目或分支的提取器,几乎可以肯定您的 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, you can specify a different directory where you want to keep them by changing the DataDir value in the worldserver.conf file. 
  
-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: 
 <code> <code>
 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.
 </code> </code>
-=== Trouble Shooting ===+==== 故障排除 ====
  
-"Unable to open wmo_list.txt! Nothing extracted."+**"Unable to open wmo_list.txt! Nothing extracted."**
  
-You need to run Mapextractor.exe before the makevmaps_simple.bat.+你需要在makevmaps_simple.bat之前运行Mapextractor.exe。
  
-==== Config Files ====+===== 配置文件 =====
 ---- ----
-The configuration, conf, files are where you configure your settings for the world- and authserver. 
  
-Every time the core is recompiled a distributed, .dist, conf file will be made where all the default options are stored. This file serves no real purpose except for distributing all the options from the core. +配置、conf、文件是您配置世界服务器和身份验证服务器设置的地方。
-=== Creating the config files ===+
  
-Go to your configs folder i.e. D:\build\bin\RelWithDebInfo\configs+每次重新编译内核时,都会创建一个分布式的 .dist conf 文件,其中存储了所有默认选项。除了从核心分发所有选项外,此文件没有任何实际用途。
  
-Remove the .dist part from worldserver.conf.dist and authserver.conf.dist.+==== 创建配置文件 ====
  
-You should be left with worldserver.conf and authserver.conf. +  - 转到您的配置文件夹,例如:D:\build\bin\RelWithDebInfo\configs 
-Open the .conf files and scroll down to LoginDatabaseInfo, WorldDatabaseInfo, and CharacterDatabaseInfo and enter MySQL login information for the server to be able to access your database.+  - 从 worldserver.conf.dist 和 authserver.conf.dist 中删除 .dist 部分。 
 +    * 你应该留下 worldserver.conf and authserver.conf. 
 +打开 .conf 文件并向下滚动到 LoginDatabaseInfo、WorldDatabaseInformation 和 CharacterDatabaseInfo,然后输入服务器的 MySQL 登录信息,以便能够访问您的数据库。
  
-On a newly compiled configuration, you will have the following values by default+在新编译的配置上,默认情况下将具有以下值:
 <code> <code>
 LoginDatabaseInfo     = "127.0.0.1;3306;acore;acore;acore_auth" worldserver.conf / authserver.conf LoginDatabaseInfo     = "127.0.0.1;3306;acore;acore;acore_auth" worldserver.conf / authserver.conf
行 97: 行 96:
 CharacterDatabaseInfo = "127.0.0.1;3306;acore;acore;acore_characters" worldserver.conf CharacterDatabaseInfo = "127.0.0.1;3306;acore;acore;acore_characters" worldserver.conf
 </code> </code>
-They follow this structure:+ 
 +它们遵循以下结构:
 <code> <code>
 Variablename = "MySQLIP;Port;Username;Password;database"   Variablename = "MySQLIP;Port;Username;Password;database"  
 </code> </code>
-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 option.+==== 更新 DataDir ====
  
-Edit it to the path of your folderi.e C:\Build\bin\RelWithDebInfo\Data+  - 在您的 worldserver.conf 文件中,找到 DataDir 选项。 
 +  - 将其编辑到文件夹的路径。 例如: C:\Build\bin\RelWithDebInfo\Data
  
-Pro Tip: For most worldserver.conf setting changes, you can simply type .reload config in-game to see changes instantly without restarting the server.+//专业提示:对于大多数 worldserver.conf 设置更改,您只需在游戏中键入 .reload config 即可立即查看更改,而无需重新启动服务器。//
  
-NOTE: The AzerothCore Team and Owners DO NOT in any case sponsor nor support illegal public servers. If you use these projects to run an illegal public server and not for testing and learning it is your own personal choice.+//注意: 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:
服务器设置.1695468552.txt.gz · 最后更改: 2023/09/23 19:29 由 admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki