9 June 2021: More pathfinding improvements

All of PkHonor's news will be posted here.
Post Reply
User avatar
Mike
Programmer
Posts: 5989
Joined: Sun Nov 01, 2009 8:00 pm
Location: PkHonor HQ

9 June 2021: More pathfinding improvements

Post by Mike » Wed Jun 09, 2021 2:43 pm

Thanks to the input of @Bert and @Nazuths (in this bug report), I managed to fix a couple of other pathing bugs, mostly related to ranged and magic attacks:
  • You will no longer walk up to an enemy in certain situations, especially when clicking to walk, eat, drink or switch equipment very quickly after you clicked to attack an enemy.
  • When using ranged or magic, you will no longer get stuck when there is an obstacle or the corner of a wall in the way. There were a few situations where the game thinks you can see an enemy and make you stop moving, but then there was another piece of code that thinks you can't actually see them and not let you attack the enemy. These two different mechanics (following and attacking) now use the same code to determine if you can see an enemy, which should prevent this bug from happening again.
  • When you click to attack an enemy and eat food, drink a potion or switch equipment, you will now run to the enemy's last known location if you were not yet in attack range when you were eating, drinking or switching. This may seem like a bit of a strange pathing quirk, but it's how it works in OSRS, and as far as pathing and combat mechanics go, we normally try to mimic the OSRS mechanics as much as possible. If you folks disagree and think that you should not run to their last known location in this situation, please let us know and we'll change it.
Two bugs with the rune pouch have also been fixed:
  • You will no longer receive a duplicate rune pouch when suiciding.
  • A bug has been fixed where runes would be incorrectly displayed on your rune pouch after you died with a rune pouch in PvP and obtained a new pouch.

User avatar
Bert
Helper
Posts: 1273
Joined: Mon May 06, 2013 7:43 am
Location: Yt.com/c/Emptypot
Contact:

Re: 8 June 2021: More pathfinding improvements

Post by Bert » Wed Jun 09, 2021 3:12 pm

wonderful work!
really appreciate the time you use to make the game better! cheers
Image
Image
Image

User avatar
Monys
Helper
Posts: 2112
Joined: Sat Apr 13, 2013 3:08 am
Location: Upper Earth
Contact:

Re: 9 June 2021: More pathfinding improvements

Post by Monys » Wed Jun 09, 2021 5:06 pm

Yoh rock
Image

Remember to ::vote for "Mony" ingame

I love Thoby
I love Adam

User avatar
Thierryu1
Honor Player
Posts: 1671
Joined: Sat Nov 16, 2013 11:58 pm
Location: the Netherlands

Re: 9 June 2021: More pathfinding improvements

Post by Thierryu1 » Wed Jun 09, 2021 8:26 pm

ty

Stale fish1
Senior Member
Posts: 444
Joined: Sun Apr 14, 2019 2:39 am

Re: 8 June 2021: More pathfinding improvements

Post by Stale fish1 » Thu Jun 10, 2021 5:21 am

Bert wrote:
Wed Jun 09, 2021 3:12 pm
wonderful work!
really appreciate the time you use to make the game better! cheers
8=====> 0
Image

User avatar
Pk gts
Honor Player
Posts: 127
Joined: Wed Oct 19, 2016 6:41 am

Re: 9 June 2021: More pathfinding improvements

Post by Pk gts » Thu Jun 10, 2021 8:17 am

that mage/range thing seems like it could help at zulrah for that phase 4 ranged

Post Reply