Skip to content

Development#1690

Merged
chsami merged 34 commits intomainfrom
development
Mar 6, 2026
Merged

Development#1690
chsami merged 34 commits intomainfrom
development

Conversation

@chsami
Copy link
Owner

@chsami chsami commented Mar 6, 2026

No description provided.

rsvinicius and others added 30 commits February 24, 2026 09:29
Adds a new static method to Rs2Player that detects whether
the player is currently inside a Player Owned House (POH).

Detection uses two conditions:
- scene.isInstance() — true for all instanced regions
- POH_HOUSE_LOCATION varbit > 0 — specific to POH

Combining both avoids false positives from other instanced
regions (Gauntlet, Hallowed Sepulchre, etc).

Also updates docs/api/Rs2Player.md with the new method entry.
feat(Rs2Player): add isInPoh() utility method
Ths extra contentsPanel was forcing the entire panel contents to be confined into a very small area and so made the dynamic grid layout layout everything sequentially without any scaling.

Use a box layout without the extra panel and set the maximum size of the added panels to their preferred size's height instead.
There are some situations where these widgets can end up being hidden,
such as when logging in with a greegree equipped, which hides the
player's spellbook.
There was no empty space between the section contents matte border and the config panels without a section
Co-authored-by: Hamish <208728510+DustyRealm@users.noreply.github.com>
Also handle index deserialization errors
# Conflicts:
#	gradle.properties
#	runelite-client/src/main/java/net/runelite/client/plugins/config/ConfigPanel.java
GeeD09 and others added 4 commits March 5, 2026 12:49
The chatbox widget children in group 162 shifted by +1 in a recent game
update. handleAmount was checking child 42 (now CHATBOX_TITLE) instead of
child 43 (CHATBOX_FULL_INPUT) for the "Enter amount:" prompt, causing
sleepUntil to always time out.

- Updated Rs2Bank.java widget check from (162, 42) to (162, 43)
- Updated stale WidgetIndices.ChatBox constants to match current RuneLite
  ComponentID values

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
fix: update chatbox widget IDs for Rs2Bank.withdrawX
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 6, 2026

Caution

Review failed

Pull request was closed or merged during review

Walkthrough

This PR introduces widespread game content and system updates across the RuneLite codebase. Changes include version bumps (1.12.18→1.12.19), chatbox widget index realignment via +1 shifts, addition of new NPC and item identifiers (including BIGREDJAPAN and RED_CRAB variants), removal of deprecated animation constants, refactoring of FontType from enum to class with dynamic font support, UI enhancements to InteractHighlight for player and ground item targeting, and corresponding updates to configuration interfaces, scripts, and widget mappings throughout the API and client layers.

Possibly related PRs

  • fix: update chatbox widget IDs for Rs2Bank.withdrawX #1689: Modifies the same chatbox widget indices (shifting by +1) and updates Rs2Bank.handleAmount to use widget (162, 43) instead of (162, 42), directly mirroring index realignment logic.

  • 2.0.13 #1537: Overlaps on interface ID reindexing, VarPlayerID constant additions (LEVELUP_LISTS variants), and VarbitID updates related to level-up notifications.

  • feat(Rs2Player): add isInPoh() utility method #1683: Adds the identical Rs2Player.isInPoh() utility method with the same implementation logic (instanced scene check combined with POH_HOUSE_LOCATION varbit validation).

🚥 Pre-merge checks | ❌ 3

❌ Failed checks (1 warning, 2 inconclusive)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 7.95% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Title check ❓ Inconclusive The title 'Development' is vague and generic, failing to convey meaningful information about the changeset's primary purpose. Replace with a specific title that describes the main change, such as 'Add POH detection and level-up UI improvements' or 'Update game constants and font management system'.
Description check ❓ Inconclusive No pull request description was provided by the author. Add a description explaining the objectives, scope, and rationale for the extensive changes across API constants, UI components, and game state tracking.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ast-grep (0.41.0)
runelite-api/src/main/java/net/runelite/api/gameval/SpriteID.java
runelite-api/src/main/java/net/runelite/api/ItemID.java
runelite-api/src/main/java/net/runelite/api/NpcID.java
  • 5 others

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@chsami chsami merged commit 33f964a into main Mar 6, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants