You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The 04scape engine is using the typescript built-in Array.prototype.sort(), which goes without saying it not the sorting algorithm OSRS uses for heropoints
Here is a javascript implementation of a quicksort algorithm that matches the one used by OSRS. This implementation is by Keyboard, the player who figured out OSRS heropoints mechanics, including the qs algorithm and the 16-player limit
Server/src/engine/entity/HeroPoints.ts
Line 33 in 27697f7
The 04scape engine is using the typescript built-in Array.prototype.sort(), which goes without saying it not the sorting algorithm OSRS uses for heropoints
Here is a javascript implementation of a quicksort algorithm that matches the one used by OSRS. This implementation is by Keyboard, the player who figured out OSRS heropoints mechanics, including the qs algorithm and the 16-player limit
https://github.com/qwertypedia/qwertypedia.github.io/blob/dcea5dad6043bbbecbad60f7edda6e35fc5b2c63/killcreditcalc.js#L53
The text was updated successfully, but these errors were encountered: