魔兽世界私服搭建架设教程「建议收藏」

魔兽世界私服搭建架设教程「建议收藏」https://github.com/TrinityCore/TrinityCore服务端源码,而且github上有详细教程,这里只记录关键WindowsRequirementsProcessorwithSSE2supportBoost1.63(根据教程实际下载的是1.66)MySQL≥5.1.0uptoMySQL5.7.xOpenSSL≥1.0.x(…

大家好,又见面了,我是你们的朋友全栈君。如果您正在找激活码,请点击查看最新教程,关注关注公众号 “全栈程序员社区” 获取激活教程,可能之前旧版本教程已经失效.最新Idea2022.1教程亲测有效,一键激活。

Jetbrains全系列IDE稳定放心使用

https://github.com/TrinityCore/TrinityCore

服务端源码,而且github上有详细教程,这里只记录关键

Windows Requirements

Processor with SSE2 support
Boost 1.63 (根据教程实际下载的是1.66)
MySQL ≥ 5.1.0 up to MySQL 5.7.x
OpenSSL ≥ 1.0.x(Win64OpenSSL-1_1_0i.exe)
CMake ≥ 3.8.2 (latest stable recommended)
MS Visual Studio (Community) (2017) (Desktop)

 

1.Git   (2.19.0)

Git Extensions

  1. Includes Git, MySYSGit, and KDiff – be sure to install all three
  2. View this thread for important details on how to install Git for best results. Default install options for KDiff and MySYSGit are acceptable.
     
    1. During Git installation – Adjusting your PATH environment. Pick “Run Git from the Windows Command Prompt“.

2.vs2017 选c++

3.mysql   mysql-5.5.60.1.msi

4.KDiff3-64bit-Setup_0.9.98-2.exe

源码是3.3.5

编译成功如下

魔兽世界私服搭建架设教程「建议收藏」

还要拷贝3个文件

→  C:\Program Files\MySQL\MySQL Server 5.x\lib\

libmysql.dll 

→ C:\OpenSSL-Win64\bin

libssl-1_1-x64.dll
libcrypto-1_1-x64.dll

 

下来准备启动服务器

Windows

1. Browse into your D:\Build\bin\RelWithDebInfo folder and copy these files into your root World of Warcraft folder (where the Wow.exe is located):

mapextractor.exe
mmaps_generator.exe
vmap4extractor.exe
vmap4assembler.exe

Note – If you are extracting the data files from another machine, please make sure that you have the appropriate VC++ Redistributable Packages installed

2. Browse into your C:\TrinityCore\contrib and copy “extractor.bat” into your root World of Warcraft folder (with the previous files)

3. Launch extractor.bat and select what you want.

Important: dbc/db2 and maps AND vmaps are needed to make server work properly!

Note: Extracting the vmaps will take a while depending on your machine (30 min. – Up to 2 hours). Do not attempt to stop this process. It is finished when it prints “Press any key…”. It will create two new folders: buildings and vmaps. The buildings folder is completely useless post-running and can be safely deleted.

NOTE: Don’t run another task before the 1st is finished or you will have errors.

Optional but recommended: Extracting mmaps is optional but recommended. You should know that doing it will take a while depending on your machine (up to 8 hours). Do not attempt to stop this process.

4. Move the vmaps, maps, dbc, cameras and gt (master only) folders to the same directory as the TrinityCore binaries.

Note: The mmaps are experimental right now. Any bugs should be reported to the Issue Tracker.

Setting up the configuration files

First of all you need to find the two default config files (named worldserver.conf.dist and authserver.conf.dist (bnetserver.conf.dist in master) ) and copy these to their namesakes without the .dist extension.

 

下载

createsql

和 TDB_full…sql

只执行第一个,把第二个拷贝到build\bin\RelWithDebInfo 运行worldserver.exe就自动导入了

然后启动两个服务端

在world server里面执行create account 来创建账户

 

修改客户端配置

客户端默认是去登陆官方服务器,需要修改一下地址改成让客户端登陆我们自己架设的游戏服务器。假设魔兽世界客户端安装在 D:\WOW 下面,到 D:\WOW\Data\zhCN 下面,备份 realmlist.wtf 文件(如果没有就创建一个)。该文件原来的内容是

    set realmList cn.logon.warcraftchina.com
    set patchlist cn.version.warcraftchina.com
    set realmlistbn ""
    set portal cn

将其内容改成

    SET realmlist "127.0.0.1"
    SET patchlist "127.0.0.1"
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/185603.html原文链接:https://javaforall.net

(0)
上一篇 2022年10月5日 下午6:00
下一篇 2022年10月5日 下午6:16


相关推荐

  • js filter过滤数组_js一个数组过滤另一个数组

    js filter过滤数组_js一个数组过滤另一个数组数组删除指定元素,一个数组删除另一个数组所包含的值

    2026年4月14日
    6
  • java是面向对象还是面向过程_Java面向对象编程和面向过程编程的区别[通俗易懂]

    java是面向对象还是面向过程_Java面向对象编程和面向过程编程的区别[通俗易懂]Java面向对象编程和面向过程编程的区别本章节目标:了解面向对象,知道类和对象的区别,会进行类的定义。知识框架:Java面向对象编程和面向过程编程的区别“面向过程”(ProcedureOriented)是一种以过程为中心的编程思想,简称OP。“面向过程”也可称之为“面向记录”编程思想,就是分析出解决问题所需要的步骤,然后用函数把这些步骤一步一步实现,使用的时候一个一个依次调用就可以了。所以面向过…

    2022年7月8日
    21
  • 离散 单射 满射 双射

    离散 单射 满射 双射单射双射满射阐述一下什么是单射,双射,满射1.单射:对于每一个不同的x都有不同的y,即x1!=x2–>y1!+y2条件:|X|<=|Y|2.满射:对于每一个y都有x与之对应条件:|Y|<=|X|3.双射:既是单射又是满射条件:|X|=|Y|代码实现通过map函数建立映射1.单射:map<int,int>BuildInjection(vector<int>src,vector<int>dst){map&l

    2022年6月10日
    36
  • linux 查看定时任务列表

    linux 查看定时任务列表Linux 下定时任务的查看及取消 crontab l 表示列出所有的定时任务 crontab r 表示删除用户的定时任务 当执行此命令后 所有用户下面的定时任务会被删除 执行 crontab l 后会提示用户 nocrontabfor 该文件中每行都包括六个域 其中前五个域是指定命令被执行的时间 最后一个域是要被执行的命令 每个域之间使用空格或者制表符分隔 格式如

    2026年3月19日
    3
  • Android Studio 简单生成so文件并调用「建议收藏」

    Android Studio 简单生成so文件并调用「建议收藏」平台:windowsIDE:AndroidStudio下载好ndk:下载地址https://developer.android.com/ndk/downloads/index.html第1步:新建一个AndroidStudio工程JniHelloWorld。新建一个MyJni.java文件。MyJni.javapublicclassMyJni

    2026年1月26日
    4
  • c语言入门教程–16字符串常见操作

    c语言入门教程–16字符串常见操作

    2021年3月12日
    153

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号