trinityCore在windows编译部署(3.3.5版本)-2022-2-15更新

参考:https://trinitycore.atlassian.net/wiki/spaces/tc/pages/10977296/Windows+Requirements

环境

建议:
Processor with SSE2 support
Boost ≥ 1.70 (latest stable recommended)
MySQL ≥ 5.7
OpenSSL = 1.x.x
CMake ≥ 3.14 (latest stable recommended)
MS Visual Studio (Community) ≥ 16.4 (2019) (Desktop) (Not previews)

我使用的当前最新版本
bootst:boost_1_78_0
cmake:cmake-3.23.0-rc1-windows-x86_64

下载代码并切换到3.3.5分支

git clone https://github.com/TrinityCore/TrinityCore.git
git checkout 3.3.5

编译

file

在Visual Studio解决方案选择RelWithDebInfo

file

最后生成解决方案即可

file

添加运行环境到根目录

libmysql.dll
libeay32.dll
ssleay32.dll

准备数据库:

项目地址:https://github.com/TrinityCore/TrinityCore/blob/3.3.5/sql/create/create_mysql.sql

CREATE USER 'trinity'@'localhost' IDENTIFIED BY 'trinity' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0;

GRANT USAGE ON * . * TO 'trinity'@'localhost';

CREATE DATABASE `world` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;

CREATE DATABASE `characters` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;

CREATE DATABASE `auth` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;

GRANT ALL PRIVILEGES ON `world` . * TO 'trinity'@'localhost' WITH GRANT OPTION;

GRANT ALL PRIVILEGES ON `characters` . * TO 'trinity'@'localhost' WITH GRANT OPTION;

GRANT ALL PRIVILEGES ON `auth` . * TO 'trinity'@'localhost' WITH GRANT OPTION;

数据导入

file

file

file

没有数据导入

国际化-中文翻译

创建账号

https://trinitycore.atlassian.net/wiki/spaces/tc/pages/77971021/Final+Server+Steps

3.3.5
创建您的帐户:非常重要,不要在帐户名称上使用@。
类型: account create 示例: account create test test
设置GM帐户级别:
类型: account set gmlevel 3 -1
示例: account set gmlevel test 3 -1
登录到您的帐户:
通过 wow.exe用账号 test 和 密码test登录。

file

file

如果需要外网访问

需要开放 TCP:8085,3724端口
修改realmlist表address字段为自己的服务器ip

暂无评论

发送评论 编辑评论


				
上一篇
下一篇