Commit Graph

1865 Commits

Author SHA1 Message Date
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
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
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
Seth
efcc0e00d4 impling plugin: fix impling list not clearing on hopping worlds 2018-05-19 22:05:38 -05:00
Adam
ec1512dab5 Add interface styles plugin 2018-05-19 20:40:54 -04: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
wa1id
f337175380 Add teak garden bench to construction calculator.
https://i.imgur.com/6LlXIig.png
2018-05-19 18:08:44 +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
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
Ruben Amendoeira
dcd241e3bf Notes Plugin slight design tweak
- Increased the padding on the overall panel and the title.
- Recolored the background and text editor.
- Wrapped the text editor in a panel to prevent substance's hover
effects.
- Added 10px padding to the text editor
2018-05-19 12:16:25 +01:00
Ruben Amendoeira
1d388fa98f News Feed Plugin slight design tweak
- Added a header section, containing a title and a refresh icon button.
- Increased the overall border from 5 to 10 pixels.
- Changed the background color to a darker gray.
2018-05-19 12:16:25 +01:00
Ruben Amendoeira
4679bdad77 Kourend Library Plugin slight design tweak
- Spaced out the item panels vertically and slightly horizontally.
- Added a new header with the plugin's name, as it can be hard to know
what this plugin does/is.
- Restyled the reset button, it previously was a "Reset" text button, I
switched it to an icon with a darker version that activates
when clicked.
- Added the icon images to the resource folder.
- Added new method to SwingUtil that returns a darker version of an
image
- Used the image darkening method to give the refresh button a click
feedback effect
2018-05-19 12:16:25 +01:00
Ruben Amendoeira
d0f708e26a Hiscore Plugin redesign
Overall:
- Applied new colors, positions and sizes, following issue #1342.

Search:
- Applied the new IconTextField, with search, error and loading
indicator (and respective image files).
- Blocked tabs witching while results are loading.

Endpoints:
- Moved the endpoints to right below the search bar (this follows
a more logical sequence of usage).
- Changed the endpoint presentation style and size. The selected
endpoint now displays a orange underline.
- Edited the endpoint icons to better fit the visual context.
- Changed the way currently selected endpoint is stored.

Stats:
- Changed the sizing of the labels/panels.
- Changed the font to a smaller version.

Total/Combat:
- Switched the order of the combat and total indicator
- Changed the font to a smaller version.

Clues/Minigames:
- Changed the font to a smaller version.

Details Panel:
- Completely removed the details panel, instead went for a more
in-line with the game approach, tooltips!
- Rewrote the way skills and labels are matched
- Added html progress bar to the next level
2018-05-19 12:16:25 +01:00
Ruben Amendoeira
ab7e969320 Grand Exchange Plugin redesign
General:
- Applied the design I proposed in issue #1342
- Applied custom component: MaterialTabs
- Removed default scrolling behaviour from parent PluginPanel
- Added error panels for empty searches and empty offer slots
- Added new formatter to the StackFormatter that displays integers
as rs stacks with decimals (21700 into 21.7k)
- Changed the Locale on the stack formatter and respective unit testing
to UK, this makes sure all tests are consistent with Travis (ex: i ran
the unit testing in europe, travis ran in the us, so it passed my tests,
failed his)

Offers:
- Refactored the GE offers into it's own seperate file:
GrandExchangeOffersPanel
- Redesigned the ge offers items
- Included the custom component ThinProgressBar on the bottom of each
ge item panel
- Added secondary information panel, toggled by clicking on the primary
panel
- Added a game state check that resets all ge offers on logout

Search:
- Recoloured and resized the search bar
- Added new icons to the search bar (incluing a loading wheel gif)
- Removed focus on the search bar when results are displayed
- Added custom scrolling behaviour
- Blocked input when search is in progress
2018-05-19 12:16:25 +01:00
Ruben Amendoeira
e56e559ecd Added custom components + moved/rewrote some
To organize the project a bit, decided to add a new folder inside the
ui folder, to hold all custom components. ui/components/

Rewrote IconTextField

I wasn't happy with its functionality, so I rewrote it to
include the following:

- Left aligned centered icons
- Animated gif support (ex: loading wheels)
- Custom hover effects (color change)
- Input blocking

All changes:

- Created new folder ui/components/
- Moved JShadowLabel and JShadowLabelUI to components folder
- Moved IconTextField to components folder
- Rewrote IconTextField
- Created new components: MaterialTab & MaterialTabGroup
- Created new components: CustomScrollBarUI
- Created new components: PluginErrorPanel
- Created new components: ThinProgressBar
- Applied the new scroll bar ui to the UI defaults (UIManager)
2018-05-19 12:16:25 +01:00
Ruben Amendoeira
327c7b9c3b Restyled the client frame
- Created new substance theme "Obsidian"
- Created new ColorScheme file to hold all globally used colors
- Darkened the client frame using the substance color scheme file
- Changed substance's colorization factor to 1
- Tweaked the coloring on the dev plugin panel
- Set the UI default foreground color on Buttons and MenuItems to White.
2018-05-19 12:16:25 +01:00
Tomas Slusny
fd3e568c81 Delay setting of low detail mode
To not change low detail flag before sounds are loaded, delay it to be
set only when arriving at login screen to not end up with corrupted
sound data.

Fixes: #696

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-18 17:30:52 +02:00
Adam
ce46256a44 speccounter plugin: fix kalphite queen spelling 2018-05-15 10:24:15 -04:00
Adam
8ecd130d3a Revert "fix: Hide vanilla raid points box when inside chambers of xeric" 2018-05-15 10:07:24 -04:00
Adam
a72d010794 Merge pull request #2747 from Abextm/revert-varbit-event-defer
Revert #2530 "Make VarbitChanged only fire once..."
2018-05-15 10:07:10 -04:00
Sebastiaan Holthuis
3a1e7ed0d2 Add " fps" after the number of FPS 2018-05-15 08:42:31 -04:00
Max Weber
669b0a0ab9 Revert #2530 "Make VarbitChanged only fire once..."
This broke the speccounter plugin, and is moderately incorrect because client scripts can update varbits before a tick has happened, and the event should reflect that.
2018-05-15 03:36:16 -06:00
Adam
b61b77a44c Merge pull request #2729 from trimbe/fix-hot-cold
Fix hot cold location south of gnome stronghold
2018-05-14 20:50:51 -04:00
Adam
8fc7e58f60 Merge pull request #2451 from MESLewis/world-map-fairy-ring-tooltip
Add tooltip and custom icon to World Map fairy ring destinations
2018-05-14 20:48:09 -04:00
Morgan Lewis
78e0a654cc Add tooltip and custom icon to World Map fairy ring destinations 2018-05-14 20:34:11 -04:00
Morgan Lewis
c8d7779248 Fix world map overlay to draw pixel perfect on the World Map 2018-05-14 20:34:10 -04:00
Kruithne
b923335ed1 Implement Skill Calculator plug-in 2018-05-14 19:46:20 -04:00
trimbe
19e87bac36 Fix hot cold location south of gnome stronghold 2018-05-14 17:57:44 -04:00
Adam
bdb2c5b1b3 Merge pull request #2711 from ypperlig/mlmstartupfix
Motherlode Mine - Region check on plugin startup
2018-05-14 08:22:14 -04:00
Adam
b374c825fa Merge pull request #2710 from Abextm/update-objectid
Strip tags from java names in ID files
2018-05-14 08:19:36 -04:00
Lars Ørnlo
0f90f2dbbb Motherlode Mine - Region check on plugin startup 2018-05-14 12:20:23 +02:00