world-of-warcraft - mod-solo-lfg azerothcore - 错误:没有成员命名
问题描述
我正在尝试安装此模块:https ://github.com/azerothcore/mod-solo-lfg
我在 Debian 10 droplet 上运行服务器。
我将mod放入模块文件夹并做了
git apply lfg-solo.patch
这是我得到的错误:
/home/nori/azerothcore/modules/mod-solo-lfg-master/src/Lfg_Solo.cpp:44:27: error: no member named 'IsSoloLFG' in 'lfg::LFGMgr'
if (!sLFGMgr->IsSoloLFG())
~~~~~~~ ^
/home/nori/azerothcore/modules/mod-solo-lfg-master/src/Lfg_Solo.cpp:46:22: error: no member named 'ToggleSoloLFG' in 'lfg::LFGMgr'
sLFGMgr->ToggleSoloLFG();
~~~~~~~ ^
2 errors generated.
make[2]: *** [src/server/scripts/CMakeFiles/scripts.dir/build.make:7792: src/server/scripts/CMakeFiles/scripts.dir/__/__/__/modules/mod -solo-lfg-master/src/Lfg_Solo.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1283: src/server/scripts/CMakeFiles/scripts.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
解决方案
在 lfg::LFGMgr 中找到的两个成员IsSoloLFG
和arent。ToggleSoloLFG
您可以查看服务器源代码以查看补丁是否添加了更新,但似乎没有。
您可以尝试重新应用补丁,也可以手动添加更改。
推荐阅读
- java - 如何在无网络模式下将自定义命令行传递给 locust
- .net - 使用 codefirst 连接并创建数据库,错误 26
- rest - OWASP 保护 restapi 免受点击劫持的安全指南,它们准确吗?
- javascript - 如何解决 JavaScript 中的堆栈问题?
- kotlin - 智能投不投String?!value.isNullOrBlank() 之后的字符串
- android - 为什么我在 StringReader read() 中得到 IndexOutOfBoundsException?
- http - 与本地主机上的内部反向代理的内部 ServiceFabric 通信
- virtocommerce - 来自 Github 的 virto 商务部署
- html - CSS:强制无线电输入检查
- javascript - 在 Angular JS 中过滤我的 JavaScript 中的未定义