Commit Graph
100 Commits
Author SHA1 Message Date
Max Weber ef9bc957cb kourendlibrary: Make hiding the navbutton optional 2018-06-21 12:36:15 -06:00
Max Weber 80cdfd082c prayer: Remove the ring of the gods from the holy wrench list
Because it doesn't give the effect
2018-06-20 16:38:00 -06:00
Max Weber 64b9b7a168 kourendlibrary: Hide navbutton when not in the library 2018-06-19 14:03:53 -06:00
Max Weber 2146ccaa5e runelite-client: remove unused import in DemonicGorillaOverlay
introduced in 5ac839164
2018-06-16 12:32:17 -06:00
Max Weber 4bdd2e1b18 Update autogenerated ID files 2018-06-16 12:10:38 -06:00
Max Weber 929d77085c cache: consolidate ID class printing and split ObjectID
ObjectID hit the 32k field limit, so it needed to be split into multiple files to be updated.
2018-06-16 06:39:47 -06:00
Max Weber 456025e20d runelite-client: Prevent recursion when chat notifier notifies to chat 2018-06-14 08:37:53 -06:00
Max Weber 0ff91107b7 runelite-client: Test Overlay equality
If Overlay::equals returns true for different subclasses it breaks the OverlayManager, because it can no longer remove overlays correctly.
2018-06-14 08:36:40 -06:00
Max Weber e8f6a13d13 runelite-client: Allow new screenmarkers to be created
Previously they would get their positions nulled during OverlayManager:add because it loads them from the config
2018-06-13 03:13:30 -06:00
Max Weber 233629f221 runelite-client: Use an ArrayList to store overlays
The TreeSet was removing most overlays (except the ones I tested with) because they
were equal to the comparator.
2018-06-13 03:13:30 -06:00
Max Weber e0d70ab382 runelite-client: Make OverlayManager thread safe
There was something happening where rebuildOverlayLayers would race itself almost 100% of the time, preventing overlays from being removed.
2018-06-12 21:26:20 -06:00
Max Weber 39311a3328 runelite-client: add detached camera devtool 2018-06-08 02:57:34 -06:00
Max Weber 44d756a26b runelite-client: Allow developer-tools to run from the launcher
Packr doesn't let us add jvm arguments from the command line, so this disables the assertion check if the launcher version is present
2018-06-04 18:39:50 -06:00
Max Weber d97eef0c10 runelite-client: Don't fail on invalid config values. 2018-06-04 18:31:26 -06:00
Max Weber 7c048a00bc runelite-api: Correct actor documentation 2018-06-04 05:32:12 -06:00
Abex 78b6a5b836 interfacestyles: Run on game thread (#3129)
To prevent conflicts with game thread, move all client related logic to game thread
2018-05-23 13:16:57 +02:00
Max Weber e6d450bcd8 runelite-client: Require assertions when developer mode is on
Because we now have several thread checks that use assertions, but not many people have assertions on, so we keep getting code with threading problems that no one notices.

If for some reason you need developer mode with assertions disabled you can add `-ea:net.runelite.client.RuneLite` to your JVM params
2018-05-22 19:13:22 -06:00
Max Weber ff732f82c3 varinspector: Lazily initialize var arrays
Varcs is set during cache load, so we race it while starting
2018-05-22 12:56:23 -06:00
Max Weber 106e781cc7 devtools: Replace Var tracker with Var Inspector 2018-05-21 12:20:33 -06:00
Max Weber 572d92378a Allow get/setVarbitValue to operate on arbitrary varp sets 2018-05-21 12:20:33 -06:00
Max Weber 66ccd9c0d6 Add VarC events 2018-05-21 12:20:32 -06:00
Max Weber 64610ae08c Cleanup FarmingTracker panels 2018-05-19 15:13:22 +02:00
Max Weber 669b0a0ab9 Revert #2530 "Make VarbitChanged only fire once..."
This broke the speccounter plugin, and is moderately incorrect because client scripts can update varbits before a tick has happened, and the event should reflect that.
2018-05-15 03:36:16 -06:00
Max Weber bc1f3530aa Rename varcstrings > varCStrings 2018-05-14 18:58:04 -06:00
Max Weber 97a5031c1b Rename varcs > varCInts 2018-05-14 18:57:59 -06:00
Max Weber 7cc726097f cache: Strip tags from java names 2018-05-14 03:26:38 -06:00
Max Weber 220add92fd runelite-api: Update ID files 2018-05-14 03:26:21 -06:00
Max Weber eb63fa2d30 kourendlibrary: Fix for rev 170 menu code
The X/Y gets unpacked into the ActionParam and WidgetID now
2018-05-11 02:17:15 -06:00
Max Weber 43c6cc8afe groundmarkers: Fix NPE in drawTile 2018-05-11 00:48:22 -06:00
Max Weber 3e21453d7a runelite-api: Annotate Perspective methods with @Nonnull
This is in an effort to make NPEs in render methods happen slightly less
2018-05-11 00:46:23 -06:00
Max Weber c9d0abc1c3 Make VarbitChanged only fire once, after everything has settled 2018-05-10 21:01:04 -06:00
Max Weber 6f55163152 http-api: print a more helpful error message when resources are not filtered 2018-05-10 17:47:58 -04:00
Max Weber d34cd62481 Add Burgh de Rott map clue 2018-05-09 01:34:38 -06:00
Max Weber 8a9b28db05 runelite-client: Make notification options not mutually excusive
#2180 made it so Windows users could not have sound and a tray notification at the same time. This splits the enum into separate booleans
2018-05-08 16:23:59 -06:00
Max Weber 5da9d697da Add SpriteManager to get sprites from the cache. 2018-05-08 17:23:53 -04:00
Max Weber d1d93f05e0 runelite-client: Log uncaught exceptions
Previously exceptions would be printed to stderr, and not show in log files.

This also adds a case for AbstractMethodError because it almost always means the injector needs to be re-ran.
2018-05-06 01:02:36 -06:00
Max Weber f3a8cd9ba9 farmingtracker: Prevent saving when teleporting
When teleporting to a updating region (ardy teleport), it would save the new region's varbits to the old region's config.
2018-04-30 18:14:59 -06:00
Max Weber efa67d7c93 Rename SettingsTracker 2018-04-30 16:27:52 -06:00
Max Weber 7f190f2534 Merge Varcs into Client::getVar 2018-04-30 16:17:04 -06:00
Max Weber 33d6b9bdb7 Rename Setting to VarPlayer 2018-04-30 16:03:49 -06:00
Max Weber afebe6dbda runelite-client: Cleanup cli arguments 2018-04-30 15:12:29 -06:00
Max Weber 198002c5e5 Add missing U+00A0 NO-BREAK SPACE character
Some system locales use the non-breaking space character as a numeric delimiter, causing the replacement character to be used
2018-04-27 23:58:29 -06:00
Max Weber 5e479292e0 configmanager: Allow multiple delimiters 2018-04-27 17:19:55 -06:00
Max Weber 7eabc16806 Add FarmingTracker plugin
With help from NotFoxtrot
2018-04-26 21:33:56 -04:00
Max Weber 7645d6a04f Allow PluginPanels to opt-out of the scrollbar
For panels with tabs it is best to have the scrollbar inside of the tab pane, not around it.
2018-04-26 19:46:27 -04:00
Max Weber 16aca14f7f Add WorldPoint::getRegionID 2018-04-26 19:46:26 -04:00
Max Weber f0b1f0e8b0 Add UsernameChanged event 2018-04-26 19:46:25 -04:00
Max Weber eef0839c2d Add various animation IDs
From NotFoxtrot
2018-04-26 19:46:24 -04:00
Max Weber 30e70bb9d1 cache: Name ObjectDefiniton's varpID and configID correctly 2018-04-26 17:26:15 -06:00
Max Weber 8cd5675d36 Use ItemManager in GrandExchangePlugin 2018-04-26 14:53:44 -06:00
Max Weber 30413c0257 Use ItemManager in KourendLibraryPlugin 2018-04-26 14:53:30 -06:00
Max Weber b3fa9a5e49 Allow ItemManager to be ran off the client thread
This allows the ItemManager to return a blank BufferedImage if it's not called on the client thread. This also makes it not render the image until the cache has been downloaded
2018-04-26 14:53:00 -06:00
Max Weber d680c91c19 Allow ClientThread to re-run invokeLater-ed methods 2018-04-26 13:59:44 -06:00
Max Weber 5054caffa1 Initialize ItemManager to a complete state
This reverts e3637fbb27868c42b9acb7c9f2a8f4308179e143 , changing it so RuneLite gets it's ItemManager late, as opposed to the ItemManager being constructed in a invalid state.
2018-04-26 13:59:44 -06:00
Max Weber 605646a84c tithefarmplugin: Fix null pointer when crops near camera 2018-04-25 19:11:19 -06:00
Max Weber 184c4c91a7 Rename setClickMask()I > getClickMask()I
This made maven unable to do a incremental build for some reason.
2018-04-12 06:27:25 -06:00
Max Weber 7c51bda554 Fix ChatboxInputManager 2018-04-12 06:09:54 -06:00
Max Weber 39a78166dc Allow MenuOptionClicked events to be consumed 2018-04-12 05:55:57 -06:00
Max Weber 0680fe5940 Fix bank tags plugin 2018-04-12 05:55:49 -06:00
Max Weber f63c9a3347 Fix zoom plugin 2018-04-12 05:55:49 -06:00
Max Weber 44c740f21e Add ChatboxInputManager to provide a RuneScape styled input box 2018-04-01 16:16:27 -04:00
Max Weber aa02da45c0 Allow assembly and loading of new scripts 2018-04-01 16:16:27 -04:00
Max Weber 38f59146d5 Mixins: Give scripts a log.debug callback 2018-04-01 16:16:26 -04:00
Max Weber 103c3b87de cache: Allow scripts to start with comments 2018-04-01 16:16:26 -04:00
Max Weber 6e80cff926 Expose methods to execute scripts 2018-04-01 16:16:25 -04:00
Max Weber 0c04804d1a ScriptEvent > ScriptCallbackEvent 2018-04-01 16:16:25 -04:00
Max Weber 2078b7b37c Log game crashes to the logger, not Stdout 2018-03-28 21:20:14 -06:00
Max Weber 92a94cff32 Ensure createItemSprite is called on the game thread 2018-03-25 14:51:14 -04:00
Max Weber 0ec8d7615f runelite-client: Add ClientThread to aid in synchronizing with the client 2018-03-25 14:51:13 -04:00
Max Weber 764e361626 mixins: Use assert in scriptvm 2018-03-24 20:38:59 -06:00
Max Weber 7f64f93bb0 menumanager: Actually remove menu options 2018-03-24 09:16:21 -04:00
Max Weber 1e1f6f9174 itemstats: use EnergyStat instead of anonymous stat 2018-03-23 20:22:56 -06:00
Max Weber b0435f11c3 configmanager: synchronize disk access 2018-03-23 01:39:48 -06:00
Max Weber 0a4dc4b3fc itemstats: Support holy wrench effect 2018-03-20 21:26:43 -06:00
Max Weber 5a5b01a726 Change colors in XPInfoPanel to be brighter 2018-03-19 15:51:22 -04:00
Max Weber 620cd1f09c Add JShadowedLabel 2018-03-19 15:51:21 -04:00
Max Weber a3731a9b41 jarvis: allow null points 2018-03-19 08:57:39 -06:00
Max Weber b503ce752c kourendlibrary: Use correct coordinate conversion 2018-03-15 16:21:56 -06:00
Max Weber 159b6e99b6 kourendlibrary: Fix NPE while loading 2018-03-15 16:21:31 -06:00
Max Weber c7deb854db Add regen meter plugin 2018-03-10 02:22:20 -07:00
Max Weber 2a579a3ebf hunter plugin: Don't iterate over all tiles 2018-03-09 21:11:19 -07:00
Max Weber f560fb9427 Add planes to planeless tile objects 2018-03-09 20:59:06 -07:00
Max Weber f3a2a5e29d Remove old API 2018-03-09 20:59:06 -07:00
Max Weber b75dddca28 Update almost everything to the new API 2018-03-09 20:59:05 -07:00
Max Weber cf4d5d8333 Add conversion methods to WorldPoint and LocalPoint 2018-03-09 20:51:43 -07:00
Max Weber 6f9b855520 Rename Point3D to WorldPoint 2018-03-09 15:53:11 -07:00
Max Weber 1211693096 jewellerycount: add imp-in-a-box 2018-03-08 19:43:35 -07:00
Max Weber 38f04a23e0 Move widget inspector into it's own window 2018-03-08 19:39:12 -07:00
Max Weber 1d5a9f7e90 isRSHidden > isSelfHidden 2018-03-08 19:35:03 -07:00
Max Weber badc1e9182 injector: Fix scriptvm not updating currentScript 2018-03-08 18:54:05 -07:00
Max Weber da096a6407 specorb: Cache draws to reduce allocations 2018-03-06 17:07:34 -07:00
Max Weber 2e80d972fe inline RSHashTableMixin.getNodes into RSWidgetMixin.getParentId to reduce allocations 2018-03-03 19:57:09 -07:00
Max Weber 6bedcc2c7a Reuse NumberFormatter to reduce allocations 2018-03-03 19:25:11 -07:00
Max Weber 81a90762d9 zoom: Fix pitch relaxer after rev 165 changes 2018-03-01 19:33:55 -07:00
Max Weber 625a505f08 Move the Login and Logout buttons to the TitleToolbar 2018-02-28 12:32:18 -07:00
Max Weber 20d3c72bd4 cameraPitchCopy > cameraPitch 2018-02-25 22:53:49 -07:00
Max Weber 47f2061387 cameraPitch > cameraPitchTarget 2018-02-25 22:53:49 -07:00
Max Weber 51b077b479 cache: Add get_is_mobile opcode.
This is set to 1 on the mobile build. All that it does is change some sprites in the options panel.
2018-02-23 19:41:17 -07:00
Max Weber 346aa845c2 zoom plugin: Add option to relax the camera's upper pitch limit. 2018-02-23 04:32:32 -07:00
Max Weber 623e958046 Sort the PluginToolbar 2018-02-20 23:16:22 -07:00