You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A RuneScape game client from October of 2006 - the client has been modified specifically for use with RuneJS, a RuneScape game server emulator written in ES6 and TypeScript. **This client is not for OldSchool RuneScape** - it actually pre-dates the very first OSRS client by quite some time.
3
+
A RuneScape game client from October of 2006 which has been modified to work with RuneJS, a RuneScape game server emulator written in NodeJS and TypeScript. **This client is not for OldSchool RuneScape** - client #435 pre-dates the very first OSRS client by quite some time.
4
4
5
-
The game client is written in Java, as the original was in 2006. As RuneJS is meant to be a learning experience for game content development, there are no plans to create a JavaScript based RuneJS client at this time.
6
-
7
-
The purpose of this project being open source is to better understand how the game works under the hood, allowing for a better RuneJS game server. Obfuscation cleanup is always welcome! :)
8
-
9
-
We've no interest in OSRS client hacking, this client exists solely to log into RuneJS and has been modified accordingly.
5
+
We've no interest in OSRS client hacking, this client exists as a means to develop on RuneJS game servers and will not work with other server emulators.
10
6
11
7
## Usage
12
8
@@ -16,28 +12,30 @@ Running the client can be done either with the pre-built client JAR file or by b
16
12
17
13
Running the pre-built client requires having Java installed: https://www.java.com/en/
18
14
19
-
Once installed, go into the `/prebuilt/` and simply double-click the JAR file to run it. Alternatively, if double clicking the JAR does not work, you can use the command `java -jar RuneJS_Client.jar` from the `/prebuilt/` directory.
15
+
Once installed, go into the `/prebuilt/` and simply double-click the JAR file to run it. Alternatively, if double clicking the JAR does not work, you can use the command `java -jar client-435.jar` from the `/prebuilt/` directory.
20
16
21
17
The client will use a set of default configurations if no file is provided. The default client configuration matches up to the default RuneJS server configuration for quick and easy initial setup. It's highly advised that you generate your own RSA public and private keys for long term use.
22
18
23
-
To provide your own configurations, create a file named `runejs-client.yaml` in your User Home directory with the following content:
19
+
To provide your own configurations, create a file named `client-435.conf.yaml` in your User Home directory with the following content:
24
20
25
21
```yaml
26
22
net:
27
23
address: 127.0.0.1
28
24
game_port: 43594
29
25
cache:
30
-
cacheDir: .runejs_cache
31
-
jaggrabEnabled: false
26
+
cacheDir: .filestore_435
32
27
rsa:
33
-
rsaPub: YOUR_RSA_PUBLIC_KEY
34
-
rsaModulus: YOUR_RSA_PRIVATE_KEY
28
+
rsaPub: YOUR_RSA_PUBLIC_KEY (default dev pair provided in the example file)
29
+
rsaModulus: YOUR_RSA_PRIVATE_KEY (default dev pair provided in the example file)
35
30
login:
36
-
useStaticCredentials: false
31
+
useStaticCredentials: true
32
+
username: a
33
+
password: a
37
34
game:
38
35
roofsEnabled: true
39
36
freeTeleports: false
40
37
debugContextMenu: true
38
+
serverDisplayName: Build 435
41
39
```
42
40
43
41
Make sure to modify the given configuration for your specific needs.
@@ -55,7 +53,7 @@ The `application` gradle plugin provides the `run` task, which starts up the Mai
55
53
arguments can be provided via `--args`.
56
54
57
55
```
58
-
./gradlew run --args="1 live live highmem members"
56
+
./gradlew run
59
57
```
60
58
61
59
**Building a Jar**
@@ -64,5 +62,5 @@ The `jar` task can be used to build a jar, which is generated in the `build/libs
64
62
65
63
```
66
64
./gradlew jar
67
-
java -jar ./build/libs/435-client-0.1.jar 1 live live highmem members
0 commit comments