From 335724441cb3a1331436c4ed722a90b3f65adfc4 Mon Sep 17 00:00:00 2001 From: zeruth Date: Thu, 18 Apr 2019 15:59:45 -0400 Subject: [PATCH] Fix project structure Haha kut had a point, tests are enabled in travis just for assurance. --- .travis.yml | 7 +------ README.md | 42 +++++++++++++++-------------------------- runelite-client/pom.xml | 10 ++++++++++ travis/settings.xml | 4 ++-- 4 files changed, 28 insertions(+), 35 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6766833ee3..45da2f5994 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,9 +8,4 @@ jdk: - oraclejdk8 - openjdk11 install: true -script: ./travis/build.sh -notifications: - irc: - channels: - # "irc.rizon.net#runelite" - - secure: "mWQqHYRviyGWM5qQmQ3wtfUg2kFPNwC3ISbqsZhQiHiMLBxZoONMQVHIFgc09h1EqnM1mOLDAh6TSxsxNW1FR7j70pWc3hPOu8Lk1iu1vzLs/RN4dgKH8eQ0u1CpB5oaqHqC3X2CFGrytd92M7GUzHencY0twsze8m0592XRyK/3cuQwCRHFKN0uI7KNqF6n0M3/335sivB8gfy/zy5nKQmgL+r7Z2p4VrrUrSvdM3hKGhbixHijNB+5LONJpRpc/Z2Hgb5H5zmEcHBPRkHakmn5XtPYaC6eFqENi4lh99HYsN9q+ifarV0uQBdXNtJt0BFPFk0CnsnHD9QHRYOiRxROI7axISXmzA+3uoYuIMkwEcHivMkWXbgRLZaMvkjuIBKaKypTvVm+zWEPAdsNfCrWrqBuAwac6L/D++cri4f+00dKMXSE4TYSUV5mQj2WFBZ3se37UJGns4NHhcDe8SHoy6vnmIwaqGoylMmeTO80EVfFzkZxjH/YrRdwsuyCeQG9Tgv0FIDkhxwpsY/ek/TE/SHgO5U5gtKpFfB0cFc5RWfXxKat7PI31Ln5r5XahizScUi0FcdVD1cbGWug5/2vG0AEkyrgyFRJZuSxjCVidrX6vLitCNLGVvMC+BpZBSiDVZvyeQJ10SIwZnKDF+SlgSNv2+aEWnhunZ6GBb8=" +script: ./travis/build.sh \ No newline at end of file diff --git a/README.md b/README.md index 9c70f4f745..e19eb1024f 100644 --- a/README.md +++ b/README.md @@ -1,29 +1,17 @@ -![](https://runelite.net/img/logo.png) -# runelite [![Travis](https://img.shields.io/travis/runelite/runelite.svg)](https://travis-ci.org/runelite/runelite) [![Discord](https://img.shields.io/discord/301497432909414422.svg)](https://discord.gg/mePCs8U) +![](https://i.imgur.com/sBLouZ7.png) -RuneLite is a free, open source OldSchool RuneScape client. +[![Discord](https://img.shields.io/discord/373382904769675265.svg)](https://discord.gg/HN5gf3m) [![Travis](https://travis-ci.com/zeruth/runelit.svg?branch=master)](https://travis-ci.com/zeruth/runelit) +RuneLit is a fork of [RuneLite](https://github.com/runelite/runelite) that provides more functionality and less restrictions while staying open source. This is meant to directly compete with 3rd party RL clients that are trying to sell their code. + +# Notable Features: -If you have any questions, please join our IRC channel on [irc.rizon.net #runelite](http://qchat.rizon.net/?channels=runelite&uio=d4) or alternatively our [Discord](https://discord.gg/mePCs8U) server. - -## Project Layout - -- [cache](cache/src/main/java/net/runelite/cache) - Libraries used for reading/writing cache files, as well as the data in it -- [http-api](http-api/src/main/java/net/runelite/http/api) - API for api.runelite.net -- [http-service](http-service/src/main/java/net/runelite/http/service) - Service for api.runelite.net -- [runelite-api](runelite-api/src/main/java/net/runelite/api) - RuneLite API, interfaces for accessing the client -- [runelite-mixins](runelite-mixins/src/main/java/net/runelite) - Mixins which are injected into the injected client's classes -- [runescape-api](runescape-api/src/main/java/net/runelite) - Mappings correspond to these interfaces, runelite-api is a subset of this -- [runelite-client](runelite-client/src/main/java/net/runelite/client) - Game client with plugins - -## Usage - -Open the project in your IDE as a Maven project, build the root module and then run the RuneLite class in runelite-client. -For more information visit the [RuneLite Wiki](https://github.com/runelite/runelite/wiki). - -### License - -RuneLite is licensed under the BSD 2-clause license. See the license header in the respective file to be sure. - -## Contribute and Develop - -We've set up a separate document for our [contribution guidelines](https://github.com/runelite/runelite/blob/master/.github/CONTRIBUTING.md). +### Auto patch-time Bytecode patcher +What a mouthful right? it's great though. +The heart of the auto patching system is ByteCodePatcher. Adding a new patch would go as follows. + +1. Find unique identifier for class so it can be found after rev update, Add check to ByteCodePatcher. +2. Create Transformer for rsClass and call it when class is identified. + +A fully functional example is included at ActorTransform: +transformGetAnimation removes filtering +transformAnimationChanged removes filtering \ No newline at end of file diff --git a/runelite-client/pom.xml b/runelite-client/pom.xml index a7b525d04e..386dd29a60 100644 --- a/runelite-client/pom.xml +++ b/runelite-client/pom.xml @@ -244,6 +244,16 @@ ${guice.version} test + + org.javassist + javassist + 3.24.1-GA + + + org.xeustechnologies + jcl-core + 2.8 + diff --git a/travis/settings.xml b/travis/settings.xml index 30d386d764..6d2fec47d7 100644 --- a/travis/settings.xml +++ b/travis/settings.xml @@ -257,8 +257,8 @@ under the License. runelite - false - false + true + true