Commit Graph
100 Commits
Author SHA1 Message Date
Adam 3f7146a6c2 chat colors: fix clan chat message highlight keys
The old friends chat uses "clan chat" as its key name for historical
reasons, and so the new clan chat uses "clan"
2021-06-06 15:11:13 -04:00
Adam c271580e74 chat commands: fix tob hm/sm kc/pb tracking
The : in the boss name breaks for logged in users, so remap it to a
clean name instead. Also add short names.
2021-06-05 17:21:09 -04:00
Adam d3a2e4bbc2 config manager: disallow : in key names
The config service rewrites . -> : and : -> . for storage since mongodb
does not support . in field names. This causes any keys set with : to
get changed after going to the config service and back.
2021-06-05 17:21:09 -04:00
Adam 559410b537 mta: clear hint arrow when leaving enchantment and alchemist room 2021-06-04 16:13:34 -04:00
Adam ab5d90fdca chat filter: remove filter login
This has been added as a setting ingame with the latest update
2021-06-03 13:01:12 -04:00
Adam 3d034c38d3 hiscore panel: add tob hard mode 2021-06-03 11:05:22 -04:00
Adam 4b05699d6e http-api: add tob hm hiscores 2021-06-03 08:57:11 -04:00
Adam 657132b39b chat channel: add target mode config 2021-06-02 16:50:13 -04:00
Adamandsuperiorser9 8fe75748f9 camera: add zoom slider tooltip when dragging
Co-authored-by: superiorser9 <superiorser9@gmail.com>
2021-06-01 20:31:22 -04:00
Adam 9e780d58c8 Use junit rule for mock webserver 2021-05-31 11:34:59 -04:00
Adam b6462e4619 chat filter: fix collapsing replayed public chat
Public chat is both replayed and also collapsed. Since replayed messages
don't send chat message events, all replayed messages would be filtered
due to the last message id not being updated for any of them. Instead,
set all stored messages ids to -1 on login, since the ids are
invalidated anyway, and then use it to not collapse replayed chat.
2021-05-31 00:19:24 -04:00
Adam d4dc309cf5 sprite manager: use constructor injection
Also make cache private
2021-05-30 23:46:55 -04:00
Adam 68e8712ffc chatchannel: fix clan join/leave timeouts with fc join/leave off 2021-05-29 22:17:55 -04:00
Adam fb7cea1678 team: add clan member counter 2021-05-29 15:51:54 -04:00
Adam d98adda7c2 team capes: rename to team
Move friends list indicator from chatchannel to team plugin
2021-05-29 15:51:53 -04:00
Adam c7d4a10a4a api: add clan channel changed event 2021-05-29 15:51:52 -04:00
Adam 3c59e4bcf0 Strip tags when doing friends chat lookups
The previous friend chat manager would do this when loading a name into the cache, but now that the cache is gone, we need to do it prior to the lookup
2021-05-29 15:51:51 -04:00
Adam 1ae01335b4 chat channel: add typing modes
This allows changing the target of typed messages via /f, /c, /g, and
/p. All further messages go to the given target until a new target is
specified.
2021-05-27 21:59:17 -04:00
Adam e7a5b604fe friends chat: rename to chatchannel
This makes the friends chat plugin applicable to all chat channels, and adds join/leave notifications for clan chats
2021-05-27 19:58:58 -04:00
Adam 46935154e4 runelite-api: add clan member join and leave events 2021-05-27 19:58:57 -04:00
Adam 991e8fda50 Allow rs.version to be a double
This allows sub-versions of the same RS revision
2021-05-26 19:43:26 -04:00
Adam 5bd8932f8e chat commands: add clan chat 2021-05-26 16:50:06 -04:00
Adam fbd0b57b68 chat notifications: add clan chat 2021-05-26 16:50:05 -04:00
Adam 6957cea91f emoji plugin: add clan chat 2021-05-26 16:50:04 -04:00
Adam 5f9ccd2538 chat filter: add clan chat 2021-05-26 16:50:03 -04:00
Adam 7de3b61860 player indicators: add clans 2021-05-26 16:50:02 -04:00
Adam 1c75a97df5 world hopper: add hop-to clan member 2021-05-26 16:50:01 -04:00
Adam 0f0d3de2c4 chat colors: add clan recolors 2021-05-26 16:50:00 -04:00
Adam 474ef1562b chat icon manager: add clan chat icons 2021-05-26 16:49:59 -04:00
Adam a3016289ec api: add clan api 2021-05-26 16:49:58 -04:00
Adam 9794fc9597 Change config name of party plugin to disable by default
Since the plugin was rewritten and changed to disable by default, it will not retroactively apply to existing configs without this
2021-05-25 14:13:17 -04:00
Adam a781efc73a friendchatmanager: rename to chaticonmanager
FriendsChatManager predates the api having an ability to look up clan
members by name, without doing string matching, hence the caching. This
is no longer necessary as we can do efficient lookups of players by name
now.

Also remove the old isMember utility function which is just duplicated
from the friends chat manager.
2021-05-24 23:35:06 -04:00
Adam c72a571837 devtools: add modicons command 2021-05-24 23:24:56 -04:00
Adam 21275bb9f0 api: correct clans chattypes 2021-05-24 23:24:39 -04:00
Adam ff86846d5d api: add enum size 2021-05-24 23:23:32 -04:00
Adam 5de8eee04d friendschat: readd user count
Also readd the Recent FCs title
2021-05-23 14:25:59 -04:00
Adam ed5d359320 api: add getOnVarTransmitListener to Widget 2021-05-23 14:24:52 -04:00
Adam b5375ae487 chat history: rebuild pmbox when all is cleared
Additionally it is unnecessary to manually remove messages when the clear option is vanilla, since it will do it already
2021-05-23 11:10:54 -04:00
Adam 945f0b6d77 chat history: support clan chat
Additionally fix the TAB_PRIVATE widget mapping which is incorrect with the
latest update. The old friends chat tab has also gained a Clear history
option so we no longer need to add it.
2021-05-23 00:10:41 -04:00
Adam 903e73f9f6 twitch: change chat trigger to /t
// was taken by clan chat with the recent update
2021-05-21 13:26:36 -04:00
Adam d97148346d party: only send location update when the location changes 2021-05-20 18:24:50 -04:00
Adam ebfc3dab89 info panel: adjust nav button priority 2021-05-20 13:43:25 -04:00
Adam fa145986b2 party service: sanitize user names 2021-05-20 11:14:20 -04:00
Adam 38cd07d025 discord plugin: sanity check user id and avatar id before building url 2021-05-20 10:40:55 -04:00
Adam 2a118bdb4d ui: queue repaint when progressbar is edited 2021-05-20 10:40:53 -04:00
Adam 94ad05fa0f minimap: add clan chat dot color configuration 2021-05-19 23:18:21 -04:00
Adam 4efd609e40 chat timestamps: add timestamps for all message types 2021-05-19 16:39:50 -04:00
Adam 6c06ac4eaf xptracker: use enum map for actions and other cleanup 2021-05-16 22:26:28 -04:00
Adam 4c0abc4511 chat message manager: fix recoloring own name with spaces 2021-05-13 14:19:42 -04:00
Adam 4740d7f2fc item charges: split up test into separate methods 2021-05-12 17:22:04 -04:00
Adam ae23301a22 item charges: add toggle for guthix rest
Since guthix rest are not visibly different, but potions are, there are requests to restore the old behavior of having guthix rest on but potions off
2021-05-12 16:13:53 -04:00
Adam 52dc8f85a7 clientloader: don't use fallback config or client when jav_config is manually specified 2021-05-11 20:39:47 -04:00
Adam 6dca841c87 item charges: simplify infobox creation logic
This looks at the worn items and matches them to known items with
charges, instead of checking the worn items for each known item with
charges. Additionally it associates guthix rest to potions, because
previously they did not have a config option, and adds an infobox for
the chronicle.
2021-05-09 15:34:59 -04:00
Adam 7092c0a29d client: accept custom javconfig url 2021-05-07 14:15:33 -04:00
Adam 217a5425d4 info: simplify language surrounding config import 2021-05-06 20:37:36 -04:00
Adam 91bac5821a agility plugin: add rellekka lighthouse obstacles 2021-05-04 10:29:51 -04:00
Adam c45d98edcb friends chat: use friendschatinfo color for join/part messages 2021-05-02 12:57:00 -04:00
Adam dd3fd8645c chat message manager: add default color for friendschatnotification chat type
This allows the config value for friends chat notifications to just
default to null, allowing plugins to detect whether or not we want to
override the default color for friends chat notification messages.
2021-05-02 12:56:14 -04:00
Adam 94685b6ef4 widgets: fix modern resizable interface container component id
This was referencing the classic layout's component id, which until today, happened to be the same between both interfaces
2021-04-28 10:28:07 -04:00
AdamandAttrolantra 79cba4faa1 fishing plugin: update for fishing trawler changes
Modify game timer to be 5 minutes.
Add option to replace the fish caught text with contribution amount
Remove activity timer notification as the mechanic has been removed

Co-authored-by: Attrolantra <ebrie3@gmail.com>
2021-04-22 21:20:03 -04:00
AdamandPaul Norton bdffcdd962 clues: add skill challenge clue requirements to clue tag test
Co-authored-by: Paul Norton <napkinorton@gmail.com>
2021-04-18 10:53:37 -04:00
Adam def3125f53 api: add cross world message fields 2021-04-15 21:28:54 -04:00
Adam c2621e236e api: add player composition colors 2021-04-15 17:12:16 -04:00
AdamandHydrox6 b965da2400 hiscore: use correct endpoint when looking up chat messages
Co-authored-by: Hydrox6 <ikada@protonmail.ch>
2021-04-13 19:57:23 -04:00
AdamandHydrox6 8d25132112 hiscore: use correct endpoint when looking up self with shortcut
Co-authored-by: Hydrox6 <ikada@protonmail.ch>
2021-04-13 19:57:23 -04:00
Adam 0914d5df90 containable frame: fix parsing version strings with only a major number 2021-04-13 18:00:16 -04:00
Adam e70a92d977 Update build for jdk 16
Also update mapstruct for good measure, since I had to add the lombok
mapstruct binding
2021-04-02 23:25:24 -04:00
Adam 84de90eb26 comp.cl: remove unused to_screen.cl import
This file never existed, but the template processor just replaces this with an empty string
2021-04-02 13:57:38 -04:00
Adam 4cd7996c43 devtools: use setAnimationFrame 2021-03-31 21:23:21 -04:00
Adam 520f686006 api: add getters for actor anim and spotanim frame 2021-03-31 21:23:20 -04:00
Adam 1c191f005b low detail: add option to hide lower planes 2021-03-30 22:17:42 -04:00
Adam 93f2932ea4 api: add get/set min level to Scene 2021-03-30 22:17:41 -04:00
Adam d1d5707f1a pom: rename maven-central repositories to central
This is the name maven internally uses. Currently the effective pom
looks like maven-central -> runelite -> central, which doesn't make
sense since maven-central and central are the same. With this, the
effective pom is central -> runelite.
2021-03-28 21:00:03 -04:00
Adam d34deb8ec9 wsclient: set ua on ws request
The network interceptor appears to not work for websocket requests, and so uses the default user agent
2021-03-26 11:47:31 -04:00
Adam ae1b9ad0cb hiscore panel: add Tempoross 2021-03-24 06:16:27 -06:00
Adam 29dbb949c9 http-api: add Tempoross hiscores 2021-03-24 06:16:27 -06:00
Adam 9d048fce41 gpu: fix clEnqueueReleaseGLObjects call with no wait list
The spec prohibits calling clEnqueueReleaseGLObjects with 0 for
num_events_in_wait_list but a non-null event_wait_list. Special
case passing a null wait list when there are no compute events
to wait for.
2021-03-23 13:48:55 -04:00
Adam d629d422f7 menus: add widgetmenuoption constructor for widgetid
This is for pluginhub plugins which want to add a managed custom menu for a widget with no corresponding widgetinfo
2021-03-22 19:53:01 -04:00
e7f50433a3 xp globes: add dynamic skill icon sizing
Co-authored-by: Yumleg <jamesz96.au@gmail.com>
Co-authored-by: Jordan Atwood <jordan.atwood423@gmail.com>
2021-03-21 16:01:46 -04:00
Adam 63992dc27e woodcutting plugin: use tree location for determining the tree region 2021-03-21 12:32:40 -04:00
Adam 1bc9e5232f hunter plugin: update location translation for lizard traps
Now that getWorldLocation() returns the south-west corner, the
translations for the open trap to the closed trap need to be inverted
2021-03-21 12:32:39 -04:00
Adam b9e290c9d2 api: add javadoc to tile object location api 2021-03-21 12:32:38 -04:00
Adam 4f34a0de6a game object: add size x/y methods 2021-03-21 12:32:37 -04:00
Adam 1c41fc0eba agility shortcut: fix al kharid window map location 2021-03-21 12:32:37 -04:00
Adam 088cb19752 ge plugin: use prices.runescape.wiki for ge link when using wiki prices 2021-03-15 22:55:33 -04:00
Adam 1b917895f0 ge plugin: cleanup 2021-03-15 22:55:33 -04:00
Adam 2725e0452f ge plugin: use int for ha value 2021-03-15 22:55:33 -04:00
Adam ed978d31dd wiki price service: use v1 api 2021-03-14 22:26:40 -04:00
Adam 5fc1f0260d ge plugin: use wiki prices for actively traded price 2021-03-09 16:40:24 -05:00
Adam d5dda05d55 ge plugin: support wiki prices in search panel 2021-03-09 16:40:23 -05:00
Adam 71595d0b6e chat commands: support wiki prices in price command 2021-03-09 16:40:23 -05:00
Adam 9e20540214 client: add option to use wiki traded prices 2021-03-09 16:40:23 -05:00
Adam 48352f11c9 item service: include wiki prices in price data 2021-03-09 16:40:23 -05:00
Adam 1284429130 item controller: add config for price cache time 2021-03-09 16:40:23 -05:00
Adam ded38ec99e http service: add wiki price service 2021-03-09 16:40:23 -05:00
Adam aa46b11731 cache updater: fix race with saving archives and computing archive hashes
The tasks submitted to the executor compute and set the archive hashes, but the hashes are required by CacheStorage to save them. Ensure the tasks are complete first before saving.
2021-03-07 23:26:23 -05:00
Adam 5ba3e510dc item service: correct scheduled delay for reloading tradable items 2021-03-07 23:24:16 -05:00
Adam b3b7491680 http service: remove unused price endpoints
Also remove time from ItemPrice, which is no longer needed now that the endpoint for fetching historic price data is gone
2021-03-07 23:20:09 -05:00
Adam 12a84f4c61 http service: remove unused cache item image endpoint 2021-03-07 12:12:53 -05:00
Adam 15a8c6f3ab http service: remove unused sprite endpoint 2021-03-07 12:07:30 -05:00