Skip to content

persistent-bank: fix dropped accounts with negative signed Jagex hash#11993

Merged
LlemonDuck merged 7 commits into
runelite:masterfrom
rsvaultpudgy-create:master
May 17, 2026
Merged

persistent-bank: fix dropped accounts with negative signed Jagex hash#11993
LlemonDuck merged 7 commits into
runelite:masterfrom
rsvaultpudgy-create:master

Conversation

@rsvaultpudgy-create
Copy link
Copy Markdown
Contributor

Fixes a bug where stateForCurrentAccount() rejected any account whose Jagex hash has the high bit set (i.e., appears negative when read as a signed Java long), causing roughly half of all accounts to be silently ignored. Changes the sentinel check from hash <= 0 to hash == -1L.

@runelite-github-app
Copy link
Copy Markdown

@runelite-github-app
Copy link
Copy Markdown

This plugin requires a review from a Plugin Hub maintainer. The reviewer will request any additional changes if needed.


Internal use only: Reviewer details Maintainer details

@LlemonDuck LlemonDuck merged commit 05380cf into runelite:master May 17, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants