Commit Graph
100 Commits
Author SHA1 Message Date
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
AdamandAlexsuperfly c96c8b979e barrows: simplify timer creation logic
There is a rare bug which can cause multiple timers to appear at once,
and although I cannot figure out what is wrong with the existing code,
this simplifies the logic sufficiently that it shouldn't happen anymore.

Co-authored-by: Alexsuperfly <alexcsumner@gmail.com>
2021-03-07 11:49:15 -05:00
Adam 7793ca049a config manager: include profile in unset configchanged event 2021-03-04 00:05:18 -05:00
Adam 60b8d3370f Fix slayer plugin setting config values to null
null is not permitted in properties and throws an exception. Additionally mark value in setConfiguration as NonNull.
2021-03-04 00:05:18 -05:00
Adam 45fd98d487 chat commands: add jad challenge kc and pbs 2021-03-03 14:51:45 -05:00
Adam 4e7d548940 perspective: add plane parameter to getCanvasTileAreaPoly 2021-03-02 19:25:43 -05:00
Adam 9588d72a62 api: add actor animations 2021-02-27 13:22:46 -05:00
Adam 1f334d4ee8 Merge pull request #13277 from abextm/jshell
devtools: add shell window
2021-02-26 14:17:33 -05:00
Adam fc72d17a55 ping: use icmp ping on linux if available
This uses IPPROTO_ICMP sockets, which most modern linux systems support.
This allows directly sending icmp echo requests without having to use
the tcp ping check. As a fallback the old tcp ping method is used if
socket setup fails.
2021-02-23 16:50:22 -05:00
Adam 5f7c2a9dee corp plugin: use varbit changed event to track damage
In masses it has been observed that the players damage counter can
increment after the last hitsplat has been applied, which causes
the final damage summary message to be incorrect
2021-02-21 12:10:59 -05:00
Adam 601128c1e7 discord plugin: only check for area update on logged in gamestate 2021-02-19 19:54:52 -05:00
Adam bd7e47f70e devtools: add disconnect button 2021-02-19 19:53:10 -05:00
Adam 667df94d1b barrows plugin: use widget closed event for clearing puzzle 2021-02-19 19:52:38 -05:00
Adam e0be69c725 client: move core singleton eventbus registration to singleton constructors 2021-02-19 10:48:03 -05:00
Adam 611ba39764 object indicators: fix marking multilocs after var changes
If a var changes after the marked objects are loaded, causing the object's name
to match a marked object, it would not be identified due to it not firing spawn
events
2021-02-14 22:11:39 -05:00
Adam 0b993b635c clues: make isle of souls hotcold location a master step 2021-02-14 22:09:48 -05:00
Adam 8a728c1053 key remapping: set press enter to chat text regardless of chatbox focus
I can't figure out why this was originally added, but this shouldn't
care about the chatbox focus state since the script event is in the
script which builds the chatbox input widget. This is currently causing
an issue where the input rebuild script runs immediately before the
chatbox input keylistener is reapplied when closing input dialogs.
2021-02-13 22:32:06 -05:00
Adam 778dc07181 Bump to 1.7.0-SNAPSHOT 2021-02-13 11:21:07 -05:00
Adam 77757229a5 entity hider: add option to hide ignored players
This is diabled in pvp to avoid abuse. This additionally allows the
"hide" options to be set without hiding others now.
2021-02-13 10:12:13 -05:00
AdamandPaul Norton 13efaa6a0c gpu: add opencl support for macos
This allows using opencl as an alternative to opengl compute shaders on
macos, which does not support compute shaders. Now, macos can finally
use the extended draw distance feature of the gpu plugin.

This also includes code for using opencl with Windows and Linux if we
want to enable that in the future. A copy of the existing compute
shaders have been checked in and ported to opencl, keeping support for
opengl compute shaders on Windows and Linux.

Co-authored-by: Paul Norton <napkinorton@gmail.com>
2021-02-11 19:24:55 -05:00
Adam 7656cafc70 chat commands: comma separate values in several commands 2021-02-09 15:38:12 -05:00
Adam 525c64b8df farming tracker: don't send notifications for empty crop state 2021-02-09 11:43:12 -05:00
Adam 089756189f devtools: fix drawing game object overlays multiple times
This also removes the player mesh overlay and the gameobject convex hull overlay since they are unnecessary
2021-02-06 14:20:19 -05:00
Adam daf0d1c48b perspective: support rectangular tile areas 2021-02-06 14:20:18 -05:00
Adam f13be14280 bank tags: fix tag named clue coexisting with the special "clue" tab 2021-02-05 23:25:34 -05:00
Adam 73d481302b icon text field: use only awt key listener
This key listener wrapper is unnecssary and was using the RL key listener, which is meant for client keys, instead of the awt key listener
2021-02-05 23:23:19 -05:00
Adam e941bb7240 friends chat: use return value of addChatMessage 2021-02-04 22:29:04 -05:00
Adam e71b18b02b chat history: fix replaying runelite-formatted messages
This stores the underlying message node, which may be updated much later with a
new message value if a command is used, and replays that. Previously
this was storing and replaying the raw RL formatted message, which is
why colors would be stripped off of RL-formatted messages on replay.

This also no longer triggers chat message events from history replay,
which fixes commands incorrectly refiring from replay (and thus the nbsp
hack), and fixes the chat notifier sending notifications for replayed
messages.
2021-02-04 20:53:41 -05:00
Adam a2b2d049cc chat message manager: format runelite messages prior to adding
This allows plugins listening for the chat message event to get the runelite formatted message
2021-02-04 20:53:40 -05:00
Adam 236c23b25e chat command manager: remove unnecessary null tests 2021-02-04 20:53:40 -05:00
Adam 29747b1ea7 api: add an addChatMessage method overload to allow skipping events 2021-02-04 20:53:39 -05:00
Adam fc8360f6cc config manager: require config group and key when setting configuration 2021-02-04 16:18:18 -05:00
Adam 7b5fb1fb76 clue scroll plugin: fix test 2021-02-04 13:41:32 -05:00
Adam 1ae0770705 bank tags: allow plugins to register their own tag names
This also moves the clue tab logic into the clue plugin and inverts the bank tags -> clue plugin dependency
2021-02-04 11:39:38 -05:00
Adam 263b02ac14 config manager: use createTempFile for config temp file
With multiple clients with different configs saving at once, the same temp file was being used, which can cause it to not save or to move() a temp file from a different client
2021-02-03 15:05:25 -05:00
Adam a58b2d3fdf Revert "image component: support setPreferredSize"
This reverts commit 5e7242388d.
2021-02-02 23:26:18 -05:00