Hey guys i'm having trouble with my RSPS - I run my client fine and can connect from other computers (hamachi) but when i pack it into a JAR file it and run it, it says i cannot download the cache? Please help :)
Printable View
Hey guys i'm having trouble with my RSPS - I run my client fine and can connect from other computers (hamachi) but when i pack it into a JAR file it and run it, it says i cannot download the cache? Please help :)
Wrong section, go ask here - Runescape - MMO and MMORPG Developments - RaGEZONE forums
Who are you? Why are you telling them to post in the main discussion, and not the section he posted in (Which was the correct section in the first place)?
@OP: To answer your question, you are more than likely having an issue with the file path that the JAR uses to download the cache. One of the few requirements when you JAR a client is that you adjust all the paths of the libraries and storage to reflect the JAR. The common way to figure this out is to add a line before the error you're receiving (Debug it) that looks similar to
This prints the path that is being used by that class. adjust the file paths of your cache to match where it actually is.PHP Code:System.out.println(getClass().getProtectionDomain().getCodeSource().getLocation());