Commit Graph

1139 Commits

Author SHA1 Message Date
Major 3c26d0acf1 Merge pull request #387 from Major-/kotlin-experiments-pos
Improve ::position command message
2018-03-28 19:44:07 +01:00
Major 284cad3ef4 Merge pull request #386 from Major-/kotlin-experiments
Improve woodcutting, fishing, mining plugin code
2018-03-28 17:52:25 +01:00
Major 0316753f46 Improve ::position command message 2018-03-28 17:48:07 +01:00
Major 4b68b8e47e Separate prospecting actions 2018-03-28 17:39:51 +01:00
Major 0d7b2ea6e8 Add prospecting on expired rocks 2018-03-28 17:39:51 +01:00
Major 6941fc9de0 Fix nitpicks in Mining plugin
Also adds equals() and hashcode() implementations to the various
Mining actions.
2018-03-28 17:39:50 +01:00
Major 173623b76b Fix nitpicks in Woodcutting plugin 2018-03-28 17:39:46 +01:00
Major 45a0b43eee Remove incorrect Gunnarsgrunn fishing spots
The spots are actually on Tutorial Island and result in two
fishing spots stacked on top of each other.
2018-03-28 01:43:19 +01:00
Major b2f48815bf Fix nitpicks in Fishing plugin 2018-03-28 01:43:19 +01:00
Gary Tierney 5d77ed5e4b Remove plugin script stub 2018-03-27 22:35:12 +01:00
Gary Tierney 179c35fc2d Add IntelliJ kotlinc configuration
This removes the need for the plugin stub.
2018-03-27 22:35:12 +01:00
Gary Tierney d8116478d4 Remove dependency on embedded kotlin compiler
This is a large change that significantly simplifies the plugin build system by
having the kotlinc handle everything related to script compilation.  Since we
no longer use package name rewriting, the "packageName" option has been dropped
from the gradle script API and has been removed from existing plugins.

In addition to simplifying the build system, it should also significantly speed
up build times.  Previously we ran 2 build processes for every plugin and
didn't have fully working incremental compilation for scripts compared to 1
build process with built-in incremental compilation.

There were also some random pieces of code that referenced kotlinc directly, so
those have either been removed or refactored out.
2018-03-27 22:35:05 +01:00
Major 56cc934bdb Merge pull request #378 from apollo-rsps/garyttierney-patch-1
Add Acknowledgements section to the README
2018-01-28 18:19:23 +00:00
Gary Tierney 2f71097380 Add Acknowledgements section to the README
Also add list of services we're using via open source licensing models (YourKit
and Travis-CI).
2018-01-28 18:15:20 +00:00
Trevor Flynn 97896a34a4 Add implementation of runecrafting skill 2018-01-17 22:25:21 +00:00
Major e00b654d46 Merge pull request #368 from apollo-rsps/garyttierney-patch-1
Add Slack invite link to the README
2017-09-28 19:59:57 +01:00
Gary Tierney 68183eaf22 Add Slack invite link to the README 2017-09-28 19:57:59 +01:00
Major 397d9b2d6a Merge pull request #366 from apollo-rsps/kotlin-experiments-areas
Port the area actions plugin
2017-09-26 13:57:29 +01:00
Major 6e3ddff51a Correctly import api.Definitions 2017-09-24 22:56:48 +01:00
Major 046f373c9e Add packages to plugins 2017-09-24 22:35:07 +01:00
Major b4e8a7136b Add skill extension properties 2017-09-24 19:44:17 +01:00
Major ce1bcba893 Port Area plugin to Kotlin 2017-09-24 18:50:13 +01:00
Major cb9e6f353d Let plugins intercept Events
Support for PlayerEvents already exists, but general event
support wasn't included in the original KotlinPluginScript.
2017-09-24 18:13:17 +01:00
Major ae3d3c7ce2 Add destructuring operators for Position 2017-09-24 03:48:55 +01:00
Major 8c2f086ae5 Remove meta.toml files
Since plugins were moved to gradle they aren't used anyway.
2017-09-24 02:40:33 +01:00
Trevor Flynn 01f2bdda58 Port Fishing plugin to kotlin (#347)
This also fixes a bunch of bugs.
2017-09-24 02:00:38 +01:00
Major 64ee653423 Rename dls.kt to dsl.kt 2017-09-23 19:37:31 +01:00
Gary Tierney 179632337f Merge pull request #360 from apollo-rsps/kotlin-shops
Add shops in kotlin
2017-09-23 13:40:38 +01:00
Gary Tierney 53521e7e0d Update varrock plugin package name 2017-09-23 13:30:23 +01:00
Trevor Flynn 22df59500e Add varrock shops 2017-09-23 04:13:47 +01:00
Major 52c25946b9 Add shops plugin
Thanks to tlf30 for a lot of work on this.
2017-09-23 04:12:08 +01:00
Major 6d202abbc2 Support lookup_x inputs with the id at the end 2017-09-23 04:11:44 +01:00
Arin 1c8bc3a009 Add door support in Kotlin (#356)
Adds support for doors as a Kotlin plugin, based on the previous ruby plugin by shiver.
2017-09-20 11:29:36 +01:00
Gary Tierney 100cfa929d Merge pull request #355 from tlf30/kotlin-experiments-woodcutting
Added woodcutting plugin for Kotlin
2017-09-19 19:31:11 +01:00
Gary Tierney 2cd160feb3 Refactor woodcutting to use coroutines 2017-09-19 19:02:29 +01:00
Trevor Flynn 75a9b828b2 Fix all issues. Wood cutting now works. 2017-09-19 19:02:29 +01:00
Trevor Flynn da7c7e10b4 Woodcutting now uses Async Action 2017-09-19 19:02:29 +01:00
Trevor Flynn 3e6415f0d2 Initial commit on new woodcutting branch 2017-09-19 19:02:29 +01:00
Gary Tierney 76dd8ba192 Refactor asynchronous actions to avoid thread usage
Adds custom coroutines specifically for use within Actions.  This
implements all features of the previous system, however, does not rely
on a separate executor to wake up continuations.

Note: since Actions are still ran by an executor and a small chance of
overlap exists the ActionCoroutine implementation uses atomic counters
and references.
2017-09-19 01:52:10 +01:00
Gary Tierney c94019d6da Merge pull request #358 from kylestev/fix/add-login-decoder-login
Add logging to LoginDecoder for session rejections
2017-09-18 21:38:49 +01:00
Gary Tierney ec88b54ae6 Merge pull request #357 from kylestev/fix/add-rsa-gen-task
Add RSA key gen Gradle task
2017-09-18 21:37:46 +01:00
Kyle Stevenson 1537aa8b93 Add logging to LoginDecoder for session rejections
Fixes #322
2017-09-18 12:46:46 -07:00
Kyle Stevenson ddc7beeeea Add RSA key gen Gradle task
Fixes #325
2017-09-18 12:40:59 -07:00
Gary Tierney 169d89ffc0 Clear static object REMOVE messages when re-adding 2017-09-17 20:27:50 +01:00
Gary Tierney 8a3decfc54 Enable experimental coroutines for all kotlin projects 2017-09-17 19:37:14 +01:00
Gary Tierney 1f33619ac6 Add source information to remapped scripts 2017-09-17 19:36:58 +01:00
Gary Tierney 89516dab63 Rewrite package names in compiled script files 2017-09-17 18:42:19 +01:00
Gary Tierney 112b8aab57 Add basic detekt configuration 2017-09-17 04:28:10 +01:00
Gary Tierney a6ab74df58 Merge pull request #354 from apollo-rsps/editorconfig
Add kotlin to .editorconfig
2017-09-17 03:34:38 +01:00
Gary Tierney 40095d65e5 Add explicit stop() to async actions 2017-09-17 03:24:59 +01:00