feat: RuneLite 1.12+ compatibility and adaptive scripting system#330
Open
jomack-silvey wants to merge 4 commits intoOSRSB:masterfrom
Open
feat: RuneLite 1.12+ compatibility and adaptive scripting system#330jomack-silvey wants to merge 4 commits intoOSRSB:masterfrom
jomack-silvey wants to merge 4 commits intoOSRSB:masterfrom
Conversation
- Remove Applet dependency (Client no longer extends Applet in 1.12+) - Fix sidebar NPE by overriding start() to init UI before loading plugins - Add clientUI.show(), client.unblockStartup(), pluginManager.startPlugins() - Integrate OSRSBPlugin (BotPanel/ScriptPanel/AccountPanel) into source tree - Add definition cache fallback for RSObject/RSNPC (client API + static cache) - Update BotModule for Supplier<Client> instead of Supplier<Applet> - Add BaseClientWrapper stubs for 20+ new Client/GameEngine methods - Add Jagex auth support (credentials.properties loader in Application.java) - Add launch-bot.bat/sh with JVM tuning for OSRS client - Include PixelBot script JAR in scripts/ directory Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ehavior Introduces an opt-in adaptive layer for scripts that tracks action outcomes, persists learning data across sessions via JSON, optimizes timing/target selection using UCB1 + epsilon-greedy, and reacts to chat messages dynamically. 15 new files in script/adaptive/ — no changes to existing core classes. Scripts extend AdaptiveScript instead of Script to opt in. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…d auto-drop to AdaptiveScript RuneLite 1.12+ no longer extends Applet. Migrated InputManager, VirtualKeyboard, VirtualMouse, and BaseClientWrapper to use client.getCanvas() / Panel instead. Added isSelfHidden() fallback in BaseWidgetWrapper for client-thread safety. Added inventory auto-drop with configurable keep-list to AdaptiveScript. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Appletdependencies since RuneLite 1.12+ no longer extendsApplet. MigratedInputManager,VirtualKeyboard,VirtualMouse, andBaseClientWrapperto useclient.getCanvas()/Panel. AddedisSelfHidden()fallback inBaseWidgetWrapperfor client-thread safety.script/adaptive/— scripts extendAdaptiveScriptto get action tracking, UCB1 strategy optimization, adaptive sleep timing, chat-reactive behavior, JSON persistence across sessions, and a HUD paint overlay.AdaptiveScript..gitignorefor debug/decompilation artifacts.Test plan
AdaptiveScriptto validate action tracking, sleep optimization, and paint overlay🤖 Generated with Claude Code