天天看点

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模块

我是艾西,今天的分享就到这里啦希望对有需要的小伙伴有帮助我们下期见

继续阅读