Commit Graph
100 Commits
Author SHA1 Message Date
Max Weber 4db6a523ac rl-client: render horizontal scroll bars 2021-07-18 21:31:06 -06:00
Max Weber de8940b8b9 jshell: run cleanups on the client thread 2021-07-18 21:31:06 -06:00
Max Weber 8d73d50520 rl-api: add JagexColor util 2021-07-18 13:50:44 -04:00
Max Weber afde6c899e runelite-api: update Quest 2021-07-07 05:38:28 -06:00
Max Weber 778d679ab0 worldmap: fix tooltip widget id 2021-07-06 17:39:52 -06:00
Max Weber 4f24bce080 music: don't restart when rendrawing tli
the client now synchronizes the music volume with what is stored in the
var during toplevel_redraw, so if music was muted according to vanilla
it would stop music playback even if we were setting it higher.
2021-06-30 20:46:38 -06:00
Max Weber 4041ad4a33 http-service: fix hiscore test 2021-06-30 05:55:28 -06:00
Max Weber f2b7f26387 http-api, rl-client: add phosani's nightmare to hiscores 2021-06-30 04:47:50 -06:00
Max Weber 00c971ef15 Update script arguments to 2021-6-30 2021-06-30 04:29:11 -06:00
Max Weber 0ce646a026 worldmap: include names for teleport icons 2021-06-23 04:59:13 -06:00
Max Weber 1d7172c099 runelite-client: use menu entries for focusing world map points
The previous way had usability issues since it would cover up the close
button, consumed clicks for no reason on any icon, making it difficult
to pan around the map when zoomed out, and had no tooltips.

It previously also accessed widgets on the EDT, which is a threading
issue.
2021-06-18 14:45:15 -04:00
Max Weber 2ca169ac3d barbarianassault: remove dead overlay menuops
menu options are never added on dynamic widgets since they don't have
bounding boxes
2021-06-18 14:45:15 -04:00
Max Weber ee6be00772 agility: add shayzien course 2021-06-16 23:22:19 -06:00
Max Weber 2d1df3dea6 worldmap: add shayzien rework locations 2021-06-16 23:22:19 -06:00
Max Weber a6c9c0aa43 rl-api: update Quest enum to 2021-6-16 2021-06-16 04:01:15 -06:00
Max Weber f1fc3ccb5c cache: add 197 opcodes 2021-06-16 04:01:15 -06:00
Max Weber 074f1e0841 client: correctly use Runnables::doNothing
passing it as a method reference complete defeats the point of the
method as it desugars to:
option("foo", () ->
{
  Runnable unused = Runnables.doNothing();
});
2021-06-11 03:18:35 -06:00
Max Weber 14545aac26 rl-client: never cache 4/5xx requests 2021-05-31 11:25:43 -04:00
Max Weber 58e351dca6 timestamp: use less callbacks in script overlays
all of these separate callbacks are error prone to update and hard to
test
2021-05-27 13:48:50 -04:00
Max Weber adabb68ff1 ChatboxPanelManager: use ScriptPreFired 2021-05-27 13:48:50 -04:00
Max Weber 939852f135 rl-client: cleanup cs2 overlays 2021-05-27 13:48:50 -04:00
Max Weber cb0d98bbc8 rl-client: update cs2 overlay opcodes 2021-05-27 13:48:50 -04:00
Max Weber 04884beac0 cache: update cs2 opcodes 2021-05-27 13:48:50 -04:00
Max Weber 76dcf1db10 scripts/SkillTabBuilder: fix unbalanced stack 2021-05-27 13:48:50 -04:00
Abex 2ab6196bfd Merge pull request #13637 from abextm/cache-code-2021-05-26-rev196
Cache code 2021 05 26 rev196
2021-05-26 05:04:13 -06:00
Max Weber bd2cd07917 screenshot: don't attempt to draw a date when there is no report button
previously this would just silently ignore the screenshot if you were
on the orb of oculus or fullscreen world map interfaces until you were
back onto one of the normal tlis where the overlay is rendered.
2021-05-19 11:30:32 -04:00
Max Weber c69337d954 rl-api: import getTopLevelInterfaceId 2021-05-19 11:30:32 -04:00
Max Weber f8853fff31 interfacestyles: update chatbox sprite ids
These are all the wrong size, but they aren't horribly broken like this
2021-05-19 11:30:32 -04:00
Max Weber ff033177de screenshot: use new report button offset 2021-05-19 11:30:32 -04:00
Max Weber 6162c581c0 SpriteID: update to 2021-5-19 2021-05-19 11:30:32 -04:00
Max Weber 56dcbe2e63 friendschat: remove unused title strings 2021-05-19 06:05:34 -06:00
Max Weber 401fbf3ca4 gpu: increase texture limit 2021-05-19 05:56:03 -06:00
Max Weber 1cf90b4feb friendschat: remove user count
this widget is gone, we can find a new place for it in the future maybe
2021-05-19 05:56:03 -06:00
Max Weber e588635ccc friendschat: remove Tab Chat option
this is now included in the vanilla client
2021-05-19 05:56:03 -06:00
Max Weber 7ea0c17fdc Update IDs for 2021-4-28 2021-04-28 04:35:06 -06:00
Max Weber a0d28b2f42 cache/NpcLoader: add category opcode from rev 195 2021-04-14 05:44:47 -06:00
Max Weber 36216c7cf4 cache/ObjectLoader: add randomizeAnimStart opcode from rev 193 2021-04-14 05:44:47 -06:00
Max Weber 38fbcb39d6 eventbus: preserve priority ordering during unregister 2021-03-27 23:11:15 -04:00
Max Weber a2d72d752b Merge remote-tracking branch 'ghubo/cache-code-2021-03-24-rev194' 2021-03-24 06:19:19 -06:00
Max Weber 8bc18fb497 Merge branch 'pr_13375' 2021-03-24 06:18:51 -06:00
Max Weber 06b8e1b798 http-api: encode json Instants as millis since epoch 2021-03-04 21:40:57 -05:00
Max Weber 463b0d73ba http-api: encode json Colors as ARGB hex codes 2021-03-04 21:40:57 -05:00
Max Weber 6526fd9d7c rl-api: update quest scripts to 2021-3-3 2021-03-03 04:17:28 -07:00
Max Weber 7480c74750 devtools: add shell window 2021-02-26 11:38:40 -07:00
Max Weber 2c4f3a895e devtools: factor frame handling out 2021-02-26 10:27:52 -07:00
Max Weber 70b3a987c9 Require Java 9 or higher for building
We still support Java 8 at runtime since older launchers shipped with
it, and there are still many installs that use those older launchers.
2021-02-26 10:22:21 -07:00
Max Weber 03058a7a32 Merge branch 'cache-code-2021-2-23' 2021-02-24 04:39:45 -07:00
Abex e58202c153 Merge pull request #13254 from Broooklyn/soul-wars-imbues
Add Soul wars imbues
2021-02-23 09:05:27 -07:00
Max Weber 14f939a3b5 ConfigManager: don't allow access to partially loaded configs
If you did a getConfiguration while the config was being loaded from
the client you could get a value from the new config or the old config.
Since some plugins would check profile values from the ConfigChange
events being posted it could cause the ConfigManager to observe an unset
rsprofile.loginSalt, which would make it generate a new one, overwriting
the one the server had, causing all profiles to be lost.
2021-02-15 11:58:46 -05:00
Abex f6f4ac2edb Merge pull request #13191 from loldudester/shorten-farming-estimate
TimeTracking: Return shortened weekdays in doneEstimates
2021-02-09 22:32:44 -07:00
Abex b28a573295 Merge pull request #13189 from Adam-/farming-tracker-notifs
farming tracker: don't send notifications for empty crop state
2021-02-09 14:33:25 -07:00
Max Weber 5de258310a http-api: allow gsoning classes outside of net.runelite
This broke plugin hub plugins using our gson, which is valid since you
can reflect into any unnamed module.
2021-02-06 16:39:33 -05:00
Abex dd14ce3a4f Merge pull request #13086 from loldudester/farming-notifications
TimeTracking: Add farming notifications
2021-02-06 13:58:39 -07:00
Max Weber 243929826b ReflectUtil: allow privateLookupIn cross-classloader with JDK-8173978 2021-01-30 11:24:18 -05:00
Max Weber 2b3ce15516 don't use gson's reflection serialization on non RuneLite classes
java >=16 disallows access to most private fields which makes these
fail with the reflection type adapter
2021-01-30 11:24:18 -05:00
Max Weber 1bec513137 Update widget ids to 2021-1-20 2021-01-19 23:10:35 -07:00
Abex 451012fb88 Merge pull request #13063 from MESLewis/farming-stages-fix
Fix growth stages of sweetcorn and watermelon
2021-01-15 13:26:18 -07:00
Abex 5f20e71bce Merge pull request #13020 from Nightfirecat/chatbox-text-input-ctrl-a
ChatboxTextInput: Select full message on ctrl+a
2021-01-11 20:40:13 -07:00
Abex bacb0db3a0 Merge pull request #13021 from Nightfirecat/chatbox-text-input-left-right-improvement
ChatboxTextInput: Improve open selection left/right handling
2021-01-11 20:37:42 -07:00
Max Weber 58d53d1a62 runelite-api: add Preferences::getHideUsername() 2021-01-11 10:00:14 -05:00
Abex 2ec4de4e6a Merge pull request #13013 from abextm/cache-code-2021-01-06-rev193 2021-01-06 05:45:33 -07:00
Abex 9dd5e2a06a Merge pull request #12957 from llamositopia/12787-scorched-lletya-tree-patch-recognition
Add "scorched" Lletya regionID recognition to TimeTracking and Discord plugins
2020-12-31 12:31:14 -07:00
Max Weber 60e27e94d2 worldhopper: use ImageUtil for loading images 2020-12-30 23:16:43 -07:00
Max Weber 92207c8210 ImageUtil: rename getResourceStreamFromClass to loadImageResource 2020-12-30 23:14:33 -07:00
Abex d314c0ecee Merge pull request #12947 from MESLewis/farming-tick-offset
Add farming tick offsets to time tracking plugin
2020-12-27 19:28:34 -07:00
Max Weber 27ea3fbab6 runelite-api: add WidgetNode::modalMode 2020-12-27 13:58:45 -07:00
Max Weber 7898c46630 runelite-api: add WidgetClosed event 2020-12-27 13:58:45 -07:00
Max Weber 74a881d3a9 music: fix channel mute op name 2020-12-22 04:09:23 -07:00
Max Weber ecbcd1b9cc config/PluginHubPanel: show uninstall ui feedback when in safe mode
This normally relies on ExternalPluginsChanged being emitted to rebuild
the ui, but that doesn't happen in safe mode
2020-12-16 11:59:14 -05:00
Max Weber 5c75762f83 camera: add slider tooltip to main settings window
this replaces the overlay with onMouseRepeatListeners
2020-12-08 16:16:29 -05:00
Max Weber 1076272d8d music: re-add slider granularity
removed in e60c25be99
2020-12-07 03:23:04 -07:00
Max Weber b5b9da1a41 runelite-api: rename Options group to SettingsSide 2020-12-07 03:23:03 -07:00
Max Weber 07819bd9a4 rl-api, rl-client: add Client::getWidget(I) 2020-12-07 03:23:03 -07:00
Max Weber 7840bb2b18 devtools: add dragParent to widget inspector 2020-12-07 03:23:02 -07:00
Max Weber 54f953dc42 runelite-api: allow running scripts with a widget source 2020-12-07 03:23:02 -07:00
Max Weber 6056b92faf runelite-api: add various widget accessors 2020-12-07 03:23:02 -07:00
Max Weber e47a79db13 runelite-api: add param accessors 2020-12-07 03:23:01 -07:00
Max Weber 898641fa79 rl-client: add new zoom update script 2020-12-02 04:54:57 -07:00
Max Weber e56ae31b2b Update WidgetID to 2020-12-2 2020-12-02 04:54:56 -07:00
Max Weber e60c25be99 music: remove volume slider granularity
this interface was entirely rewritten
2020-12-02 04:54:56 -07:00
Max Weber d9b90e6c2d cache: allow partial caches to load 2020-12-01 18:45:08 -05:00
Max Weber 059edd77ca cache: allow concurrent disk storage reads 2020-12-01 18:45:08 -05:00
Max Weber 58136ff07b runelite-client: build on java 8 again
in java >=9 the type rules for <? extends ?> have changed from <Object>
to <?> so this compiled correctly, where on java 8 it is invalid
2020-11-27 04:37:15 -07:00
Max Weber e769ee0a7b http-api, http-service, rl-client: bulk upload configuration changes 2020-11-25 22:29:35 -07:00
Max Weber 4309dcd53e ConfigManager: immediately send config after importing local 2020-11-25 22:29:35 -07:00
Max Weber f078717822 runelite-client: add rsprofile support 2020-11-25 22:29:35 -07:00
Max Weber 2ac456696b runelite-api: add PlayerChanged event 2020-11-23 14:12:15 -07:00
Max Weber 3bc7bff4ae runelite-api: add WorldChanged event 2020-11-23 14:12:14 -07:00
Max Weber 32510746c6 rl-api,rl-client: update friends chat kick cs2 id
Yes the hash didn't change, but the ID did
2020-11-18 05:11:51 -07:00
Max Weber 1f9dd0d575 rl-api: update friends chat rank sprite ids 2020-11-18 05:11:15 -07:00
Max Weber bbd06b84b9 wiki: Always include item names in widget optarget lookups
Normally the client includes Widget::name in the target param, but for
widgets that don't normally have menu entries this is often empty so the
lookup string would just be `Lookup `
2020-10-31 15:24:38 -04:00
Max Weber de8afadac9 wiki: don't throw when trying to optarget skills 2020-10-31 15:24:38 -04:00
Max Weber f52eeaf4d3 wiki: remove remainder of quest/diary lookup code
2b077f4364
2020-10-31 15:24:38 -04:00
Abex 9728bb5f1b Merge pull request #12699 from dekvall/wom-leagues
xp: add support for wise-old-man trailblazer
2020-10-28 06:11:40 -06:00
Max Weber bc3a217043 rl-client: update changed item names 2020-10-28 05:29:16 -06:00
Max Weber 91417aca98 Merge pull request #11049 into master 2020-10-18 17:14:39 -06:00
Max Weber cfa6942678 kourendlibrary: add config to hide dark manuscripts 2020-10-18 16:42:08 -06:00
Abex 736e649e24 Merge pull request #12621 from Nightfirecat/kourend-library-varlemore-envoy-fix
kourendlibrary: Don't reset state when not finding Varlamore Envoy
2020-10-18 16:30:01 -06:00
Max Weber 4dfb561632 timetracking: correctly bound Catherby patches 2020-10-06 20:13:24 -04:00
Max Weber 4958165d8c experiencedrop: dont npe when trying to prayer highlight noncombat drops 2020-10-01 02:49:10 -06:00