Commit Graph
100 Commits
Author SHA1 Message Date
Adam 7c9e193f80 client: add option to force client to front on notification 2020-05-13 15:02:42 -04:00
Adam 01f134795d npc indicators: verify compoistion id of tagged npcs
This fixes npc tags for dynamic npcs sometimes erronously tagging the
wrong npc if the npc index gets reused. This happens regularly when
tagging bloat manually a few times, since the Verzik webs are all npcs
and there are many of them, thus a high chance of index collision.
2020-05-12 15:23:36 -04:00
Adam 0309ba41fd loottracker: stack clue scrolls in the ui instead of at loot receive time 2020-05-11 11:14:59 -04:00
Adam 26ffd1be33 key remapper: consume key typed events for remapped keys
Since all of the keys we remap to (f/arrow/escape keys) do not have
associated characters, consume key typed events for the characters
associated to the original key press event.

This fixes entering bank pins with fkey remapping on both entering your
pin and changing your inventory tab, due to the client processing the
tab change on key press (which is remapped) and the bank plugin
processing the pin input on key typed.
2020-05-04 23:21:39 -04:00
Adam c7a155d09c loot tracker: cleanup clue scroll stacking and test
Most of this test was superfluous and continiously retesting the same
logic
2020-05-04 23:20:57 -04:00
Adam 0b6dabd9a3 travis: force tls 1.2
The openjdk 11 version travis uses does not correctly handle tls 1.3 session
resumption
2020-05-01 18:12:51 -04:00
Adam 0e6f9f9aec gpu: add support for osx
Compute shaders must be forced off due to macos not supporting opengl
4.3
2020-05-01 14:14:39 -04:00
Adam f95c5af4e4 client: update to jogl 2.4.0-rc-20200429
This also drops linux i586 support as I do not have any 32bit machines, and they are uncommon now anyway.
2020-05-01 14:14:39 -04:00
Adam d25546f5db Add dmmt world type and tournament hiscore endpoint 2020-05-01 10:25:50 -04:00
Adam f60d818558 chat notifier: fix highlight own name matching player names with spaces
We internally rewrite nbsp to space in Player.getName(), but the in-game
drop messages which include players names still have nbsp. Modify the
generated username matcher pattern to match either nbsp or space.
2020-04-30 15:07:27 -04:00
Adam f9ad57625c item identification: add divine bastion and battlemage potions 2020-04-30 12:01:54 -04:00
Adam b48936eec1 itemstats: add divine bastion and battlemage potions 2020-04-30 12:00:11 -04:00
Adam e930283176 timers: add divine bastion and battlemage potions 2020-04-30 11:23:29 -04:00
Adam a20ae62995 combat level plugin: use script events for attack level range hook 2020-04-26 12:59:08 -04:00
Adam d85a72da0f runelite: log startup failures as errors 2020-04-26 11:56:39 -04:00
Adam 6f0a2c9069 client: update itemcontainer api usage
Use new api methods if appropriate
2020-04-21 18:39:41 -04:00
Adam 8f12c2846d api: add useful utility methods to itemcontainer 2020-04-21 18:39:41 -04:00
Adam 035c119f85 gpu: add option to disable compute shaders
This still gives a noticible performance boost over software rendering
as the rasterizing is entirely done on GPU
2020-04-20 18:36:27 -04:00
Adam fe1772031a api: add drawFace callback 2020-04-20 18:36:27 -04:00
Adam 3b0bb05092 gpu: small refactor of compute shaders
split get_face into get_face + add_face_prio_distance, as the ssbo
reading did not need to be behind the first barrier used to initialize
the shared variables.

The rest of this is just code style cleanups
2020-04-20 18:36:27 -04:00
Adam 18ba6a54d0 hsl_to_rgb: remove unnecessary check for rgb 0
The client internally uses rgb 0 for alpha pixels, and so will use rgb 1
for things which are actually black. We don't do this.
2020-04-20 18:36:27 -04:00
Adam af36b46aab gpu plugin: remove unnecessary buffer check
This buffer is initialized in initBuffers now and is never -1
2020-04-20 18:36:27 -04:00
Adam 319e257af3 gpu: add a couple missing Override annotations 2020-04-20 18:36:27 -04:00
Adam ed53771295 gpu: fix one-off in model buffer selection
The small compute shader will sort up to 512 faces
2020-04-20 18:36:26 -04:00
Adam c1fdec9d2e bank plugin: add option to input bankpin with keyboard 2020-04-20 17:30:31 -04:00
Adam 3422a7cfc8 api: add widget getOnOpListener 2020-04-20 17:30:30 -04:00
Adam 1e06b4dc58 api: add key script event fields 2020-04-20 17:30:29 -04:00
Adam 9a9f40b862 Revert "Reset repositioned tooltip overlays"
This reverts commit 1fccba9fda.
2020-04-16 16:58:16 -04:00
Adam 3ede5ebb56 Revert "Mock ConfigManager in ItemStatOverlayTest to inject TooltipManager"
This reverts commit 75b29026f9.
2020-04-16 16:57:34 -04:00
Adam 31c9bf8836 devtools: add infobox generator 2020-04-12 20:36:46 -04:00
Adam ab365d17a1 emoji plugin: load emojis on client thread 2020-04-12 17:48:00 -04:00
Adam 242ea42964 Merge pull request #11218 from abextm/shutdown-event-external
runelite-client: add ClientShutdown event
2020-04-10 14:37:28 -04:00
Adam 10cd76897b Merge pull request #11214 from abextm/invert-camera-external
camera: add option to invert camera mouse controls
2020-04-09 17:51:53 -04:00
Adam edcfeb25fd screenshot plugin: fix screenshot friend deaths to not screenshot own death 2020-04-09 14:21:44 -04:00
AdamandHugh 15b5dd0290 worldhopper: skip over almost full worlds
Co-authored-by: Hugh <nivcraft@gmail.com>
2020-04-07 16:30:21 -04:00
Adamandjcwhisman 6e06b1c929 antidrag: add option to disable in pvp
This lifts the shift requirement by instead just disabling the feature
in pvp

Co-authored-by: jcwhisman <jcwhisman@gmail.com>
2020-04-07 16:26:42 -04: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
Adam 6abc433141 hooks: use monotonic clock for main loop tasks 2020-04-06 12:32:52 -04:00
Adam c703a35f15 party plugin: play sound effects on client thread 2020-04-03 12:48:34 -04:00
Adam 087b2ac969 Merge pull request #10875 from devLotto/issue-8633
player-indicators: highlight the 'Walk here' menu entry too
2020-04-02 14:45:24 -04:00
Adam 8aad85d768 Merge pull request #11165 from abextm/notifier-reuse-clip
Notifier: Reuse Clip instances
2020-04-02 11:47:08 -04:00
Adam 22235925be client: add config option for blocking extra mouse buttons 2020-03-27 18:02:54 -04:00
Adam ec11040150 stretchedmode: copy mouse event consumed flag when translating mouse events 2020-03-27 17:45:32 -04:00
Adam 844a85392b speccounter: fix some bugs and edge cases
1) fix plugin to correctly identify blocked hits as a spec being used

2) fix when hitsplats appear on the same tick as uninteracting with the
target npc

3) fix when hitsplats appear in between the spec and its hitsplat on
other targets

4) fix specs not registering when not having to path to monsters due to
the spec varbit changing prior to the interact event firing
2020-03-27 17:40:44 -04:00
Adam de0af2b6f3 Merge pull request #11094 from abextm/itemthreshold-explosive
grounditems: manually match item thresholds
2020-03-27 11:17:58 -04:00
Adam 18a9a60b7d client session manager: fix detecting logged in state 2020-03-26 10:43:27 -04:00
Adam e03cc3c19d feed controller: return service unavailable if feed isn't loaded 2020-03-26 10:43:17 -04:00
Adam b0a7e779be world controller: return service unavailable if world list isn't loaded 2020-03-26 10:42:54 -04:00
Adam 1d45b1474c boss timers: update Sarachnis time to 10 seconds 2020-03-25 18:08:41 -04:00
Adam f6da67cd2d clientloader: don't fallback to Jagex hostnames when using fallback config 2020-03-25 13:19:25 -04:00
Adam 544414a8cf clientloader: use fallback config if gamepack fails to load 2020-03-25 12:55:20 -04:00
Adam 91ae43dd2d api: make IterableHashTable generic 2020-03-24 14:04:13 -04:00
Adamandmelkypie 21b7ccd2e8 raids: add world region to scout overlay
Adds the region of the world the scout was performed.
Before: W303         Username
Now:    W303 (DE)    Username

Co-authored-by: melkypie <melkypie@users.noreply.github.com>
2020-03-24 11:54:54 -04:00
Adamandmelkypie 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 046c20fb5b client: block extra mouse keys
The key remapping plugin has no way to operate being on and also not
blocking chat input, due to the other features of the plugin all doing
key remaps and thus are required to know whether or not you are trying
to type, or using a remapped key.

This moves the blocking to the core, which we think won't affect many
users anyway, and those that it does can just remap their mouse keys.
2020-03-22 17:59:41 -04:00
Adam 5da84178e7 chatcommands: fix showing -1 experience/rank in lvl 2020-03-22 14:24:52 -04:00
Adam 0ee189cf9d keyremapping: add test for typing mode change 2020-03-22 12:15:20 -04:00
Adam 203ecce4db keyremapping: add option to block extra mouse buttons 2020-03-22 12:15:20 -04:00
AdamandMax Weber 023860f928 client: add dps plugin
Co-authored-by: Max Weber <mii7303@gmail.com>
2020-03-18 18:40:34 -04:00
Adam ed5c0f7336 overlay: add mouseover callback 2020-03-18 18:40:34 -04:00
Adam 770f35aceb checkstyle: enforce no whitespace at end of line 2020-03-17 16:22:55 -04:00
AdamandDaniel c1d5e3ae16 hiscore panel: autocomplete recent search history
Co-authored-by: Daniel <serpa88@hotmail.ca>
2020-03-17 10:26:34 -04:00
Adam 491e837207 client: synchronize some calls to ImageIO.read()
ImageIO is not thread safe, see also 054dd4852d
2020-03-16 17:37:10 -04:00
Adam 43998972cf panelcomponent: fix removing final gap from total width/height 2020-03-16 15:27:45 -04:00
Adam dd18626d15 components: use common Text.removeTags
This was only removing color tags before, however neither text component
nor line component can correctly handle the other tags anyway, so remove
all tags
2020-03-16 15:27:45 -04:00
Adam 7c8095785f linepanelcomponent: remove empty string text component renders 2020-03-16 15:27:45 -04:00
Adam 7672efda3f experience: remove unnecessary Math.floor() calls 2020-03-16 15:26:01 -04:00
Adam 82cef93296 opponentinfo: account for panel border in overlay size 2020-03-14 12:07:47 -04:00
Adam e49e4a0c97 Merge pull request #10776 from Nightfirecat/skill-challenge-clue-highlight-broken-lamps
Add NamedObjectClueScroll interface, highlight broken Dorgesh-kaan lamps
2020-03-13 10:46:55 -04:00
Adam 92c588c348 ui: correct cursor hotspot to 0,0
This has never been correct, but worked because the container is always in the
client frame at 0,0
2020-03-06 16:27:01 -05:00
Adam abaf45092b interface styles: only adjust widget positions when tli is resized 2020-03-06 15:51:30 -05:00
Adam f30889bdf5 Merge pull request #9940 from Alexsuperfly/agility-pyramid-total-exp
agility: account for bonus exp from agility pyramid
2020-03-06 10:38:11 -05:00
Adam 8674a4f998 speccounter: use hitsplats for determining spec hit 2020-03-06 09:42:23 -05:00
Adam 7c3ff105fb api: update for tinted block and damage hitsplats 2020-03-05 07:17:07 -05:00
Adam ce46fd0873 Merge pull request #10953 from Nightfirecat/add-item-stat-overlay-test
item stats overlay: Fix unarmed attack speed, add tooltip tests
2020-03-04 20:50:16 -05:00
Adam c2de595bc3 itemcharges: move matchers after message type check 2020-03-04 11:35:17 -05:00
Adam f25eef0a81 Merge pull request #10019 from dabolink/item_charges_amulet_of_chem
[Item Charges] Add Amulet of Chemistry and Bounty
2020-03-04 11:32:46 -05:00
Adam 080f3133c5 tooltips overlay: fix multiple above-cursor tooltips
Previously this would only render one tooltip above the cursor with the
rest below. This also rewrites the existing logic to be cleaner
2020-03-02 18:34:07 -05:00
Adam ab42442269 point: lombokize 2020-03-02 18:27:26 -05:00
Adam 3412ac511a Merge pull request #10865 from dekvall/drift-net-loot
loot tracker: add drift net reward
2020-03-01 15:13:34 -05:00
Adam 07501c1209 Merge pull request #10858 from Nightfirecat/screenshot-dirs
Add screenshot subdirectories
2020-03-01 14:57:25 -05:00
Adam 7ace691034 Merge pull request #10850 from melkypie/patch-mining
mining: add urt, efh, te and basalt respawn timers
2020-03-01 10:01:05 -05:00
Adam c95bc2b5b7 cache: update kit definition 2020-02-27 13:02:51 -05:00
Adam f32d155f65 session: add logged-in tracking 2020-02-26 08:26:53 -05:00
Adam 5a46abddc5 Use GE limits from item stats 2020-02-24 15:02:47 -05:00
Adam 99cca2025b Merge pull request #10833 from dekvall/lizards-are-reptiles-salamanders-are-amphibians
attackstyles: fix salamander magic attacks
2020-02-23 12:26:13 -05:00
Adam bf17c61843 Merge pull request #10832 from dekvall/mining-tooltip-thing
worldmap: add ore information to mining site tooltips
2020-02-23 12:24:27 -05:00
Adam abf055c9b8 Merge protocol and protocol-api into cache-client
Originally I was going to expand on the protocol further, but am no
longer looking at doing that.
2020-02-23 10:34:30 -05:00
Adam 5ed485fccb configmanager: harden against being killed mid-save
This first writes to a temporary file, then if successful, attempts an
atomic rename
2020-02-22 17:03:43 -05:00
Adam e5c143de2e Merge pull request #10337 from sethtroll/fixagilityshortcut
Update quest start and agility shortcut coordinates for WorldMap plugin
2020-02-20 19:51:07 -05:00
Adam cf3fb89b1a Merge pull request #10790 from abextm/plugin-linkerror
PluginManager: try/catch Throwable all the plugin startup stuff
2020-02-20 18:47:40 -05:00
Adam 6be1135bdf Merge pull request #10258 from BenDol/bd_itemstats_impr
itemstats: Add 'Always Show Base Stats' & 'Show Stats In Bank'
2020-02-20 18:43:04 -05:00
Adam 84641d6609 Merge pull request #10773 from Nightfirecat/rs-time-units
Add RS-specific time units
2020-02-20 18:36:06 -05:00
Adam 523a4ed34f Merge pull request #10286 from dekvall/re-add-grid-thing
inventorygrid: re-add a delay to showing the overlay
2020-02-20 18:32:24 -05:00
Adam 2f4ab59c57 Merge pull request #10752 from Trevor159/notification-event
client: add notification fired event
2020-02-20 18:11:16 -05:00
Adam 01ebf340e3 Merge pull request #10777 from Nightfirecat/clear-clue-scroll-on-empty-dev-command
Clear clue scroll on empty dev command
2020-02-20 17:04:57 -05:00
Adam 86d8bd9d1a Merge pull request #6254 from raiyni/tag-ge
Bank tags: search tags in ge search
2020-02-20 14:44:30 -05:00
Adam 2ee6c9a7c0 cache: add blocking mask to object definition 2020-02-19 17:37:00 -05:00
Adam d347e3a088 devtools: add get/set conf commands 2020-02-15 22:30:29 -05:00
Adam 23906a6d35 Merge pull request #10801 from Alexsuperfly/screenshot-filename-space-fix
ImageCapture: only append space when filename isnt empty
2020-02-15 19:08:28 -05:00