Commit Graph

150 Commits

Author SHA1 Message Date
Owain van Brakel
1db9d7352c http-api: RxJava async calls 2019-07-19 01:35:42 +02:00
Lucwousin
3cca59439f http-api: Don't make game thread wait for xtea response 2019-07-16 17:17:07 +02:00
Ganom
41b7bd7207 itemmanager: updated to use local resources for stats, also addding discord client service. (#1000)
* Add Discord Client

* Add Discord message and embed utilities

* Add plugin config base

* Add base plugin and NPC Loot Log

* Fixes

Removes duplicated code
Add local player death events

* Add getIcon method

* Remove unused Import

* Move Item Stats from ItemManager to local resources.
Add & Update Discord Embed Service.
Remove DiscordWebHook plugin, it was pretty bad, can do better.

* Fix lombok @NonNull tag.

* Remove old imports.

* Fix travis.
2019-07-14 20:09:44 +01:00
James Munson
a46b3c0321 Increase timeout for runelites api 2019-07-03 17:59:31 -07:00
James Munson
6518102e31 Update 2019-07-02 03:06:02 -07:00
James Munson
09419c2f81 Updated okhttp3 from 3.7.0 okhttp3 4.0.0
Updated timeout stuff
2019-07-02 03:01:15 -07:00
James Munson
4a77249440 Update 2019-07-02 01:46:35 -07:00
James Munson
0b2faa3e6d Fix for people lagging when loading a new region if they have a firewall/bad internet 2019-07-01 17:54:11 -07:00
sdburns1998
8d77971c83 Merge remote-tracking branch 'runelite/master' into ihategitandihatethisihatemergingupstream 2019-06-29 01:08:56 +02:00
Kyleeld
c2f405cf8f Revert "Upstreamyboy" 2019-06-28 23:58:38 +01:00
sdburns1998
cfeab20179 chat commands: add duel arena chat command 2019-06-29 00:38:58 +02:00
sdburns1998
63664fbac7 chat commands: add ba high gamble command 2019-06-29 00:28:22 +02:00
Robert Alexander
8ee3e483f4 chat commands: add duel arena chat command 2019-06-27 21:38:55 -04:00
James
f396a358c4 Fix for lag (#781) 2019-06-28 01:29:01 +01:00
zeruth
c38a96e6c6 Fixes api gets 2019-06-27 18:57:02 -04:00
Jacob McElroy
8757d25bd3 chat commands: add ba high gamble command 2019-06-27 17:27:09 -04:00
zeruth
c71f40caf5 Merge remote-tracking branch 'origin/master' 2019-06-27 17:14:49 -04:00
zeruth
8543e13908 Adds animation endpoint 2019-06-27 17:14:30 -04:00
sdburns1998
c85b2b1ebb Null check commits (#776) 2019-06-27 21:26:27 +01:00
Tyler Bochard
b3faba9edc Merge pull request #731 from f0rmatme/httplayout
Update http-service / API
2019-06-26 02:06:47 -04:00
James Munson
09939fc03f Change api base to runeliteplus
Signed-off-by: James Munson <jmunson@openpoll.io>
2019-06-25 23:01:15 -07:00
James Munson
34cb26d29b Added house host to api
Signed-off-by: James Munson <jmunson@openpoll.io>
2019-06-24 14:24:34 -07:00
James Munson
9ee4320482 Added !layout
Signed-off-by: James Munson <jmunson@openpoll.io>
2019-06-24 05:30:26 -07:00
ThatGamerBlue
f7aee1dfbf Fix HTTP API User-Agent (#729)
* Update RuneLiteAPI.java

* this is why you use an ide
2019-06-24 12:44:56 +01:00
ThatGamerBlue
32c791610a Auto-update RL api version (#725) 2019-06-24 03:36:54 -07:00
zeruth
30f5997d07 Update XteaClient.java 2019-06-23 18:37:32 -04:00
Ganom
8273420838 Fix Travis (#716) 2019-06-23 15:36:21 -07:00
zeruth
408071a6ae Fix API
yeah yeah yeah
2019-06-23 17:56:35 -04:00
zeruth
d0e3481bdf Revert "regression: fix api-reliant plugins (#715)"
This reverts commit 587f336938.
2019-06-23 17:45:12 -04:00
ThatGamerBlue
587f336938 regression: fix api-reliant plugins (#715) 2019-06-23 22:36:00 +02:00
Ganom
3388614767 Fix Travis (#714)
* Fix Travis

* Fix Travis

* Fix Travis

* Fix Travis
2019-06-23 21:01:25 +01:00
zeruth
3c02f5b9c8 Use our own http-service / http-api
Also starts scraping xtea keys :)
2019-06-23 05:51:52 -04:00
PKLite
70f6d207ac Adds constructor for data retrieved from http api (just uses a blank username for now)
Signed-off-by: PKLite <stonewall@pklite.xyz>
2019-06-11 21:02:37 -04:00
PKLite
c5fd9e3a6d Merge branch 'master' into loot-tracker-update 2019-06-11 19:26:02 -04:00
PKLite
e7cffcc29c Merge branch 'master' of https://github.com/runelite-extended/runelite 2019-06-11 19:25:40 -04:00
Tyler Bochard
59ed075ddd Merge pull request #529 from runelite/master
bringup
2019-06-10 02:24:56 -04:00
PKLite
ede14db9b2 Automatically filters loot tracker loot to only show loot that the currently
logged in account has received and to show all loot from all accounts on
login screen

Signed-off-by: PKLite <stonewall@pklite.xyz>
2019-06-09 00:08:12 -04:00
PKLite
1af704c608 Revert to old project structure
Signed-off-by: PKLite <stonewall@pklite.xyz>
2019-06-08 01:08:58 -04:00
William Collishaw
462818aad7 Fix typo in 'sessionCheck' function name 2019-06-07 22:26:20 -06:00
zeruth
66cd539190 Various
Adds http-api for our session service
Also fixes HA values, for some reason GE values arent working, will look into.
2019-06-07 01:32:05 -04:00
zeruth
882be3cb71 Merges Injector
Welcome to the new world boys.
2019-06-06 20:47:41 -04:00
zeruth
9c536ce939 Finished pre patch day merge 2019-05-23 01:39:15 -04:00
James Munson
7a2bd95f3b switch to our session endpoint 2019-05-20 20:40:04 -07:00
Tomas Slusny
e4cd2bb0b9 Support specifying API endpoins via java props
- Add support fo specifying runelite.session.url java prop to be used
instead of RuneLite session base
- Add support fo specifying runelite.http-service.url java prop to be used
instead of RuneLite api base url
- Add support fo specifying runelite.ws.url java prop to be used
instead of RuneLite websocket url
- Add support for specifying runelite.static.url java prop to be used
instead of RuneLite s.r.n url

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-05-17 00:42:30 +02:00
Tomas Slusny
6071592e57 Change RuneLiteAPI#apiRoot to #sessionBase
- Rename apiRoot method to sessionBase method
- Move /session context path to sessionBase method

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-05-17 00:40:52 +02:00
Lucwousin
6a3afa085b Use runeliteplus.properties for settings instead of runelite.properties (#240) 2019-05-13 10:46:41 +01:00
James
b69578d93d Update (#233)
* xp tracker: display >1m exp with thousandths precision

* fishing plugin: fix trawler timer with one tick left

* Remove gray pixel from Dragon Scimitar cursor (#8725)

* ui: add SplitComponent

SplitComponent is a component containing two other components, with the area split between the two, either horizontally or vertically.


Co-authored-by: Jasper Ketelaar <Jasperketelaar@kpnmail.nl>

* client: add smelting plugin

Co-authored-by: Adam <Adam@sigterm.info>

* constants: add GAME_TICK_LENGTH and use where needed

Also update many usages of 20ms to CLIENT_TICK_LENGTH

* regenmeter: add option to notify before next hp regen

* barrows plugin: add prayer drain timer

* chat: ensure queued messages are always cleared after adding

Mark queued message type as non null because addChatMessage will throw
if it is. This was causing the client to get stuck trying to add the
same broken message each loop.

* xp tracker: show on canvas

Co-authored-by: Jasper Ketelaar <Jasperketelaar@kpnmail.nl>

* party plugin: add partyinfo debug command

* xp tracker: add start and goal levels to on-canvas tracker

* xp tracker (onscreen): add toggle between displaying XP Left/XP Gained

* xp tracker: add right-click configure on on-screen trackers

* party service: check joins are for the current party

The server can resume party membership on handshake to parties other
than the current client party (eg. if the client is restarted or for any
other reason the current party changes). This desyncs otherwise if the
joins aren't checked to be in the current party.

* Add options for actions left and done for on screen XP

Add configurable option for on screen XP display mode, what now
includes:
- Actions done
- Actions left
- Xp gained
- Xp left

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>

* Update Merge branch

# Conflicts:
#	README.md
#	runelite-api/src/main/java/net/runelite/api/widgets/WidgetID.java
#	runelite-client/src/main/java/net/runelite/client/plugins/antidrag/AntiDragConfig.java
#	runelite-client/src/main/java/net/runelite/client/plugins/barbarianassault/BarbarianAssaultOverlay.java
#	runelite-client/src/main/java/net/runelite/client/plugins/barbarianassault/BarbarianAssaultPlugin.java
#	runelite-client/src/main/java/net/runelite/client/plugins/barbarianassault/Calls.java
#	runelite-client/src/main/java/net/runelite/client/plugins/barbarianassault/Game.java
#	runelite-client/src/main/java/net/runelite/client/plugins/barbarianassault/Wave.java
#	runelite-client/src/main/java/net/runelite/client/plugins/blastmine/BlastMineOreCountOverlay.java
#	runelite-client/src/main/java/net/runelite/client/plugins/inventoryviewer/InventoryViewerOverlay.java
#	runelite-client/src/main/java/net/runelite/client/plugins/smelting/SmeltingConfig.java
#	runelite-client/src/main/java/net/runelite/client/plugins/smelting/SmeltingOverlay.java
#	runelite-client/src/main/java/net/runelite/client/plugins/smelting/SmeltingPlugin.java
#	runelite-client/src/main/java/net/runelite/client/plugins/smelting/SmeltingSession.java
#	runelite-client/src/main/java/net/runelite/client/plugins/xptracker/XpInfoBoxOverlay.java
#	runelite-client/src/main/java/net/runelite/client/plugins/xptracker/XpTrackerPlugin.java
#	runelite-client/src/main/java/net/runelite/client/ui/overlay/components/ComponentOrientation.java
#	runelite-client/src/main/java/net/runelite/client/ui/overlay/components/SplitComponent.java

* client: use immutablemap for maps built in class initializers

* Merge branch 'master' of https://github.com/runelite/runelite into updateee

* Fix
2019-05-12 18:32:18 -06:00
James
33885b86f1 Update BA Plugins, Update from RL master (#226)
* xp tracker: display >1m exp with thousandths precision

* fishing plugin: fix trawler timer with one tick left

* Remove gray pixel from Dragon Scimitar cursor (#8725)

* client: add smelting plugin

Co-authored-by: Adam <Adam@sigterm.info>

* constants: add GAME_TICK_LENGTH and use where needed

Also update many usages of 20ms to CLIENT_TICK_LENGTH

* regenmeter: add option to notify before next hp regen

* barrows plugin: add prayer drain timer

* chat: ensure queued messages are always cleared after adding

Mark queued message type as non null because addChatMessage will throw
if it is. This was causing the client to get stuck trying to add the
same broken message each loop.

* party plugin: add partyinfo debug command

* party service: check joins are for the current party

The server can resume party membership on handshake to parties other
than the current client party (eg. if the client is restarted or for any
other reason the current party changes). This desyncs otherwise if the
joins aren't checked to be in the current party.

* Updated barbassault/ba tools

* Update
2019-05-12 10:16:04 +01:00
Adam
7e6476ce67 party service: check joins are for the current party
The server can resume party membership on handshake to parties other
than the current client party (eg. if the client is restarted or for any
other reason the current party changes). This desyncs otherwise if the
joins aren't checked to be in the current party.
2019-05-11 19:59:51 -04:00
James Munson
f6f1a4b7d0 Update 2019-04-24 17:22:23 -07:00