Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds support for proxy targets, allowing the user to define different endpoints on-top of latest Old School RuneScape. This allows one to connect to both OSRS and RSPS at the same time, even if they are on different revisions, with live transcribing supported.
Currently, only the native client is supported for custom targets - excluding MacOS (untested, but most likely the case due to increased patching happening).
This is a work in progress and bugs may still occur. Future support for MacOS and RuneLite is desired, but it is unclear if we can accomplish that at this time.
Usage
In order to use the new proxy targets feature, one has to manually fill in the yaml file containing them.
The file is located at
user.home/.rsprox/proxy-targets.yaml
Here is an example RSPS target:
Properties breakdown:
id
- A number from 1 to 100, must be unique. This is a required property.name
- The name given to the client. Any references toOldSchool RuneScape
will be replaced by this. This is a required property to ensure caches don't overwrite and cause crashing at runtime when loading different games simultaneously.jav_config_url
- The URL to the jav_config that will be used to load initial world and world list. This is a required property.varp_count
- Changes the array length used for varps in the client, the default value is 5000. This is an optional property.revision
- A revision number used to pick the client and correct decoders. The default is whatever is currently latest stable in Old School RuneScape. This is an optional property.modulus
- A hexadecimal (base-16) RSA modulus used to encrypt the login packet sent to the client. This is a required property.