Commit Graph

5843 Commits

Author SHA1 Message Date
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
Sam England
05f79d01c2 Add food hover overlay for Thin and Fat Snail meat (#6362)
- Add range of 5-7 hp for Thin Snail Meat.
- Add range of 7-9 hp for Fat Snail Meat.

Closes #6332
2018-11-06 13:18:40 +01:00
Ron Young
378e638684 Bank tags: Move search functions to a separate class 2018-11-06 12:57:14 +01:00
Ron Young
337993b60d Bank tags: Preserve search when editing tags
Fixes #1297
2018-11-06 12:56:57 +01:00
Ron Young
f8c94fb71c BankTags: refactor to use ChatboxPanelManager 2018-11-06 12:56:46 +01:00
Ron Young
fcb1029b0d ScriptEvent: import op, opbase, and source 2018-11-06 12:56:46 +01:00
Lotto
02d814f6a6 Merge pull request #6314 from devLotto/stretchedmode-improved-scaling
stretchedmode: retain aspect ratio when scaling
2018-11-06 12:49:37 +01:00
Abex
a5facdb48a Merge pull request #6361 from Abextm/fix-zoom-overflow
zoom: Adjust inner zoom limit to safe value
2018-11-06 02:05:55 -07:00
Abex
1951ea2b18 Merge pull request #6363 from Abextm/chromeless-closer
runelite-client: Use Runescape themed closer for sidebar when overlaying
2018-11-06 02:05:37 -07:00
Max Weber
acd412d09e runelite-client: Use Runescape themed closer for sidebar when overlaying 2018-11-06 00:38:29 -07:00
Max Weber
f149b554c7 runelite-client: Don't check if customChrome is enabled after startup
This value is locked in at startup, the config value is irrelevant to what should actually be happening
2018-11-06 00:38:29 -07: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
Ron Young
427afba69c Add BERSERKER_NECKLACE prayer bonus 2018-11-05 22:50:51 -06:00
Max Weber
f614a45845 zoom: Adjust inner zoom limit to safe value
Any value greater than 1004 can cause an overflow with a large height, causing 3dzoom to be zero, crashing the renderer
2018-11-05 20:28:47 -07:00
Dylan Critz
cd15227585 examine plugin: add looting bag item examine support 2018-11-05 09:14:41 -05:00
John McDonnell
826fa05751 skill calculator: fix werewolf agility course xp 2018-11-05 09:00:45 -05:00
Hydrox6
cb50babff0 chat message manager: fix update to not access varbits outside of client thread 2018-11-05 08:48:33 -05: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
KasparRosin
bf86535468 menu entry swapper: add dark mage repairs swap 2018-11-04 19:57:31 -05:00
Tyler Harding
41204c9742 opponent info: add configuration for show opponent's opponent 2018-11-04 19:45:01 -05:00
Adam
258d66cfd9 player mixin: remove unused field 2018-11-04 18:52:50 -05:00
Adam
f9711e1de4 wasd plugin: add player name to chatbox text 2018-11-04 14:03:43 -05:00
Adam
0845f58580 Merge pull request #6306 from Nightfirecat/jagex-colors
Add Jagex Colors constants and fix WASD camera chat text color
2018-11-04 13:43:14 -05:00
Jordan Atwood
f8d1ef1ba1 wasdcamera: Fix chat text color on transparent chatbox
Fixes runelite/runelite#6288
2018-11-04 13:06:37 -05:00
Jordan Atwood
7aa5654488 Add JagexColors constants file, update Color uses
Fixes runelite/runelite#4073
2018-11-04 13:06:12 -05: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
WooxSolo
2eabb70422 Remove viewportOffset from get2DGeometry 2018-11-03 18:56:56 +01:00
WooxSolo
42caca779d Remove viewportOffset calculation from demonic gorillas 2018-11-03 18:56:39 +01:00
WooxSolo
fbb03a7f15 Remove viewportOffset calculation from prayer bar 2018-11-03 18:56:16 +01:00
WooxSolo
809b5b2718 Fix localToCanvas calculation on fixed screen 2018-11-03 18:56:04 +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
Abex
d1af4d1ecb Merge pull request #6322 from Abextm/fix-crab-meat
itemstats: Use correct crab meat
2018-11-03 04:30:32 -06:00
Max Weber
7a16d65e8b itemstats: Use correct crab meat 2018-11-03 04:14:48 -06:00
Abex
36b6da9b36 Merge pull request #6174 from Abextm/fix-region-loading
cache: Correct Location loading
2018-11-03 04:11:50 -06: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
Lotto
fdfdf77ddc stretchedmode: retain aspect ratio when scaling 2018-11-02 16:18:31 +01:00
Jordan Atwood
0a5e7d4b4b inventory tags plugin: Use MenuManager
This patch updates the inventory tags plugin to utilize the MenuManager
util to better add menu options to the inventory tab.

Fixes runelite/runelite#6132
2018-11-01 17:02:19 -07:00
Jordan Atwood
0d79490f6d inventory tags plugin: clean up plugin code
This includes various code quality improvements such as stronger access
control and removing redundant code.
2018-11-01 17:02:02 -07:00