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.
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.
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.
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.
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.