Commit Graph
100 Commits
Author SHA1 Message Date
Tomas Slusny 3e50b762e9 Merge pull request #7855 from WillThomas/screenshot_challenge_raids
screenshot plugin: Add Challenge Mode raid support
2019-02-15 09:11:15 +00:00
Tomas Slusny 7edd60219e Merge pull request #7828 from deathbeam/fix-item-comp-cache
Reset item composition cache on menu shift-click change
2019-02-15 07:56:49 +00:00
Tomas Slusny 0529d5d144 loottracker service: include time in loot record
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-13 23:51:36 +01:00
Tomas Slusny 125f3c7213 Merge pull request #7716 from deathbeam/use-clan-chat
Use CLANCHAT_INFO for party messages
2019-02-13 07:43:20 +00:00
Tomas Slusny 09d324e129 Reset item composition cache on menu shift click change
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-13 00:28:18 +01:00
Tomas Slusny d59e7846d7 Export ItemCompositionCache
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-13 00:28:09 +01:00
Tomas Slusny d2713c2138 Add offset to loot tracker API
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-12 22:49:01 +01:00
Tomas Slusny 8c8e967111 Merge pull request #7821 from RyBo/worldmap
Add agility shortcut entry for Taverly Dungeon to World Map plugin
2019-02-12 19:26:25 +00:00
Tomas Slusny e63d2dbcce Merge pull request #7822 from deathbeam/fix-mapping-warning
Fix unmapped target property "time" warning
2019-02-12 15:58:15 +00:00
Tomas Slusny 63dccfc069 Merge pull request #7827 from deathbeam/item-variation-reset-fix
Use ItemVariations when using Reset option for shift-click
2019-02-12 12:27:31 +00:00
Tomas Slusny d186632c4c Use ItemVariations when using Reset option for shift-click
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-12 11:55:20 +00:00
Tomas Slusny 5b03cf3a68 Fix unmapped target property "time" warning
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-12 08:54:58 +01:00
Tomas Slusny b79d6a594e Merge pull request #7757 from Nightfirecat/item-stats-data-structure-cleanup
item stats: Represent boost data as ints
2019-02-12 07:45:06 +00:00
Tomas Slusny b863f6bc46 Merge pull request #7819 from NPittinger/add-equals-and-hashcode-annotations
Add EqualsAndHashCode to Lombok data/value that do not extend Object
2019-02-12 07:35:20 +00:00
Tomas Slusny 0559d0d5b4 Use CLANCHAT_INFO for party messages
This makes more sense for party messages, mainly if we will be sending
party-related messages with source in future.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-11 13:07:57 +00:00
Tomas Slusny 1dfc4b535a Merge pull request #7619 from Nightfirecat/player-indicator-name-positions
Player indicator name positions
2019-02-11 10:52:48 +00:00
Tomas Slusny 955ef181e8 Merge pull request #7785 from deathbeam/clear-cerb-ghosts-on-loading
Clear Cerberus ghost on LOADING game state
2019-02-11 09:16:04 +00:00
Tomas Slusny d4808625af Merge pull request #7787 from eioo/patch-2
World Map: Fix Ape Atoll tree type
2019-02-11 07:58:43 +00:00
Tomas Slusny 04e7fb5a23 Merge pull request #7800 from Lucwousin/kebos-cryptic-clue
Add kebos swamp cryptic clue
2019-02-11 07:57:35 +00:00
Tomas Slusny 474c076c31 Merge pull request #7801 from Lucwousin/hydra-helm
Add hydra slayer helms to slayer plugin
2019-02-11 07:11:45 +00:00
Tomas Slusny b99c8d7480 Clear Cerberus ghost on LOADING game state
When leaving the are with cerberus ghosts player will not receive
despawn events for them and so they will be stuck (they are just GCed
later instead). This solves the issue and goes in line with rest of
logic we have that relies on spawn/despawn events.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-10 14:26:40 +01:00
Tomas Slusny 80ed9a8af6 Merge pull request #5976 from Hydrox6/poison-infobox
Add Poison and Venom damage tooltip and infobox
2019-02-09 22:16:20 +00:00
Tomas Slusny abc88b0fce Merge pull request #7725 from deathbeam/vertical-glue-sidebar
Push sidebar non-tab buttons to bottom
2019-02-09 14:06:22 +00:00
Tomas Slusny 52c0bb92d8 Push sidebar non-tab buttons to bottom
Push sidebar non-tab buttons with custom chrome disabled to bottom.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-09 02:07:24 +01:00
Tomas Slusny c8a5eed56d Merge pull request #7765 from bjornenalfa/patch-1
Add Rada's Blessings to Prayer plugin
2019-02-09 01:03:54 +00:00
Tomas Slusny d67c83fea7 Merge pull request #7754 from henryzhangsta/fix-world-hopper-enable
Make sure WorldHopperPlugin's executor is active on startup
2019-02-08 22:24:41 +00:00
Tomas Slusny 92e50b624f Merge pull request #7756 from henryzhangsta/onSetMessage-deprecated
Migrate onSetMessage to onChatMessage
2019-02-08 07:11:01 +00:00
Tomas Slusny 2715974f88 Merge pull request #7741 from deathbeam/fix-widget-hiding
Unhide hidden widgets on plugin shutdown
2019-02-08 07:08:10 +00:00
Tomas Slusny b3c4707a0e Merge pull request #7742 from deathbeam/skip-barrows-local-player
Do not draw yellow dot for local player in barrows plugin
2019-02-08 00:12:40 +00:00
Tomas Slusny 5c81e16498 Merge pull request #7743 from deathbeam/use-correct-player-dot-color
Use correct player dot color in barrows plugin
2019-02-08 00:12:01 +00:00
Tomas Slusny 4c86056339 Use correct player dot color in barrows plugin
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-07 19:39:10 +01:00
Tomas Slusny 53c831ce02 Do not draw yellow dot for local player in barrows plugin
It is already drawn as white square later.

Closes #6918

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-07 19:34:40 +01:00
Tomas Slusny c238926ca7 Unhide raids widgets on plugin shutdown
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-07 19:23:06 +01:00
Tomas Slusny 95640a6ed9 Unhide NMZ widgets on plugin shutdown
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-07 19:22:53 +01:00
Tomas Slusny db1ca3c594 Unhide barrows widgets on plugin shutdown
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-07 19:22:34 +01:00
Tomas Slusny e38f0a196a Use HSB instead of RGBA to generate color from object
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-07 13:19:57 +01:00
Tomas Slusny b4da87a473 Merge pull request #7729 from deathbeam/enhance-ws-client-logging
Improve WSClient and party logging
2019-02-07 09:01:44 +00:00
Tomas Slusny 107f08f5e2 Merge pull request #7704 from deathbeam/add-color-hashes
Recolor party pings and names based on name color hash
2019-02-06 08:03:38 +00:00
Tomas Slusny 94e4a210a3 Recolor party pings and names based on name color hash
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-06 08:31:38 +01:00
Tomas Slusny e9881dd540 Add ColorUtil#fromObject to generate color from object
Add utility method that can generate color based on object hashCode.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-06 08:31:38 +01:00
Tomas Slusny 6609cc063f Merge pull request #7727 from RyBo/kourend-library-typo
Fix typo in Kourend Library config
2019-02-06 07:28:51 +00:00
Tomas Slusny 7beee692a2 Merge pull request #7714 from deathbeam/user-sync-cleanup
Make party UserSync event extend PartyMemberMessage
2019-02-06 07:26:31 +00:00
Tomas Slusny 8c32614ac5 Improve WSClient and party logging
- Remove duplicate logging from both WSClient and plugins listening for
incoming messages
- Log json instead of deserialized message on receiving message (because
toString might not be properly implemented)

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-06 08:15:47 +01:00
Tomas Slusny 18610d6804 Make party UserSync event extend PartyMemberMessage
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-06 08:12:42 +01:00
Tomas Slusny 09a7dd7579 Merge pull request #7708 from deathbeam/fix-overflow
Prevent negative values when overlay is bigger than screen
2019-02-06 06:59:43 +00:00
Tomas Slusny 4e2de5ecbd Prevent negative values when overlay is bigger than screen
This would throw except because Ints.constrainToRange would be between
0 and negative number in case overlay is bigger than screen.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-06 07:47:40 +01:00
Tomas Slusny 89dd417d56 Merge pull request #7694 from deathbeam/show-local-sounds-party
Play party ping sound only when ping is in scene
2019-02-05 09:11:03 +00:00
Tomas Slusny 39e8f4326b Merge pull request #7693 from deathbeam/fix-party-bars-dissapearing
Do not hide party bars when value is changed to 0
2019-02-04 10:20:51 +00:00
Tomas Slusny 5f38f74c6f Play party ping sound only when ping is in scene
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-04 00:18:38 +01:00
Tomas Slusny d2e6c7d0fd Do not hide party bars when value is changed to 0
Instead of checking for current value being > 0 to determine if we have
any stat data, instead check for max value.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-04 00:15:08 +01:00
Tomas Slusny f49e59b559 Fix Discord party size refresh
When force-refreshing discord presence use updated party size values.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-04 00:13:41 +01:00
Tomas Slusny ea79c39b4e Merge pull request #7657 from deathbeam/request-party-sync
Request party sync on party plugin startup
2019-02-03 12:06:06 +00:00
Tomas Slusny 0b7672d12d Merge pull request #7673 from deathbeam/try-catch-ws-message
Prevent WSMessage deserialization failure from closing websocket
2019-02-03 11:27:48 +00:00
Tomas Slusny e4828a597c Prevent WSMessage deserialization failure from closing websocket
As messages that are serialized and deserialized are purely option and
can vary between source and destination, simply catch deserialization
failure to prevent OkHttp from closing websocket.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-03 00:47:22 +01:00
Tomas Slusny 04f076a6b8 Merge pull request #7566 from ShaunDreclin/sulphur-lizard-health
Add Sulphur Lizard to npc_health.json
2019-02-02 18:52:47 +00:00
Tomas Slusny c15cf1025d Merge pull request #7655 from deathbeam/fix-party-exceptions
Fix party exceptions (NPE in PartyPlugin and ConcurrentModification in PartyStatsOverlay)
2019-02-02 18:51:57 +00:00
Tomas Slusny f52c1d732b Fix ConcurrentModification in party stats overlay
Fix concurrent modification exception in party stats overlay when
iterating map.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-02 12:34:56 +01:00
Tomas Slusny 92427968b0 Check for localMember in party not being null on UserJoin
Local user joins last, so all UserJoin events before that will throw NPE
here.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-02 12:34:56 +01:00
Tomas Slusny 137e7e7e30 Merge pull request #7640 from Kamielvf/chambers-layouts-fix
raids plugin: Update LayoutSolver layout codes
2019-02-02 11:26:38 +00:00
Tomas Slusny bb81128478 Merge pull request #7656 from deathbeam/fix-party-discord-refresh
Do not reset current activity on discord party update
2019-02-02 11:16:16 +00:00
Tomas Slusny a0a86a9f78 Merge pull request #7659 from Nightfirecat/isempty
client: Use isEmpty() for all Collection emptiness checks
2019-02-02 11:08:50 +00:00
Tomas Slusny e5f3b772a7 Merge pull request #7651 from deathbeam/remove-tag-option
Remove "Tag" toggle from NPC indicators
2019-02-02 11:07:21 +00:00
Tomas Slusny fb41c05d3f Request party sync on party plugin startup
If user is in party request party data syncup on party plugin startup

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-01 23:30:18 +01:00
Tomas Slusny 8ff8617755 Do not reset current activity on discord party update
Instead of setting activity to in_game, in_menu just send again current
discord activity.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-01 22:02:48 +01:00
Tomas Slusny 89ba0d8d43 Remove "Tag" toggle from NPC indicators
This toggle was here originally because NPC tagging did not required
shift, but now it does so to bring it with line of other shift-click
plugins, simply remove this option.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-01 17:16:20 +01:00
Tomas Slusny 29fcc2747f Merge pull request #7639 from deathbeam/wtf
Move timestamp color config to timestamp plugin
2019-02-01 09:12:24 +00:00
Tomas Slusny 99d58bb7f2 Merge pull request #7647 from deathbeam/add-missing-config-check
Add missing config check to party leave message
2019-02-01 07:30:42 +00:00
Tomas Slusny 874246bc55 Add missing config check to party leave message
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-01 08:23:13 +01:00
Tomas SlusnyandAdam 1a7946660c Add party plugin
Co-authored-by: Adam <Adam@sigterm.info>
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-31 19:47:56 -05:00
Tomas Slusny 703ad06a4e Add party support to Discord plugin
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-31 19:47:55 -05:00
Tomas Slusny 5d07305ac3 Use new /ws service
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-31 19:47:55 -05:00
Tomas Slusny 6a93ee2ffe Save current Discord user in Discord service
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-31 19:47:55 -05:00
Tomas Slusny c198433bb6 Prevent ProgressBarComponent from overflowing
Limit max bar width to 100% to prevent overflowing.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-31 19:47:55 -05:00
Tomas SlusnyandAdam- 3fb537a9f5 Add party-related websocket messages
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Co-authored-by: Adam- <adam@sigterm.info>
2019-01-31 19:47:55 -05:00
Tomas Slusny b676985e3b Make WebsocketGsonFactory more extensible
- Expose methods for creating gson adapters from pre-defined factory
messages + user-specified messages
- Expose methods for creating Gson object from adapter factory

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-31 19:47:55 -05:00
Tomas Slusny 5370049133 Move timestamp color config to timestamp plugin
This color is used ONLY in timestamp plugin but it was for some
reason included in core.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-31 19:33:15 +01:00
Tomas Slusny 4e4bd3f359 Merge pull request #7039 from raiyni/pr-6414
Add custom RuneLite Color picker
2019-01-30 21:14:37 +00:00
Tomas Slusny ea834563db Merge pull request #7627 from Lucwousin/fix-clue-chat-colour
Add normal colour to the !clues command
2019-01-30 13:37:19 +00:00
Tomas Slusny 32f683cd71 Merge pull request #7621 from deathbeam/dots-are-lame
Remove anymatch regex from chat commands plugin patterns
2019-01-30 08:30:55 +00:00
Tomas Slusny 1d50c70d41 Merge pull request #7616 from RyBo/hot-cold-clues
Change location of clue scroll coordinates in Feldip Hills
2019-01-30 08:30:29 +00:00
Tomas Slusny 14cd865d07 Remove anymatch regex from chat commands plugin patterns
To avoid breaking existing plugins instead of properly escaping anymatch
(dot) just remove it as it do not changes the functionality.

Fixes #7615

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-30 09:13:26 +01:00
Tomas Slusny 5c0d3f073c Merge pull request #7606 from deathbeam/show-xp-target-only-if-larget
Show xp globe goal only if goal > current xp
2019-01-29 07:24:02 +00:00
Tomas Slusny 91f34d74d9 Show xp globe goal only if goal > current xp
Closes #7066

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-28 22:34:27 +01:00
Tomas Slusny 7b8676d6f9 Merge pull request #7564 from deathbeam/remove-description-from-discord
Remove activity prefix from Discord plugin
2019-01-28 20:57:43 +00:00
Tomas Slusny 5dd2006301 Merge pull request #7543 from deathbeam/infobox-poison-stuff
Add anti-poison timers to anti-venom potions
2019-01-28 06:50:58 +00:00
Tomas Slusny 180d8d91a6 barrows plugin: don't draw dots for npcs which are hidden on the minimap
Check the isMinimapVisable variable before drawing NPC dot on minimap in
barrows plugin.

Fixes #6672

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-26 11:58:27 -05:00
Tomas Slusny 29d938500e Merge pull request #7572 from deathbeam/dont-display-bank-ge-ha
Dont display bank value GE/HA text when not needed
2019-01-26 12:17:27 +00:00
Tomas Slusny 17067db7b6 Dont display bank value GE/HA text when not needed
If showing only GE or HA value do not add the GE/HA prefix.

Closes #1479

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-26 12:50:47 +01:00
Tomas Slusny 9a520b9d92 Merge pull request #7545 from deathbeam/add-layout-message
Add raid layout message
2019-01-26 11:35:10 +00:00
Tomas Slusny 49965affe1 Add option to require shift for overlay menus
Enabled by default. This was on original PR review and was discussed in
Discord. It is better to just use what we already use for adding our
custom entries at other places, and there is possibility that overlays
will have a lot of right click menus in future, so making it require
shift is most sane option.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-26 11:52:50 +01:00
Tomas Slusny d1f4b577ce Remove activity prefix from Discord plugin
The space in the Discord Rich Presence is very limited and it is being
truncated by non-important prefix, so remove this prefix.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-26 01:59:54 +01:00
Tomas Slusny 0b0ed6faeb Merge pull request #7554 from Rheon-D/overlay-config
Remove invalid OverlayMenuEntries
2019-01-25 20:17:26 +00:00
Tomas Slusny a474fd720f Limit only overlays that are not snapped
Limit only overlays that are layoutable/moveable but not in snap corner.

Closes #7087

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-25 17:32:01 +01:00
Tomas Slusny 35c8c3d562 Merge pull request #7538 from deathbeam/fix-left-click-overlays
Move menu entry nulling to BeforeRender
2019-01-25 09:29:34 +00:00
Tomas Slusny 1a65aa2c38 Merge pull request #7542 from unmrshl/kebos-hotcold-locations
Add 3 new Kebos clue spots to HotColdLocation.
2019-01-25 09:27:01 +00:00
Tomas Slusny bacccd3944 Merge pull request #7385 from Spedwards/feature/map-points
Add Rare Tree map points
2019-01-25 08:01:11 +00:00
Tomas Slusny c56ea05060 Send raid layout message on raid enter
Sends raid layout message as clan chat game message when entering raid.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-25 00:27:42 +01:00
Tomas Slusny d808baa3d3 Move ChatCommandsPlugin#sanitize to Text
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-25 00:19:42 +01:00
Tomas Slusny 1c88c93425 Add toRoomString and toCodeString Raid utilities
Add new util methods that will build room and code string from current
raid layout.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-25 00:19:42 +01:00
Tomas Slusny 93e4d13c31 Merge pull request #7544 from deathbeam/refresh-infoboxes-only-when-needed
Refresh infoboxes only when needed
2019-01-24 23:12:24 +00:00