Commit Graph
100 Commits
Author SHA1 Message Date
Adam 277a3ccd35 http-service: use jndi provided mongo 2019-08-08 19:29:51 -04:00
Adam 05ca96c3db cml plugin: fix request throttling
Also update xp threshold to 10k xp
2019-08-08 18:33:32 -04:00
Adam 2ef1f29c13 xptracker: support xp gains when offline
When xp is gained when offline, the tracker calculates it into the
xp/hr, which can lead to very skewed stats due to the tracker being
generally paused when the player is offline.

This offsets the start xp by the gains when offline to correct for it.
2019-08-08 18:33:32 -04:00
Adam 3b40f945a7 xptracker: move initialization until after login
This fixes the xptracker not being properly initialized if it starts up
after the player is already logged in.
2019-08-08 18:33:31 -04:00
Adam f300c541dc xptracker: update lastXp after submitting xp gains
This prevents continious updates on logout after the threshold has been
reached.

Also initialize lastXp when the plugin starts in the event the player is
already logged in.
2019-08-08 18:33:31 -04:00
Adam edfd52af23 config service: validate config values 2019-08-08 17:31:12 -04:00
Adam 4286c680f2 config service: add test for parseJsonString 2019-08-08 17:31:12 -04:00
Adam 730ad1c3c6 config service: return status based on whether set/unset were successful 2019-08-08 17:31:11 -04:00
Adam e41e4d32ca Merge pull request #9557 from deathbeam/snapshot-everything
Snapshot all grahics2d properties in safeRender
2019-08-07 19:54:53 -04:00
Adam d90e4126c7 Merge pull request #9576 from xdesr/divine-pots-item-stats
item stats: add divine potions
2019-08-07 19:52:52 -04:00
Adam 39be499432 Merge pull request #9609 from dekvall/null-head
Disable inventory grid if the dragged item is removed
2019-08-07 19:50:39 -04:00
Adam 74bb3c6acf Merge pull request #9536 from trimbe/camera-effects-gpu
gpu plugin: fix camera effects used for drunkeness and fishing trawler
2019-08-06 09:25:17 -04:00
Adam 0e8d377adf keyremapping: fix race with sending messages and clearing chat input
It is not necessary to clear the chat input when locking chat when a message would be sent.
Currently this races with the key handlers where it can sometimes clear the chatbox input
prior to enter being processed, resulting in dropped messages

This was introduced in b5acb61771
2019-08-06 08:44:31 -04:00
Adam 08fed6dba1 slayer plugin: fix task lookup test 2019-08-03 21:34:28 -04:00
Adam 715c7a26b9 slayer plugin: validate !task name and location 2019-08-03 10:23:28 -04:00
Adam c342f7391a client: cache config values 2019-08-01 20:58:40 -04:00
Adam 3d326a6ee8 client: cache and reuse Graphics 2019-08-01 20:26:13 -04:00
Adam e27459f1f0 chat commands: add guantlet pb 2019-07-31 08:36:37 -04:00
Adam 1b2219374f chat commands: add gg pb 2019-07-31 08:36:37 -04:00
Adam 1ce2e5aa93 chat commands: fix tracking zuk pb 2019-07-31 08:36:37 -04:00
Adam 77371feaf0 Merge pull request #9388 from adwitkow/nmz-points-overlay
nmz: Add total and per hour points to NMZ overlay
2019-07-30 17:20:20 -04:00
Adamandgregg1494 c4ee95d6c7 world hopper: add option to show current world ping
If enabled, the current world is pinged every second and the ping is
drawn in an overlay

Co-authored-by: gregg1494 <gregg1494@gmail.com>
2019-07-30 14:55:47 -04:00
Adam 8282742c1a world hopper: change ping task to ping one world
This will allow other tasks that are scheduled on the hopper executor to
not be blocked for long periods of time due to the world pinger.

This pings, at fixed delay, each world every 3 seconds, which for 200
worlds is at most as often as the previous mass-ping every 10 minutes.
2019-07-30 14:55:47 -04:00
Adam b1ff529e02 fps plugin: move fps off logout button on bottom line mode 2019-07-30 14:55:47 -04:00
AdamandRobbie McLeod 5d884787b7 chat commands: add gauntlet kc
Co-authored-by: Robbie McLeod <rbbi@users.noreply.github.com>
2019-07-29 09:58:00 -04:00
AdamandAlexsuperfly 908fd89830 timers: add divine potions
Co-authored-by: Alexsuperfly <alexcsumner@gmail.com>
2019-07-29 08:53:48 -04:00
Adam 633b7de527 Merge pull request #9472 from Alexsuperfly/sote-world-map-updates
Prifddinas world map icon updates
2019-07-27 23:15:36 -04:00
Adam 3b33f3f7fa Merge pull request #9465 from abextm/prif-farm
timetracking: Support Prifddinas patches
2019-07-27 22:16:31 -04:00
Adam 6b8bf9c401 Merge pull request #9466 from abextm/prif-agility
agility: Support Prifddinas course
2019-07-27 22:10:38 -04:00
Adam 5b17512d6a Merge pull request #9470 from Alexsuperfly/elven-crystal-chest
loot tracker: add Elven Crystal Chest
2019-07-27 22:04:03 -04:00
Adam 8e33b7431c Merge pull request #9481 from abextm/prif-skybox
Skybox: Add Prifddinas and Iorwerth dungeon
2019-07-27 21:55:51 -04:00
Adam 965682df6f loot tracker: fix HERBIBOAR_EVENT name typo 2019-07-26 21:13:48 -04:00
AdamandMatthew Smith c801c05551 grounditems: add despawn timers
Co-authored-by: Matthew Smith <matthew.smith813@gmail.com>
2019-07-26 13:41:39 -04:00
Adam 38e64ee5bd Merge pull request #9428 from abextm/parallel-patch
Download and patch the client in parallel with startup
2019-07-26 13:36:52 -04:00
Adam c3f4a57e6a Merge pull request #9359 from Nightfirecat/add-skill-xp-tracker-menu-options
Add skill tab canvas menu options
2019-07-25 15:50:30 -04:00
Adam f2cfea57cc chatfilter test: remove player bind 2019-07-24 15:10:47 -04:00
Adam 6d3f1208a0 Merge pull request #9389 from Nightfirecat/tag-to-untag
Use "Un-tag" and "Unmark" menu options for tagged NPCs and marked objects/tiles
2019-07-24 10:48:01 -04:00
Adam 29533cd6c7 client: change item layer item uages to TileItem 2019-07-23 22:28:32 -04:00
Adam 2ffe3affbc api: rename Item to TileItem and add Item value class
Item was actually the renderable Item and is being misused for
ItemContainer items
2019-07-23 22:16:31 -04:00
Adam 3700876cf8 Merge pull request #9417 from Adam-/tooltip-crash
Fix tooltip error handling
2019-07-23 20:39:00 -04:00
Adam 877df92d11 tooltip component: fix exception from malformed tags 2019-07-23 20:30:50 -04:00
Adam 34243f727c tooltip overlay: move tooltip clearing to a finally block
Tooltips must always be cleared after each frame, and the overlay is
responsible for this. This fixes tooltips erroneously stacking up in the
event of an exception in the overlay
2019-07-23 20:30:49 -04:00
Adam 262fa3ba47 ovelay renderer: more gracefully handle exceptions
If an overlay throws an exception it should not prevent other overlays
in the layer from being rendererd.
2019-07-23 20:30:49 -04:00
Adam b75cb1553d Merge pull request #9429 from abextm/imageio-cache
runelite-client: Don't write all images to disk when loading them
2019-07-23 20:28:59 -04:00
Adam 08c39d36d1 Merge pull request #9425 from abextm/remove-widgetpositioned-external
runelite-api Remove WidgetPositioned
2019-07-23 20:21:39 -04:00
Adam 4aa0cb14b7 api: mark getItemDefinition as nonnull 2019-07-23 20:18:07 -04:00
Adam 2825e29a43 Merge pull request #9426 from abextm/startup-deadlock
Revert "Shutdown plugins on window close"
2019-07-22 10:38:27 -04:00
AdamandTheStonedTurtle a6fb21bc99 bank plugin: add seed vault
Co-authored-by: TheStonedTurtle <mgoodwin559@gmail.com>
2019-07-16 19:39:46 -04:00
AdamandTheStonedTurtle 2b2983242f bank plugin: refactor to allow pricing multiple containers
Co-authored-by: TheStonedTurtle <mgoodwin559@gmail.com>
2019-07-16 19:39:46 -04:00
Adam 4bcaf1b9b6 Merge pull request #9360 from Nightfirecat/fix-jad-zuk-task-tracking
slayerplugin: Correct Jad and Zuk task tracking
2019-07-15 16:56:29 -04:00
Adam 570de63d3d Merge pull request #9335 from Nightfirecat/ground-items-recolor-telegrab-entries
grounditemsplugin: Color telegrab menu entries
2019-07-15 16:18:16 -04:00
Adam c7ab9eeb3c Merge pull request #9362 from Quasindro/motherlode-respawn-threshold
mlm: fix ore vein max respawn time threshold
2019-07-15 14:13:20 -04:00
Adam be8d5d1f13 Merge pull request #9275 from abextm/empty-cache-firsttime
runelite-client: Handle startup with an empty cache better
2019-07-15 11:09:15 -04:00
Adam 5844c7c5de imp plugin: handle npc changes to imps
The imps in puro-puro will change into imps after spawning as a null
npc. Previously this would not track imps unless you happened to walk
into visibility of one while it was an imp.
2019-07-12 11:38:36 -04:00
Adam f9de6f53fb imp plugin: cleanup
Add imp tag, remove unnecessary declared exceptions, and clear npcs on
shutdown
2019-07-12 11:38:35 -04:00
AdamandWooxSolo caaf98a859 api: add npc changed event
Co-authored-by: WooxSolo <twoxsolo123@gmail.com>
2019-07-12 11:38:05 -04:00
Adam 46811b52eb Merge pull request #9328 from raiyni/fix-mta
mta: fix Telekinetic solver not moving
2019-07-11 20:32:36 -04:00
Adamandgregg1494 62e877de5c chat filter: add option to filter login notifications
Co-authored-by: gregg1494 <gregg1494@gmail.com>
2019-07-09 14:11:46 -04:00
Adam 7f7a71eb38 api: add item container id to item container changed event 2019-07-09 09:23:38 -04:00
AdamandChet Powers 39e66af623 keyremapping: add F-key remap for escape
Co-authored-by: Chet Powers <ccpowers@bu.edu>
2019-07-08 18:13:03 -04:00
AdamandChet Powers 3125b74f4f keyremapping: allow custom keybinds for F keys
Co-authored-by: Chet Powers <ccpowers@bu.edu>
2019-07-08 18:12:57 -04:00
AdamandChet Powers 8a4d6172b2 keyremapping: fix escape from chat triggering game keybindings
Co-authored-by: Chet Powers <ccpowers@bu.edu>
2019-07-08 17:12:32 -04:00
Adam 6eab98d333 Merge pull request #9281 from Hydrox6/hd-prayer-bar-flick-fix
prayer: fix HD prayer bar flick location
2019-07-08 11:48:09 -04:00
Adam 05c6743cb0 Remove runescape-api and mixins
This code is used by internal tooling to build the client patch, which
is already closed source, and is not directly shipped as a dependency.

Outside contributions to it are rare due to the lack of build tools, and it is
primarily being abused by others. As such, I no longer wish to release
further changes to it under BSD-2.
2019-07-07 18:30:36 -04:00
Adam ff5d0432c8 Merge pull request #9256 from Nightfirecat/hot-cold-fixes
Hot cold fixes
2019-07-02 20:48:32 -04:00
Adam 6d51862668 Merge pull request #9236 from Nightfirecat/fix-npc-respawn-timer-bug
npc indicators: Fix long respawn timer bug
2019-07-02 13:54:22 -04:00
Adam 8df4e0ef43 Merge pull request #8845 from Hydrox6/hd-prayer-bar
prayer: Add HD Prayer Bar
2019-07-02 13:11:18 -04:00
Adamandjordibenck 166e547f67 timers plugin: fix teleblock timers
Co-authored-by: jordibenck <jordi.b-98@hotmail.com>
2019-07-01 19:41:39 -04:00
Adam 86ddedd507 Merge pull request #9110 from sadegr/interfacestyles-2005-icon-alignment
Adjust alignment of icons in 2005 interface style and fix inventory icon
2019-06-26 15:51:01 -04:00
Adam a3e9b790dd client: fix behavior of walking where there are no tiles
This only happens with a plugin force setting checkClick. This would
cause the client to possibly incorrectly send a walk packet next tick if
viewportWalking was set, since nothing ever clears it.
2019-06-25 08:30:08 -04:00
Adam 61ea6cf217 config manager: treat null and empty string equally in setDefaultConfiguration
The config manager treats null and empty string as equal and will unset
config values which are set to the empty string with the config client.

This fixes the config manager applying default config values which are the
empty string when the current value is null, causing it to send an
unnecessary unset request
2019-06-25 08:25:02 -04:00
Adam 438fbc9b0d api: rename unknownSoundValues1 -> queuedSoundEffectLoops 2019-06-24 15:44:27 -04:00
Adam 0faa0a427b Merge pull request #9124 from Hydrox6/timers-teleblock-fix
timers: fix teleblock message
2019-06-19 14:45:54 -06:00
Adam a7d4444998 Merge pull request #9113 from Hydrox6/interface-styles-hd-healthbar-fix
interface styles: fix HD Healthbar
2019-06-18 17:03:45 -06:00
Adam 879e7f6b5d emoji plugin: fix stripping chat recolor tags
This was using the event's message instead of the node's, after the
node's message had been wrapped with col tags.

Additionally, fix plugin to match emoji triggers that are in the same
word as (col) tags.
2019-06-15 20:09:12 -06:00
Adam 8988226d1c chat notifier: fix matching < and > in chat messages 2019-06-15 19:38:13 -06:00
Adam f428426d9f Merge pull request #9071 from Hoten/patch-1
MenuEntrySwapper: include "shop" for trade option
2019-06-12 20:20:46 -06:00
Adam 9a79cd1b07 Merge pull request #9076 from Twiglet1022/mining-plugin-duration-fixes
mining plugin: correct coal timer, missing copper rock and align other timers to game ticks
2019-06-12 19:50:02 -06:00
Adam bcc9943b7c scripts: correctly pop unused input string when blocking chat input 2019-06-07 23:15:04 -04:00
Adam b5acb61771 key remapping: fix clearing input when plugin is turned on 2019-06-07 23:15:01 -04:00
Adam 5f972f5bcc key remapping: remove some unused widget and keylistener checks 2019-06-07 19:42:09 -04:00
Adam bb25aee4cc key remapping: don't remap fkeys when options dialog is open 2019-06-07 19:42:08 -04:00
Adam 59886b084a mixins: fix duplicate spawn events for large gameobjects 2019-06-06 09:56:03 -04:00
Adam 0c2a253718 music list plugin: invalidate tracks and filter state on widget reload
This was keeping references to the old widget tracks, and having the
filter incorrectly applied.
2019-06-06 06:52:55 -04:00
Adam 8806bba274 inventory grid: add delay before activating overlay 2019-06-04 08:52:05 -04:00
AdamandJeremy Plsek 16bd84db3c client: add inventory grid plugin
Co-authored-by: Jeremy Plsek <jeremyplsek@gmail.com>
2019-06-03 20:23:27 -04:00
Adam 57f60a36e4 api: modify Widget.getWidgetItem to return widget items when no item exists
This allows plugins to get the canvas bounds of where items would be if
they existed. Update existing usages to account for the new behavior.
2019-06-03 20:23:27 -04:00
Adam c5a2eb0575 Merge pull request #8978 from deathbeam/otp-paste-public
Add support for pasting authenticator code on login screen
2019-06-03 11:37:05 -04:00
Adam f3e910984e achievement diary: fix legends guild jewllery task
The wording of the task changes depending on whether it is complete or
not. So, add both variations.

Closes #8986
2019-06-02 17:14:09 -04:00
Adam f69c32f046 keyremappinig: replace some lambdas with method references 2019-06-01 22:31:03 -04:00
Adam f57abb7a7c keyremapping: fix keys getting stuck from map loading
If a key is depressed when loading, the key press was not getting
remapped, causing the camera to continiously spin. Change to only ignore
key presses on the login screen.
2019-06-01 22:31:02 -04:00
AdamandRobert Alexander 8e2fe91ec8 keyremapping plugin: add F-key remapping
Co-authored-by: Robert Alexander <rla@navadrag.com>
2019-06-01 22:30:38 -04:00
AdamandRobert Alexander 907dc37d40 wasd plugin: rename to keyremapping plugin
Co-authored-by: Robert Alexander <rla@navadrag.com>
2019-06-01 22:30:38 -04:00
Adam 4e357e121b quest plugin: delete all child widgets before adding buttons 2019-06-01 20:12:17 -04:00
Adam c020717346 music plugin: delete all child widgets before adding buttons 2019-06-01 20:12:08 -04:00
Adam a4bfef647e ba: null game time after the game has been finished 2019-06-01 19:44:22 -04:00
Adamandjacoblairm 527c7d5172 ba: fix wave timer announce from exiting a tutorial
Co-authored-by: jacoblairm <jacoblairm@gmail.com>
2019-06-01 19:44:22 -04:00
Adamandjacoblairm 35625f4bba ba: update to no longer use icons to determine role
The recent game update removed icons. Instead use the interface to
determine the player's role.

Co-authored-by: jacoblairm <jacoblairm@gmail.com>
2019-06-01 19:44:22 -04:00
AdamandBarragek0 aeaa2850ee client: add mining plugin
Shows progress indicators for respawn times on all rocks that can be mined.

Co-authored-by: Barragek0 <barragek0lol@gmail.com>
2019-05-31 22:21:45 -04:00
Adam 417e48fc7e mixins: fix game object events to not fire for actors, projectiles, and graphic objects
The client adds and removes these temporary objects each frame, and
was firing multiple despawn events each frame.
2019-05-31 22:19:02 -04:00