Commit Graph

127 Commits

Author SHA1 Message Date
Adam
4d5857214e loot tracker: add pickpocket events
Co-authored-by: Daniel Cimento <daniel.cimento@mail.mcgill.ca>
2020-02-10 18:27:01 -05:00
Adam
f6640844b5 Use wiki scraped npcs for npc healths 2020-01-22 09:18:29 -05:00
Adam
97b4f0d56f loot tracker: store aggregated drops
This modifies both the service and the client plugin to no longer store
loot per-kill, with the exception of the current sessions kill log. The
amount of loot data returned now from the service defaults to the last
1024 unique events
2020-01-18 21:56:56 -05:00
Hydrox6
90ce907ade hiscore api: add Callisto and Cerberus 2020-01-06 13:52:43 +00:00
Adam
3cf777d274 hiscore plugin: add boss hiscores
Co-authored-by: Abex <mii7303@gmail.com>
Co-authored-by: Gamma91 <bramvgemert@gmail.com>
2020-01-05 10:10:49 -05:00
Gamma91
062d1b99b9 hiscore skill: fix spelling of commander zilyana 2020-01-05 10:10:49 -05:00
Adam
e789c72333 hiscore result builder: fix building hiscore result with no boss hiscores
THe seasonal hiscore endpoint doesn't include boss hiscores
2019-12-11 12:21:13 -05:00
Adam
9ae4e772a4 http-api: update for boss hiscores
This leaves Callisto and Cerberus commented out as they are currently
not being returned by the hiscores
2019-12-08 20:43:48 -05:00
Adam
6f5a719cfb world client: always return non null or throw an error 2019-11-25 09:47:05 -05:00
Adam
7463d2de1a api: add league world type
Co-authored-by: Hydrox6 <ikada@protonmail.ch>
2019-11-15 10:29:15 -05:00
Adam
fab50b1725 http api: update hiscore for leagues
Co-authored-by: Hydrox6 <ikada@protonmail.ch>
2019-11-15 10:29:12 -05:00
Adam
bcf89dce92 Remove DEADMAN_TOURNAMENT world type
Co-authored-by: Hydrox6 <ikada@protonmail.ch>
2019-11-15 10:29:09 -05:00
Adam
71d2e74732 Remove SEASONAL_DEADMAN world type
Co-authored-by: Hydrox6 <ikada@protonmail.ch>
2019-11-15 10:28:59 -05:00
Adam
f3a52b1113 Add layout chat command 2019-10-28 20:10:35 -04:00
Adam
a2166f1215 http-api: centralize json mediatype 2019-10-28 18:05:35 -04:00
Adam
f49670cd5b Use caching okhttp client for worldclient 2019-10-02 15:59:53 -04:00
Adam
9c5b36cec7 item manager: use caching okhttp client 2019-10-02 15:59:53 -04:00
Adam
2af98eacfc feed: use caching okhttp client 2019-10-02 15:59:53 -04:00
Adam
c8ffa3994d loot tracker: batch loot submissions 2019-08-19 12:15:00 -04:00
Tomas Slusny
00a4c627c5 party: add party chat messages
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-07-27 16:02:45 -04:00
Robert Alexander
8ee3e483f4 chat commands: add duel arena chat command 2019-06-27 21:38:55 -04:00
Jacob McElroy
8757d25bd3 chat commands: add ba high gamble command 2019-06-27 17:27:09 -04:00
William Collishaw
462818aad7 Fix typo in 'sessionCheck' function name 2019-06-07 22:26:20 -06: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
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
Jordan Atwood
5bebd34bbf WorldType: Fix HIGH_RISK world type name
This world type is not specifically a PVP world type; at the time of
this commit, world 365 is a non-PVP high-risk world, where the world is
the same as a regular members' world, except that the Protect Item
prayer is disabled.
2019-04-23 13:03:41 -07:00
Adam
ee216e0c43 http api: update for beginner clues
Co-authored-by: Robin Rijkeboer <robin.rijkeboer@itonomy.nl>
2019-04-11 20:54:39 -04:00
Nathaniel Ngo
84009901cb Log whole HTTP response instead of just message (#8126)
Response message is usually either empty or not useful.

Closes #8042
2019-03-19 01:58:46 +01:00
Tomas Slusny
ab4c2e51b8 Remove unnecessary .get() on OkHttp request
GET is default method for OkHttp request builder, no need to explicitely
define it.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-03-05 08:58:21 +01:00
Tomas Slusny
14fe12e7d6 Convert item stats mapping to use item ids instead of names
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-27 10:10:52 +01:00
Tomas Slusny
0529d5d144 loottracker service: include time in loot record
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-13 23:51:36 +01:00
Adam
b8866c01d8 Merge pull request #7773 from Adam-/ge2
Add GE history tracker
2019-02-12 18:00:44 -05:00
Adam
da67381ba7 Add GE history tracker
Add http service to log completed trades, and submit trades when
completed.
2019-02-12 17:51:59 -05:00
Noah Pittinger
4d35ea0c20 Add EqualsAndHashCode to Lombok data/value that do not extend Object 2019-02-11 23:51:13 -05:00
Adam
860aa89a4d http api: rename OSB ge classes with OSB prefix 2019-02-09 11:41:30 -05:00
Tomas Slusny
18610d6804 Make party UserSync event extend PartyMemberMessage
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-06 08:12:42 +01:00
Adam
b72c37c0b4 http api: fix useragent test 2019-01-31 20:37:24 -05:00
Adam
c62941855d Use existing sessionid on login if available 2019-01-31 19:47:56 -05:00
Adam
63c3937f87 Use websocket pings 2019-01-31 19:47:55 -05:00
Tomas Slusny
5d07305ac3 Use new /ws service
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-31 19:47:55 -05:00
Tomas Slusny
3fb537a9f5 Add party-related websocket messages
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Co-authored-by: Adam- <adam@sigterm.info>
2019-01-31 19:47:55 -05:00
Tomas Slusny
b676985e3b Make WebsocketGsonFactory more extensible
- Expose methods for creating gson adapters from pre-defined factory
messages + user-specified messages
- Expose methods for creating Gson object from adapter factory

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-31 19:47:55 -05:00
Max Weber
f17633daf9 http-api: Include commit hash in User-Agent 2019-01-31 19:47:49 -05:00
Adam
d228add898 http api: fix GameItem to have a no arg constructor
This was broken with the lombok update from 1.16 to 1.18 and breaks
deserializing of loot tracker requests.
2019-01-27 18:33:10 -05:00
Adam
9d5dad5cad Add !pb chat command 2019-01-26 15:58:35 -05:00
Adam
41ae79437e Add task chat command
Co-authored-by: Spedwards <improbablepuzzle@gmail.com>
2019-01-22 19:13:32 -05:00
Adam
0f8a9b934a http api: add runelite user agent to requests 2019-01-11 10:09:48 -05:00
Adam
b65018ae84 Add qp to chat service 2019-01-05 18:03:23 -05:00
Adam
5192a28cec http service: rename kc to chat 2019-01-05 18:03:22 -05:00