Commit Graph
100 Commits
Author SHA1 Message Date
Adam 9936fe352a cache: update world map dumper for Areas 2017-09-29 10:10:11 -04:00
Adam a58dca9cd0 xteakeymanager: don't explode if key loading fails 2017-09-28 22:59:49 -04:00
Adam 3414e27bd6 account service: use common gson 2017-09-28 22:59:49 -04:00
Adam a8ecde7913 xtea client: fix checkstyle violation 2017-09-28 22:40:05 -04:00
Adam 72ee72d38e xteakeymanager: load keys from api 2017-09-28 22:34:07 -04:00
Adam a5f6da90d5 cache: remove runelite api dependency 2017-09-28 22:17:57 -04:00
Adam 8cf0e1cc8d cache: set protocol on downloaded indexes too 2017-09-28 21:28:25 -04:00
Adam 593e93b13d cache: fix writeBigSmart 2017-09-28 21:27:56 -04:00
Adam ba4447d8b8 cache: update cache version to 154 2017-09-28 20:51:31 -04:00
Adam 58b34d0fc0 xtea: validate submitted keys and make them not unique per revision 2017-09-28 19:28:42 -04:00
Adam f1bc016cf9 cache: use the most recent cache instead of the archive with the highest revision, which isn't always reliable 2017-09-28 19:22:56 -04:00
Adam 16aff43607 http-service: disable csrf protection which got enabled from the cache security manager 2017-09-28 19:22:08 -04:00
Adam 7ce893af7b cache: store index and archive crcs, and check them for updates too
Switch archive storage to CAS as sometimes archives change content without changing revision
2017-09-24 15:44:16 -04:00
Adam 714547e1bf cachedao: use prepared statement for finding files in archive 2017-09-21 18:00:21 -04:00
Adam 76b2d36704 cache: netty-ize client and server 2017-09-17 13:34:54 -04:00
Adam 744f912d1a http-service: update cache storage 2017-09-11 17:08:43 -04:00
Adam 7ccd74458c cache: fix tree storage test by sorting files prior to adding
Change archive.addFile(int) -> addFile(FSFile)
2017-09-11 16:59:48 -04:00
Adam cbfa298ac2 cache: add generated equals/hashCode to ArchiveFiles 2017-09-11 16:38:50 -04:00
Adam 94530bda30 http-service: add cache service 2017-09-11 16:25:25 -04:00
Adam a005ad0924 http-service: use gson for serialization, pretty print 2017-09-11 16:25:25 -04:00
Adam ea7a9257b3 http-api: add cache pojos 2017-09-11 16:25:25 -04:00
Adam ed05ab93a5 cache client: download indexes even if revision is up to date
Also add DownloadWatcher to watch download progress
2017-09-11 16:25:25 -04:00
Adam 218333e97c cache: split archive file processing out from archive 2017-09-11 16:25:25 -04:00
Adam 2cc0eb4766 http-service: use spring externalized configuration for oauth id/secret 2017-09-10 13:20:54 -04:00
Adam 78f5ddcd3a cache: split storage apart from Store 2017-09-05 20:05:41 -04:00
Adam 1b5cd87351 cache: fix not creating files in cache client 2017-09-05 19:55:17 -04:00
Adam dcdcfc7420 cache: make slf4j implementation optional for others which pull it in 2017-09-05 19:54:51 -04:00
Adam c4833cd435 Downgrade surefire plugin to one which more reliably shows stacktraces in Netbeans 2017-09-05 19:54:12 -04:00
Adam ce250f789e cache: throw less out of download() 2017-09-03 22:02:23 -04:00
Adam 9e00655326 cache: use newer index data parser for cache client 2017-09-03 21:54:59 -04:00
Adam bf4436178d cache: split index data reading off. It is shared with the cache client too. 2017-09-03 20:49:58 -04:00
Adam bee7bcec37 cache: overwrite archive crc/revision with stored version on mismatch 2017-09-03 19:46:42 -04:00
Adam 69b85e41b2 cache: expand on revision/crc mismatch warnings 2017-09-03 19:25:09 -04:00
Adam 684bf70719 cache: rename File to FSFile 2017-09-03 16:46:34 -04:00
Adam 0bfdf1d39a cache: split index request from download, remove hardcoded client rev 2017-09-03 16:21:23 -04:00
Adam 1305c37951 cache: rename downloader -> client 2017-09-03 15:44:15 -04:00
Adam 01b792f9f8 cache: use hex for archive names 2017-09-03 15:26:42 -04:00
Adam fd402fca7e Add plugin repositories too for injector plugin 2017-08-28 08:24:19 -04:00
Adam 59552896ed Remove object wrappers and use mixins to inject functionality
This causes hierarchy to be runelite-client -> runelite-api and
injected-client -> runescape-api -> runelite-api. The mixin injector
fufills the runelite-api interface with access to the runescape-api
interfaces. The mixins live in runelite-mixins and are not loaded within
the client.

Note the obfuscated client classes do not pass JVM verification on 7+,
so the mixins are currently set to target Java 6.
2017-08-19 13:58:06 -04:00
Adam fd0c3a10f2 cache: add run command opcode 2017-08-15 22:02:42 -04:00
Adam 981767b399 Draw hull on decorative objects too 2017-08-15 20:34:30 -04:00
Adam c8b12cbc13 runelite-client: don't use full class name for Skil, remove unused import 2017-08-15 18:33:51 -04:00
Adam 1caf515377 runelite-client: improve hiscore plugin
Shows total level and combat level, as well as letting you view
experience/rank etc. Mostly from @jnowaczek in #139
2017-08-15 18:17:40 -04:00
Adam 20b10998d3 runelite-api: add combat level formula to Experience 2017-08-15 17:51:30 -04:00
Adam 68c9172af2 http-service: fix /account/callback 2017-08-14 07:55:59 -04:00
Adam 15fce9e4ca Merge remote-tracking branch 'github/jarvis' 2017-08-13 20:04:44 -04:00
Adam b3bbc2bd60 runelite-client: draw convex hull around game objects in devtools overlay 2017-08-12 22:29:03 -04:00
Adam 1a95cdf5a6 runelite-api: add Jarvis march algorithm and and getConvexHull to GameObject 2017-08-12 22:28:34 -04:00
Adam 409aa9eb1f runelite-api: move rotate() to Vertex 2017-08-12 22:26:43 -04:00
Adam 04e84e9921 Make Model extend Renderable 2017-08-12 22:25:36 -04:00
Adam 873a61d655 runelite-api: add equals/hashCode to Triangle/Vertex 2017-08-12 22:22:27 -04:00
Adam 61f276a799 verticies -> vertices everywhere 2017-08-12 14:02:47 -04:00
Adam c0a530fe29 runelite-api: split getTriangles into getVerticies and getTriangles 2017-08-12 09:39:40 -04:00
Adam 793d8f9b5e runelite-api: expose higher level getTriangles instead in Model 2017-08-11 21:42:05 -04:00
Adam b5603f11b8 Add getModel to Renderable 2017-08-11 16:42:37 -04:00
Adam f7ab56945c model-viewer: remove hardcoded dependency version in pom [ci skip] 2017-08-10 17:57:46 -04:00
Adam b6a7108ca5 http-service: switch to spring-web from sparkjava/guice 2017-08-10 17:56:03 -04:00
Adam f802ae8b21 cache: correct inventory dumper log message [ci skip] 2017-08-06 21:36:28 -04:00
Adam cc52cd7ce3 cache: add get_inventory_size instruction 3304 2017-08-06 17:09:59 -04:00
Adam 72e1df2a10 cache: add inventory loader and dumper 2017-08-06 17:08:57 -04:00
Adam 39f9cfbe70 runelite-api: fix widget children lookup logic
Also update dev tools panel widget tree to use show all widgets children,
and start from the root widgets.

Thanks to @rsbmatt for his assistance in explaining the logic
2017-08-05 14:11:05 -04:00
Adam b26ee3f193 Unset verbose on maven-jar-signer
Updater is nearing the 4MB travis limit
2017-08-03 08:48:36 -04:00
Adam f1ac4b3539 runelite-client: bring to front when tray icon is clicked 2017-07-23 13:01:37 -04:00
Adam 95ad72257f Build out room pom more 2017-07-23 12:48:46 -04:00
Adam 9e02205b10 runelite-client: make toolbar not floatable 2017-07-23 12:38:35 -04:00
Adam ef8ab3c0b0 runelite-client: don't filter ttf, png, gif 2017-07-23 12:37:25 -04:00
Adam 54f9a0cf70 runelite-client: add version to title 2017-07-23 12:20:09 -04:00
Adam 1a8db90c45 Fix typo BEIGHT -> HEIGHT 2017-07-23 12:05:04 -04:00
Adam f9b68bc3bd runelite-client: convert nav panel to a toolbar 2017-07-23 12:00:27 -04:00
Adam 9a5a7a44f9 runelite-client: don't draw overlays on event dispatch thread
It is causing deadlocks as the client holds a lock on client in paint() at the time draw() is called, and the EDT then causes RSCanvas (which is the listener) to get triggered when the client draws onto the canvas, which goes back to client.paint() and deadlocks.
2017-07-22 19:05:03 -04:00
Adam 534690b452 runelite-client: update bosstimer plugin to use infobox timers 2017-07-22 15:16:53 -04:00
Adam 1783a3e2e3 runelite-client: exclude org.pushingpixels from maven-shade-plugin 2017-07-22 14:26:27 -04:00
Adam fe487f5795 runelite-client: add substance graphite look and feel 2017-07-22 14:15:16 -04:00
Adam 653128cd97 runelite-client: fix some incorrect swing usage
All swing operations should be on the event dispatch thread
2017-07-22 14:08:41 -04:00
Adam 40e6604cae runelite-client: only prompt on close if logged in 2017-07-22 14:04:29 -04:00
Adam 22c34e84c5 Bump for 1.2.0-SNAPSHOT 2017-07-22 13:57:33 -04:00
Adam 2db13e4a58 runelite-client: add lvl chat command 2017-07-21 18:17:34 -04:00
Adam 8b5f22106e http-service: add single skill hiscore lookup 2017-07-21 18:15:10 -04:00
Adam ede3b1b691 runelite-api: update minimap code from 150 2017-07-20 10:00:37 -04:00
Adam 7fb4515cbe runescape-client: update 150 2017-07-20 10:00:36 -04:00
Adam 53be6e1ff5 Add maven jvm.config
Set -Xmx512m since the injector runs some executions which was stressing
the GC
2017-07-19 20:55:57 -04:00
Adam 5a270cfc6d cache: don't complete haneshake future until after state is changed to connected 2017-07-18 20:48:05 -04:00
Adam 43f8c58d5a runelite-client: add !price command 2017-07-16 13:49:17 -04:00
Adam f8178aa2ee runelite-client: split item price loader out of item manager, move into game
Also add synchronous getItemPrice
2017-07-16 13:10:25 -04:00
Adam ca32ec4502 injector: support hooks on constructors 2017-07-16 13:07:21 -04:00
Adam d1bbc52bb4 Remove unused imports 2017-07-16 10:11:08 -04:00
Adam 56f40345ac checkstyle: add UnusedImports 2017-07-16 09:51:44 -04:00
Adam 7be7a970f6 deobfuscator: use obfuscated types in annotated obfuscated signatures
Also annotate fields with their obfuscated type
2017-07-16 09:15:28 -04:00
Adam 9734ded390 http-service: add item search 2017-07-14 18:34:34 -04:00
Adam 63192e5249 runelite-client: add synchronous job scheduler
Convert existing plugins to use it, so that the code all runs on the same
main game thread. Fixes various thread related issues caused from
accessing game state from executor threads.
2017-07-11 10:16:15 -04:00
Adam 8f4134f4bf runelite-client: update comment in pom 2017-07-10 22:11:12 -04:00
Adam 073249813f runelite-client: initialize config on start for fishing and imp plugin 2017-07-09 17:38:55 -04:00
Adam 3ac8d9df67 runelite-client: split plugin loading from plugin start so that plugins can access configuration on start 2017-07-09 17:38:34 -04:00
Adam c351107a3a runelite-api: redump item/object/npc ids from, 148 2017-07-08 22:53:13 -04:00
Adam cba8c83ca6 cache: use id to uniquely name fields 2017-07-08 22:41:11 -04:00
Adam 57ce1a1c46 cache: update to 148 2017-07-08 22:32:16 -04:00
Adam ebf39b286b checkstyle: enforce RightCurly alone 2017-07-08 14:17:16 -04:00
Adam 77c9f40e35 runelite-client: add examine plugin to submit examines 2017-07-08 13:36:18 -04:00
Adam 10b4ce6f0f runelite-client: add menu action enum 2017-07-08 13:33:09 -04:00
Adam 24a6291145 http-service: add examine service 2017-07-08 12:37:39 -04:00