Commit Graph

145 Commits

Author SHA1 Message Date
Adam
a1122ba141 ge: fix computing bought/sold amount
Use the total spent price instead of the delta spent price, as it is
being divided by the total quantity
2020-06-06 10:35:20 -04:00
Adam
2dd6fa41e9 ge: include both delta qty and qty 2020-06-04 10:14:01 -04:00
Adam
a803ba567b ge: include slot id 2020-06-03 20:44:45 -04:00
Adam
c67378c09e ge plugin: include if trade is synced on login 2020-06-01 09:56:09 -04:00
Adam
83756e8722 ge: submit spent price instead of computed per-item price 2020-06-01 09:56:09 -04:00
Adam
6a2e15643f ge plugin: include world type in trades 2020-05-30 20:06:33 -04:00
Adam
17d6921a4a ge plugin: submit partially completed trades 2020-05-30 19:26:43 -04:00
Adam
6d46bb09c4 ge plugin: submit trades even when not logged in 2020-05-30 19:26:43 -04:00
Adam
2622cc2ac6 http-api: use separate class for ge trade history 2020-05-30 19:26:43 -04:00
Adam
d25546f5db Add dmmt world type and tournament hiscore endpoint 2020-05-01 10:25:50 -04:00
Trevor
fae69d4fd2 loot tracker plugin: submit loot on client shutdown (#11243) 2020-04-10 15:51:09 -06:00
Max Weber
e83d1e6b72 runelite-client: add ClientShutdown event
This should hopefully make the client not corrupt it's cache randomly,
and prevents the config sets from racing shutdown
2020-04-09 16:04:39 -06:00
Abex
165bbbb622 Merge pull request #11195 from abextm/rm-npc-names
http-api: remove unused fields from NPCInfo
2020-04-09 11:43:29 -06:00
Adam
670e62b6b9 item service: remove old item searching and item lookup methods
We haven't used this code in awhile. Additionally modify the price
crawler to re-fetch known items in the event the name or examine
changes.
2020-04-07 16:09:30 -04:00
Max Weber
6a0fd2a0d0 http-api: remove unused fields from NPCInfo
These fields are never used. If we need this information we can get it
from the client's cache
2020-04-04 05:21:19 -06:00
Adam
c930a5d261 http-api: add world region to World
Add a WorldRegion to convert from location id to region

Co-authored-by: melkypie <melkypie@users.noreply.github.com>
2020-03-24 11:54:54 -04:00
Adam
5a46abddc5 Use GE limits from item stats 2020-02-24 15:02:47 -05:00
dekvall
976ecd8f6b hiscores: add nightmare boss 2020-02-13 07:13:12 +01:00
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