Skip to content

Releases: blurite/pathfinder

Performance update

09 Feb 18:10
Compare
Choose a tag to compare

Pathfinder no longer accepts localized flags per each pathfinding attempt.
Instead, now the pathfinder is initialized with an array of int arrays, where the outer array contains zone-local flags.
The data structure looks like this:
Array<IntArray?>
Where Array is initialized with a size of 204820484
and IntArray is lazily initialized when the zone loads, with a size of 8x8.

A default Int is passed into the pathfinder that will be used in the absence of a valid zone.

Fix linter errors.

18 Jan 11:12
Compare
Choose a tag to compare
1.3.2

Fix line length too long linter errors.

Add route blocker checks as an optional version

18 Jan 11:02
Compare
Choose a tag to compare
1.3.1

Add route blocker checks as an optional version. Also ensure the norm…

Pathfinder now makes use of the ROUTE_BLOCKER flags.

18 Jan 10:26
Compare
Choose a tag to compare
1.3.0

Pathfinder now makes use of the ROUTE_BLOCKER flags and does not use …

Replace access bit flag magic numbers with constants

15 Jan 06:04
Compare
Choose a tag to compare

Replace access bit flag magic numbers with constants

Fix reachRectangleN function

15 Jan 05:38
Compare
Choose a tag to compare

Fix reachRectangleN function

Replace magic numbers with actual constants for collision flags in boundaries

15 Jan 04:52
Compare
Choose a tag to compare

Replace magic numbers with actual constants for collision flags in boundaries and remove the unused flag 0x80000 from all the checks alongside it.

Remove dumb pathfinder.

03 Jan 15:55
Compare
Choose a tag to compare

People should instead use their own version of the WorldArea class found in any RuneLite client for their dumb pathfinding needs. The version of dumb pathfinding found in this library was very incorrect.

Remove unused cases of bit 20 in pathfinder

03 Jan 13:55
Compare
Choose a tag to compare
1.2.4

Remove unused cases of bit 20 in pathfinder. While it was indeed _pot…

Line of sight clipped-tile check

28 Nov 19:18
Compare
Choose a tag to compare
1.2.3

- Line of sight now excludes full-tile projectile collision check on …