Commit Graph

34 Commits

Author SHA1 Message Date
Lucwousin
57b7476299 Collapse @Copy, @Replace mixin methods 2020-07-19 03:31:16 +02:00
ThatGamerBlue
3e8427b5d8 scriptvmmixin: fix consuming WorldMapEvents and potentially others without running them 2020-07-08 01:25:24 +01:00
Lucwousin
9c05215c43 check script argument type 2020-06-29 02:26:28 +02:00
ThatGamerBlue
c314b42744 scriptvmmixin: change event firing order 2020-06-28 17:01:28 +02:00
ThatGamerBlue
9b06cbb192 revert scriptvmmixin changes for pre/post fired 2020-06-28 16:49:00 +02:00
Owain van Brakel
b73235e453 scriptvm: Checkstyle 2020-02-12 01:31:07 +01:00
Owain van Brakel
b523003d0f scriptvm: Fix cast exception 2020-02-11 23:56:41 +01:00
Owain van Brakel
6f3bf172b9 mixins: ScriptVM events 2020-02-11 20:48:33 +01:00
Owain van Brakel
491a7e76c4 Merge remote-tracking branch 'runelite/master' 2020-02-11 20:01:42 +01:00
Lucwousin
55b0845a18 Optimize imports 2019-11-16 04:51:03 +01:00
Owain van Brakel
02cf62b881 client/api: fix runscript 2019-08-11 19:40:16 +02:00
Lucwousin
7f30f0bb0e add easiest assertion ever for obvious script stuff 2019-08-11 11:35:39 +02:00
Owain van Brakel
8a8ece3c7a Merge remote-tracking branch 'runelite/master' into 0908-merge 2019-08-11 02:20:12 +02:00
Lucwousin
1050644394 everything else 2019-07-18 15:41:53 +02:00
Owain van Brakel
fc9e700c7c Rework rx eventbus implementation 2019-07-14 06:44:41 +02: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
Ganom
701d809f78 Fix up client. (#815)
* Aoe Warnings Fix-Up

* Freeze Timers NPE Fix

* Slayer Chat Lookup NPE && Fixing up Access levels.

* Raids Thieving NPE Fix && Fixing up Access levels.

* Revert "Fix copy paste error"

This reverts commit 26c88101b682eb76b98a8a0d88fc8a47c9f104d3.

* Revert "Fix checkstyle"

This reverts commit abf7fec004148897585bc0389bb5e0420e3d03cb.

* Revert "Convert game thread events to singletons"

This reverts commit b33048d7ee0481b17c5849d2d862e75c91e5a36c.

* Various Fixes
2019-06-29 17:31:23 +01:00
Owain van Brakel
38d9800d10 Convert game thread events to singletons (#794)
* Convert game thread events to singletons

* Fix checkstyle

* Fix copy paste error
2019-06-28 13:11:57 -07:00
zeruth
e4d6e9fe13 Port Injector to main layout
Adds deobfuscator
Adds injected-client
Adds injector-plugin
Adds runescape-client

Replaces RL's apis

Small bug with sprites atm, will be resolved soon. tired af.

Builds, probably
2019-06-08 05:43:03 -04:00
zeruth
eafb024f16 Revert to old layout for refactor 2019-06-07 23:54:32 -04:00
zeruth
882be3cb71 Merges Injector
Welcome to the new world boys.
2019-06-06 20:47:41 -04:00
Max Weber
7268d2cf34 ScriptVM: Bump execution time limit
This was changed a long time ago in Jagex's code. Normal listeners timeout after 500kops, but onLoadListeners timeout after 5mops
2019-01-07 19:03:15 -07:00
Max Weber
b8ff7f8412 ScriptVM: Catch exceptions thrown from a JavaScriptCallback
These shouldn't crash the client
2018-11-18 17:43:55 -07:00
Max Weber
33dec14a38 Add JavaScriptCallback to allow java callbacks instead of cs2 2018-10-21 16:49:31 -06:00
Max Weber
87bf71c1ff mixins: Prevent runScript from being called recursively
Due to the extensive use of globals in the ScriptVM it is not reentrant
2018-07-24 18:25:40 -06:00
Adam
f0da475370 Add interface representing all callbacks the client does, and convert mixins to use it
This allows creating and injecting Hooks via guice
2018-06-23 09:20:12 -04:00
Max Weber
38f59146d5 Mixins: Give scripts a log.debug callback 2018-04-01 16:16:26 -04:00
Max Weber
6e80cff926 Expose methods to execute scripts 2018-04-01 16:16:25 -04:00
Max Weber
0c04804d1a ScriptEvent > ScriptCallbackEvent 2018-04-01 16:16:25 -04:00
Max Weber
764e361626 mixins: Use assert in scriptvm 2018-03-24 20:38:59 -06:00
Max Weber
badc1e9182 injector: Fix scriptvm not updating currentScript 2018-03-08 18:54:05 -07:00
Adam
0d2aa71387 script vm mixin: comment more 2018-03-08 08:46:27 -05:00
Adam
938dd969d7 script vm mixin: remove assert for pc
pc appears unused, and is not being set correctly
2018-03-08 08:41:58 -05:00
Max Weber
f71059ce20 Add raw injector to hook the script interpreter 2018-02-09 23:35:16 -05:00