Commit Graph
100 Commits
Author SHA1 Message Date
Abex 12955a6e11 Merge pull request #10084 from abextm/cache-code-2019-10-17-rev182
Cache code 2019 10 17 rev182
2019-10-17 05:25:43 -06:00
Max Weber 5acdcae75d runelite-api: Add some more documentation 2019-10-16 09:44:54 -06:00
Abex 4dd5d4b2c7 Merge pull request #10048 from abextm/cache-code-2019-10-02-c1-rev182
Cache code 2019 10 02 c1 rev182
2019-10-12 23:06:15 -06:00
Max Weber 6583aa4171 prayer: Use ItemStats for prayer bonuses 2019-10-11 11:50:52 +02:00
Abex 6c62b95561 Merge pull request #9968 from huddy987/potLimit
Add divine potion buy limits
2019-10-10 23:16:24 -06:00
Abex 0653e66a02 Merge pull request #10014 from dabolink/priffCannonElves
Add Elf Cannon Spot in Priff
2019-10-10 22:47:27 -06:00
Max Weber d627171bbe runelite-client: Rename StackFormatter to QuantityFormatter
StackFormatter.formatNumber was incredibly misleading, it makes more
sense to remove Stack from the classes name than move it.
2019-10-10 04:29:30 -06:00
Max Weber ea69b8e57d StackFormatter: synchronize access to NumberFormats
DecimalFormat likes to copy data into itself when formatting because
it is poorly designed, as such it cannot be used by multiple threads
at once.
2019-10-10 04:25:53 -06:00
Max Weber b30243c784 StackFormatter: Fix documentation 2019-10-10 04:23:35 -06:00
Max Weber 32f624e1d5 StackFormatter: remove quantityToRSStackSize
This is nearly unused, and serves no great purpose as
quantityToStackSize can display the same information in a more readable
format
2019-10-10 03:49:44 -06:00
Max Weber 9e696ac3f2 runelite-api: Remove Triangle and Vertex classes 2019-10-01 18:00:24 -06:00
Max Weber f16cd53d09 runelite-api: Optimize getClickbox
- Use the pre-calculated center/extreme xyz fields for the aabb
 - use modelToCanvas and reduce indirection
 - Use a specialized union that only does axis-aligned rectangles
     instead of the Area class
 - Use a specialized intersection that only does convex polygons, again
     to avoid Area
2019-10-01 18:00:24 -06:00
Max Weber 80709f1bfa Jarvis: use primitive arrays
This creates much less garbage and allows use with modelToCanvas
2019-10-01 18:00:23 -06:00
Max Weber b77461a3e0 Perspective: Add modelToCanvas
This has significantly less overhead than repeatedly calling
localToCanvas, and may be vectorized in the future by a smarter jit
2019-10-01 18:00:23 -06:00
Max Weber 293b9cdf7c runelite-api: Add simple Shape implementations 2019-10-01 18:00:23 -06:00
Max Weber a4cfbc3b42 runelite-api: Use more general Shape for clickboxes and convex hulls 2019-10-01 18:00:22 -06:00
Max Weber 6234f209e9 runelite-client: Remove Demonic Gorilla Plugin
as per Jagex's wishes
2019-09-30 12:06:50 -06:00
Max Weber 33d233d9a5 WidgetInspector: Add widget picker 2019-09-10 08:46:38 -06:00
Max Weber c6632af7bf runelite-client: Don't add our menu options in spell casting/target mode 2019-09-10 08:44:05 -06:00
Max Weber 34c685a82d runelite-api: Add setAllWidgetsAreOpTargetable 2019-09-10 08:44:05 -06:00
Max Weber 1c2dbf019e gpu: wait for canvas to get it's native peer before starting OpenGL 2019-09-03 18:33:14 -06:00
Abex 7d74f6d601 Merge pull request #9765 from abextm/cache-code-2019-08-29-rev182
Cache code 2019 08 29 rev182
2019-08-29 04:49:08 -06:00
Abex 359a31050a Merge pull request #9684 from adwitkow/braindeath-skybox
skybox: add Braindeath Island
2019-08-19 17:45:23 -06:00
Abex 7e7b0373cb Merge pull request #9658 from abextm/cache-code-2019-08-15-rev181
Cache code 2019 08 15 rev181
2019-08-15 03:25:07 -06:00
Max Weber 034aa9214e runelite-client: Bypass Jagex load balancer if we can't connect 2019-08-13 17:37:17 -06:00
Max Weber cdfe2e9306 runelite-client: Add fatal error dialog 2019-08-09 18:28:56 -06:00
Max Weber 944064b1b5 runelite-client: Make RuneLiteProperties fully static 2019-08-09 17:53:55 -06:00
Max Weber 3757c3bae6 runelite-client: Add loading splash screen 2019-08-09 17:53:54 -06:00
Max Weber 56f7d09c92 runelite-client: Call scripts with the correct number of arguments 2019-08-09 09:34:18 -06:00
Max Weber 4cec794a29 runelite-api: allow runScript to take a plain Object... 2019-08-09 08:40:03 -06:00
Max Weber a019d39361 runelite-api: Annotate script ids with their argument counts
The cache-code updater can update these annotations so we know when
a script we call require changes
2019-08-09 08:40:03 -06:00
Abex 44a000bdc3 Merge pull request #9616 from abextm/cache-code-2019-08-08-rev181
Cache code 2019 08 08 rev181
2019-08-09 05:16:53 -06:00
Max Weber 3e4f61b406 ClanManager: handle startup with an empty cache 2019-08-08 02:45:15 -06:00
Abex 48e0e8a7e3 Merge pull request #9531 from Hydrox6/worldmap-prif-typo
worldmap: fix typo in Prifddinas
2019-08-01 04:17:08 -06:00
Abex 2b9eecd468 Merge pull request #9530 from Hydrox6/boss-timer-chaos-elemental-change
boss: adjust Chaos Elemental respawn time
2019-08-01 04:16:39 -06:00
Max Weber 7c3419574d itemidentification: Add crystal sapling 2019-07-30 09:24:40 -06:00
Max Weber e5154893a4 Skybox: Add Prifddinas and Iorwerth dungeon 2019-07-26 21:01:15 -06:00
Max Weber 6fa2a3d7a5 agility: Support Prifddinas course 2019-07-26 07:31:40 -06:00
Abex 5f69bec673 Merge pull request #9458 from abextm/questlist-725
Update Quest Enum to latest cache
2019-07-26 06:57:29 -06:00
Max Weber f005e18295 timetracking: Support Prifddinas patches 2019-07-26 06:56:00 -06:00
Max Weber bd7a6ed7ef Update Quest Enum to latest cache 2019-07-25 14:43:22 -06:00
Abex 90441d249b Merge pull request #9454 from abextm/cache-code-2019-07-25-rev181
Cache code 2019 07 25 rev181
2019-07-25 03:51:23 -06:00
Max Weber f42ebbfe82 runelite-client: Preload certain slow classes 2019-07-24 15:17:30 -06:00
Max Weber 64643c136d runelite-client: Start the ClientLoader running before injection starts
This saves about a second of startup time. It also removes the possibly incorrect ClientUpdateCheckMode from the RuneLiteModule
2019-07-24 15:17:30 -06:00
Max Weber eccbc7f34e BankTags: Call scripts with all of their arguments explicitly 2019-07-21 19:43:49 -06:00
Max Weber bacc5ae6d0 ChatboxPerformancePlugin: Hook the cs2 to know when to rebuild 2019-07-21 19:43:43 -06:00
Max Weber 64460ccd7e runelite-client: Don't write all images to disk when loading them 2019-07-21 16:18:34 -06:00
Max Weber fa99ba9cf8 runelite-client: remove RuneLiteModuleTest
It is being tested sufficiently by PluginManagerTest
2019-07-21 13:45:36 -06:00
Max Weber d5c4397a80 Revert "Shutdown plugins on window close"
This reverts commit 6e080949f9.

This never worked because it ran stopPlugin on the AWT thread
which calls invokeAndWait, which throws when not on the awt
thread. Also stopPlugin only attempts to stop plugins that are
marked as disabled, but it is only called for plugins which are
enabled, so nothing actually happens. This also creates a deadlock
if you try to close the client while starting it, because
startPlugin is locked on one thread, but stop plugin is trying
to take the lock on the edt.
2019-07-21 13:23:28 -06:00
Max Weber 7a222bbb6f runelite-api Remove WidgetPositioned
It is nearly guaranteed that this event runs every game tick, because
there are cs2s that touch widgets every frame. Additionally it should
have been run at the end of every client tick, but DeferredEventBus
doesn't support that.
2019-07-21 13:19:59 -06:00
Abex 046e862170 Merge pull request #9392 from abextm/cache-code-2019-07-18-rev181
Cache code 2019 07 18 rev181
2019-07-18 05:37:01 -06:00
Abex 249f8db6a6 Merge pull request #9363 from Quasindro/skybox-cosmic-plane
skybox: fix color at Cosmic Entity's Plane region
2019-07-16 23:34:06 -06:00
Max Weber bd89209a99 runelite-client: Allow partial screen containment again 2019-07-15 05:49:04 -06:00
Max Weber dbab819761 InfoBoxManager: handle AsyncBufferedImage more correctly 2019-07-09 12:42:15 -06:00
Max Weber a1a860e0f4 runelite-client: Use BufferedImage where applicable
All of these places would crash at runtime should they be given a
non-buffered image due to calling methods without a null ImageObserver
2019-07-09 12:42:14 -06:00
Max Weber acfe45b3c6 runelite-client: Handle missing sprites correctly 2019-07-09 12:40:38 -06:00
Max Weber 1c6a5469bc ClientThread: repeat call immediate invokes correctly 2019-07-09 12:24:22 -06:00
Abex d004dc0548 Merge pull request #9272 from abextm/framedumpertest-index-confusion
cache/FrameDumperTest: Don't get the wrong framemaps for a frame
2019-07-03 13:04:38 -06:00
Max Weber 911893b710 cache/FrameDumperTest: Don't get the wrong framemaps for a frame 2019-07-03 08:45:24 -06:00
Max Weber d72a1b9456 runelite-client: Don't try to contain to screen when contain is off
Java's GraphicsConfiguration::getBounds() is completely nonfunctional
for me, returning nearly random values, which causes the our window to
move itself to random places, often outside of my displays' bounds
2019-07-03 00:48:18 -06:00
Max Weber 1c9dacf497 LootManager: update npc ids 2019-06-20 04:48:59 -06:00
Max Weber a8b00c9989 runelite-client: Centralize the high alchemy multiplier 2019-06-18 16:21:26 -06:00
Max Weber f59c0be7f3 runelite-client: centralize item sprite dimensions 2019-06-18 16:21:26 -06:00
Max Weber ea1b8fec97 timetracking: Don't crash when seeing a garbage varbit value 2019-05-24 17:42:41 -06:00
Max Weber 825b0167d6 timetracking: Update farming patches for the Hosidius rework 2019-05-23 11:30:30 -06:00
Max Weber 10a7384c76 Merge branch 'cache-code-2019-05-23-rev180' 2019-05-23 05:33:31 -06:00
Max Weber 21206ce622 client: Update broken object ids 2019-05-23 05:30:39 -06:00
Max Weber a5f498e965 runelite-client: Print client patch build id 2019-05-23 07:06:42 -04:00
Max Weber 7b595ea1dd runelite-api: Move getModelHeight to Renderable 2019-05-23 07:06:42 -04:00
Max Weber 05da1c2b49 runescape-api: Remove Protect annotation 2019-05-23 07:06:42 -04:00
Max Weber 4d0022014c runelite-client: Remove unnecessary dependency on rs-api 2019-05-23 07:06:42 -04:00
Max Weber f2935dcfdb mixins: Correct DecorativeObject's clickbox
- getOrientation has nothing to do with getClickbox's orientation parameter
- model A is offset by x/yOffset
- model B exists sometimes
2019-05-16 04:01:25 -06:00
Max Weber feb2454e55 mixins: Correct WallObject's clickbox
The orientation is baked into the model and this var has nothing to do with what this method takes in this slot
2019-05-16 04:01:25 -06:00
Max Weber a45ad0c4a6 runelite-api: Correct WallObject documentation 2019-05-16 04:01:25 -06:00
Abex 7020449393 Remove references to zeah houses (#8692)
Ingame text has been changed to stop referring to the five cities
of Great Kourend as zeah houses
2019-05-04 00:38:29 -06:00
Max Weber 6493e3a8cd clanchat: Shorten message so it fits on the new interface 2019-05-02 04:43:35 -06:00
Abex 864fe9acee Merge pull request #8636 from abextm/cache-code-2019-04-25-rev179
Cache code 2019 04 25 rev179
2019-04-25 05:19:32 -06:00
Abex 2f7584ee38 Merge pull request #8566 from raiyni/fix-brightness
skybox: calculate brightness increase in HSB format
2019-04-19 16:55:42 -06:00
Abex ad8328e1c1 Merge pull request #8498 from Abextm/cache-code-2019-04-11-rev179
Cache code 2019 04 11 rev179
2019-04-12 07:07:28 -06:00
Abex 867d402ec5 Merge pull request #8297 from Abextm/skybox-cerberus
skybox: Add Cerberus area
2019-03-31 23:01:20 -06:00
Max Weber dd993224ef mixins: Fix convex hulls being incorrectly contoured
the Models returned by getModel are already contoured if required; we do not need to do it again
2019-03-31 09:53:03 -04:00
Max Weber 3ad1943d9a skybox: Add Cerberus area 2019-03-23 01:32:19 -06:00
Max Weber f7a9374639 ChatboxPanelManager: Be more resilient when scripts mismatch
If RESET_CHATBOX_INPUT doesn't invoke runelite_callback resetChatboxInput because the script hash mismatches panels never get killed, so they a) break jagex inputs, and b) can be lost and not get unregistered, so they will record passwords on the login screen
2019-03-21 07:10:45 -06:00
Abex 0f5dc65054 Merge pull request #8275 from Abextm/cache-code-2019-03-21-rev178
Cache code 2019 03 21 rev178
2019-03-21 06:21:38 -06:00
Abex fa2b98a4bf Merge pull request #8208 from Abextm/cache-code-2019-03-14-rev178
Cache code 2019 03 14 rev178
2019-03-14 05:55:30 -06:00
Max Weber b4ad053272 Fix Guthix D'hide body 2019-03-14 05:45:00 -06:00
Abex 984a9a30c4 Merge pull request #8180 from dennisdev/fix-wiki-plugin-shutdown
Fix WikiPlugin Crash
2019-03-12 02:45:25 -06:00
Abex b302dee697 Merge pull request #8147 from Abextm/real-cs2-names
use RuneStar cs2 opcode names
2019-03-10 23:34:02 -06:00
Max Weber 75fbb07b41 cache: use RuneStar cs2 opcode names
With exception of the opcodes with jvm analogues, which follow jvm style
2019-03-09 00:01:48 -07:00
Max Weber f1d919765d runelite-client: Remove ChatboxInputManager
It was superseded by ChatboxPanelManager and has been broken for a while now
2019-03-09 00:01:48 -07:00
Abex c09c84ccde Merge pull request #8139 from Hydrox6/wiki-spec-orb-fix
wiki: Update the Fixed Minimap Clickbox to account for the spec orb
2019-03-07 16:38:51 -07:00
Max Weber d47e748bd6 runelite-api: Fix varcstrs for rev 178 2019-03-07 08:51:09 -05:00
Abex 3881bb08ac Merge pull request #8032 from Abextm/cache-code-2019-02-28-rev177
Cache code 2019 02 28 rev177
2019-02-28 04:52:00 -07:00
Abex f8ef7d65ba Merge pull request #8015 from ShaunDreclin/wiki-achievement-diaries
Wiki Plugin: Add support for achievement diaries
2019-02-26 21:20:49 -07:00
Abex cb8057e462 Merge pull request #7927 from Abextm/wiki-improvements
WikiPlugin: Allow lookup of Objects
2019-02-26 20:43:57 -07:00
Abex f577f2e9fc Merge pull request #7944 from Koekkruimels/feature/kourend-library-hide-duplicate-book
Kourend Library Plugin: Add config option to hide duplicate books
2019-02-24 15:44:07 -07:00
Abex f43b747755 Merge pull request #7942 from Abextm/widget-loops-refactor-external
Widget loops refactor external
2019-02-20 22:26:52 -07:00
Max Weber bfb3849b38 WikiPlugin: Eschew URLEncoder in favor of HttpUrl 2019-02-19 13:50:20 -07:00
Max Weber 06468e0e0e WikiPlugin: Allow lookup of Objects 2019-02-19 13:34:13 -07:00
Max Weber 65e9864552 WikiPlugin: Strip tags from names given to RSLookup 2019-02-19 13:34:12 -07:00