Commit Graph
100 Commits
Author SHA1 Message Date
Adam 181b6f0c1c api: add event for controlling menu left click behavior 2019-03-19 00:32:25 +00:00
Adam 11993150b3 news service: load news over https
https was not supported before, but it seems to be working now.
2019-03-17 15:33:51 -04:00
Adam b288a4899d client: load jagex config and client over https
This has only recently started working, but I am not sure when.
2019-03-17 15:33:51 -04:00
Adam a405ffd4eb Merge pull request #8230 from Nightfirecat/fix-boost-indicator-threshold-overlay-color
boosts plugin: Fix overlay below-threshold color
2019-03-17 13:30:27 -04:00
Adam 255cfc1b7b Merge pull request #8234 from trimbe/iteminfo-esc
item stats: check if GE container is hidden when detecting GE close
2019-03-17 13:20:52 -04:00
Adam b98b7aebb9 travis: add openjdk11
Fix build for Java 11
2019-03-15 22:05:31 -04:00
Adam b7546bb30a Merge pull request #5770 from Nightfirecat/attack-level-range-plugin
Add attack level range to combat level plugin
2019-03-15 20:50:11 -04:00
Adam 5ba8f71b48 Merge pull request #7847 from deathbeam/swagger-static
Add Swagger static document generation
2019-03-14 16:07:17 -04:00
Adam 94cf9476c3 Merge pull request #8197 from trimbe/fix-ge-close-itemstats
item stats: fix detecting when GE has closed, fix threading issue
2019-03-13 16:50:23 -04:00
Adam 8db9681809 Merge pull request #6947 from trimbe/item-information
Item Stats: Add item information panel when buying items in the GE
2019-03-12 16:13:53 -04:00
Adam 60b3ed18c0 xptracker: fix initiailizing overall xp on login
The isInitialized() check was not strict enough causing the xp events on
login being calculated twords gained xp

Also fix xp tracker not being initialized on accounts with 0
construction exp due to the result of updateSkill not being INITIALIZED

Closes #8167
2019-03-12 09:02:21 -04:00
Adam 806c045157 Merge pull request #8154 from pwendelboe/master
Check message length before use.
2019-03-12 08:47:09 -04:00
AdamandPaul Wendelboe 0562e9e49e chat commands: check message length before use
If we don't check the length of the message before we access it with substring(command.length() + 1) we will get a string index out of range error.

Co-authored-by: Paul Wendelboe <pwendelboe.git@gmail.com>
2019-03-12 08:29:16 -04:00
Adam d617d1960f friend notes: replace nbsp from friend names in config keys 2019-03-11 18:17:16 -04:00
Adam 6371a7dd0b config manager: throttle config saves to file
When the default config is applied it queues a lot of saves to disk that
are unnecessary
2019-03-11 09:04:33 -04:00
Adam b9a0a73213 Merge pull request #8128 from Nightfirecat/multi-color-ground-markers
Add support for different-colored ground markers
2019-03-09 23:31:28 -05:00
Adam 40ea7fa607 cache: assign temporary names for new varc string opcodes 2019-03-07 08:38:55 -05:00
Adam c5ebc9547c api: update 178 2019-03-07 08:38:55 -05:00
Adam 420744c7a7 session manager: change to null session on close
This fixes not assigning null to the websocket session id, which
prevented re logging in later due to login() reusing the closed sockets
id.

Fixes #8089
2019-03-06 19:09:11 -05:00
Adam 8a6a6f93bf account plugin: move logout off of swing thread 2019-03-06 19:08:20 -05:00
Adam c74ce60987 clan chat: cleanup onGameStateChanged logic from earlier merge 2019-03-06 18:51:38 -05:00
Adam 3e5f845ebd Merge pull request #8105 from deathbeam/clan-member-join-leave
clanchat: Update clan members set on clan chat join/leave events
2019-03-06 18:50:33 -05:00
Adam 36b6e7083f Merge pull request #8117 from devLotto/api-fix-twitter-feed
http-service: fix twitter feed links not working with newer theme
2019-03-06 18:01:25 -05:00
Adam 33988a72e1 Revert "Merge pull request #5890 from Nightfirecat/colored-ground-markers"
This reverts commit 72b3e4560d, reversing
changes made to 5a5de3d33f.
2019-03-06 14:53:59 -05:00
Adam 66bce610db Revert "Merge pull request #8070 from Nightfirecat/fix-ground-markers-bug"
This reverts commit b6cd739e61, reversing
changes made to 5bf4b37d17.
2019-03-06 14:53:45 -05:00
Adam 21bc06a13c Merge pull request #8088 from Adam-/xptracker-overall
xptracker: correct total xp per hour calculation
2019-03-05 20:15:50 -05:00
Adam 39a2272396 Merge pull request #8110 from trimbe/remove-on-leave
clanchat: remove activity in buffer in ClanMemberLeft as well
2019-03-05 20:15:13 -05:00
Adam 259dc2b7d2 Merge pull request #8073 from chivesrs/master
Remove Monkey Madness I requirement from Kourend Diary.
2019-03-04 17:05:19 -05:00
Adam ed4bea9bca Merge pull request #8051 from ShaunDreclin/daily-task-indicator-fix
Daily Task Indicator: Fix plugin not checking tasks when first enabled
2019-03-04 15:51:10 -05:00
Adam 5af01093bf Merge pull request #8077 from ShaunDreclin/rogues-den-update
Update Rogues' Den plugin to use ItemContainerChanged event
2019-03-04 15:25:06 -05:00
Adam 913fa30c84 Merge pull request #8080 from chivesrs/fix-checkstyle-errors
Fix CheckStyle issues and enable CheckStyle in test code.
2019-03-04 15:17:12 -05:00
Adam 2cf177688f Merge pull request #7904 from deathbeam/cleanup-spring-profiles
Properly use Spring profiles in http-service tests and main implementation
2019-03-04 14:01:34 -05:00
Adam 03db31de2f Merge pull request #8095 from trimbe/joinleave-rank-visibility
clanchat: respect rank icon config for join/leave messages
2019-03-03 21:00:56 -05:00
Adam 1da6dfef44 Merge pull request #8092 from trimbe/fix-joinleave-ranks
clanchat: retrieve rank from ClanMember rather than ClanManager
2019-03-03 21:00:41 -05:00
Adam 24bda9265a Merge pull request #6943 from TheStonedTurtle/PM-CC-Icons
Add CC icons to Public Chat & Private Messages
2019-03-03 20:58:29 -05:00
Adam fff48acaac Merge pull request #8081 from chivesrs/use-junit-assert
Replace Java asserts in test code with JUnit asserts.
2019-03-03 20:17:14 -05:00
Adam 5104b39758 Merge pull request #8064 from trimbe/clan-join-leave
clan chat: add temporary join/leave messages
2019-03-03 15:17:38 -05:00
Adamandtrimbe fdbe75a486 clanchat plugin: add join/leave messages
Co-authored-by: trimbe <benno.tremback@gmail.com>
2019-03-03 15:05:28 -05:00
Adamandtrimbe e5f9db4fb4 api: add methods to get clan owner and chat name
Co-authored-by: trimbe <benno.tremback@gmail.com>
2019-03-03 15:03:43 -05:00
Adamandtrimbe facf438b50 api: add clan member join and leave events
Co-authored-by: trimbe <benno.tremback@gmail.com>
2019-03-03 15:03:43 -05:00
Adamandtrimbe 24003c69a7 api: add method to remove MessageNodes
Co-authored-by: trimbe <benno.tremback@gmail.com>
2019-03-03 15:03:43 -05:00
Adam 188bb70417 xptracker: use long for tracking overall xp 2019-03-03 14:41:17 -05:00
Adam 319ccb68e4 xptracker: use tracked overall xpstate to calculate total xp 2019-03-03 14:29:14 -05:00
Adam 615a9db968 xptracker: remove unused exception 2019-03-03 14:29:08 -05:00
Adam 9b0bb2b732 runescape-api: make RSNameableContainer a generic type 2019-03-02 18:37:08 -05:00
Adam cbd36ff379 Merge pull request #8049 from ShaunDreclin/music-track-indicator
Add Music Track Indicator plugin
2019-03-02 16:06:57 -05:00
Adam 5bf4b37d17 Merge pull request #8046 from Nightfirecat/fix-poh-groundmarkers
worldpoint: Fix plane value in toLocalInstance
2019-03-02 14:22:54 -05:00
Adam b6ab78b501 api: add changed varp index to VarbitChanged event 2019-03-01 22:28:56 -05:00
Adam 9d71713710 Move session events from api to client 2019-03-01 21:41:51 -05:00
Adam 5e9d0c1abb mixins: inject Client constructor for initialization of enumCache 2019-02-26 08:50:44 -05:00
Adam b86061dc80 http service: remove ws service
This has been unused now for a few releases
2019-02-25 17:38:01 -05:00
Adam 1dee0120be cerb plugin: clear ghosts on connection lost too 2019-02-25 16:54:49 -05:00
Adam 81b98c1896 Revert "Clear Cerberus ghost on LOADING game state"
This reverts commit b99c8d7480.
2019-02-25 16:54:49 -05:00
Adam 0821cf216d Clear stored npcs in fishing/pc/rc plugins
Fixes #5970

This was originally attempted in 7eeb484c64 but
NPCs are not automatically despawned from a scene change, which causes eg. the
fishing plugin to lose fishing spots that are in view during a scene change.
2019-02-25 16:54:48 -05:00
Adam 01bfb8af19 Revert "Clear stored npcs in fishing/pc/rc plugins"
This reverts commit 7eeb484c64.
2019-02-25 16:54:48 -05:00
Adam 5cdb642815 client: fix indenting of getItemCompositionCache javadoc 2019-02-25 16:54:07 -05:00
Adam 5118fb6786 Merge pull request #7997 from Adam-/enum
api: add RS Enum API
2019-02-25 16:51:04 -05:00
Adam 7830d003ca api: add RS Enum API 2019-02-25 16:40:26 -05:00
Adam 368a080ad0 xptracker: up xp threshold to 10k 2019-02-24 17:44:30 -05:00
Adam e4250c5d3b xptracker service: only update last_updated after hiscores are saved 2019-02-24 17:44:30 -05:00
Adam 77e8933dbc Merge pull request #7965 from deathbeam/fix-text
Do not try to draw infobox caption if text is null or empty
2019-02-21 11:11:52 -05:00
Adam 66997ac71b item prices: show negative high alch profits too 2019-02-21 10:43:47 -05:00
Adam 3c1da4bb1e http service: disable spring jmx
Multiple api deployments is causing Spring to try to register the
datasources multiple times and is erroring
2019-02-21 08:51:39 -05:00
Adam 8923dae45e client: only enable developer mode if launcher version isn't set 2019-02-20 19:29:13 -05:00
Adam 2f9185e67c Merge pull request #7915 from medesetmedes/my-fix-branch
Add the option to show the profit/loss of High Alchemy on items
2019-02-20 08:36:32 -05:00
AdamandMedes 3cf17cb6e5 item prices: add high alch profit to overlay
Co-authored-by: Medes <ahmadissa1994@gmail.com>
2019-02-20 08:02:02 -05:00
Adam 9c6e3ae09f Merge pull request #7695 from MrGroggle/agility-update
Agility plugin clickbox - High level colours
2019-02-19 21:16:25 -05:00
Adam 435bfa7ccb Merge pull request #7811 from Hydrox6/jewellry-infobox
Add infoboxes to item charges plugin
2019-02-19 19:10:50 -05:00
Adam 06d4adc5e4 client: change Counter infobox to store count as an integer 2019-02-19 10:04:42 -05:00
Adam 643950d4dc Merge remote-tracking branch 'adam/spring-gson-2' 2019-02-19 08:52:36 -05:00
Adam 38bf2a57ac Merge pull request #6875 from TheStonedTurtle/PrivateMessageCycle
Add PM Target Cycling to Chat History plugin
2019-02-18 21:32:56 -05:00
Adam 6186314dbc http service: fix overwriting all default message converters
The previous change to try and force GSON for serialization broke
default message converters such as text/plain. Change to use
extendMessageConverters and remove the Jackson converter instead.
2019-02-18 16:39:34 -05:00
Adam f62e7e3f14 config controller: add test 2019-02-18 16:39:01 -05:00
Adam aa5789b843 config service: split into service and controller 2019-02-18 16:38:36 -05:00
Adam 827a91b7ef Merge pull request #7892 from Abextm/vm-stack
mixins: Include game crash string in log
2019-02-18 08:45:54 -05:00
Adam c379e631d5 Merge branch 'spring-datasource' 2019-02-17 18:01:27 -05:00
Adam 38cdbfcb6b http service: use http-api gson instance 2019-02-17 17:59:54 -05:00
Adam c55491cc11 http service: add loottracker controller test 2019-02-17 17:59:54 -05:00
Adam 2a41d88c29 http service: use spring datasource configuration 2019-02-17 17:59:53 -05:00
Adam fe2eba06a7 http service: use gson instead of jackson for json serialization
This fixes deserailization of the loot timestamps for the loot tracker,
and maybe other things. Note this does not use the same Gson instance as
http-api as Spring creates its own Gson, however they are both default
Gson instances.
2019-02-16 21:14:17 -05:00
Adam ca8ee682fa Merge pull request #7824 from Abextm/decorative-hulls
Fix DecorativeObject ConvexHulls
2019-02-16 19:15:18 -05:00
Adam b855371d8b xptracker: treat players with rank -1 as unranked 2019-02-16 19:02:50 -05:00
Adam 5b16aa2365 Merge pull request #7788 from Adam-/groundmarker-cleanup
api: add method to find instanced tiles in the scene
2019-02-16 18:51:18 -05:00
Adam 5a6485326a Merge pull request #7886 from Adam-/xptracker-limit
xptracker: limit how often the same players are looked up
2019-02-16 17:51:33 -05:00
Adam bc0ec093dc xptracker: limit how often the same players are looked up
Use player rank to set how often the same player is allowed to be looked
up. Replace the ConcurrentLinkedDeque with a synchronized ArrayDeque
which has a constant time size().
2019-02-15 21:04:42 -05:00
Adam c2a054ca26 Merge pull request #7843 from deathbeam/add-time-to-loot-rect
loottracker service: include time in loot record
2019-02-13 18:28:12 -05:00
Adam 25e05d9706 Merge pull request #6708 from Abextm/wiki-plugin
Wiki plugin
2019-02-12 18:01:33 -05:00
Adam b008cf33a6 Merge pull request #7834 from deathbeam/add-loot-tracker-offset
Add offset to loot tracker API
2019-02-12 18:01:14 -05: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
Adam 31e1e2563b api: add method to find instanced tiles in the scene
Use in groundmarkers plugin
2019-02-10 12:35:18 -05:00
Adam 55395b6708 loottracker service: correct kills foreign key 2019-02-10 11:26:47 -05:00
Adam bc932a7942 scene uploader: swap seColor/nwColor which had their mappings swapped 2019-02-09 22:53:09 -05:00
AdamandHydrox6 1994de7270 client: add poison plugin to track poison damage
Co-authored-by: Hydrox6 <ikada@protonmail.ch>
2019-02-09 22:52:46 +01:00
Adam 860aa89a4d http api: rename OSB ge classes with OSB prefix 2019-02-09 11:41:30 -05:00
Adam a211e39cfd plugin manager test: check plugins don't error when registering with eventbus 2019-02-08 18:27:15 -05:00
Adam 1ef57e3dd5 Merge pull request #7719 from Adam-/chatevents
Merge SetMessage and ChatMessage event into one
2019-02-07 20:55:30 -05:00
Adam b0f29aab0a client: update SetMessage usages to ChatMessage 2019-02-07 19:42:25 -05:00
Adam d4682746c7 api: remove SetMessage event 2019-02-07 19:42:25 -05:00
Adam d7e605f051 api: add MessageNode and timestamp to ChatMessage event 2019-02-07 19:42:24 -05:00