Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 [Bug Report] [WoTLK] [-DBUILD_DEPRECATED_PLAYERBOT=ON] PlayerbotAI.ccp has a compiling error #3828

Open
adellaci opened this issue Jan 12, 2025 · 3 comments · May be fixed by cmangos/mangos-wotlk#584
Labels
Info: Needs Replication Issue needs replication before further action. System: CMaNGOS Extensions e.g. AHBot and PlayerBot Type: Build Process Issue occuring during building / compiling CMaNGOS

Comments

@adellaci
Copy link

Bug Details

Error at approximately 93% through compiling

/home/mangos/cmangos/wotlk/src/game/PlayerBot/Base/PlayerbotAI.cpp: In member function ‘void PlayerbotAI::UpdateAI(uint32)’:
/home/mangos/cmangos/wotlk/src/game/PlayerBot/Base/PlayerbotAI.cpp:5194:110: error: ‘const struct CreatureInfo’ has no member named ‘CreatureTypeFlags’; did you mean ‘CreatureType’?
 5194 |                 pTarget->IsDead() || !m_bot->IsInMap(pTarget) || !(((Creature*) pTarget)->GetCreatureInfo()->CreatureTypeFlags & CreatureTypeFlags::TAMEABLE))
      |                                                                                                              ^~~~~~~~~~~~~~~~~
      |                                                                                                              CreatureType
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:683: src/game/CMakeFiles/game.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

Steps to Reproduce

  1. Compile
  2. cmake ~/cmangos/wotlk -DCMAKE_INSTALL_PREFIX=~/wow-servers/wotlk -DBUILD_EXTRACTORS=ON -DBUILD_SCRIPTDEV=ON -DBUILD_AHBOT=ON -DBUILD_PLAYERBOTS=OFF -DBUILD_DEPRECATED_PLAYERBOT=ON -DPCH=1 -DDEBUG=0 -DBUILD_RECASTDEMOMOD=OFF -DBUILD_DOCS=OFF -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF; make -j12

Expected behavior

No response

Suggested Workaround

No response

Crash Log

No response

Core SHA1 Commit Hash

9082f318865446e3dd392572e4974079dce02f6c

Database SHA1 Commit Hash

n/a

Operating System

Ubuntu 22.04.5 Server LTS

Client Version

3.3.5a (Wrath of the Lich King)

@adellaci adellaci added the Info: Needs Replication Issue needs replication before further action. label Jan 12, 2025
@adellaci adellaci changed the title 🐛 [Bug Report] [WoTLK] [-DBUILD_DEPRECATED_PLAYERBOT=ON]:q PlayerbotAI.ccp has a compiling error 🐛 [Bug Report] [WoTLK] [-DBUILD_DEPRECATED_PLAYERBOT=ON] PlayerbotAI.ccp has a compiling error Jan 12, 2025
@miraco
Copy link

miraco commented Jan 12, 2025

Not sure this will get fixed soon.
We now have the new playerbot system working with wotlk, so i dont see a reason that the old one (deprecated one) should still get maintained.
But thats just my opinion about this

@insunaa insunaa added System: CMaNGOS Extensions e.g. AHBot and PlayerBot Type: Build Process Issue occuring during building / compiling CMaNGOS labels Jan 12, 2025
@adellaci
Copy link
Author

adellaci commented Jan 12, 2025

I have been compiling the new playerbot, but there was an absolute fail in compiling, so i jumped back to old, and it compiled very clean up to this error.

I am in the process of rerun the new playerbot right now and will be posting the warnings and errors, but it will take a bit as it stall (or does not update terminal screen) for over ten minutes

@adellaci
Copy link
Author

Not sure this will get fixed soon. We now have the new playerbot system working with wotlk, so i dont see a reason that the old one (deprecated one) should still get maintained. But thats just my opinion about this

I have been unable to get the new playerbot to work completely see issue #3798

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Info: Needs Replication Issue needs replication before further action. System: CMaNGOS Extensions e.g. AHBot and PlayerBot Type: Build Process Issue occuring during building / compiling CMaNGOS
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants