OSRS Valius Release | Your #1 Custom OSRS Server | #181 Data [2020/Final Version]

K6R8Dwt

someone can help me with this please?
 
Can't build it, as well as any other server on this forum. I'm using Windows 10, JAVA_JRE path set to retail java, JAVA_HOME path set to directory with Amazon Corretto 18. What is the problem?


Spoiler for Code:

PS G:\RuneServer\Valius Package\Valius-Server-master> .\gradlew run --info
Initialized native services in: C:\Users\username\.gradle\native
The client will now receive all logging from the daemon (pid: 14640). The daemon log file: C:\Users\username\.gradle\daemon\5.5\daemon-14640.out.log
Starting 2nd build in daemon [uptime: 9 mins 41.904 secs, performance: 100%, non-heap usage: 7% of 268.4 MB]
Using 6 worker leases.
Starting Build

FAILURE: Build failed with an exception.

* What went wrong:
Could not initialize class org.codehaus.groovy.runtime.InvokerHelper
> Exception java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.reflection.ReflectionCache [in thread "Daemon worker"

* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 803ms


UPDATE:

I have managed to build it on Gradle 5.5 (on which the project is written) by manually downloading Java JDK 12 and setting it as SDK in IntelliJ

https://docs.gradle.org/current/userguide/compatibility.html

UPDATE:

Now i'm getting error package javafx.application does not exist on client build (OpenJFX needed) and I don't know how to fix this
 
Last edited:
Help please

Thanks! I fixed it

I tried to make the cache download for me, but I am getting error "loaderror Loading title screen - 0% 5"

I am pretty sure that its the problem with unzipping the cache, when client opens up, it starts to download the cache and its stopping at one point with the client error. I am a little bit confused what's the problem exactly


I'm having the same exact issue. I don't know how to fix this, I would very much so appreciate the help. Do I run the client in Eclipse but the server through Intellij? I'm currently trying to run them both through Intellij. Running into the "Loading title screen - 0% 5"

Let me know if I can provide anymore information please.

Thank you

I figured out how to fix this! Nevermind :)
 
Can't build it, as well as any other server on this forum. I'm using Windows 10, JAVA_JRE path set to retail java, JAVA_HOME path set to directory with Amazon Corretto 18. What is the problem?


Spoiler for Code:

PS G:\RuneServer\Valius Package\Valius-Server-master> .\gradlew run --info
Initialized native services in: C:\Users\username\.gradle\native
The client will now receive all logging from the daemon (pid: 14640). The daemon log file: C:\Users\username\.gradle\daemon\5.5\daemon-14640.out.log
Starting 2nd build in daemon [uptime: 9 mins 41.904 secs, performance: 100%, non-heap usage: 7% of 268.4 MB]
Using 6 worker leases.
Starting Build

FAILURE: Build failed with an exception.

* What went wrong:
Could not initialize class org.codehaus.groovy.runtime.InvokerHelper
> Exception java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.reflection.ReflectionCache [in thread "Daemon worker"

* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 803ms


UPDATE:

I have managed to build it on Gradle 5.5 (on which the project is written) by manually downloading Java JDK 12 and setting it as SDK in IntelliJ

https://docs.gradle.org/current/userguide/compatibility.html

UPDATE:

Now i'm getting error package javafx.application does not exist on client build (OpenJFX needed) and I don't know how to fix this

JavaFX is not packaged in JDK 12, either set it as lib or use JDK 1.8 which still has JavaFX packaged in it.

I opened the server with eclipse and found 6k Error ! someone have the first release ?

This is the first release, having 6k "errors" means you set it up wrong.
 
Is there anyone that could help me get the client loading? I've tried everything I keep getting errors. I have the server running no issue, but this client is giving me the biggest issues.
 
Thanks for the Release. I was working a bit on an older version a couple years ago. Seeing it kinda makes me want to try it out again, The source was fun.
 
Hi guys. Any chance anybody can help me setting this up? My discord is Arkanis#5492. Thanks in advance! :)
 
I would kindly ask for someone who knows how to set up the cache downloader here. I've been trying for ages, no luck.

Code:
java.lang.NullPointerException
	at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1838)
	at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
	at java.lang.Double.parseDouble(Double.java:538)
	at com.client.update.CacheDownloader.getExpectedVersion(CacheDownloader.java:91)
	at com.client.update.CacheDownloader.downloadCache(CacheDownloader.java:65)
	at com.client.Client.startUp(Client.java:11180)
	at com.client.Client.run(Client.java:6495)
	at java.lang.Thread.run(Thread.java:750)
java.io.FileNotFoundException: C:\Users\Simon\OzoneCache1\cacheVersion.dat (The system cannot find the file specified)
	at java.io.FileInputStream.open0(Native Method)
	at java.io.FileInputStream.open(FileInputStream.java:195)
	at java.io.FileInputStream.<init>(FileInputStream.java:138)
	at java.io.FileInputStream.<init>(FileInputStream.java:93)
	at java.io.FileReader.<init>(FileReader.java:58)
	at com.client.update.CacheDownloader.getExistingVersion(CacheDownloader.java:100)
	at com.client.update.CacheDownloader.downloadCache(CacheDownloader.java:66)
	at com.client.Client.startUp(Client.java:11180)
	at com.client.Client.run(Client.java:6495)
	at java.lang.Thread.run(Thread.java:750)
java.io.FileNotFoundException: C:\Users\Simon\OzoneCache1\itembonus.json (The system cannot find the file specified)
	at java.io.FileInputStream.open0(Native Method)
	at java.io.FileInputStream.open(FileInputStream.java:195)
	at java.io.FileInputStream.<init>(FileInputStream.java:138)
	at java.io.FileReader.<init>(FileReader.java:72)
	at com.client.Client.loadItemBonusDefinitions(Client.java:8114)
	at com.client.Client.startUp(Client.java:11188)
	at com.client.Client.run(Client.java:6495)
	at java.lang.Thread.run(Thread.java:750)
java.lang.NullPointerException
	at com.client.cache.graphics.font.TextDrawingArea.<init>(TextDrawingArea.java:24)
	at com.client.Client.startUp(Client.java:11191)
	at com.client.Client.run(Client.java:6495)
	at java.lang.Thread.run(Thread.java:750)
Error: loaderror Loading title screen - 0% 5
loaderror Loading title screen - 0% 5

this is the error.

It won't download the cache properly. Cache is zipped properly, I even included cacheVersion.dat but still won't work.
 

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