天天看點

AzerothCore魔獸世界服務端Lua腳本引擎Eluna防作弊anticheat子產品

作者:艾西ONEPIECE

大家好,我是艾西今天和大家聊聊魔獸世界遊戲内的腳步以及防作弊子產品

AzerothCore魔獸世界服務端Lua腳本引擎Eluna防作弊anticheat子產品

Eluna是azerothcore服務端的Lua腳本引擎,可以在原有azerothcore的基礎上實作很多拓展以及更高的可玩性,比如:超級爐石、更新自動學習技能、伺服器公告、玩家上線提示、制作寶石、附魔以及地圖的NPC等。 防作弊anticheat主要是對于外挂跑的很快,怎麼打也打不死等進行屏蔽。

現在編譯下安裝下anticheat子產品:

先備份建立一個AzerothCore1檔案,将AzerothCoreBuild>build >bin 目錄下的RelWithDeblnfo檔案複制一份出來。再把AzerthCoreServer目錄下的configs檔案也複制到AzerothCore1檔案。

打開Navicat連接配接到資料庫依次點開acore_auth、acore_characters、acore_world資料庫,在acore_auth資料庫表格檔案備份建立備份直接備份下資料

AzerothCore魔獸世界服務端Lua腳本引擎Eluna防作弊anticheat子產品

acore_characters、acore_world資料庫都一樣的點選備份下,将備份出來的三份資料複制到AzerothCore1檔案

在浏覽器下載下傳下Eluna和anticheat子產品

AzerothCore魔獸世界服務端Lua腳本引擎Eluna防作弊anticheat子產品

下載下傳好的子產品解壓的AzerothC oreBuild>azerothcore-wotlk >modules目錄下,将解壓出來的檔案字尾-master删掉然後重新進行CMK

AzerothCore魔獸世界服務端Lua腳本引擎Eluna防作弊anticheat子產品

加載好後打開編譯好的檔案目錄AzerothCoreBuild>build打開AzerothCore.sln檔案用VS運作

在生成配置管理頁面确認一下

AzerothCore魔獸世界服務端Lua腳本引擎Eluna防作弊anticheat子產品

右鍵點選ALL_BULID清理一下然後再點選生成

AzerothCore魔獸世界服務端Lua腳本引擎Eluna防作弊anticheat子產品

生成好後回到 AzerothCoreBuild>build >bin >RelWithDeblnfo 目錄下的lua_scripts、

authserver.exe、dbimport.exe、worldserver.exe檔案複制一份到安裝目錄AzerothCoreServer檔案将原來的檔案替換掉

打開Navicat程式點選acore_characters右鍵運作SQL檔案,

選擇AzerothCoreBuild>azerothcore-wotlk >modules >mod-anticheat >sql >characters >base目錄下的charactersdb_ anticheat.sql檔案

AzerothCore魔獸世界服務端Lua腳本引擎Eluna防作弊anticheat子產品
AzerothCore魔獸世界服務端Lua腳本引擎Eluna防作弊anticheat子產品

acore_world右鍵運作SQL檔案,

選擇AzerothCoreBuild>azerothcore-wotlk >modules >mod-anticheat >sql >world目錄下的Acore_strings.sql檔案

AzerothCore魔獸世界服務端Lua腳本引擎Eluna防作弊anticheat子產品

加載完成後将AzerothCoreBuild>build >bin >RelWithDeblnfo >configs 目錄下的modules檔案複制到AzerothCoreServer>configs檔案内 然後運作authserver.exe和worldserver.exe程式

運作成功沒有報錯的話我們就進入遊戲在對話框輸入.help 在指令行可以看到-anticheat,說明我們的anticheat子產品安裝成功

AzerothCore魔獸世界服務端Lua腳本引擎Eluna防作弊anticheat子產品

在輸入.reload eluna測試下eluna安裝成功沒,顯示Reloading Eluna那表示安裝成功。

AzerothCore魔獸世界服務端Lua腳本引擎Eluna防作弊anticheat子產品

現在我們試一下Eluna腳本,将超級爐石腳本複制到AzerothCoreServer>lua_scripts目錄下

回到遊戲點一下爐石

AzerothCore魔獸世界服務端Lua腳本引擎Eluna防作弊anticheat子產品

對話框輸入.reloading Eluna(重新載入下Eluna子產品)點選爐石彈出此視窗就實作超級爐石了

AzerothCore魔獸世界服務端Lua腳本引擎Eluna防作弊anticheat子產品
AzerothCore魔獸世界服務端Lua腳本引擎Eluna防作弊anticheat子產品
AzerothCore魔獸世界服務端Lua腳本引擎Eluna防作弊anticheat子產品
AzerothCore魔獸世界服務端Lua腳本引擎Eluna防作弊anticheat子產品

到這裡Eluna和anticheat 子產品就安裝完成了,更多Eluna腳本大家可以研究研究

AzerothCore魔獸世界服務端Lua腳本引擎Eluna防作弊anticheat子產品

我是艾西,今天的分享就到這裡啦希望對有需要的小夥伴有幫助我們下期見

繼續閱讀