Bump - updated the source code link on GitHub.
|
surprised this is still active lol
Killer thanks mate
Hello there!
I'm new to this forum and new to RSPS, so please be gentle.
A few days ago, I came across a long-forgotten idea to run my own RSPS, just for fun, as RS was a big part of my childhood.
However, I don't know Java and have never done anything similar. After two days of learning and trying, I finally logged into my first server and then managed to do it with another. I found these two amazing releases, Tyluur - Novite and RedRune.
As I managed to get the server running, I can't launch the client... it gets stuck at 2% for both. Both clients throw the same errors. Also, the RedRune lobby server throws an error about a missing archive (Archive 34). As I don't know how it all works under the hood, I can't figure it out yet, but it makes me think it has something to do with the cache. (pics below)
(P.S. I found a thread somewhere here that says this launcher error is not causing the client not to launch - it is something else.)
client error.png
lserror.png
Also, I had problems running these servers using Eclipse, so I'm not sure if I'm doing it correctly. For example, in RedRune, I have three *.bat files, one for each server - Master, Lobby, World. (pics below) And I noticed that the structure of the server is a bit different. Usually, I find one launcher, but I figured it is because of the lobby server?
servers.png
Using: Windows11, JDK-21, No database connected.
I'm here hoping someone can bring a bit of clarity my way. Thanks in advance!
Last edited by nrnk; 11-22-2023 at 04:46 PM.
I think you meant to post this on the RedRune thread, but nevertheless, what I'd start with is running the game server in an IDE instead of the run.bat scripts (those are a bit oldfashioned).
Additionally, try launching the client with JRE-1.8 instead of JDK-21.
I'll see what I can do to simplify the launch process in the meantime as well.
Thanks for your response! Yes, perhaps this should be moved...
I tried running the game server in an IDE using JRE-1.8 and encountered the error: "... has been compiled by a more recent version of the Java Runtime (class file version 64.0). This version of the Java Runtime only recognizes class file versions up to 52.0."
When I ran the game server (MSBootstrap) in an IDE using JDK-21, I received an error about the missing getEvent() function in MSNetworkSystem (see picture below).
ide_error.png
I also noticed that when running the client, it creates a cache directory at C:/.jolt_cache_32.
UPDATE:
Kept digging and found out about Lombok, a Java library needed to generate the Event() getter. So, I downloaded the latest version, rebuilt the server, and managed to run MSBootstrap server in an IDE.
Next, I tried launching LSBootstrap and came across another error (see picture below).
LS error.png
UPDATE 2:
I managed to launch servers. There was a problem with Lombok again. I ended up editing code in BootHandler.java related to AnnotationDefaultProcessor with some help of AI and it was good to go.
And here I am again, back to where I started, with the client loading up to 2% and getting stuck... with "Archive did not exist: 34".
UPDATE 3:
Managed to launch. Cache was the problem.
Last edited by nrnk; 11-23-2023 at 09:29 PM.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |