Page 1 of 1

9 June 2021: More pathfinding improvements

Posted: Wed Jun 09, 2021 2:43 pm
by Mike
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.

Re: 8 June 2021: More pathfinding improvements

Posted: Wed Jun 09, 2021 3:12 pm
by Empty
wonderful work!
really appreciate the time you use to make the game better! cheers

Re: 9 June 2021: More pathfinding improvements

Posted: Wed Jun 09, 2021 5:06 pm
by Monys
Yoh rock

Re: 9 June 2021: More pathfinding improvements

Posted: Wed Jun 09, 2021 8:26 pm
by Thierryu1
ty

Re: 8 June 2021: More pathfinding improvements

Posted: Thu Jun 10, 2021 5:21 am
by Stale fish1
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

Re: 9 June 2021: More pathfinding improvements

Posted: Thu Jun 10, 2021 8:17 am
by Pk gts
that mage/range thing seems like it could help at zulrah for that phase 4 ranged