You have two slashes leading to the .txt, other than that I'd have to take a look myself. Add me on Skype FlyingAK47.
|
im new to this eclipse thing so it may not be a hard fix but when i run the server it does fine, but when i try to run the client it shows this....
java.io.IOException: Server returned HTTP response code: 403 for URL: http://lost-isle.org//clientversion.txt
at sun.net.http://www.protocol.http.HttpURLConn...tream0(Unknown Source)
at sun.net.http://www.protocol.http.HttpURLConn...Stream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at ClientVersionChecker.getRemoteVersion(ClientVersio nChecker.java:85)
at ClientVersionChecker.update(ClientVersionChecker.j ava:27)
at Client.startUp(Client.java:8895)
at RSApplet.run(RSApplet.java:174)
at Client.run(Client.java:6132)
at java.lang.Thread.run(Unknown Source)
i tried to look up stuff on how to fix it but it doesnt seem to work, Anyone know anything about how to fix this?
You have two slashes leading to the .txt, other than that I'd have to take a look myself. Add me on Skype FlyingAK47.
If you're that desperate you can just drop the link shit and go directly to ClientVersionChecker.getRemoteVersion(ClientVersio nChecker.java:85)
Replace the return of the getRemoteVersion with the version ID, which is 2.09, so that it'll look as
Or just replace the damn link there with http://www.lost-isle.com/clientversion.txtCode:public static double getRemoteVersion() { return 2.09; }
You oughta learn some basics before attempting to even work with private servers though. Shouldn't follow the path of other headless morons here who just attempt to slap a source online with no experience or knowledge in development whatsoever, nor any common sense/logic.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |