Commit Graph

3759 Commits

Author SHA1 Message Date
Tomas Slusny
3a5e391607 Change Anti-Drag plugin to work only with SHIFT
Due to complains in PKing community, nerf this feature to work exactly
like its counterpart in other clients and make it work only when SHIFT
key is pressed.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-21 19:34:12 +02:00
Adam
0fe49ec2df runelite-api: expand hint arrow api 2018-05-21 08:20:48 -04:00
Adam
2c5284d597 runelite-mixins: fix hasHintArrow 2018-05-21 08:20:08 -04:00
Adam
32b7abb6ca Merge pull request #2985 from devLotto/fast-stretched-fixed-mode
Improve stretched fixed mode performance
2018-05-21 07:47:41 -04:00
Tomas Slusny
0a7c09310d Merge pull request #2987 from LeviSchuck/xp-time-remaining
Fix til next level time for low xp amounts
2018-05-21 10:04:52 +02:00
Xavier Bergeron
323da7fd1b Fix early stop of player lookup in HiScores (#3035)
Fixes #3032
2018-05-21 09:19:18 +02:00
Tomas Slusny
ecc5ee698b Merge pull request #3046 from Nightfirecat/add-drunken-dwarf-puzzle-box-indicator
Add puzzle box indicator to Drunken Dwarf clue
2018-05-21 08:16:34 +02:00
Jordan Atwood
a43ffc7fa6 Add puzzle box indicator to Drunken Dwarf clue 2018-05-20 17:26:03 -07:00
Adam
35ffca59e5 low detail plugin: apply low detail on startup if on login screen
Fix race with changing memory mode when loading which causes sounds to
not load
2018-05-20 20:22:37 -04:00
Adam
97caee3e04 Revert "Delay setting of low detail mode"
This reverts commit a13b6c69b35a35507bc17ddc3972a0a36905f7a2.
2018-05-20 20:22:29 -04:00
Adam
aa30d2c782 modelviewer: begin work on tile shapes 2018-05-20 20:20:04 -04:00
Tomas Slusny
3b89933e37 Merge pull request #3036 from AlexKolpa/reset-xp-skill
Clear plugin skill tracking on reset
2018-05-21 00:23:49 +02:00
Tomas Slusny
7831aceb10 Merge pull request #2964 from psikoi/obsidian-redesign-patch
SetOpaque UI performance fix
2018-05-21 00:11:33 +02:00
Alex Kolpa
bc62e167ae Clear plugin skill tracking on reset
Instead of calling `reset`, which just clears the skill info box from the UI.
2018-05-20 23:52:42 +02:00
Levi Schuck
18215a070d Switch to safer division method without floats
Use custom formatter since LocalTime.toString rolls over the amount of days.
2018-05-20 15:01:23 -05:00
Adam
5fca70b056 agility plugin: limit obstacles to agility pyramid regions 2018-05-20 12:44:08 -04:00
Adam
018adaa9e0 Merge pull request #2877 from deathbeam/fix-low-detail-sound
Delay setting of low detail mode
2018-05-20 12:25:40 -04:00
Adam
bc7df6b0f2 runelite-client: fix usage of npc despawn event
Sincee 915070b4b3e5365dd052479bfc67a35937c32e0 the event no longer fires on logout
2018-05-20 11:43:18 -04:00
Ruben Amendoeira
6c18bcb6bf SetOpaque performance fix
Apparently, the setOpaque method on JPanels was causing some performance
issues on the client, the original reason I had these was so that the
base panel would have a color defined, and every container or wrapper
panel on top would just be transparent.

To fix this I have set a default JPanel background color and replaced
calls to setOpaque with calls to
setBackground with the appropriate colors.
2018-05-20 14:36:12 +01:00
trimbe
a8aab2a5f7 Fix bounds for west bookcases in Kourend library (#2875) 2018-05-20 12:58:17 +02:00
Ruben
e340cd66d9 Add Gem rocks to mining calculator plugin (#2907) 2018-05-20 12:53:12 +02:00
Tomas Slusny
ddd115f5ce Merge pull request #2999 from sethtroll/fixnpcspawn
impling plugin: fix impling list not clearing on hopping worlds
2018-05-20 10:22:37 +02:00
Seth
efcc0e00d4 impling plugin: fix impling list not clearing on hopping worlds 2018-05-19 22:05:38 -05:00
Adam
4e6bf48c4e Merge pull request #2991 from Adam-/master+ui
Add interface styles plugin
2018-05-19 22:05:16 -04:00
Lotto
f672ef9014 stretchedfixedmode: use volatile image instead of buffered image
This takes advantage of your GPU to improve the stretched fixed mode performance significantly.
2018-05-20 03:12:24 +02:00
Adam
ec1512dab5 Add interface styles plugin 2018-05-19 20:40:54 -04:00
Adam
fbca624ffd runelite-api: add widget positioned event 2018-05-19 20:40:53 -04:00
Lotto
1dfcfd3468 client: use Image instead of BufferedImage 2018-05-20 01:53:59 +02:00
Levi Schuck
d2440f9c66 Fix til next level time for low xp amounts
Cause:
Time til next level relied on xp per hour being divided by 3600
(seconds in an hour). For XP rates under 3600 per hour, this would
result in a divide by zero.

Solution:
Use floats and rely on an xp per second implementation that works on
seconds instead of hours.

It appears to work as expected.
![image](https://user-images.githubusercontent.com/245911/40274136-f8f61314-5b94-11e8-8d22-03b40b6108ff.png)
2018-05-19 18:51:27 -05:00
Adam
444e3a5152 runelite-api: add sprite override api 2018-05-19 19:15:35 -04:00
Adam
023de4c91f runescape-api: add sprite related imports for interface style plugin 2018-05-19 19:15:27 -04:00
Adam
e3e8bf7c5d Bump to 1.4.0-SNAPSHOT 2018-05-19 18:53:25 -04:00
Lotto
76fae157e4 Merge pull request #2971 from piksu/master
Fixed typo in a cryptic clue solution
2018-05-19 22:18:17 +02:00
Jouni Pikkarainen
294966152f Fixed typo in a cryptic clue solution
Solves issue #2969
2018-05-19 23:08:23 +03:00
Tomas Slusny
95d55608c1 Merge pull request #2959 from devLotto/entityhider-no-hide-npcs
entityhider: don't hide npcs by default
2018-05-19 20:21:54 +02:00
Ruben
53f7deae85 Restore Plugin Toolbar Button Tooltips (#2833)
* Always set button tooltips
* Completely remove name property and replace it with tooltips
* Make tooltips final
2018-05-19 19:59:01 +02:00
SoyChai
cea85de384 Friend notes plugin: Add documentation and increase code readability (#2714)
* Add javadocs to methods
* Rename 2 methods for clarity, and add Nullable tag
* Rename local vars for consistency / correctness
* Simplify setHoveredFriend to allow clearer variable names
* Finalize local vars and add KEY_PREFIX constant
* Tweak 2 log messages for clarity and crash-proofing
* Inline the comments added to generic callbacks
* Skip the tag removal on MenuEntryAdded targets
2018-05-19 19:44:21 +02:00
Magic fTail
45c98b83b3 Fix edgeville monastery emote clue scroll (#2909) 2018-05-19 18:57:47 +02:00
Lotto
c16051d7f1 entityhider: don't hide npcs by default 2018-05-19 18:30:57 +02:00
Tomas Slusny
3c150c1aea Merge pull request #2956 from wa1id/teak-garden-bench-calc
Add teak garden bench to construction calculator.
2018-05-19 18:21:10 +02:00
wa1id
f337175380 Add teak garden bench to construction calculator.
https://i.imgur.com/6LlXIig.png
2018-05-19 18:08:44 +02:00
Tomas Slusny
f533dbf966 Merge pull request #1419 from psikoi/color-scheme-orange-dark
"RuneLite Obsidian" Client Redesign
2018-05-19 16:02:33 +02:00
Ruben Amendoeira
23395b6d48 Skilling Calculators Plugin design tweak
Prepared it for release, still to be redesigned.

Changes:
- Changed the background color on some panels to match the new ui
- Re-ordered the plugin to a lower position on the side bar
2018-05-19 14:30:06 +01:00
Adam
ae617f019d Update substance to 8.0.02 2018-05-19 15:13:22 +02:00
Max Weber
64610ae08c Cleanup FarmingTracker panels 2018-05-19 15:13:22 +02:00
Ruben Amendoeira
3526b258bb Plugin side toolbar design tweak
- Added new parameter to navigation buttons: priority.
- Ordered the navigation buttons by their priority and name in PluginToolbar.
- Added a maximum size to the navigation buttons to keep all their sizes
the same.
- Added new icons for the following plugins:
   - Account (login/logout)
   - Grand Exchange
   - Feed
   - Info
   - Kourend Library
   - Notes
   - Screenshot
2018-05-19 15:13:22 +02:00
Ruben Amendoeira
6d331ae5a1 Farming plugin panel redesign
Farming Plugin:
- Redid the layout, coloring and positioning on the FarmingTrackerPanel
to include my new MaterialTabs.
- Added section divider labels in the special and tree tabs.
- Hid the patch type indicator for some patches (explained in docs).
- Added patch names for all instances of FarmingPatch (previously only
a portion of them were written for a hack that is no longer necessary).
- Created getName() method in PatchImplementation that returns the patch
type's name in a formatted style (SPIRIT_TREE -> Spirit Tree).
- Created a new tab for bushes.

MaterialTabs:
- Added onSelectEvent runnable to MaterialTab.
- Added horizontal gap to the tabs.
- Added getTab() method that returns a tab on a given index.

CustomScrollBarUI:
- Added functionality to allow the ui colors to be changed from an
external call. (setters)

ColorScheme:
- Created color constants in the ColorScheme file for the progresss bar
backgrounds and used them in the CropState enum.
2018-05-19 15:13:22 +02:00
Ruben Amendoeira
497d421737 Info panel redesign
Restyled the whole exp trackers plugin panel to follow my proposed
design style on issue #1342

- Added two new entries to the runelite properties file (github and
patreon link). And addes respective getter methods in the
RuneLiteProperties.java file.
2018-05-19 15:13:22 +02:00
Ruben Amendoeira
9a72dd5969 Exp trackers plugin redesign
Restyled the whole exp trackers plugin panel to follow my proposed
design on issue #1342

- Restyled and recolored the exp tracker
- Removed the contracted state, trackers are now always expanded as they
are now thinner than before
- Progress bars are now color matched to the skill using a new enum
SkillColor
- Added new progresss bar custom component
- Added error panel for "no exp gained" that disappears once the player
earns experience
- Restyled the overall exp panel
- Hid the overall exp panel until the player earns experience
- Added "Reset" right click menu to individual skill trackers
- Added "Reset All" right click menu to the overall skill tracker
2018-05-19 15:13:22 +02:00
Ruben Amendoeira
6ec0d60ec4 Configs slight design tweak
- Updated the search bar to the new icon text field component.
- Added new on/off icons based on the material design style.
- Recoloured the background.
- Recoloured the plugin name labels.
- Replaced the config/toggle buttons for icon labels.
- Hid config button if no config was found, instead of disabling it.
- Left aligned the header title.
- Added new ComboBoxListRenderer to prevent substance's ugly coloring.
- Changed the panel title to "Configuration"
- Used deathbeam's new layout manager DynamicGridLayout
2018-05-19 15:13:10 +02:00