Commit Graph

150 Commits

Author SHA1 Message Date
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
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
Adam
fdf308a694 loot tracker client: add get and delete methods 2018-12-28 18:18:40 -05:00
Adam
021fdbeba7 Merge pull request #7056 from jakespeare/Jakespeare/Fix_Subtract_Typos
Fix Typo in ItemStats: "substracted" to "subtracted"
2018-12-23 18:47:25 -05:00
Jake Schaum
65d8cda020 Fix ItemStats/ItemStatOverlay Typos "substracted" to "subtracted" 2018-12-22 16:24:56 -06:00
Adam
3d9c962c6f Remove old session service and replace usages with new one
The new service was split off into a separate repository
2018-12-22 14:31:18 -05:00
Adam
afa98bb868 loottracker client: close response body 2018-12-20 21:59:56 -05:00
Adam
682bf8d77d http api: add loot tracker service and client
Co-authored-by: TheStonedTurtle <29030969+TheStonedTurtle@users.noreply.github.com>
2018-12-14 18:19:16 -05:00
Tomas Slusny
ffb2f15973 item stats: add support for equipment stats 2018-12-11 20:29:44 -05:00
Jordan Atwood
716144ff87 Add DMM Tournament world type 2018-12-08 18:03:43 -08:00
Adam
aaa00d0200 Remove update check service and client 2018-11-22 19:08:30 -05:00
Adam
e1dac1f2e7 http-api: lombok HiscoreResult 2018-10-31 19:10:19 -04:00
Magic fTail
803a019a27 http api/service: update Jagex hiscore API 2018-10-31 19:10:19 -04:00
Adam
47cf5e543f http api/service: map .js to application/json and use in http clients
This is to trick the CDN into caching responses
2018-10-29 15:26:48 -04:00
Adam
7adca5bda2 http-api: modify ItemPrice to contain id/name instead of Item 2018-10-07 12:43:22 -04:00
Tomas Slusny
ec014798ca Return null instead of IllegalArgumentException from hiscore
- Return null instead of throwing IllegalArgumentException from hiscore
(this was how it worked before)
- Add null checks and for hiscoreClient

Fixes #5513

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-09-17 16:48:05 +02:00
Tomas Slusny
89b8bc52ca Make HiscoreClient call the OSRS hiscore API directly 2018-09-14 15:31:50 -04:00
Adam
8be49e1604 http-api: use https for hiscore urls
These have started to return 302 moved to https now.
2018-09-12 07:50:38 -04:00
Jordan Atwood
547f037330 Remove unused @Slf4j annotations and imports 2018-08-05 10:27:01 -07:00
Tomas Slusny
027c3ce843 Add Tournament world type
Fixes #4682

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-03 22:26:34 +02:00
Adam
80fe6d4788 Add killcount command 2018-07-08 16:47:12 -04:00
Adam
17d0f49aee hiscore client: check response code of hiscore lookups 2018-06-26 19:19:13 -07:00
Adam
a1ae397e11 runelite-client: use new bulk item price api 2018-06-18 09:35:10 -04:00
AeonLucid
abcc733c9e ge plugin: add OSB actively traded price 2018-06-15 17:33:30 -04:00
Adam
2bc5c4eddd xtea plugin: batch xteas on gamestate change event 2018-06-07 18:08:56 -04:00
Jeremy Plsek
025ed157f3 enqueue most post/put/delete requests
Instead of using the global SingleThreadedExecutor for some requests,
use enqueue method of okhttp.
This should hopefully help with some plugins, and more specifically the
ui from freezing while the online api is down.
2018-05-28 18:32:48 +01:00
Adam
aa35b2c218 http-service: lombok item api 2018-05-13 08:42:00 -04:00
Max Weber
6f55163152 http-api: print a more helpful error message when resources are not filtered 2018-05-10 17:47:58 -04:00
Lotto
17413db715 Revert "hiscore panel: fix total level breakage" 2018-04-16 23:01:57 +02:00