Commit Graph
100 Commits
Author SHA1 Message Date
Adam d595cde390 api: add GraphicsObject finished()
Also update some of the javadoc
2020-08-11 16:58:26 -04:00
AdamandMMagicala 1d62a00596 item stats: add duration tooltips to potions
Co-authored-by: MMagicala <MMagicala@users.noreply.github.com>
2020-08-11 15:43:31 -04:00
Adam 6998931f84 menu swapper: update jewellery box clan wars swap to ferox enclave 2020-08-10 11:12:04 -04:00
Adam e53e33d6fb mouse highlight: fix interface tooltips option
Use the menu type instead of assuming if the param1 is a valid widget
then the menu is for a widget. The params are free form data which is
specific to the menu type, so it is possible for it to unintentionally be
a valid widget id even when it is something else.
2020-08-03 15:29:50 -04:00
Adamandwhile-loop 9fef3ad47d inventory-grid: show grid when viewing bank
Co-authored-by: while-loop <cvballa3g0@gmail.com>
2020-08-02 13:22:23 -04:00
Adam a41074f135 clientui: use contains instead of intersects for screen bounds checking
It is possible to have the client bounds intersect the screen bounds but still have the client unusable due to being unable to resposition it.
2020-07-28 13:42:44 -04:00
Adam d8b83ce52b clientui: reset frame position in safe mode 2020-07-24 15:25:42 -04:00
Adam 080bc013a8 tagtabs: fix clearing bank search when opening tags 2020-07-24 15:24:47 -04:00
Adam 340530daf6 tagtabs: show tab separators in tag tabs
This changes tag tabs to actually put the bank in search mode, still
without providing any search input, so that the bank tab builder will
draw tab separators (both the separator line and tab text label)
2020-07-24 15:24:47 -04:00
Adam 76b57c124e tagtabs: close tab when clicking on main bank tab 2020-07-24 15:24:47 -04:00
Adam e4b43d98f2 tagtabs: split tag search from bank search
This fixes a lot of edge cases which required us to re-search for things
after input was re-used when a tag tab was open, and removes the
requirement of having the bank search text be in sync with the
currently selected tab.

This also no longer parses the tag tab out of the title during times
when the input is being re-used (like Withdraw-x) which was broken
earlier from the bank plugin changing the title to include the value of
searches.

A new tag tab title is being set now on all tag tab views so the old tag
tab tab title event can be removed.
2020-07-23 18:19:04 -04:00
Adam cbd2c4fd82 banktags: fix resetting active tab when editing tags
The input type for this changed awhile ago in a chatbox panel manager refactor
2020-07-23 00:13:20 -04:00
AdamandJZomerlei ead0b28193 bank plugin: show bank value during searches
This also shows the value of tag tabs, since they internally are just
bank searches.

Co-authored-by: JZomerlei <jzomerlei@gmail.com>
2020-07-22 18:02:19 -04:00
Adam 5d0adf38da api: add size() to itemcontainer 2020-07-22 16:51:17 -04:00
AdamandMarbleTurtle 92344938d3 dps counter: update boss list
Co-authored-by: MarbleTurtle <MarbleTurtle@users.noreply.github.com>
2020-07-22 15:35:08 -04:00
Adam 11d244bd06 Revert "xpdrops: fix recoloring xpdrops with hide skill icons on"
This reverts commit abbff79294.
2020-07-17 21:33:46 -04:00
Adam abbff79294 xpdrops: fix recoloring xpdrops with hide skill icons on
The widget child array is filled with nulls to hide the sprites. It is also
valid for the child array to have null entries in it in general, but that does
not happen otherwise.
2020-07-17 21:17:46 -04:00
Adam 82a99a2b2b inventoryid: add trade inventories 2020-07-15 14:51:31 -04:00
Adam d6302702a9 clues: correct spelling of Burthorpe 2020-07-13 13:40:54 -04:00
Adam 35381c4183 xpdrops: fix hide skill icons
We need to have the underlaying child array to make and assign back a copy to remove skill icons
2020-07-11 12:12:20 -04:00
Adam e086a1155b xpdrops: fix recoloring xpdrops when prayer is flicked on the previous tick
Previously the widget hidden event would not run until the next client
tick, due to it being on a timer, and the game tick event being deferred
until the next frame. Now that we are hooking to the script being
executed it fires prior to the game tick event being fired.
2020-07-11 11:46:24 -04:00
Adam 623de63269 xpdrops: reset xpdrop color on wrong prayer 2020-07-10 00:07:46 -04:00
Adam 9fd36a600c xpdrop plugin: use script events instead of widget hidden
This also uses the default color enum to assign default xpdrop colors
instead of using our hardcoded enum.
2020-07-09 13:20:33 -04:00
Adam 395fd1f519 config: minor plugin panel cleanup 2020-07-08 17:44:51 -04:00
Adam 11cd19c2ce player composition: add isFemale 2020-07-05 17:34:04 -04:00
Adam e3163c80ae plugin manager: remove extra injectMembers() call
This has been here a long time, but as far as we can tell is no longer
necessary. It is causing double instantiation of classes which are only
injected a single place.
2020-07-03 21:44:30 -04:00
Adam 83607f1335 infobox manager: keep infoboxes in order of insertion
Collections.binarySearch() does not guarantee which element is found if
there are multiple that compare equal, leaving the order of infoboxes
not necessarily in insertion order. This was an unintended side effect of
ba9ffb1d60 and
406c2bc7db.
2020-07-01 19:21:06 -04:00
Adam 67030e38a4 slayer plugin: better support multikills
This observes deaths of tagged npcs each tick and will use those if
available instead of assuming one kill per xpdrop
2020-07-01 15:55:26 -04:00
Adam 6dc6e78f51 plugins: update to use ActorDeath 2020-07-01 15:52:00 -04:00
Adam 8f320cb9ed api: add ActorDeath event, remove PlayerDeath 2020-07-01 15:52:00 -04:00
Adam ac30c8dc3f npc indicators: fix tag/untag option name selection logic
When pressed tag/untag will first check if the npc id is tagged via
npcTags, so the menu option should be based off of that, and not whether
or not the npc is highlighted generally
2020-07-01 11:32:46 -04:00
Adam 53c8593929 var inspector: optimize var checking
This fixes the inspector incorrectly only checking the first ~2k varbits
due to there being some holes now in the varbit ids
2020-06-29 12:39:42 -04:00
Adam 62bbf35baf api: add VarbitComposition, config index, and index fileids 2020-06-29 12:39:41 -04:00
Adam 14ecc93286 client: add --insecure-skip-tls-verification option
Additionally this checks if the launcher property is set too which
happens if the launcher is passed this flag.
2020-06-27 23:21:29 -04:00
Adam 47c375cb03 client: use guice provided http client everywhere 2020-06-27 23:21:28 -04:00
Adam f9aea0d958 examine plugin: fix overflow in computing alch price 2020-06-27 13:52:14 -04:00
Adam 71d89af946 client: use item composition high alch price
The correct way to compute ha price is floor(storePrice * 0.6f). This
was being computed incorrectly everywhere except for the bank plugin.
THis is now being computed centrally via the api.
2020-06-27 13:41:49 -04:00
Adam 5ab04030b8 api: add high alch price to item composition 2020-06-27 13:41:48 -04:00
Adam edbf5d22e1 client: update to use isKeyPressed 2020-06-26 12:14:27 -04:00
Adam 1533929191 api: add isKeyPressed 2020-06-26 12:14:27 -04:00
Adam 31c66294f0 menu swapper: don't apply item menu swaps when shift is held
This fixes a regression where applying menu swaps post-shift would make
shift effectively do nothing. Instead use the client swap when shift is
held.
2020-06-26 11:55:06 -04:00
Adam 1e1273d172 menu swapper: fix toggling customizable shift-click option
This was not actually enabling/disabling shift click on config toggle,
nor was it respecting the config option when overwriting the shift click
indexes
2020-06-26 11:55:06 -04:00
Adam 924064ddc5 overlay renderer: avoid unnecessary cursor reset on key release or focus lost 2020-06-26 11:53:59 -04:00
Adam 86ddd6ebd4 client: remove death indicator plugin
The gane update tomorrow will contain a timer & map waypoint
2020-06-24 16:55:22 -04:00
Adam 8e1252ba5d chat commands: name pb matcher groups 2020-06-24 13:28:54 -04:00
Adam e02bd1d5b8 client: remove itemskeptondeath plugin
This is being superseded in the game update tomorrow - https://twitter.com/JagexAsh/status/1275786030038335488
2020-06-24 10:08:40 -04:00
Adam 6950bf166e menu swapper: add tan all swap 2020-06-23 15:17:07 -04:00
Adam f20d3e7e1e menu swapper: clean up swap logic 2020-06-23 14:53:53 -04:00
Adam 974343aac6 grounditems: add option to outline text 2020-06-23 12:48:41 -04:00
Adam ac60e7772c textcomponent: add option to outline text 2020-06-23 12:48:41 -04:00
Adam da9de0940c screenmarkers: cleanup widget marker overlay bounds logic
This additionally adds a null check to the getChild() call
2020-06-21 22:57:47 -04:00
Adam 0de98f57e8 client: fetch jav_config over https 2020-06-19 10:28:37 -04:00
Adam ae5125398f client: correct spelling of taverley 2020-06-18 15:44:32 -04:00
Adam 0bec5ff26b Change client jsr305 dependency to compiled scope
Guice requires nullable be visable at runtime when in reduced
functionality mode in order to build the injector due to the optional
client dependencies
2020-06-18 07:02:30 -04:00
AdamandThatGamerBlue 111f099654 death indicator: add clear option to infobox
Co-authored-by: ThatGamerBlue <thatgamerblue@gmail.com>
2020-06-17 12:52:45 -04:00
Adam 48357f9329 client: add support for menu options on infoboxes 2020-06-17 12:52:45 -04:00
Adam 1b7dadeb68 overlay: optimize some menu handling code 2020-06-17 12:52:45 -04:00
Adam bf49da90b4 client: add safemode flag to disable gpu plugin and externals 2020-06-17 11:23:53 -04:00
Adam 5ab4c76c8c runelite: add startup log with versions and arguments 2020-06-17 11:23:53 -04:00
Adam 2ce229f528 timetracking: add option to hide farm contract infobox
This also cleans up the existing infobox add/removal code
2020-06-16 14:45:27 -04:00
Adam 2dd9bbbf5e cannon plugin: move spot scene check to game state change event 2020-06-15 21:44:09 -04:00
Adam 93c1e36bea config: increase config cache to 256
This regularly fills up currently when idling ingame with my normal
config
2020-06-15 21:19:55 -04:00
Adam 51f0b7752d timers plugin: add support for ring of endurance to stam timer 2020-06-15 18:23:51 -04:00
Adam cc8b8c9bcf chat commands: add hallowed sepulchre kc 2020-06-15 15:20:02 -04:00
Adam 2c9e8ab222 chat commands: add hallowed sepulchre pb 2020-06-15 15:20:02 -04:00
Adam 84611f0db8 Rename clan chat to friends chat 2020-06-15 14:57:16 -04:00
Adam e5adab24dd agility overlay: correctly use sepulchre overlay color 2020-06-12 21:33:05 -04:00
Adam 3d762d7ca2 ge plugin: fix adding limit reset timer multiple times
The code was assuming anything added to the examine text was separated
with <br>, however the reset timer doesn't do that.
2020-06-12 15:09:43 -04:00
Adam 40452b2864 pom: update discord to 1.2
This is to remove the compile scoped dependency on jsr305
2020-06-12 13:54:52 -04:00
Adam 233d3d0375 attack styles: fix npe when config values are unset 2020-06-11 22:22:41 -04:00
Adam 7b5c483c3c config panel: add option to reset individual config options 2020-06-10 12:52:47 -04:00
Adam c196cdb430 loottrackerpanel: use setComponentZOrder instead of remove+add 2020-06-10 12:49:46 -04:00
Adam 3050bd7ca9 agility plugin: highlight Sepulchre arrows and swords 2020-06-10 12:28:56 -04:00
Adam 66ca5a74eb api: add spawn time to tileitem 2020-06-08 22:25:01 -04:00
Adam d7f55bbef6 slayer plugin: fix points and streak being forgotten when restarted with no task 2020-06-08 17:57:41 -04:00
Adam b453624dd9 pom: set release 8 on jdk9+
This fixes having Java 9+ API dependencies generated by the compiler
when building on JDK9+ despite targeting Java 8 bytecode. This fixes the
gpu plugin linking errors when running on Java 8 after being compiled on
9+.
2020-06-08 11:45:57 -04:00
Adam a1122ba141 ge: fix computing bought/sold amount
Use the total spent price instead of the delta spent price, as it is
being divided by the total quantity
2020-06-06 10:35:20 -04:00
Adam bda66e8da4 npc indicators: add option to highlight dead npc menu entries 2020-06-04 23:15:49 -04:00
Adam af7c833695 npc indicators: rename highlight dead npcs to ignore dead npcs 2020-06-04 22:39:21 -04:00
Adam e8b464f217 Revert "clanchat: Add player name to kick message (#11555)"
This reverts commit 41a041972a.

This evidently is intentionally left out of vanilla due to concerns over
triggering auto mutes due to kicking players with bad names.
https://twitter.com/JagexAsh/status/1268620095569289226
2020-06-04 19:32:15 -04:00
Adam 473ab8eae2 client: remove unnecessary annotation-providing dependencies from runtime classpath 2020-06-04 14:56:47 -04:00
Adam a45d208eb6 ge plugin: ignore offers being cleared on logout 2020-06-04 14:56:07 -04:00
Adam 2dd6fa41e9 ge: include both delta qty and qty 2020-06-04 10:14:01 -04:00
Adam a803ba567b ge: include slot id 2020-06-03 20:44:45 -04:00
Adam c67378c09e ge plugin: include if trade is synced on login 2020-06-01 09:56:09 -04:00
Adam 83756e8722 ge: submit spent price instead of computed per-item price 2020-06-01 09:56:09 -04:00
Adam ea45059f20 ge plugin: null client session id on session close 2020-06-01 09:56:09 -04:00
Adam 7675f92ee5 ge controller: add total to trade message 2020-05-31 11:48:27 -04:00
Adam 6a2e15643f ge plugin: include world type in trades 2020-05-30 20:06:33 -04:00
Adam 44ea837346 ge controller: publish trade data to redis 2020-05-30 19:26:43 -04:00
Adam 17d6921a4a ge plugin: submit partially completed trades 2020-05-30 19:26:43 -04:00
Adam 6d46bb09c4 ge plugin: submit trades even when not logged in 2020-05-30 19:26:43 -04:00
Adam 2622cc2ac6 http-api: use separate class for ge trade history 2020-05-30 19:26:43 -04:00
Adam 27173d90b5 hooks: remove remaining static callbacks 2020-05-30 10:25:52 -04:00
Adam 7de65bbcf4 plugin manager: don't search child injector bindings for configs
This fixes plugins which have dependencies and no configuration from
erronously having their deps config picked up, and also fixes defaults
being applied multiple times to the same config on startup due to the
configs being in the bindings of multiple injectors
2020-05-28 14:45:22 -04:00
Adam f5e99d5cb1 plugin manager: chain child injectors for plugin dependencies
Instead of combining the modules of the plugin and all of it
dependencies, create a new child injector for the plugin from a child
injector comprised of the parent module(s)
2020-05-28 14:42:01 -04:00
Adam 406c2bc7db infobox manager: fix adding multiple infoboxes of same priority
The sort only checks infobox priority and plugin name, and is not a
uniqeness check, so we still need to insert the infobox regardless of if
it is "found" or not.
2020-05-28 00:13:32 -04:00
Adam 1bcb25f10b api: finish some thoughts in callbacks javadoc 2020-05-27 21:09:27 -04:00
Adam 667a0e9297 cache: diable some long-running tests
These tests just bulk-dump data and don't really test anything, and use
up a lot of CI time when tests are run
2020-05-25 14:32:56 -04:00
Adam 8e06e398ee chathistory: small cleanups of clear history 2020-05-24 17:12:31 -04:00