Commit Graph

1532 Commits

Author SHA1 Message Date
UniquePassive
044502da78 Make special attack orb look a little nicer 2017-12-17 02:25:36 +01:00
Adam
270ed11d1a Merge pull request #262 from SomeoneWithAnInternetConnection/XPOrb-tooltip-exception-fix
Fix IllegalArgumentExceptions from XPGlobes' tooltips for level 1 stats
2017-12-16 16:25:09 -05:00
SomeoneWithAnInternetConnection
aad76b9bab Fix IllegalArgumentExceptions from XPGlobes' tooltips for level 1 stats
To draw the progress bar, XPGlobesOverlay.drawTooltipIfMouseover() uses
Experience.getXPForLevel(), which threw an IllegalArgumentException when
asked about level 1. This change shifts the XP_FOR_LEVEL array over by
one, so that XP_FOR_LEVEL[0] is the XP required to reach level 1 (i.e. 0),
rather than the XP required for level 2.
2017-12-16 16:09:58 -05:00
Adam
c31758a715 cache: test scope slf4j-simple 2017-12-16 15:58:44 -05:00
Adam
a94ccedbf0 cache: use own Xtea implmentation instead of bouncycastle's 2017-12-16 15:58:43 -05:00
Adam
0049b8d34e cache: improve xtea test 2017-12-16 15:58:42 -05:00
Adam
1a6f84caa9 cache: remove whirlpool as it is not in osrs 2017-12-16 15:58:41 -05:00
Adam
e46d9e8c17 Merge pull request #254 from deathbeam/native-ui-cleanup
Cleanup overlay logic after native-ui changes
2017-12-16 08:30:35 -05:00
Tomas Slusny
4d8dde760f Cleanup overlay logic after native-ui changes
- Remove unnecessary derivations of runescapeSmallFont
- Render overlays in "safe" environment (restore original font and
tranform after overlay rendering is done)
- Use TextComponent at more places
- Remove unnecessary setting of default font in VolcanicMineOverlay
- Change RenderableEntity from abstract class to interface
- Remove unused tooltip configuration from RuneliteConfig
- Use viewportWidget instead of chatbox widget for positioning the
overlay groups (thanks to Devin for tip)

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-15 00:13:44 +01:00
Adam
ebc52ed680 Merge pull request #246 from deathbeam/plugin-ui-update
Make overlay UI reusable and look native
2017-12-13 18:39:08 -05:00
Tomas Slusny
4076f75e34 runelite-client: Make overlay UI reuseable and look native 2017-12-13 18:26:56 -05:00
Tomas Slusny
f78667f9c7 runelite-client: add plugin changed event 2017-12-13 18:26:25 -05:00
Adam
c16ad7c984 Merge pull request #252 from tylerthardy/dynamicFix
Fix default config for dynamic plugins
2017-12-13 11:33:05 -05:00
Tyler Hardy
8fead88575 Fix default config for dynamic plugins 2017-12-13 10:19:59 -05:00
Toocanzs
a9ec078333 Dispose of BufferedImage graphics in overlay util 2017-12-09 17:13:05 -05:00
Adam
f11c20b4ad Merge pull request #245 from deathbeam/examine-stackables
Show price of entire stack for stackable items when examined
2017-12-08 18:46:09 -05:00
Adam
1a47dca550 Merge pull request #248 from tylerthardy/remDeprecatedPlugins
Remove deprecated plugins
2017-12-08 18:37:05 -05:00
Tomas Slusny
49a11cab46 Show full price for stackable items when examined 2017-12-08 18:34:30 -05:00
Tyler Hardy
bd584e85ec Remove FPS plugin (deprecated by base osrs ::displayfps) 2017-12-08 17:25:29 -06:00
Adam
ea74c47d46 chat message manager: avoid adding chat messages on threads 2017-12-08 18:15:50 -05:00
Adam
4762a322f2 runelite-client: fix scheduler for concurrent modifications
Plugins can be loading and unloading while the scheduler is running
2017-12-08 17:30:29 -05:00
Adam
5cf5684397 Merge pull request #241 from deathbeam/examine-item-price
Show item price when examining item
2017-12-07 21:30:22 -05:00
Tyler Hardy
53749495eb Add crazy arch to aoe plugin 2017-12-07 21:13:47 -05:00
Tomas Slusny
02ebe82e2d Show item price when examining item
- Update examine plugin to include setting for showing item price when
examining item and choosing colors for the examine message (using new
chat message API)

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-07 21:08:38 -05:00
Tomas Slusny
4860eb871f Add chat message recolouring API
- Update api of SendMessage to also include message type
- Create API for updating chat message based on saved colors for normal
and highlighted message and for adding game messages that can be
recolored too
- Update chat commands plugin to use the new API
- Add option to globally disable recoloring to RuneliteConfig

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-07 21:08:36 -05:00
Tomas Slusny
88932d2a72 Improve item caching
- Add item composition cache and item search cache to ItemManager

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-07 21:08:34 -05:00
Toocanzs
6fac9d1d7b Change game tick hook to npc update 2017-12-05 20:43:30 -05:00
Adam
fc944dfd34 clanchat: don't load icons more than once 2017-12-05 07:44:23 -05:00
Adam
712ae989e4 Merge pull request #236 from deathbeam/clan-ranks
Add clan ranks to clan chat
2017-12-04 19:43:25 -05:00
Tomas Slusny
454fd4cfc1 Add clan ranks to clan chat
- Extend API to include support for getting clan members and
informations about them
- Add API for manipulation with modIcons
- Display clan ranks in clan chat (add to ClanChat plugin)
- Add new hook for clan members changed

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-04 19:33:13 -05:00
Adam
e1623f239a Move setMessage hook to end of method 2017-12-04 19:28:29 -05:00
Adam
e4bac7f685 injector: support hooking to ends of methods 2017-12-04 19:28:22 -05:00
Adam
2da46e1ec3 runescape-api: fix javadoc error 2017-12-04 15:51:51 -05:00
Adam
ee867992c3 injector: add construct injector to create new instances of classes 2017-12-04 14:34:44 -05:00
Adam
4380440777 Merge pull request #237 from tylerthardy/karambwans
Add Karambwan fishing to animation and idle plugin
2017-12-04 08:09:05 -05:00
Tyler Hardy
2c29f119ec Add Karambwan fishing to animation and idle plugin 2017-12-04 05:17:23 -06:00
Adam
6bc9cccf41 runelite-client: fix infoboxes
Infobox overlay is not created by the injector so client was not being injected

Fixed from 403f7bd5d7a3d514a9dcec067cfdba622e3361b0
2017-12-02 21:00:00 -05:00
Adam
53b4df8ae9 Merge pull request #234 from deathbeam/lightweight-native-notifications
Make native notifications lightweight
2017-12-02 15:19:00 -05:00
Tomas Slusny
1c86c30e1a Make native notifications lightweight
Remove dependency on external notification library and rewrite
notifications to use lightweight native system notification
implementations:

* Linux - notify-send
* OS X - apple script - display notification
* Windows - TrayIcon

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-02 15:01:05 -05:00
Adam
5178c159a8 Merge pull request #233 from deathbeam/hide-items-under-value
Add hide items under value to GroundItems plugin
2017-12-01 20:00:50 -05:00
Toocanzs
2de0dead0c Move common game state and interface checks to overlay 2017-12-01 20:00:29 -05:00
Tomas Slusny
663cb8e69f Add hide items under value to GroundItems plugin
Add option to hide items under either Grand Exchange or High Alchemy
value to GroundItems plugin. Also ensure that items with 0 or no GE
price are shown anyway, as they are probably untradeables or inactive.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-02 01:10:20 +01:00
Adam
4fc1395827 Merge pull request #231 from deathbeam/native-notifications
Add support for native notifications
2017-12-01 08:16:50 -05:00
Vagrant User
9cb32c1574 Add support for native notifications
Replace current TrayIcon notifications with system-native notifications.
Supports most of the operating systems (the important ones are Windows,
Linux and OS X).

Resolves: #230

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-01 11:31:43 +01:00
Adam
650d6a7e0d runelite-client: change AnimationChanged event to have an Actor 2017-11-30 16:46:42 -05:00
Adam
b51296200a runelite-client: lombok events 2017-11-30 16:08:03 -05:00
Adam
ac4703566f runelite-client: use lombok for slf4j logger creation 2017-11-30 16:08:03 -05:00
Runelite auto updater
b811dd2c62 [maven-release-plugin] prepare for next development iteration 2017-11-30 13:32:24 +00:00
Runelite auto updater
4cfe7a9a6c [maven-release-plugin] prepare release runelite-parent-1.2.9 2017-11-30 13:32:20 +00:00
Runelite auto updater
04951478cb Update 160 2017-11-30 13:27:11 +00:00