Stormforge-gg / Bugtracker-Mistblade

Official bugtracker for the mistblade realm.
12 stars 32 forks source link

General world textures and NPC pathing bug #1304

Open Niviat opened 1 year ago

Niviat commented 1 year ago

Description: NPCs that walk around tend to have "random" pathing issues where they either "walk" in the air, or under/through textures and sometimes even far away from their usual path. Sometimes an NPC walks correctly, and on other occasions that same NPC has its pathing bugged. Common examples of some of the more notable NPCs I noticed exhibiting this issue repeatedly are:

Zandalari Warscouts in all zones where they patrol https://mop-shoot.tauri.hu/?npc=69768

Magria and Ankha in Mount Hyjal https://mop-shoot.tauri.hu/?npc=54319 https://mop-shoot.tauri.hu/?npc=54318

Portent in Vale of Eternal Blossoms https://mop-shoot.tauri.hu/?npc=50843

Current behaviour: See description above.

Expected behaviour: All NPCs should always follow their standard path without falling or passing through ground textures, buildings and other obstacles, or walking in the air. If something interrupts their walk (they get pulled/trapped/polymorphed/disoriented/stunned/mind-controlled/etc.), they should return to their last known point on the path and continue walking as if nothing happened, once the interrution ceases. And my own suggestion - if an NPC strays from its path vertically or horizontally beyond certain range and doesn't return to its path for certain amount of time, make it automatically teleport to its starting point and restart its path, so it doesn't get stuck in a place where no one can find it or reach it waiting for a server crash or some other catastrophic event to reset them - this is especially a problem with NPCs like Portent that are normally invisible and untrackable.

Cold-Martijn commented 1 year ago

A similar thing happens with the big shark on Timeless Isle. I manually checked all his waypoints, and they are all good. However, the shark often starts swimming right through the Island.

http://mop-shoot.tauri.hu/?npc=73279 - Evermaw

Niviat commented 1 year ago

True, I saw that one in the hills or even around the Celestials arena a few times too. If the paths are set correctly, then I guess it might be caused by faulty evaluation of current position and as a result pathing picks wrong next point perhaps. Ideally, I would imagine the pathing to work in a way where mob follows terrain to the next point on path and if it's out of certain range of next point, then it should perhaps follow the terrain to the closest available point on path, but I guess the algorithm only follows the points in set order and if for some reason the model of the mob is far away from the next point in row, it makes the mob go straight towards the point, completely disregarding the textures and terrain. I'd also wager that the "follow terrain" instruction ain't that easy to implement either. That would definitely explain why the mobs are going through textures.

On Monday, July 31, 2023 at 02:03:43 p.m. GMT+2, Cold ***@***.***> wrote:  

A similar thing happens with the big shark on Timeless Isle. I manually checked all his waypoints, and they are all good. However, the shark often starts swimming right through the Island.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>