Comments (14)
659a216 edit your LfgActions.cpp in "core\modules\mod-playerbots\src\strategy\actions" to the changes in that link, it fixes the issues while compiling, namings changed in DBCStructure.h at some point and hasn't been updated in some modules so you need to manually update them until zheng get's back to fix them
from mod-playerbots.
Yes, I’m having the same error, failed to compile.
from mod-playerbots.
[ 79%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/World/item_scripts.cpp.o
[ 79%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/World/mob_generic_creature.cpp.o
[ 79%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/World/npc_innkeeper.cpp.o
5 warnings generated.
[ 79%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/World/npc_professions.cpp.o
[ 79%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/World/npc_stave_of_ancients.cpp.o
[ 79%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/World/npc_taxi.cpp.o
[ 79%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/World/npcs_special.cpp.o
[ 79%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/World/player_scripts.cpp.o
5 warnings generated.
[ 80%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/World/server_mail.cpp.o
[ 80%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/World/world_script_loader.cpp.o
[ 80%] Linking CXX static library libscripts.a
[ 80%] Built target scripts
make: *** [Makefile:130: all] Error 2
failed to compile
from mod-playerbots.
Hi,
DBCStructure.h changed at some point. Also had this problem in other modules (mod-autobalance) Worked for me replacing in line 100 of LfgActions.cpp the for loop code:
for (std::vector<uint32>::iterator i = dungeons.begin(); i != dungeons.end(); ++i)
{
LFGDungeonEntry const* dungeon = sLFGDungeonStore.LookupEntry(*i);
if (!dungeon || (dungeon->TypeID != LFG_TYPE_RANDOM && dungeon->TypeID != LFG_TYPE_DUNGEON && dungeon->TypeID != LFG_TYPE_HEROIC && dungeon->TypeID != LFG_TYPE_RAID))
continue;
uint32 botLevel = bot->getLevel();
if (dungeon->TargetLevelMin && botLevel < dungeon->TargetLevelMin)
continue;
if (dungeon->TargetLevelMin && botLevel > dungeon->TargetLevelMin + 10)
continue;
if (dungeon->TargetLevelMax && botLevel > dungeon->TargetLevelMax)
continue;
selected.push_back(dungeon->ID);
list.insert(dungeon->ID);
}
Also another error in line 174 replaced for
LOG_INFO("playerbots", "Bot {} {}:{} <{}>: queues LFG, Dungeon as {} ({})",
bot->GetGUID().ToString().c_str(), bot->GetTeamId() == TEAM_ALLIANCE ? "A" : "H",
bot->getLevel(), bot->GetName().c_str(), _roles, many ? "several dungeons" : dungeon->Name[0]);
from mod-playerbots.
659a216 edit your LfgActions.cpp in "core\modules\mod-playerbots\src\strategy\actions" to the changes in that link, it fixes the issues while compiling, namings changed in DBCStructure.h at some point and hasn't been updated in some modules so you need to manually update them until zheng get's back to fix them
that's right! I follow this suggestion and it compiles normally! thanks!
from mod-playerbots.
from mod-playerbots.
I believe zheng is on vacation right now for the next 5 weeks but if your having issues compiling see the changes I made in my comment above to fix it temporarily until zheng returns
from mod-playerbots.
659a216 edit your LfgActions.cpp in "core\modules\mod-playerbots\src\strategy\actions" to the changes in that link, it fixes the issues while compiling, namings changed in DBCStructure.h at some point and hasn't been updated in some modules so you need to manually update them until zheng get's back to fix them
using that file I still get compiling errors like it made no difference.
from mod-playerbots.
659a216 edit your LfgActions.cpp in "core\modules\mod-playerbots\src\strategy\actions" to the changes in that link, it fixes the issues while compiling, namings changed in DBCStructure.h at some point and hasn't been updated in some modules so you need to manually update them until zheng get's back to fix them
using that file I still get compiling errors like it made no difference.
Send a screenshot of your error log and console output of the errors and I'll try to help, also make sure you renamed it to mod-playerbots if you downloaded as zip or it will not compile and will spit out errors like "Unresolved external symbol"
from mod-playerbots.
659a216 edit your LfgActions.cpp in "core\modules\mod-playerbots\src\strategy\actions" to the changes in that link, it fixes the issues while compiling, namings changed in DBCStructure.h at some point and hasn't been updated in some modules so you need to manually update them until zheng get's back to fix them
using that file I still get compiling errors like it made no difference.
Send a screenshot of your error log and console output of the errors and I'll try to help, also make sure you renamed it to mod-playerbots if you downloaded as zip or it will not compile and will spit out errors like "Unresolved external symbol"
Here is my entire compilation log. I am using the fork of AC (https://github.com/ZhengPeiRu21/azerothcore-wotlk/tree/Playerbot) and the .zip module for AC (renamed).
from mod-playerbots.
659a216 edit your LfgActions.cpp in "core\modules\mod-playerbots\src\strategy\actions" to the changes in that link, it fixes the issues while compiling, namings changed in DBCStructure.h at some point and hasn't been updated in some modules so you need to manually update them until zheng get's back to fix them
using that file I still get compiling errors like it made no difference.
Send a screenshot of your error log and console output of the errors and I'll try to help, also make sure you renamed it to mod-playerbots if you downloaded as zip or it will not compile and will spit out errors like "Unresolved external symbol"
Here is my entire compilation log. I am using the fork of AC (https://github.com/ZhengPeiRu21/azerothcore-wotlk/tree/Playerbot) and the .zip module for AC (renamed).
Not sure if I'll be able to help much since I don't have any experiencing compiling the core outside of windows but I see a bunch of fatal errors in that log like in
"/home/user/acbots/azerothcore-wotlk/modules/mod-playerbots/src/PlayerbotDbStore.cpp" uses "PlayerbotsDatabasePreparedStatement" instead of "CharacterDatabasePreparedStatement"
and in "/home/user/acbots/azerothcore-wotlk/modules/mod-playerbots/src/PlayerbotDungeonSuggestionMgr.cpp" it's calling for an undeclared indentifier 'PlayerbotsDatabase' and a bunch of "enumeration previously declared with nonfixed underlying type" errors I'm not too sure how to fix, as well as in
"/home/user/acbots/azerothcore-wotlk/modules/mod-playerbots/src/ChatFilter.cpp" there's a fatal error with no member named GetTargetIcon in 'group',
I'd recommend freshly cloning the forked core from https://github.com/ZhengPeiRu21/azerothcore-wotlk/tree/Playerbot and the module from here fixing the issue In my previous comment and trying again following the steps from https://www.azerothcore.org/wiki/installation for the rest of the installation and seeing if the error persists if it does I'd suggest just waiting till zheng is back from their vacation and hoping they can offer more help than I can, sorry I can't offer more help!
from mod-playerbots.
659a216 edit your LfgActions.cpp in "core\modules\mod-playerbots\src\strategy\actions" to the changes in that link, it fixes the issues while compiling, namings changed in DBCStructure.h at some point and hasn't been updated in some modules so you need to manually update them until zheng get's back to fix them
using that file I still get compiling errors like it made no difference.
Send a screenshot of your error log and console output of the errors and I'll try to help, also make sure you renamed it to mod-playerbots if you downloaded as zip or it will not compile and will spit out errors like "Unresolved external symbol"
Here is my entire compilation log. I am using the fork of AC (https://github.com/ZhengPeiRu21/azerothcore-wotlk/tree/Playerbot) and the .zip module for AC (renamed).
Hi, DBCStructure.h changed at some point. Also had this problem in other modules (mod-autobalance) Worked for me replacing in line 100 of LfgActions.cpp the for loop code:
for (std::vector<uint32>::iterator i = dungeons.begin(); i != dungeons.end(); ++i) { LFGDungeonEntry const* dungeon = sLFGDungeonStore.LookupEntry(*i); if (!dungeon || (dungeon->TypeID != LFG_TYPE_RANDOM && dungeon->TypeID != LFG_TYPE_DUNGEON && dungeon->TypeID != LFG_TYPE_HEROIC && dungeon->TypeID != LFG_TYPE_RAID)) continue; uint32 botLevel = bot->getLevel(); if (dungeon->TargetLevelMin && botLevel < dungeon->TargetLevelMin) continue; if (dungeon->TargetLevelMin && botLevel > dungeon->TargetLevelMin + 10) continue; if (dungeon->TargetLevelMax && botLevel > dungeon->TargetLevelMax) continue; selected.push_back(dungeon->ID); list.insert(dungeon->ID); }
Also another error in line 174 replaced for
LOG_INFO("playerbots", "Bot {} {}:{} <{}>: queues LFG, Dungeon as {} ({})", bot->GetGUID().ToString().c_str(), bot->GetTeamId() == TEAM_ALLIANCE ? "A" : "H", bot->getLevel(), bot->GetName().c_str(), _roles, many ? "several dungeons" : dungeon->Name[0]);
from mod-playerbots.
659a216 edit your LfgActions.cpp in "core\modules\mod-playerbots\src\strategy\actions" to the changes in that link, it fixes the issues while compiling, namings changed in DBCStructure.h at some point and hasn't been updated in some modules so you need to manually update them until zheng get's back to fix them
using that file I still get compiling errors like it made no difference.
Send a screenshot of your error log and console output of the errors and I'll try to help, also make sure you renamed it to mod-playerbots if you downloaded as zip or it will not compile and will spit out errors like "Unresolved external symbol"
Here is my entire compilation log. I am using the fork of AC (https://github.com/ZhengPeiRu21/azerothcore-wotlk/tree/Playerbot) and the .zip module for AC (renamed).
https://pastebin.com/10dpSeNANot sure if I'll be able to help much since I don't have any experiencing compiling the core outside of windows but I see a bunch of fatal errors in that log like in "/home/user/acbots/azerothcore-wotlk/modules/mod-playerbots/src/PlayerbotDbStore.cpp" uses "PlayerbotsDatabasePreparedStatement" instead of "CharacterDatabasePreparedStatement" and in "/home/user/acbots/azerothcore-wotlk/modules/mod-playerbots/src/PlayerbotDungeonSuggestionMgr.cpp" it's calling for an undeclared indentifier 'PlayerbotsDatabase' and a bunch of "enumeration previously declared with nonfixed underlying type" errors I'm not too sure how to fix, as well as in "/home/user/acbots/azerothcore-wotlk/modules/mod-playerbots/src/ChatFilter.cpp" there's a fatal error with no member named GetTargetIcon in 'group', I'd recommend freshly cloning the forked core from https://github.com/ZhengPeiRu21/azerothcore-wotlk/tree/Playerbot and the module from here fixing the issue In my previous comment and trying again following the steps from https://www.azerothcore.org/wiki/installation for the rest of the installation and seeing if the error persists if it does I'd suggest just waiting till zheng is back from their vacation and hoping they can offer more help than I can, sorry I can't offer more help!
sadly that is the forked core acting up for me.
from mod-playerbots.
@jlecoustre this should no longer be an issue, please close out
from mod-playerbots.
Related Issues (20)
- [Suggestion] Add manual from Whipowill of available playerbot commands HOT 2
- 编译报错:GuildTaskMgr.cpp:504:5 HOT 1
- 编译报错 我这个步骤哪里有问题啊 能不能出一个中文的安装教程 HOT 6
- Errors when starting world server HOT 1
- ./acore.sh docker start:app 报错
- 如何才能让机器人在战场里动啊 都在家里不动 HOT 1
- There are a few questions I'd like help with
- After compiling the latest source code, there are many red error messages flashing during startup." HOT 1
- 您好,从哪能看到命令说明呢?我没有找到··
- 能不能出一个不修改 azerothcore-wotlk 源码的版本 HOT 2
- 如何限制登录他人账号下角色
- 当BOT登陆时有几率会出现Crashes
- Make is failing
- 发现了几个问题 希望作者进来看下
- Autobalance and Playerbots - Worldserver crashing when pressing 'Enter Battle' on battleground notification HOT 4
- Bots PvP adjustments HOT 2
- KJack’s Autobalance and Playerbots - BG Crash
- MacOS Silicon build issues HOT 3
- Crashing
- ubuntu-22.04.4 compile mod-eluna and mod-playerbots error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mod-playerbots.