日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程资源 > 编程问答 >内容正文

编程问答

魔兽世界私服搭建架设教程

發(fā)布時(shí)間:2023/12/14 编程问答 20 豆豆
生活随笔 收集整理的這篇文章主要介紹了 魔兽世界私服搭建架设教程 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

https://github.com/TrinityCore/TrinityCore

服務(wù)端源碼,而且github上有詳細(xì)教程,這里只記錄關(guān)鍵

Windows Requirements

Processor with SSE2 support
Boost 1.63 (根據(jù)教程實(shí)際下載的是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

  • Includes Git, MySYSGit, and KDiff - be sure to install all three
  • View?this thread?for important details on how to install Git for best results.?Default install options for KDiff and MySYSGit are acceptable.
    ?
  • 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個(gè)文件

    →? 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

    ?

    下來準(zhǔn)備啟動(dòng)服務(wù)器

    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

    只執(zhí)行第一個(gè),把第二個(gè)拷貝到build\bin\RelWithDebInfo 運(yùn)行worldserver.exe就自動(dòng)導(dǎo)入了

    然后啟動(dòng)兩個(gè)服務(wù)端

    在world server里面執(zhí)行create account 來創(chuàng)建賬戶

    ?

    修改客戶端配置

    客戶端默認(rèn)是去登陸官方服務(wù)器,需要修改一下地址改成讓客戶端登陸我們自己架設(shè)的游戲服務(wù)器。假設(shè)魔獸世界客戶端安裝在 D:\WOW 下面,到 D:\WOW\Data\zhCN 下面,備份 realmlist.wtf 文件(如果沒有就創(chuàng)建一個(gè))。該文件原來的內(nèi)容是

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

    將其內(nèi)容改成

    SET realmlist "127.0.0.1"SET patchlist "127.0.0.1"

    總結(jié)

    以上是生活随笔為你收集整理的魔兽世界私服搭建架设教程的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。

    如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。