Pathing rework & titan event
- Mike
- Programmer
- Posts: 6348
- Joined: Sun Nov 01, 2009 8:00 pm
- Location: PkHonor HQ
Pathing rework & titan event
Updated on 20 May 2016
> Reworked the way following and pathing works: as of now, whenever you follow another player or NPC, you'll always run straight towards them (rather than retracing the path your target walked, sometimes causing you to go in a circle).
> Reworked the code that causes players to occasionally take 1 - 2 steps back when they click somewhere on the map while running diagonally. I'm not entirely sure my fix will work in every situation, but all my tests seem to indicate that it does work.
> Added barrows chests to your bookcase. However, we couldn't count the chests from the past since we never kept track of them until now.
> Ironman mode players can now get killcount when PK'ing in the wilderness
> A few minor Titan tweaks
Please do some more testing in regards to pathing and walking and let me know if there are still bugs or major annoyances with it that need to be looked at. Keep in mind that this is some of the most complex code in the whole server, so there's always a risk of bugs or glitches. As long as they're minor (and pathing/following works better than it used to), then it should be fine though.
Also, the Titan event is now over and all rewards have been distributed! See viewtopic.php?f=27&t=57200 for more info. Until the next time we organize one!
> Reworked the way following and pathing works: as of now, whenever you follow another player or NPC, you'll always run straight towards them (rather than retracing the path your target walked, sometimes causing you to go in a circle).
> Reworked the code that causes players to occasionally take 1 - 2 steps back when they click somewhere on the map while running diagonally. I'm not entirely sure my fix will work in every situation, but all my tests seem to indicate that it does work.
> Added barrows chests to your bookcase. However, we couldn't count the chests from the past since we never kept track of them until now.
> Ironman mode players can now get killcount when PK'ing in the wilderness
> A few minor Titan tweaks
Please do some more testing in regards to pathing and walking and let me know if there are still bugs or major annoyances with it that need to be looked at. Keep in mind that this is some of the most complex code in the whole server, so there's always a risk of bugs or glitches. As long as they're minor (and pathing/following works better than it used to), then it should be fine though.
Also, the Titan event is now over and all rewards have been distributed! See viewtopic.php?f=27&t=57200 for more info. Until the next time we organize one!
- Mitchel
- Honor Player
- Posts: 2255
- Joined: Mon Jul 15, 2013 10:41 pm
- Contact:
- Ruler
- Honor Player
- Posts: 7541
- Joined: Mon Nov 11, 2013 6:13 pm
- Location: The Netherlands
Re: Pathing rework & titan event
Barros in minigames yaaaaaaaaaah
Sad I don't got time for titan though
Sad I don't got time for titan though
-
- Elite
- Posts: 14260
- Joined: Fri Aug 16, 2013 7:20 am
- Location: Canada
Re: Pathing rework & titan event
RIP the little bug thing where you follow each other and go in an infinite loopMike wrote:> Reworked the way following and pathing works: as of now, whenever you follow another player or NPC, you'll always run straight towards them (rather than retracing the path your target walked, sometimes causing you to go in a circle).
Great work though, very pleased to see pathing progress being made so quickly
- Migetmanz
- Premium Donator
- Posts: 893
- Joined: Sat Nov 23, 2013 10:44 pm
- Location: Somewhere in the Mountains
Re: Pathing rework & titan event
absolutely fantastic, thank you for all of your hard work
-
- Elite
- Posts: 14260
- Joined: Fri Aug 16, 2013 7:20 am
- Location: Canada
Re: Pathing rework & titan event
I found a pathing glitch but I don't know how to explain it and I can't take a video, but I could show someone who can
edit; Just foudn another one, both concern going around corners.
edit2: showed mike ingame nvm
edit; Just foudn another one, both concern going around corners.
edit2: showed mike ingame nvm
- Mike
- Programmer
- Posts: 6348
- Joined: Sun Nov 01, 2009 8:00 pm
- Location: PkHonor HQ
Re: Pathing rework & titan event
> It's possible to get someone stuck behind a U-shape or in a corner (just like you can with NPC's). That's the biggest downside of the simplified following code. In the wilderness, it's usually not an issue though. I might try to work out a few tweaks to prevent this sort of behavior, but it'll be very hard without implementing an actual pathfinding algorithm server-sided (not to mention this costs a lot of processing power). If you get stuck, you can always click somewhere else to get unstuck, but I get that it can be a bit of an annoyance. Nothing major.Hayden wrote:I found a pathing glitch but I don't know how to explain it and I can't take a video, but I could show someone who can
edit; Just foudn another one, both concern going around corners.
edit2: showed mike ingame nvm
> There's still a bug with diagonal noclipping somewhere. It's been in the server ever since I added in noclipping, never really found the cause. Either there's a bug in the code for diagonal noclipping checks, or there's a minor glitch in the map dump that I use for the server-sided checks. But it's also very minor and not likely to cause any actual trouble.
- Matthew
- Unstoppable
- Posts: 7405
- Joined: Tue Apr 23, 2013 5:54 pm
- Location: England
Re: Pathing rework & titan event
Nice work Mike!
- Azu rite
- Premium Donator
- Posts: 17606
- Joined: Wed Apr 10, 2013 1:42 am
- Location: Over there in that one place
Re: Pathing rework & titan event
Bring back noclippingMike wrote:> It's possible to get someone stuck behind a U-shape or in a corner (just like you can with NPC's). That's the biggest downside of the simplified following code. In the wilderness, it's usually not an issue though. I might try to work out a few tweaks to prevent this sort of behavior, but it'll be very hard without implementing an actual pathfinding algorithm server-sided (not to mention this costs a lot of processing power). If you get stuck, you can always click somewhere else to get unstuck, but I get that it can be a bit of an annoyance. Nothing major.Hayden wrote:I found a pathing glitch but I don't know how to explain it and I can't take a video, but I could show someone who can
edit; Just foudn another one, both concern going around corners.
edit2: showed mike ingame nvm
> There's still a bug with diagonal noclipping somewhere. It's been in the server ever since I added in noclipping, never really found the cause. Either there's a bug in the code for diagonal noclipping checks, or there's a minor glitch in the map dump that I use for the server-sided checks. But it's also very minor and not likely to cause any actual trouble.
- Troll n roll
- Premium Donator
- Posts: 2004
- Joined: Thu Jun 27, 2013 10:05 pm
- Location: ❄ My Igloo ❄
Re: Pathing rework & titan event
The new pathing seems much smoother than the old version.
Adam the lion wrote:If you are making super pots for profit on an rsps, you really need to re-evaluate your life.