用户工具

站点工具


服务器设置

差别

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

到此差别页面的链接

两侧同时换到之前的修订记录前一修订版
后一修订版
前一修订版
服务器设置 [2023/09/23 19:44] – [提取器] 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|
-==== 下载 ====+===== 下载 =====
 ---- ----
 如果您不想使用提取器提取这些文件,可以在此处找到下载链接: 如果您不想使用提取器提取这些文件,可以在此处找到下载链接:
行 33: 行 33:
   - 将 DataDir 配置选项编辑到文件夹的位置。   - 将 DataDir 配置选项编辑到文件夹的位置。
  
-==== 提取器 ====+===== 提取器 =====
 ---- ----
 **(如果您下载了上述文件,则不需要)** **(如果您下载了上述文件,则不需要)**
行 70: 行 70:
 Extract V4.00 2012_02. Work complete. No errors. Extract V4.00 2012_02. Work complete. No errors.
 </code> </code>
-=== 故障排除 ===+==== 故障排除 ====
  
 **"Unable to open wmo_list.txt! Nothing extracted."** **"Unable to open wmo_list.txt! Nothing extracted."**
行 76: 行 76:
 你需要在makevmaps_simple.bat之前运行Mapextractor.exe。 你需要在makevmaps_simple.bat之前运行Mapextractor.exe。
  
-==== 配置文件 ====+===== 配置文件 =====
 ---- ----
-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
行 96: 行 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:
服务器设置.1695469496.txt.gz · 最后更改: 2023/09/23 19:44 由 admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki