azerothcore / azerothcore-wotlk

Complete Open Source and Modular solution for MMO
http://www.azerothcore.org
GNU Affero General Public License v3.0
6.43k stars 2.58k forks source link

Pygmy Tide Crawler doesn't interact correctly with terrain. #6765

Closed Annamaria-CC closed 2 years ago

Annamaria-CC commented 3 years ago

WHAT CLIENT DO YOU PLAY ON?

FACTION
CONTENT PHASE:
CURRENT BEHAVIOUR:

NPC DB GUID 38518 moves erratically, seems to fall up and down along the slope and sometimes clips through the terrain.

Screenshot from 2021-06-14 20-27-45 copy

EXPECTED BLIZZLIKE BEHAVIOUR:

NPC should move as its fellow crawlers and not pass through the world terrain.

STEPS TO REPRODUCE THE PROBLEM:
  1. Observe NPC DB GUID 38518 move through its patrol pattern.
EXTRA NOTES:

Originally reported: https://github.com/chromiecraft/chromiecraft/issues/863

AC HASH/COMMIT:

https://github.com/chromiecraft/azerothcore-wotlk/commit/d0a52896283a9bfed36ca897f0c2ebe870a25800

OPERATING SYSTEM:

Ubuntu 20.04

MODULES:
OTHER CUSTOMIZATIONS:

None.

SERVER:

ChromieCraft

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/99776015-pygmy-tide-crawler-doesn-t-interact-correctly-with-terrain?utm_campaign=plugin&utm_content=tracker%2F40032087&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F40032087&utm_medium=issues&utm_source=github).
Azcobu commented 3 years ago

See also https://github.com/azerothcore/azerothcore-wotlk/issues/6171 and https://github.com/azerothcore/azerothcore-wotlk/issues/6541 for what looks to be much the same problem with other aquatic creatures.

ghost commented 3 years ago

From my investigation, we are not transitioning from walk state to swim state properly. TC fixed this on their code but haven't checked any commits. The problem is very like how we use the Z axis to get a possible viable position. If we fix the Z axis we also might fix the bug where if mages blink submerged they getting sent to the bottom of the water body.

T1ti commented 3 years ago

This NPC doesn't even patrol or do a ground/water transition

His spawn point is bugged and is clipped inside the rock image

He has a random wander radius around that spawn point

T1ti commented 3 years ago

After slightly moving his spawn point away from inside the cliff, he seems to wander properly now

ghost commented 2 years ago

9272 probably fixes this

acidmanifesto commented 2 years ago

Closes due to fix: https://github.com/azerothcore/azerothcore-wotlk/pull/9272