Comments (12)
Thank you for report this. I'm glad you've found a temporarily solution that is working for you. Could you please share some details of your build environment? (OS version, g++ version, boost version, etc.) I will try to resolve this error so others are not having same trouble.
from mod-playerbots.
I get this error to. I am not sure it is a good idea ever to use comparison like == or != on vectorial objects that contains floats as floats will almost always be different on the last decimals due to the rounding errors of how they work in hardware. A better comparisson would be to say "vector A" and vector B are equal iff they differ by some small epsillon. I am pretty sure that that functionality is already implemented somewhere in the azerothcore.
from mod-playerbots.
azerothcore-wotlk/modules/mod-playerbots/src/strategy/actions/MovementActions.cpp:455:82: fatal error: use of overloaded operator '!=' is ambiguous (with operand types 'WorldPosition' and 'WorldPosition')
if (sPlayerbotAIConfig->hasLog("bot_movement.csv") && lastMove.lastMoveShort != movePosition)
There is another line in MovementActions.cpp
from mod-playerbots.
azerothcore-wotlk/modules/mod-playerbots/src/strategy/actions/MovementActions.cpp:455:82: fatal error: use of overloaded operator '!=' is ambiguous (with operand types 'WorldPosition' and 'WorldPosition') if (sPlayerbotAIConfig->hasLog("bot_movement.csv") && lastMove.lastMoveShort != movePosition)
There is another line in MovementActions.cpp
Confirmed, changed to the same line above and it compiled.
from mod-playerbots.
I have used hack way to make it compiled first, but I'm sure it's not supposed to be a perfect solution.
if (telePos && telePos != movePosition)
to if (telePos && not (telePos == movePostion))
from mod-playerbots.
I'm on Ubuntu 20.04, Clang version 10.0.0, cmake version 3.16, boost version 1.71
Ubuntu is a VM running on a Synology NAS.
from mod-playerbots.
I think you need cmake 3.18 and clang 11
from mod-playerbots.
I think you need cmake 3.18 and clang 11
ok, I will try them
from mod-playerbots.
I get this error to. I am not sure it is a good idea ever to use comparison like == or != on vectorial objects that contains floats as floats will almost always be different on the last decimals due to the rounding errors of how they work in hardware. A better comparisson would be to say "vector A" and vector B are equal iff they differ by some small epsillon. I am pretty sure that that functionality is already implemented somewhere in the azerothcore.
Thank you for the helpful suggestion. I will find time to fix this comparison.
from mod-playerbots.
I have changed this line to more secure in 90be77b. Please let me know if this resolve the issue for you.
from mod-playerbots.
Thank you again for finding these comparisons. I have fixed this other one in 7e2a87a.
from mod-playerbots.
Thank you again for finding these comparisons. I have fixed this other one in 7e2a87a.
Thank you for your good working, I think this issue can be closed.
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.