ZhengPeiRu21 / mod-playerbots

AzerothCore Playerbots Module
MIT License
193 stars 93 forks source link

2 errors at compilation #133

Closed bogdahn-fr closed 1 year ago

bogdahn-fr commented 1 year ago

during compilation (acore from ZhengPeiRu21, and playerbots module) two errors occur : `azerothcore-wotlk/modules/mod-playerbots/src/ChatFilter.cpp:166:47: fatal error: no member named 'GetTargetIcon' in 'Group' ObjectGuid rtiTarget = group->GetTargetIcon(RtiTargetValue::GetRtiIndex(rti.substr(1)));12:


`

and 

`azerothcore-wotlk/modules/mod-playerbots/src/strategy/actions/EmoteAction.h:17:6: fatal error: enumeration previously declared with nonfixed underlying type
enum TextEmotes : uint32;
`
Tested on linux mint and arch.
ZhengPeiRu21 commented 1 year ago

It seems you are not using the correct AzerothCore codebase. Please make sure you are using the Playerbot branch of the fork linked in the README.

bogdahn-fr commented 1 year ago

It seems you are not using the correct AzerothCore codebase. Please make sure you are using the Playerbot branch of the fork linked in the README.

i used your repo for acore, as mentionned

bogdahn-fr commented 1 year ago

i retry again, with the repo in the readme (as i did), same errors.

ZhengPeiRu21 commented 1 year ago

Are you using the Playerbot branch of that repo, not master branch?

bogdahn-fr commented 1 year ago

You was right, i'm not use to use branchs, and since it was on the url, i assumed this was the correct branch :/ sorry for the trouble.