Commit Graph
100 Commits
Author SHA1 Message Date
Tomas Slusny 02e74e25ee Merge pull request #3120 from AlexKolpa/map-region-overlay
Add world map region overlay dev tool
2018-12-04 15:57:50 +01:00
Tomas Slusny 241b009d87 Merge pull request #6799 from trimbe/empty-lootbox-fix
loot tracker: validate boxes after rebuilding
2018-12-03 11:12:16 +01:00
Tomas Slusny 0281237b99 Replace usages of Guava EventBus with custom one
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-12-01 16:41:09 -05:00
Tomas Slusny 76a964a9d3 Add EventBus to replace Guava one
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-12-01 16:41:07 -05:00
Tomas Slusny ab160e63c5 Merge pull request #6779 from MagicfTail/Exacthover
Add a tooltip to loot tracker value, showing exact value
2018-12-01 13:21:19 +01:00
Tomas Slusny 9410e464dc Merge pull request #6761 from deathbeam/idle-chisel
Add dense essence chiseling to idle notifier
2018-11-30 11:34:37 +00:00
Tomas Slusny 79cc76d020 Add dense essence chiseling to idle notifier
Closes #6747
Closes #6750

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-30 11:26:46 +00:00
Tomas Slusny 699cc233e8 Merge pull request #6760 from deathbeam/fix-slayer-task
Update setTask for new assign first slayer field
2018-11-30 11:26:04 +00:00
Tomas Slusny 88aa1172b6 Update setTask for new assign first slayer field
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-30 11:13:59 +00:00
Tomas Slusny f442bd5ffc Merge pull request #6743 from SebastiaanVanspauwen/styles-fix
2005 interface: fix resized offsets
2018-11-30 09:16:18 +00:00
Tomas Slusny de505fcf96 Merge pull request #6736 from Monsterxsync/small-clue-fix
Add missing empty ammo slot requirement for clue step.
2018-11-30 09:15:36 +00:00
Tomas Slusny f41c0cf15b Check for canvas location being non null in TOG
Canvas location can be null if the object is too far from view, so
null-check it.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-27 17:05:07 +00:00
Tomas Slusny cbcf721342 Merge pull request #6693 from deathbeam/cleanup-dev-tools
Cleanup dev tools plugin
2018-11-27 09:42:23 +00:00
Tomas Slusny 1c0fffd865 Disable inspector buttons on close in dev tools
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-27 09:26:45 +00:00
Tomas Slusny 9b1e55de93 Fix access levels in dev tools plugin
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-27 09:21:37 +00:00
Tomas Slusny 9db5dc7e77 Move widget and itemIndex to DevToolsOverlay
There is no reason for widget and itemIndex to exist in plugin, so move
it to where it is actually used.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-27 09:21:37 +00:00
Tomas Slusny cd34fa36cf Unify dev tools toggles to 1 button type
- Create custom button type with isActive property
- Query this new property instead of bunch of stored boolans and toggle
methods in dev tools overlays and panels

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-27 09:21:36 +00:00
Tomas Slusny 6aec578aa9 Change dev tools fonts to constant
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-27 08:57:05 +00:00
Tomas Slusny 0ad54ea5be Merge pull request #6703 from Nightfirecat/fix-moving-freeze-timer
timers: Correctly add freeze timer upon frozen while moving
2018-11-27 07:46:47 +00:00
Tomas Slusny 39fc5d1f54 Merge pull request #6696 from deathbeam/status-bars-numberformat
Properly parse stat change value in status bars
2018-11-26 15:58:44 +00:00
Tomas Slusny 2154e5e8b0 Properly parse stat change value in status bars
This prevents all kinds of unsupported formats and number format
exceptions.

Closes #6589

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-26 14:19:04 +00:00
Tomas Slusny ed69467664 Merge pull request #6697 from deathbeam/agility-distance-check
Remove distance check from agility plugin
2018-11-26 14:10:57 +00:00
Tomas Slusny d97d90bd60 Remove distance check from agility plugin
This is no longer necessary (as we are using spawn events) and with GPU
plugin not limiting it is better (well, we are still limited by their
spawns obviously).

Closes #1360

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-26 13:48:36 +00:00
Tomas Slusny c2f8d74b4e Merge pull request #6690 from jochim-vd/macos-command-paste
Enable Command-V login screen pasting on macOS
2018-11-26 07:01:30 +00:00
Tomas Slusny 654a7f76f1 Merge pull request #6647 from deathbeam/properly-close-gl-context
Properly close GL context and lock surface
2018-11-25 10:36:25 +00:00
Tomas Slusny 17e4254c51 Merge pull request #6650 from deathbeam/do-not-use-static-import
Do not use static imports for GL constants
2018-11-25 00:15:52 +00:00
Tomas Slusny 6fb58e36bb Do not use static imports for GL constants
This ensures that we do not accidentally use constant from wrong GL
version than we are using atm.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-23 14:47:19 +00:00
Tomas Slusny ce6bd7e3f4 Properly close GL context and lock surface
- Context can be created without GL being assigned (e.g in case version
is not supported)
- We need to lock jawtWindow if it is not locked always in case it is
not null, and not only when GL is set

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-23 13:35:29 +00:00
Tomas Slusny a6bf1c7691 Merge pull request #6611 from MagicfTail/resp-system
Add abyssal sire resp systems to npc_health
2018-11-21 09:54:48 +01:00
Tomas Slusny be092b5c20 Merge pull request #6606 from Abextm/draggable-skotizo
runelite-client: Make Skotizo widget layoutable
2018-11-21 09:53:40 +01:00
Tomas Slusny 7e357b4069 Merge pull request #6613 from Nightfirecat/fix-side-stones-attack-style-hiding
attack styles: Fix style hiding after autocast selection
2018-11-21 09:44:07 +01:00
Tomas Slusny 7014eca369 Merge pull request #6485 from deathbeam/gpu-null-check
Null-check GL and window on plugin shutdown
2018-11-20 10:36:43 +01:00
Tomas Slusny 59abc86ed2 Null-check GL and window on plugin shutdown
If GL is not even created due to missing library error or unsupported
 version, this throws a lot of unnecessary exceptions to log and fails
 on shutDown resulting in possibly improperly feed objects and displays.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-20 10:10:30 +01:00
Tomas Slusny caa1eadc3d Properly null-check chat performance widgets
Closes #6575

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-19 16:51:21 +01:00
Tomas Slusny addda86e39 Merge pull request #6581 from deathbeam/fix-sidebar-icon-open
Make sidebar icon consistent without custom chrome
2018-11-19 14:18:55 +01:00
Tomas Slusny b382b92eea Make sidebar icon consistent without custom chrome
Use same icon alignment that is used for opening/closing sidebar with
custom chrome.

Closes #6435

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-19 13:26:28 +01:00
Tomas Slusny d52ece3896 Unlock surface only with X11JAWTWindow
Unlocking it on Windows with some iGPUs apparently causes problems and
this is relevant only for X11, so unlock only there.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-19 13:08:28 +01:00
Tomas Slusny b100a9c16c Properly destroy JAWT window on plugin shutdown
This is necessary in order to properly free all resources on e.g Linux
(happens less often on Windows). Without
NewtFactoryAWT.destroyNativeWindow, the JAWT window created display
stays open after disabling the plugin and is freed only on application
close.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-19 12:54:19 +01:00
Tomas Slusny 67fd4a812b Merge pull request #6504 from deathbeam/fix-jogl-logging
Fix JOGL context debug logging flag
2018-11-19 10:44:19 +01:00
Tomas Slusny 0d5e3d942f Fix JOGL context debug logging flag
The flag needs to be set before context is made current and GL is
obtained.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-19 10:18:40 +01:00
Tomas Slusny 3722013aa6 Add support for Ctrl-V pasting on login screen
Based on what field is currently selected, add support for pasting to
that field with standard Ctrl-V keybinding (disabled by default).

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-18 19:19:12 -05:00
Tomas Slusny 2f6679d67a Expose current login field and password setter
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-18 18:45:51 -05:00
Tomas Slusny 53f3691488 Merge pull request #6106 from devLotto/issue-5325
puzzlesolver: wait a duration before recomputing the solution
2018-11-18 14:05:08 +01:00
Tomas Slusny 6f3de589ed Merge pull request #6496 from drivfe/bugfix/skillcalc/smithing
Fix some xp values in skill_smithing.json
2018-11-18 13:55:50 +01:00
Tomas Slusny 3ef096c6b1 Merge pull request #6560 from steffenhauge/xp-orbs-kills-left
Add support for kills left in xp orbs
2018-11-18 13:54:28 +01:00
Tomas Slusny 44d09b8601 Switch to core profile in GPU plugin
This makes GPU plugin available to more people and workarounds bug in
JOGL on Linux where it is not detecting compatible profile on some
systems.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-17 14:03:22 +01:00
Tomas Slusny 2d861252fc Merge pull request #6443 from deathbeam/fix-minimap-icon-size
Fix size of RuneLite minimap dots
2018-11-15 11:00:31 +01:00
Tomas Slusny ec5abfc9a2 Change hardcoded minimap dot radius to constant
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-15 10:36:32 +01:00
Tomas Slusny 6eec63e29f Fix size of RuneLite minimap dots
The dots are supposed to be size of 4 and not 5.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-15 10:35:12 +01:00
Tomas Slusny 5be24539d1 Merge pull request #6386 from MagicfTail/hot-cold-faladoor
Move "Outside the Falador Party Room" hot cold clue step
2018-11-14 14:26:37 +01:00
Tomas Slusny 2cc11c2f72 Merge pull request #6431 from Hydrox6/friends-custom-entry
friendnotes: Use new chatbox input dialogue
2018-11-14 14:16:23 +01:00
Tomas Slusny d5b2e7fb25 Merge pull request #6455 from Hydrox6/interfacestyles-icon-fix
interfacestyles: Fix resizeable mode widgets
2018-11-14 14:02:01 +01:00
Tomas Slusny 3cd138404d Merge pull request #6445 from deathbeam/barrows-respect-client
Make barrows minimap respect client minimap colors, show players
2018-11-13 11:18:35 +01:00
Tomas Slusny 96f48bac82 Merge pull request #3563 from Malfuryent/hp-and-prayer-bar-plugin
Add Status bars plugin
2018-11-13 10:58:35 +01:00
Tomas Slusny 4bf0f1314d Make barrows minimap respect client minimap colors, show players
- Make barrows minimap respect client minimap colors (what are
configurable from minimap plugin)
- Show all players on minimap inside barrows

Closes #2941

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-12 16:27:45 +01:00
Tomas Slusny bd3518f2f9 Merge pull request #6442 from deathbeam/prevent-offscreen
Prevent overlays from moving off-screen
2018-11-12 13:03:58 +01:00
Tomas Slusny 0d00f2764a Prevent overlays from moving off-screen
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-12 12:56:56 +01:00
Tomas Slusny 4244802476 Merge pull request #6260 from Brodan/boost-threshold-color-fix
Make boost overlay to change to yellow at threshold
2018-11-12 11:51:33 +01:00
Tomas Slusny 8cfb9b8100 Merge pull request #6350 from Monsterxsync/barrows-potential-reward
Add potential reward to the side overlay in the barrows plugin.
2018-11-12 11:41:39 +01:00
Tomas Slusny 0db132ad76 Merge pull request #6430 from Abextm/kill-login-panel
ChatboxPanelManager: Kill panels when logging out.
2018-11-12 11:30:59 +01:00
Tomas Slusny f0bb776a21 Merge pull request #6409 from deathbeam/unlimit-stretched-mode
Unlimit stretched resizable mode and properly limit scaling factor
2018-11-11 02:09:24 +01:00
Tomas Slusny 286ddad6f5 Merge pull request #6397 from deathbeam/fix-bug-thing
Check if any experience was gained in skill before tracking action
2018-11-11 02:01:16 +01:00
Tomas Slusny 11b0121814 Properly limit scaling factor for stretched resizable
Instead of limiting width and height when stretching to fixed mode size,
limit scaling factor to fixed mode size to prevent improportional
stretching in resizable mode.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-09 16:40:38 +01:00
Tomas Slusny 78ffe80805 Unlimit stretched resizable mode
The limits are no longer necessary as it is limited anyway to fixed mode
base size, and with new method of scaling the 100% max is quite
limiting.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-09 16:40:37 +01:00
Tomas Slusny db164db581 Merge pull request #6408 from deathbeam/update-item-variations
Update item_variations.json for latest cache changes
2018-11-09 14:09:33 +01:00
Tomas Slusny aaf390324e Check if any experience was gained in skill before tracking action
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-09 14:01:48 +01:00
Tomas Slusny f0bdf4ba45 Update item_variations.json for latest cache changes
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-09 13:31:16 +01:00
Tomas Slusny 56ad7f5991 Merge pull request #6393 from deathbeam/add-ammo-to-equipment-idx
Add AMMO(13) to EquipmentInventorySlot
2018-11-08 18:38:38 +01:00
Tomas Slusny 257ae31db9 Add AMMO(13) to EquipmentInventorySlot
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-08 15:37:23 +01:00
Tomas Slusny e187a34e3c Merge pull request #6145 from raiyni/tags-chatbox
Bank Tags: refactor to use new ChatboxPanelManager
2018-11-06 17:04:31 +01:00
Tomas Slusny ed5fb05a51 Add support for kills left, kills done and kills/hr to XpTrackerPlugin (#6163)
- Move NPC health data to NPCManager
- Extract action-related data from skill experience snapshots to separate class
- Add possibility for snapshot to hold multiple types of actions
- Add support for ACTOR_HEALTH action type that shows kills left, kills done and kills/hr in XP tracker sidebar

Preview:
![preview](https://media.discordapp.net/attachments/419891709883973642/504650896672555009/screenie.png)

Fixes #1594
Closes #4015
2018-11-06 14:57:31 +01:00
Tomas Slusny a97b4384f6 Add support for kills left to XpTrackerPlugin
Fixes #1594
Closes #4015

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-06 14:05:36 +01:00
Tomas Slusny 74a2313449 Create different action types for XpTracker plugin
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-06 14:04:31 +01:00
Tomas Slusny 1f13c27a6a Create NPC manager that can return HP for NPC
- Create NPC manager and move logic from opponent info there for getting
NPC HP based on combat level and name
- Make opponent info use NPC manager instead of its own implementation

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-06 14:04:31 +01:00
Tomas Slusny 9173c6a048 Merge pull request #6366 from raiyni/zerker-neck
Add BERSERKER_NECKLACE prayer bonus
2018-11-06 08:09:44 +01:00
Tomas Slusny 3f50f01e39 Merge pull request #6311 from deathbeam/item-variations-json
Convert item variations to json and add support for trident, slayer helm and same-name different id items
2018-11-05 10:15:26 +01:00
Tomas Slusny 185fa52a20 Merge pull request #6292 from WooxSolo/fix-tile-outline
Fix localToCanvas on fixed screen
2018-11-03 19:04:01 +01:00
Tomas Slusny 44934690ae Merge pull request #5797 from deathbeam/add-native-open-sidebar-button
Add support for hiding/showing sidebar button with custom chrome disabled
2018-11-03 18:59:24 +01:00
Tomas Slusny 28170af13c Add support for hiding/showing sidebar button
Draw hide/show sidebar button in top-right corner using Game's draw
hook. This will not work in Vanilla and so it is disabled in it.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-03 18:52:15 +01:00
Tomas Slusny 7eb09d45af Cleanup SwingUtil
- Remove unused code
- Remove hardcoded size for icons

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-03 18:51:48 +01:00
Tomas Slusny 91dd07f405 Make ItemVariationsMapping use generated json
This adds support for many new variations (mostly slayer helmets,
tridents and items with different ids but same names).

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-03 18:30:55 +01:00
Tomas Slusny 1983abd5c4 Merge pull request #6293 from Hydrox6/chat-colour-twitch-fix
Make Twitch messages respect custom Chat Colours
2018-11-03 15:02:32 +01:00
Tomas Slusny 3f904d3804 Merge pull request #6244 from deathbeam/idle-notifier-fixes
Properly update last action times in Idle Notifier
2018-11-03 12:44:30 +01:00
Tomas Slusny c1e32f4e89 Merge pull request #6183 from Nightfirecat/configure-inventory-tags-menumanager
Update Inventory tags plugin to use MenuManager
2018-11-03 10:53:06 +01:00
Tomas Slusny 0c3577b914 Merge pull request #6296 from WooxSolo/fix-hovered-tile
Improve hovered tile accuracy
2018-11-03 10:47:33 +01:00
Tomas Slusny 5df481361d Merge pull request #6295 from devLotto/issue-6294
stretchedmode: fix size not being reset on plugin disable
2018-11-03 10:34:14 +01:00
Tomas Slusny 9733482a31 Merge pull request #6298 from raiyni/tags-startswith
Bank tags: tag search should be startsWith not contains
2018-11-02 18:32:26 +01:00
Tomas Slusny 85965958c3 Merge pull request #6275 from deathbeam/event-bus-fixes
Fix event bus subscriber naming and recursion
2018-11-01 11:25:16 +01:00
Tomas Slusny df83351956 Correct event subscriber methods naming
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-10-31 23:37:28 +01:00
Tomas Slusny 2496e9e2a7 Merge pull request #6252 from deathbeam/shift-click-charges
Add support for configuring shift-click for variation items
2018-10-31 12:20:54 +01:00
Tomas Slusny e9bad727eb Add support for configuring shift-click for variation items
Depends on #5972
Closes #2034

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-10-31 11:56:01 +01:00
Tomas Slusny 56b38d2b5b Merge pull request #5972 from raiyni/tag-charges
Bank tags: tag charge/degradable items
2018-10-31 11:54:51 +01:00
Tomas Slusny efe25c54cd Merge pull request #6246 from deathbeam/notifier-chatmessage-manager
Use ChatMessageManager to send game messages in Notifier
2018-10-30 05:00:54 +01:00
Tomas Slusny 96676b6387 Merge pull request #6251 from deathbeam/anagram-clue-juno
Correctly highlight Juna for cryptic clue step
2018-10-29 19:25:20 +01:00
Tomas Slusny 415a51dc78 Correctly highlight Juna for cryptic clue step
Juna is actually object and not NPC, so highlight it properly.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-10-29 14:10:43 +01:00
Tomas Slusny 2ba20c1859 Merge pull request #6203 from deathbeam/remove-full-description
Remove full clue description from Hot/Cold and Cryptic Clues
2018-10-29 14:05:00 +01:00
Tomas Slusny a879b503eb Use ChatMessageManager to send game messages in Notifier
Supersedes/closes #6168

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-10-29 12:58:36 +01:00
Tomas Slusny 5481151e3c Merge pull request #6247 from deathbeam/fix-double-trouble-test
Fix slayer plugin combat brace test after double trouble addition + move SlayerUnlock to net.runelite.api.vars
2018-10-29 12:54:15 +01:00
Tomas Slusny 2c7f15cfed Move SlayerUnlock to net.runelite.api.vars
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-10-29 12:40:59 +01:00
Tomas Slusny 4800560dee Fix combat brace slayer test after double trouble addition
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-10-29 12:39:42 +01:00