Commit Graph
2428 Commits
Author SHA1 Message Date
arlyon a098965d4c extract out number formatting utility
Add three types of formatter/converter:

 - runescape style (which matches the one in game)
 - "pretty" style with locale formatting and 3 sig figs
 - string to number for converting the other direction
2018-03-06 15:24:22 -05:00
Adam 4887e0ec2b Merge pull request #830 from deathbeam/default-world
Default world
2018-03-06 10:05:24 -05:00
Tomas Slusny df1e51dbc6 Add default world plugin
Add default world plugin where user will be able to set his default
world. In case invalid world is set, the client default/selected one
will be used instead.

Fixes #475
Closes #749

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-06 15:22:01 +01:00
Tomas Slusny 78728c471e Simplify RuneLite API world
- Use Lombok for World object

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-06 15:22:01 +01:00
Tomas Slusny c0e9a502eb Add support for changing world to API
- Export World from RS client
- Export changeWorld method
- Create new method for creating RuneScape world

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-06 15:22:00 +01:00
Tomas Slusny 1d01816c3f Merge pull request #852 from Kamielvf/cannon-doublehit-fix
Fix cannon plugin showing incorrect double hit spots after region change
2018-03-06 11:05:16 +01:00
Kamiel d88a0ffade Fix cannon plugin showing incorrect double hit spots after region change
Fixes #820
2018-03-06 10:52:39 +01:00
Tomas Slusny 0fb3d88309 Merge pull request #841 from ChaoticConundrum/waterskin-count
Add waterskin charges to jewellerycount plugin
2018-03-06 09:15:38 +01:00
Adam 1c7d056b85 ge panel: use static number formatter 2018-03-05 21:36:35 -05:00
Adam 8edf31f56a Merge pull request #839 from ChaoticConundrum/notes-plugin-fix1
Fix notes plugin loading notes from account
2018-03-05 21:08:00 -05:00
Adam e70ed7b1ad Merge pull request #829 from deathbeam/fix-username-synce
Restore original username on syncer shutdown
2018-03-05 20:57:58 -05:00
Adam 48966a9ab5 Change mouse wheel listener back to an interface as the instance map input listener uses it
Update instance map for new mouse wheel listener api
2018-03-05 19:47:02 -05:00
Adam 37bcb3ba63 Merge pull request #615 from devLotto/stretched-fixed-mode
Stretched fixed mode
2018-03-05 19:29:59 -05:00
Lotto 1acaeb4826 Add stretched fixed mode plugin 2018-03-06 00:37:59 +01:00
Lotto e0e0b85093 Add mouse listeners that stretch event x/y
Don't use Provider for getting client instance
2018-03-06 00:37:59 +01:00
Lotto 6da6307d50 Add support for specifying the position to insert mouse listeners in 2018-03-06 00:37:59 +01:00
Lotto d0aa72f61b Add support for proxying mouseWheelMoved events 2018-03-06 00:37:59 +01:00
Lotto d1d45eb11f Modify the size and location of the game canvas if stretched is enabled 2018-03-06 00:37:59 +01:00
Lotto 4e198b6e0e Add logic for game image stretching in Hooks#draw
Cache stretched dimensions and image

Fix rendering hint not being set until you resize window
2018-03-06 00:37:59 +01:00
Lotto 22f931a438 Add a mixin for storing stretched fixed mode setting states 2018-03-06 00:37:59 +01:00
Lotto 725762460a Move the 765x503 constants to a Constants API class 2018-03-06 00:37:59 +01:00
Lotto e830442585 Use a mixin for calling Hooks.draw instead of a @Hook 2018-03-06 00:37:59 +01:00
Charlie Waters 0c63778f6d Fix notes plugin loading notes from account
Change notes plugin update event
2018-03-05 17:32:26 -05:00
Charlie Waters fb2ab1dc67 Add waterskin charges to jewellerycount plugin. Fixes #825. 2018-03-05 17:19:16 -05:00
Tomas Slusny 1c46fc7c09 Merge pull request #835 from Desetude/fix/xpdrop
Renamed 'Experience drop' -> 'XP Drop'
2018-03-05 18:33:06 +01:00
Desetude 79d115e62d Renamed 'Experience drop' -> 'XP Drop' 2018-03-05 17:19:26 +00:00
Adam fde3a341a9 Merge pull request #834 from deathbeam/team-capes-disable-by-default
Disable team capes plugin by default
2018-03-05 10:28:00 -05:00
Tomas Slusny 84d710d0f8 Disable team capes plugin by default
For most of people this plugin is not relevant so it should be disabled
by default as it adds unnecessary clutter in populated areas.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-05 15:43:39 +01:00
Adam d6b797d2df Merge pull request #831 from deathbeam/do-not-fail-on-natives
Continue running in case Discord lib load failed
2018-03-05 09:12:22 -05:00
Tomas Slusny c4ebddf12d Restore original username on syncer shutdown
Fixes #804

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-05 15:08:15 +01:00
Tomas Slusny b9220785a5 Continue running in case Discord lib load failed
In case loading of Discord library failed, continue running application
and just disable Discord support.

Fixes #826

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-05 14:53:34 +01:00
Tomas Slusny fb99c107eb Merge pull request #818 from sethtroll/addmoreanimations
idle notifier: add barbtail/dragon harpoon animation
2018-03-05 00:00:17 +01:00
Adam 4620de3ded item service: process pending lookups in order
I think the current system causes starvation for item checking
2018-03-04 17:09:01 -05:00
Seth 42bf828f43 idle notifier: add barbtail/dragon harpoon animation 2018-03-04 15:48:13 -06:00
Adam 451f13a424 Merge pull request #789 from deathbeam/link-navigator
Link navigator
2018-03-04 16:32:00 -05:00
Adam dd93c9e5b0 Merge pull request #805 from Kamielvf/instance-map-user-input
Instance map: Add support for user input
2018-03-04 16:23:24 -05:00
Adam 453d7187ac Merge pull request #811 from Kamielvf/clear-private-history
Clear saved private chat history upon clear request
2018-03-04 13:10:37 -05:00
Kamiel 09cba08318 Clear saved private chat history upon clear request 2018-03-04 18:42:16 +01:00
Adam 45b605abec Merge pull request #778 from deathbeam/improve-fuzzy
Improve scoring of Jaro-Winkler
2018-03-04 12:39:25 -05:00
Adam fbc1bcebef Merge pull request #809 from Desetude/fix/hiscoretext
Fixed HiscorePanel text
2018-03-04 12:39:00 -05:00
Adam e92ef881a1 Merge pull request #750 from deathbeam/remove-unnecessary-flag
Remove unnecessary chatCommandsEnabled from config
2018-03-04 12:36:33 -05:00
Tomas Slusny 20f805cc1a Use new link browser in feed plugin
Use new link browser to open links from feed plugin entries.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-04 18:22:55 +01:00
Tomas Slusny 5bb29d32d5 Use new link browser in Grand Exchange plugin
Use new link browser when opening links from search results of the
Grand Exchange plugin

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-04 18:22:54 +01:00
Desetude 413f8880b3 Fixed HiscorePanel text 2018-03-04 17:22:11 +00:00
Charlie Waters e8b3d6c6a5 Add Notes plugin 2018-03-04 11:41:41 -05:00
Kamiel 45d740e9a2 Instance map: Add support for user input 2018-03-04 17:39:19 +01:00
Adam b777a73a8f Merge pull request #802 from deathbeam/fix-idle-notifier-again
Make idle notifier work for splashing/missing
2018-03-04 11:36:07 -05:00
Tomas Slusny 3aa6a92aa3 Use new LinkBrowser in SessionManager
Use new LinkBrowser API in SessionManager for opening the links.

Fixes: #434

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-04 17:32:16 +01:00
Tomas Slusny 6790591392 Add link browser utility service
Add link browser utility service that will try to open specified link in
browser, and in case operation fails displays message box and copy URL
to clipboard.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-04 17:32:16 +01:00
Tomas Slusny 0fb7590ea9 Improve scoring of Jaro-Winkler
Increase scoring based on string equality and contains checks with
lowercased and original casing.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-04 17:31:34 +01:00