Commit Graph
100 Commits
Author SHA1 Message Date
Tomas Slusny b082d195ba Merge pull request #5059 from raiyni/pc-overlay2
pest control: layout pc widgets & fix overlay ordering
2018-09-05 21:04:46 +02:00
Tomas Slusny 6a780f3e81 Fix sorting order of overlays
- Without sorting each layer separately, comparator is producing wrong and
undeterministic results every so often
- The order of widget overlay was inversed and also was using Set
instead of List what was returning undeterministic results once again

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-09-05 20:42:26 +02:00
Tomas Slusny 5ad01c8b78 Merge pull request #5315 from raiyni/textShadowed
widget: expose text shadowed
2018-09-05 17:40:20 +02:00
Tomas Slusny 60cdbe8d12 Merge pull request #5313 from deathbeam/xp-globes-snap
Make XP globes use TOP_CENTER snap point
2018-09-05 17:05:43 +02:00
Tomas Slusny ca36a6c164 Merge pull request #5305 from raiyni/setBorderThickness
widgets: expose border thickness
2018-09-05 13:20:18 +02:00
Tomas Slusny e05c1baffd Make XP globes use TOP_CENTER snap point
Make XP globes layoutable and make them use TOP_CENTER snap point for
layouting. This removes the need for configurable centering, so remove
that as well.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-09-05 12:23:42 +02:00
Tomas Slusny 503e4bc3b8 Merge pull request #5312 from deathbeam/snap-center
Add TOP_CENTER snap corner to snap center viewport
2018-09-05 12:15:15 +02:00
Tomas Slusny 1115277368 Add TOP_CENTER snap corner to snap center viewport
Closes #5310

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-09-05 12:06:49 +02:00
Tomas Slusny c969c3385c Merge pull request #5064 from deathbeam/layoutable-rs-widgets
Make RuneScape widgets layoutable
2018-09-05 09:16:44 +02:00
Tomas Slusny 17e8b38864 Merge pull request #5300 from raiyni/set-itemquant
widget: add setItemQuantity
2018-09-05 09:14:47 +02:00
Tomas Slusny 84700125cd Merge pull request #5293 from Unmoon/show-runenergy-toggle
Show run energy remaining in overlay if orb shows run time remaining
2018-09-04 18:09:58 +02:00
Tomas Slusny 2ab24da690 Merge pull request #5292 from Unmoon/orb-overlay-visibility
Don't show orb overlays when the orbs are hidden
2018-09-04 17:11:47 +02:00
Tomas Slusny 6570e23b67 Merge pull request #5279 from ShaunDreclin/ground-marker-fix
Fix ground markers getting set at wrong position
2018-09-03 21:19:45 +02:00
Tomas Slusny 5f2432eb6d Merge pull request #5273 from deathbeam/xp-globes-off-by-default
Disable XP globes plugin by default
2018-09-03 08:49:54 +02:00
Tomas Slusny b5e16f0b17 Disable XP globes plugin by default
Vanilla RuneScape interface together with XP tracker already provides
all informations that is contained withing XP globes, so disable this
plugin by default to reduce the unnecessary noise for casual users.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-09-03 08:23:34 +02:00
Tomas Slusny d3c37aca26 Merge pull request #5267 from deathbeam/cannon-with-cannon
Show cannon spot overlay only with cannon
2018-09-03 08:16:13 +02:00
Tomas Slusny c5020ecff6 Merge pull request #5268 from deathbeam/fishing-with-fish-stuff
Show fishing overlays only when player can fish
2018-09-03 08:09:03 +02:00
Tomas Slusny 54b733f5bc Show cannon spot overlay only with cannon
This makes cannon spot overlays show only when full cannon is present in
player inventory.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-09-03 08:08:28 +02:00
Tomas Slusny f6f764a0ed Show fishing overlays only when player can fish
Show fishing overlays only when player can actually fish (e.g is in
fishing session or has fishing equipment). This drastically reduces
noise for casual players.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-09-03 08:01:21 +02:00
Tomas Slusny 8715645bca Merge pull request #5151 from TheStonedTurtle/LootTrackerBugFixes
Add player death check, ToB region check and 1 loot per-tile per-tick check to loot tracker events
2018-09-02 23:10:17 +02:00
Tomas Slusny e6df8d27b7 Merge pull request #5222 from MagicfTail/In-Combat-Logout-Notification
Fix in combat idle logout notification and add config option for notification
2018-09-02 10:25:49 +02:00
Tomas Slusny 0a3fbf2cf5 Merge pull request #5182 from deathbeam/reduce-noise
Reduce default plugin noise for regular users
2018-09-01 21:59:55 +02:00
Tomas Slusny f249b041e4 Merge pull request #5250 from oplosthee/runecraft-pouch-decay
Add "one" to binding necklace regex matching group
2018-09-01 20:59:57 +02:00
Tomas Slusny dfea20ccbc Make KourendLibrary overlay show only on interact
Make KourendLibrary plugin overlay show only on interaction with
bookcase or with customer after login, as by default the noise caused by
the overlays is horrendous.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-09-01 14:46:05 +02:00
Tomas Slusny eca392687b Disable lit/unlit burner indicators by default
Majority of players do not care about these and it is just permanent
noise in POH for them, leave the enabling of this setting to minority.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-09-01 14:18:37 +02:00
Tomas Slusny 5e5684f39f Disable blast furnace clickboxes by default
A lot of people visit blast furnace without intention to actually do the
activity (e.g to buy ores) so simply disable the clickbox noise by
default and leave to user if they want them.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-09-01 14:18:37 +02:00
Tomas Slusny c96b5f857e Add common hidden items to GroundItemsPlugin
To reduce default plugin noise add some common hidden items to
GroundItemsPlugin (basically same default hidden list as OSBuddy has).

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-09-01 14:09:34 +02:00
Tomas Slusny 161c9f5ec3 Take preferred position into account when ordering
Take overlay preferred position into account when ordering overlays.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-09-01 12:25:26 +02:00
Tomas Slusny 428832bcf9 Make RuneScape widgets layoutable
Instead of making RuneScape widgets detached, make them layoutable

- Add new snap corner CANVAS_TOP_RIGHT that is basically minimap
position
- Make WidgetOverlay use standard overlay layouting
- Adjust paddings in the OverlayRenderer to match game more closely

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-09-01 12:25:26 +02:00
Tomas Slusny 95cf046f47 Merge pull request #5162 from ShaunDreclin/dragonstone-hint-arrow
Fix mta dragonstone hint arrow not clearing
2018-09-01 12:13:22 +02:00
Tomas Slusny c35e4bf096 Merge pull request #5217 from MagicfTail/Fix-Dense-Essence
Fix dense essence idle animation
2018-08-30 22:11:15 +02:00
Tomas Slusny ece465d11d Merge pull request #5174 from ShaunDreclin/trade-with
Add trade-with swap to menu entry swapper
2018-08-30 19:30:25 +02:00
Tomas Slusny 8d53997685 Merge pull request #4568 from deathbeam/proper-shutdown
Properly shutdown everything on window close
2018-08-29 15:20:28 +02:00
Tomas Slusny 6eb34a752f Merge pull request #5125 from Retoxified/master
Add Hop-To option in chat
2018-08-27 08:32:15 +02:00
Tomas Slusny f602085a4c Merge pull request #5141 from deathbeam/fix-barrows-kc
Fix setting of barrows kc from chat
2018-08-26 19:39:13 +02:00
Tomas Slusny 396a259e10 Merge pull request #5142 from deathbeam/remove-dupe-entry
Remove dupe PVP_HR entry in world hopper
2018-08-26 19:26:43 +02:00
Tomas Slusny 232fd73247 Fix setting of barrows kc from chat
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-26 19:26:01 +02:00
Tomas Slusny 547ec466f9 Remove dupe PVP_HR entry in world hopper
This was preventing from the config.hopOutOfDanger to work properly when
disabled.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-26 18:47:39 +02:00
Tomas Slusny e2d6b13b47 Merge pull request #3412 from deathbeam/idle-notifer-combat-attack
Idle notifier fix combat notifications, reset notifications on interaction
2018-08-25 12:13:34 +02:00
Tomas Slusny 5c9ddf504b Merge pull request #5072 from TheStonedTurtle/MasterClueFix
Fix Hot/Cold Nardah Genie Cave tile
2018-08-24 14:56:02 +02:00
Tomas Slusny 6c95e1fe04 Merge pull request #5063 from Nightfirecat/remove-extra-screenmarker-images
screenmarker plugin: Remove extra images
2018-08-22 20:40:05 +02:00
Tomas Slusny de60ab9fae Merge pull request #5058 from MagicfTail/Boss-kill-screenshot-formatting
Change boss kill screenshot naming
2018-08-22 18:02:48 +02:00
Tomas Slusny fa51eb338c Merge pull request #4992 from deathbeam/wasd-exit-bckspace
Make pressing BkSPACE with empty chat exit chat
2018-08-22 11:28:00 +02:00
Tomas Slusny e92c60fe62 Remove unused Objects import in AgilityPlugin 2018-08-21 19:51:54 +02:00
Tomas Slusny 32d2b2a8b7 Make pressing BkSPACE with empty chat exit chat
Make pressing BKSPACE with empty chat buffer text exit typing mode in
WASD plugin.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-21 12:18:58 +02:00
Tomas Slusny 9ee86040c1 Merge pull request #5014 from jamyc/timer-input-notation-improvement
TimeTracking: Add support for intuitive time notations like "1h 30m 10s"
2018-08-21 11:57:24 +02:00
Tomas Slusny 960e7aad19 Add idle notifier plugin tests
- Add tests for combat idle, combat reset and combat logout
- Add tests for animation idle, animation reset and animation logout

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-20 13:09:28 +02:00
Tomas Slusny 84be92a3f5 Make combat idle notifier use interacting changed
To make the notifier more precise make combat idle notifier use
interacting changed.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-20 12:54:17 +02:00
Tomas Slusny 274f71fe57 Make animation idle remember last animating ID
In order to make animation idle notifier work with timer resetting, make
it remember last animation.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-20 12:54:04 +02:00
Tomas Slusny 516ac7e99a Merge pull request #5016 from deathbeam/omit-empty
Omit empty strings in NPC indicators
2018-08-20 11:54:51 +02:00
Tomas Slusny c61f026518 Properly reset idle timers on logout and login
When someone logs out, reset all timers to not have sent the
notifications after they are no longer relevant.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-20 11:47:41 +02:00
Tomas Slusny d61f52b8eb Reset idle timers when player clicks in-game
When player clicks in-game, he obviously changed his activity, so reset
all idle timers to default non-valid state.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-20 11:47:41 +02:00
Tomas Slusny 553eeb03d1 Add tests for parsing NPC list
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-20 10:59:35 +02:00
Tomas Slusny 29442d549d Merge pull request #5005 from MagicfTail/Debug-npc-indicator
Add debugging to npc highlighter plugin
2018-08-20 08:51:27 +02:00
Tomas Slusny a2962aa67b Merge pull request #5003 from MagicfTail/KBD-Timer
Fix KBD respawn timer
2018-08-20 08:45:22 +02:00
Tomas Slusny dc7082af31 Omit empty strings in NPC indicators
Do no try to parse the list to strings including empty names.

Closes #5012

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-20 00:30:23 +02:00
Tomas Slusny a31ab4dca3 Merge pull request #4990 from rbbi/sidebar-hotkey
Fix sidebar hotkey leaking into game client
2018-08-19 13:59:12 +02:00
Tomas Slusny 865079afe6 Merge pull request #5002 from MagicfTail/ToB-potions
Add Bastion and Battlemage potions
2018-08-19 11:54:00 +02:00
Tomas Slusny 10401713b1 Merge pull request #4941 from psikoi/world-hopper-activity-fix
World hopper activity ordering improvements
2018-08-18 13:34:08 +02:00
Tomas Slusny 510a5c8568 Merge pull request #4976 from GandalfTheGoat/add-cks-to-clue-step
Add "Fairy Ring CKS" to Ulizius clue
2018-08-18 01:41:47 +02:00
Tomas Slusny b8d7466921 Merge pull request #4954 from Nightfirecat/add-dmm-teleblock-timers
timers plugin: Add fall/winter DMM teleblock timers
2018-08-18 01:39:24 +02:00
Tomas Slusny b1f2deaede Merge pull request #3954 from Nightfirecat/add-scrollbar-on-left-varbit
Add CHAT_SCROLLBAR_ON_LEFT Varbit
2018-08-17 00:52:25 +02:00
Tomas Slusny 82f84a7c4e Merge pull request #4926 from Kamielvf/wold-hopper-change
Do not add Hop-to option to chatbox and raiding party
2018-08-16 08:47:00 +02:00
Tomas Slusny 9d738e26a6 Merge pull request #4299 from Nightfirecat/fix-dmm-snare-timers
timers plugin: Fix SDMM normal spellbook freezes
2018-08-15 09:23:20 +02:00
Tomas Slusny 48a2d1730a Merge pull request #4871 from MagicfTail/Loot-tracker-dusl
Actually add special case for Grotesque Guardians
2018-08-15 09:05:28 +02:00
Tomas Slusny 0662d6989f Merge pull request #2449 from Kamielvf/npchealth-update
Update NPC health data
2018-08-15 08:57:45 +02:00
Tomas Slusny 93e2c7f15c Merge pull request #4787 from takuyakanbr/time-tracking-overview
time tracking: add empty case to overview tab
2018-08-14 23:20:43 +02:00
Tomas Slusny 141d599e19 Merge pull request #4899 from devLotto/issue-4893
clues: add fairy ring to sinclair mansion clue solution
2018-08-14 19:30:14 +02:00
Tomas Slusny 1a6e41fbfe Merge pull request #2958 from devLotto/fps-indicator-improvements
Fps indicator improvements
2018-08-14 18:02:33 +02:00
Tomas Slusny 0bed1a0af9 Merge pull request #4898 from devLotto/issue-4895
clues: allow any imbued crystal bow for emote clue
2018-08-14 18:00:21 +02:00
Tomas Slusny c16698d7c5 Merge pull request #4884 from psikoi/exp-tracker-ui-fix
Fix exp tracker UI margin incosistency
2018-08-14 14:43:36 +02:00
Tomas Slusny 87320f2e0a Merge pull request #4868 from MagicfTail/Loot-tracker-dusl
Add Grotesque Guardian special case to loot tracker
2018-08-12 13:16:58 +02:00
Tomas Slusny 1f5f4feb51 Merge pull request #4863 from deathbeam/fix-flat-text-field-thread
Fix FlatTextField unsafe swing access
2018-08-12 13:16:07 +02:00
Tomas Slusny 7a7eed7bd2 Fix FlatTextField unsafe swing access
As .setText on FlatTextField is called from non-swing threads, send
showing of the 'x' button back to swing thread. This prevents freeze of
the game in rare scenarios.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-12 04:08:13 +02:00
Tomas Slusny 40fcf81dd3 Merge pull request #4846 from seandewar/game-timer-typo
Fix Entangle timer description typo
2018-08-11 13:45:42 +02:00
Tomas Slusny 25761644d5 Merge pull request #4844 from Justsofun/cluescroll-add-fairy-ring
Cluescrolls: Added fairy ring code to Kalphite Lair Entrance clue
2018-08-11 13:34:59 +02:00
Tomas Slusny 2953884fae Merge pull request #4811 from takuyakanbr/fix-seaweed
time tracking: fix detection of state for seaweed patches
2018-08-11 12:56:19 +02:00
Tomas Slusny 7ff1825071 Merge pull request #4799 from deathbeam/fix-raids-double-add
Fix adding of raid timer multiple times in Raids
2018-08-11 11:56:59 +02:00
Tomas Slusny 5d964f05ce Merge pull request #4822 from Nightfirecat/fix-timers-and-stopwatches-header-color
time tracking plugin: Fix timers header color
2018-08-11 10:24:01 +02:00
Tomas Slusny 6ef32bf916 Merge pull request #4815 from Justsofun/discord-wintertodt
DiscordPlugin: Add Wintertodt to Activities
2018-08-10 13:34:31 +02:00
Tomas Slusny 699f4927c3 Fix adding of raid timer multiple times in Raids
Fix adding timer multiple times when you change option while inside
raids.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-09 16:48:40 +02:00
Tomas Slusny 0e55362b81 Merge pull request #4768 from Bjdufre1/greater_cannon_spot
Move greater demon cannon spot to better location.

Fixes #4753
2018-08-08 08:18:59 +02:00
Tomas Slusny e4fde450ed Merge pull request #4463 from deathbeam/xp-globes-moveable
Add support for making XP globes moveable
2018-08-07 10:00:58 +02:00
Tomas Slusny 32c6d07ba8 Merge pull request #4639 from Abextm/item-prices
runelite-client: Always use the mapped price for items
2018-08-06 22:57:04 +02:00
Tomas Slusny 2788ec06ea Merge pull request #4413 from deathbeam/cleanup-raids-plugin
Add support for preserving raids scouter inside raid + fix checking for raids state on plugin state changes
2018-08-06 21:55:55 +02:00
Tomas Slusny f7d0bf4ace Add setting to preserve scouter in raid
See #1871

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-06 21:49:33 +02:00
Tomas Slusny 2d4c895e5e Properly check for changing values in raids plugin
- Determine if we are in raid on startup
- Properly reset state on shutdown
- Do not reset raid state when not necessary

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-06 21:49:32 +02:00
Tomas Slusny 718dd36386 Stop plugins on shutdown
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-06 20:15:44 +02:00
Tomas Slusny 69a6092eb7 Properly shutdown everything on window close
- Properly shutdown applet on window close
- Properly remove system tray icon on close
- Shutdown executorService on shutdown

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-06 20:15:40 +02:00
Tomas Slusny 4a3fcd2f45 Add exports for GameEngine#shutDown
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-06 20:14:13 +02:00
Tomas Slusny 94e5596d22 Merge pull request #4667 from deathbeam/move-index-to-db
Move isOverlayOutdated to IndexDatabase
2018-08-06 09:31:38 +02:00
Tomas Slusny 6644de3ac7 Merge pull request #4605 from Nightfirecat/remove-unused-slf4j
Remove unused @Slf4j annotations and imports
2018-08-06 07:28:36 +02:00
Tomas Slusny b07f470930 Merge pull request #4673 from deathbeam/remove-headers
Remove unnecessary headers from plugin panels
2018-08-05 12:15:27 +02:00
Tomas Slusny 2c410dea07 Merge pull request #4683 from deathbeam/add-tourney-world-type
Add Tournament world type
2018-08-05 12:06:29 +02:00
Tomas Slusny 6f77fe28ee Merge pull request #4709 from deathbeam/fix-canvas-focus
Add null-check for game canvas
2018-08-05 12:06:09 +02:00
Tomas Slusny 9b4dd209c2 Merge pull request #4703 from JaimySmets/4645-werewolf-agility-course
Add obstacles to Werewolf court
2018-08-05 11:55:34 +02:00
Tomas Slusny cbff6293ba Merge pull request #4706 from JaimySmets/4694-idle-notifier-make-tabs
Add tablet creation animation to idle notifier
2018-08-05 11:54:12 +02:00
Tomas Slusny 7effa9ee50 Add null-check for game canvas
If frame is opened too fast and game did not managed to create the
canvas yet, frame will crash during startup on NPE.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-04 19:48:25 +02:00
Tomas Slusny 73645c0f2b Remove unnecessary headers from plugin panels
Now all plugin panels have tooltips so the headers are not necessary and
most of plugins do not have them already.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-04 13:00:11 +02:00
Tomas Slusny 46c2745374 Merge pull request #4604 from Nightfirecat/exterminate-game-image-files
Remove item and sprite images from runelite-client resources directory
2018-08-04 12:59:02 +02:00