317 Tarnish

legends

Install Java 11 JDK

i finally was able to finish both builds but now i have 2 new issues regarding client and server.
when running server i get this issue:


-Error: Unable to initialize main class com.osroyale.OSRoyale
Caused by: java.lang.UnsupportedClassVersionError: Preview features are not enabled for com/osroyale/game/task/impl/ClanUpdateEvent (class file version 63.65535). Try running with '--enable-preview'
-Error: Unable to initialize main class com.osroyale.OSRoyale

Caused by: java.lang.UnsupportedClassVersionError: Preview features are not enabled for com/osroyale/game/task/impl/ClanUpdateEvent (class file version 63.65535). Try running with '--enable-preview'



---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
when running client it opens the client but half way trough loading everything it stops and give me some errors


- Caused by: java.net.ConnectException: Connection refused: no further information

- WARNING: An illegal reflective access operation has occurred

- WARNING: Illegal reflective access by net.runelite.client.util.ReflectUtil (file:/C:/Users/---/OneDrive/Bureaublad/Tarnish%20Package/tarnish-client/build/classes/java/main/) to field java.lang.reflect.Executable.declaredAnnotations




im clueless as i am very new to this stuff but love the help im getting so far and i feel like im very close to running this source :D
DISCORD: dio013
 
Last edited:
tried to run the server, but ran into this error:
> Task :run
Jul 03, 2024 6:27:42 AM dev.advo.fs.FileServer start
INFO: Starting workers...
Jul 3, 2024 6:27:42 com.osroyale.OSRoyale [main]
ERROR: A problem has been encountered while starting the server.
java.lang.Exception: No index file(s) present
at dev.advo.fs.fs.IndexedFileSystem.detectLayout(IndexedFileSystem.java:76) ~[main/:?]
at dev.advo.fs.fs.IndexedFileSystem.<init>(IndexedFileSystem.java:50) ~[main/:?]
at dev.advo.fs.dispatch.RequestWorkerPool.start(RequestWorkerPool.java:49) ~[main/:?]
at dev.advo.fs.FileServer.start(FileServer.java:42) ~[main/:?]
at com.osroyale.OSRoyale.start(OSRoyale.java:163) ~[main/:?]
at com.osroyale.OSRoyale.main(OSRoyale.java:198) [main/:?]
Jul 3, 2024 6:27:42 com.osroyale.OSRoyale [Thread-0]
INFO: shutting down server, initializing shutdown hook
WARN StatusConsoleListener Unable to register Log4j shutdown hook because JVM is shutting down. Using SimpleLogger
Saving Tarnish...

A problem has been encountered while starting the server.
 
and under OSRorale.java, 2 errors
for:
private void processSequentialStatupTasks() {
OldToNew.load();
error:
Non-static method 'load()' cannot be referenced from a static context

and
ObjectExamines.loadObjectExamines();
Error:
Non-static method 'loadObjectExamines(java.nio.file.Path, com.google.gson.Gson)' cannot be referenced from a static context
 
All the links have been updated. Due to an overwhelming amount of requests, in the download section you'll find a download for RSPSi that's set up for Tarnish. In case you have any questions, feel free to message me on discord.
 
  • Like
Reactions: Velkon and Jire
I got the server and the client up and running thanks to Jire's post, but I was wondering if it was possible to configure the client to connect via using an external IP, instead of the default local host 127.0.0.1,etc. Is it possible to change something within the client, or add a private server plugin (etc), so external clients can connect to my hosted server?
 
I got the server and the client up and running thanks to Jire's post, but I was wondering if it was possible to configure the client to connect via using an external IP, instead of the default local host 127.0.0.1,etc. Is it possible to change something within the client, or add a private server plugin (etc), so external clients can connect to my hosted server?
Goto tarnish/game-client/src/main/java/com/osroyale/Configuration.java what you're looking for should be in there.
 
Last edited:

Users who are viewing this thread (total: 1, members: 0, guests: 1)