When there is an obstacle such as a fence in between your character and an NPC, it will have a hard time attacking it. It should find the shortest path around the obstacle and attack the target. I think this is more of an issue with the player's pathing than the NPC's
I think with these changes, or PvM pathing will have the potential to be better than OSRS.
Major upcoming NPC pathfinding update
- Iron adam
- Event Coordinator
- Posts: 11878
- Joined: Sun Aug 24, 2014 6:07 am
- Contact:
- Mike
- Programmer
- Posts: 6348
- Joined: Sun Nov 01, 2009 8:00 pm
- Location: PkHonor HQ
Re: Major upcoming NPC pathfinding update
I had encountered the same issue with the gate in the deep wilderness resource area and managed to make a fix for it quite some time ago . Now I've actually managed to make a more general fix, so it should work for all doors now.Admin adam wrote:Not quite relevant to this thread, but still something that would be nice to get fixed. Happens with a lot of doors, gates, obstacles, etc. I can't even make it around the wildy agility course once without something messing up :pJonas wrote:https://gyazo.com/155ac7cbbe49c100365c48af7b3bb88c
I quit. Broken game. FIX PATHING ty
jk
I also think this issue only occured with "quick" doors, as in doors that you automatically walk through and close right behind you when you enter (such as the crafting guild door). Other doors should always have been fine. Of course, when players encounter doors that cannot be opened, they are welcome to report it to us. Most doors in the game don't have an actual use anyway.
Good find. However, it looks like this is a client-sided pathfinding fail - when a player is standing next to an NPC or object, but with a fence or wall in between, it will think you are standing where you need to be (instead of walking to the other side). I don't know how to fix this yet, but I'll keep this particular issue in mind. I'll see if I can work out something in a future client release.Admin adam wrote:When there is an obstacle such as a fence in between your character and an NPC, it will have a hard time attacking it. It should find the shortest path around the obstacle and attack the target. I think this is more of an issue with the player's pathing than the NPC's
I think with these changes, or PvM pathing will have the potential to be better than OSRS.