Commit Graph
100 Commits
Author SHA1 Message Date
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 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
Tomas Slusny 652bdb7341 Refresh infoboxes only when needed
Refresh infoboxes only when removeIf and remove actually removes
anything to avoid constant refreshing for no reason.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-24 21:47:05 +01:00
Tomas Slusny 34acc6fde2 Add anti-poison timers to anti-venom potions
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-24 21:39:42 +01:00
Tomas Slusny 7dfd5128ff Move menu entry nulling to BeforeRender
As render() and ClientTick rates are inconsistent (unless user has
50FPS, then they are same) the menu entries can flicker because
ClientTick will be called more often than render and so when frame is
skipped, menu entry is nulled and that causes flicker.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-24 17:36:42 +01:00
Tomas Slusny 7c5d8cccbb Merge pull request #7464 from deathbeam/cleanup-menu-entries
Cleanup overlay menu entry usage
2019-01-23 09:02:52 +00:00
Tomas Slusny ad40f8b50b Merge pull request #7497 from deathbeam/revert-closed
Revert "Move close handling to windowClosed event"
2019-01-23 07:36:51 +00:00
Tomas Slusny 538da43d68 Mark localToCanvas methods nullable
These can return null if object is not visible.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-22 19:20:10 +01:00
Tomas Slusny a7a42d5553 Null-check local location in trap overlay
Closes #7501

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-22 19:16:47 +01:00
Tomas Slusny 5b91d29186 Revert "Move close handling to windowClosed event"
This reverts commit b893e97ccf.
2019-01-22 08:00:22 +01:00
Tomas Slusny 90711882e0 Merge pull request #7483 from deathbeam/unify-splitters
Unify Splitter/Joiner usage (move to Text#toCSV and Text#fromCSV)
2019-01-21 12:37:39 +00:00
Tomas Slusny 272990041c Replace usage of Spliter/Joiner with toCSV/fromCSV
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-21 11:22:56 +00:00
Tomas Slusny 7badeb28be Add Text#fromCSV and Text#toCSV
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-21 11:17:52 +00:00
Tomas Slusny 69b09e057d Merge pull request #7435 from ChaoticConundrum/reset-confirm
ConfigPanel: Confirm plugin configuration reset
2019-01-21 09:29:33 +00:00
Tomas Slusny 239158f965 Merge pull request #7467 from jplsek/hop-no-message
world hopper: allow disabling chat hop message
2019-01-21 09:26:50 +00:00
Tomas Slusny c84b69b218 Merge pull request #7395 from Abextm/wasd-modifiers
Ignore modifiers in WASD plugin input
2019-01-21 06:58:13 +00:00
Tomas Slusny 5366aada8a Move overlay menu entries to Overlay class
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-20 23:25:32 +01:00
Tomas Slusny ac6f5af248 Remove overlayManager#overlayId
It is not used outside of OverlayManager so just swap it with direct use
of indexOf.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-20 23:25:31 +01:00
Tomas Slusny dedeb79e8b Remove OverlayManager#addMenu/removeMenu
removeMenu is completely unnecessary and addMenu does nothing.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-20 19:19:14 +01:00
Tomas Slusny b4de93d722 Merge pull request #7441 from deathbeam/fix-discord-ja
Wrap DiscordEventHandlers in native lib try/catch
2019-01-20 11:56:38 +00:00
Tomas Slusny a39441fff0 Change xp tracker filter clean to 3 hours
Change xp tracker username filter cleanup from 1 hour to 3 hours.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-20 04:39:41 +01:00
Tomas Slusny f8844d65a3 Do not discard 1 second requests in Xp tracker
Do not discard all requests excpect last one in 1 second internal in XP
tracker.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-20 04:32:37 +01:00
Tomas Slusny a13b86e4fd Wrap DiscordEventHandlers in native lib try/catch
Even construction of DiscordEventHandlers causes UnsatisfieldLinkError
on unsupported systems, avoid this.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-19 13:34:11 +01:00
Tomas Slusny 01fbcde008 Merge pull request #7426 from deathbeam/shutdown-plugins-on-close
Shutdown plugins on window close
2019-01-19 12:07:43 +00:00
Tomas Slusny fc200ee651 Merge pull request #7427 from deathbeam/flush-config-on-close
Move configManager.sendConfig to RuneLite#shutdown
2019-01-18 23:55:36 +00:00
Tomas Slusny 01c3bcafce Move configManager.sendConfig to RuneLite#shutdown
It should've been here in first place, there is no reason for it to be
in ClientUI.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-18 21:25:42 +01:00
Tomas Slusny b893e97ccf Move close handling to windowClosed event
This callback is called more reliably than windowClosing when killing
window from outside.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-18 21:20:14 +01:00
Tomas Slusny 6e080949f9 Shutdown plugins on window close
Closes #6646

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-18 21:11:00 +01:00
Tomas Slusny 73730f5861 Merge pull request #7406 from Hydrox6/game-notifications-custom-colour
Default colour won't change since both Game highlights are `#EF1020` by default

Examples alongside other Game type messages
![java_2019-01-17_16-56-34](https://user-images.githubusercontent.com/2979691/51335219-6935a880-1a79-11e9-93de-afcf59f60e9a.png)
![java_2019-01-17_16-56-50](https://user-images.githubusercontent.com/2979691/51335220-6a66d580-1a79-11e9-83d5-dc3a4401e473.png)
2019-01-18 14:17:28 +00:00
Tomas Slusny f4e2824a2a Merge pull request #7418 from ermalsh/clap_spin_karuulm_emote
Added missing "spin" emote after clap for Mt. Karuulm clue
2019-01-18 11:27:04 +00:00
Tomas Slusny 9b79ed9457 Merge pull request #7408 from deathbeam/inverse-inverse-and-inverse-pls
Inverse collapse menu entry loop
2019-01-18 11:25:44 +00:00
Tomas Slusny 32c8501b13 Merge pull request #7310 from DannysPVM/cap-fog-distance-gpu-plugin
Cap fog depth to 100 in the GPU Plugin.
2019-01-17 19:22:57 +01:00
Tomas Slusny 814277eb36 Inverse collapse menu entry loop
This makes sure that menu collapses to first entry because menu is built
in inverse. Before setting the entries, inverse them back to original
order.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-17 18:52:02 +01:00
Tomas Slusny 61bd2c906b Merge pull request #7375 from deathbeam/fix-size-thingy-canvas
Use client real dimensions for canvasTopRight
2019-01-16 20:11:44 +01:00
Tomas Slusny bf522eaba0 Use client real dimensions for canvasTopRight
Closes #7374

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-15 23:19:50 +01:00
Tomas Slusny a47c63e931 Merge pull request #7307 from deathbeam/remove-tags-loot
Remove tags from loot tracker box title
2019-01-15 12:31:12 +01:00
Tomas Slusny 558bf543ba Merge pull request #7355 from MagicfTail/Kebos-mappings
Add item mappings for items introduced in Kebos update
2019-01-14 23:12:18 +01:00
Tomas Slusny 6573e70a60 Merge pull request #7089 from TheStonedTurtle/OverlayRightClickMenu
Add right click menu functionality to overlays
2019-01-14 09:18:54 +01:00
Tomas Slusny b3782c5136 Merge pull request #7288 from ChaoticConundrum/konar-slayer
Add Slayer Task Locations (Konar)
2019-01-14 07:18:44 +01:00
Tomas Slusny a4ccb031ea Merge pull request #7335 from deathbeam/item-stats-speed
Add support for unarmed a speed, and inverse a speed display
2019-01-14 07:11:45 +01:00
Tomas Slusny bf0d0b1010 Merge pull request #7340 from Timmy-Jim/Hotcold-Clue-Typo-Fix
Add Ring of Visiblity emote clue requirement for Smoke Dungeon
2019-01-14 07:11:14 +01:00
Tomas Slusny 0d5eac1a88 Add ClientTick event
Add ClientTick event that is fired every time game cycle counter
is updated.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-13 19:35:24 -05:00
Tomas Slusny 82884179a5 Merge pull request #7346 from deathbeam/update-variations
Update item variations to latest OSRS cache
2019-01-13 20:50:42 +01:00
Tomas Slusny cbe4358e5c Update item variations to latest OSRS cache
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-13 20:35:32 +01:00
Tomas Slusny 44273dfb0f Add support for unarmed a speed, and inverse a speed display
- Add support for unarmed attack speed to item stats plugin (6)
- Inverse attack speed display (lower is better)

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-13 13:19:52 +01:00
Tomas Slusny 336a9fa901 Merge pull request #7324 from Monsterxsync/missing-diary-req
Add missing requirement to kourend & kebos diary plugin.
2019-01-13 12:49:22 +01:00
Tomas Slusny 6d3088ea10 Merge pull request #7314 from steffenhauge/hydra-kc-name
Add Alchemical Hydra to chat kc abbreviations
2019-01-13 12:07:55 +01:00
Tomas Slusny 57ec7deed7 Remove tags from loot tracker box title
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-12 11:20:38 +01:00
Tomas Slusny 2017c33021 Merge pull request #7164 from DannysPVM/fix-cml-updating
Only log the IOException message on failure to submit CML update.
2019-01-12 11:14:08 +01:00
Tomas Slusny 02048f5471 Merge pull request #7271 from MagicfTail/Aerial-Fishing
Add Aerial Fishing to fishing plugin
2019-01-12 05:13:21 +01:00
Tomas Slusny 99b784a049 Merge pull request #7233 from TheStonedTurtle/spritepixels
Move getImageSpritePixels into ImageUtil
2019-01-12 05:08:47 +01:00
Tomas Slusny 1afb0c330e Merge pull request #7279 from deathbeam/fix-gorund-items
Respect "Only show loot" option for item notifications
2019-01-12 05:06:46 +01:00
Tomas Slusny c1ba68fe97 Respect "Only show loot" option for item notifications
Fixes #7176

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-11 00:42:47 +01:00
Tomas Slusny 5784204965 Merge pull request #7161 from Nightfirecat/world-map-overlay-add-surface-selector-clip
Fix world map surface selector ID
2019-01-10 17:30:29 +01:00
Tomas Slusny 2fc784a2ed Merge pull request #7124 from Nightfirecat/fix-prayer-to-next-combat-level-calculation
Fix prayer to next combat level calculation
2019-01-10 17:25:37 +01:00
Tomas Slusny b22b01e4e6 Merge pull request #7166 from 15987632/draggable-pp
Make Pyramid Plunder widget layoutable
2019-01-10 15:42:18 +01:00
Tomas Slusny ccec30fa72 Merge pull request #7210 from 15987632/gpu-range
Add range annotation to gpu draw distance
2019-01-07 22:37:20 +01:00
Tomas Slusny c034791428 Merge pull request #7215 from 15987632/ardy-guard-health
Add the lvl 20 ardy guards to the npc_health.json
2019-01-07 07:09:45 +01:00
Tomas Slusny 88cbd32a46 Merge pull request #7158 from Nightfirecat/item-prices-add-tooltips-plugin-tag
itemprices: Add "tooltips" plugin tag
2019-01-04 06:27:40 +01:00
Tomas Slusny eefc98d982 Merge pull request #7159 from Nightfirecat/add-date-report-button-format
reportbutton: Add date time format
2019-01-04 06:27:25 +01:00
Tomas Slusny 2ba6978f0e Merge pull request #7160 from Nightfirecat/correct-exp-drop-highlighting
experiencedrop: Highlight only correct exp drops for prayer
2019-01-04 06:26:26 +01:00
Tomas Slusny b40f1880da Merge pull request #7122 from Nightfirecat/xp-drop-highlight-persist-per-tick
experiencedrop: Maintain active prayer per tick
2019-01-02 17:20:32 +01:00
Tomas Slusny e367507626 Merge pull request #7023 from Hydrox6/flax-and-bonemeal
Add Flax and Bonemeal to Daily Task plugin
2019-01-02 16:26:38 +01:00
Tomas Slusny 3f042289b0 Merge pull request #7060 from rbbi/reset-search-skill-calc
Clear search bar when switching between skill calculators
2019-01-02 15:10:41 +01:00
Tomas SlusnyandAdam 7762963424 Add object marker plugin
Add plugin that can mark any named GameObject when holding shift.

Closes #4497
Closes #3792

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Co-authored-by: Adam <Adam@sigterm.info>
2018-12-29 12:27:27 -05:00
Tomas Slusny e3360c4496 Merge pull request #7086 from deathbeam/fix-discord-state-details
Flip state and details in Discord status
2018-12-27 07:00:51 +01:00
Tomas Slusny e9c336da70 Flip state and details in Discord status
Currently we have this implemented inverse. Training should be "details"
as it is more detailed description of what player is currently doing,
and "state" should be "In Game", "In Menu", "Exploring", "Raiding" etc,
as that describes best what is player currently doing (also, e.g for
discord party integration, it is appended after state, so there always
MUST be some state, and this PR ensures that).

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-12-27 03:46:10 +01:00
Tomas Slusny 3bb8fa1675 Update Discord library to latest version
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-12-23 23:00:45 +01:00
Tomas Slusny 4c51193a47 Merge pull request #7030 from hjdarnel/feature-wc-calculator-sulliusceps
Add sulliusceps to woodcutting calculator
2018-12-20 10:28:22 +01:00
Tomas Slusny e81fd5b947 Merge pull request #7018 from hjdarnel/feature-silver-jewelry
Add silver jewelry to crafting skill calculator
2018-12-19 13:05:17 +01:00
Tomas Slusny 2301adca0d Merge pull request #6912 from trimbe/fullscreen-map-overlays
OverlayRenderer: Prevent overlays rendering if fullscreen map is open
2018-12-17 11:04:33 +01:00
Tomas Slusny 1c92b19a13 Merge pull request #6955 from deathbeam/timestamps-space
Add space after timestamp
2018-12-17 10:54:03 +01:00
Tomas Slusny 2a7219a482 Add missing clue requirement "Salute in warriors guild" (#6963) 2018-12-17 09:08:28 +01:00
Tomas Slusny c3236f3e63 Merge pull request #6970 from MagicfTail/patch-1
Fix the description of the wintertodt plugin and add boss tag
2018-12-17 02:34:39 +01:00
Tomas Slusny 789dca2c72 Merge pull request #6969 from JackCopland/WintertodtPluginDescFix
Add Wintertodt plugin description
2018-12-15 22:22:35 +01:00
Tomas Slusny 1dd6fca2e1 Add space after timestamp
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-12-15 10:42:02 +01:00