Hello Guys, So I dug through my backups of servers and found my 718 from 2013, woohoo.. except it's been a while and I have forgotten what security features I had implemented for the client. Obviously, the source is there but I have forgotten to add a backup of my client so I'm in a bit of a sticky situation. Tried to use a few clients from the matrix but there have been multiple issues. I got https://www.rune-server.ee/runescape...lease-2-a.html client up to this point [code1]. But I'm really stuck with the loading up part ( i think I added a custom check for client ID, but now after all these years I'm lost what I have done) Just want to run it and see what I did back then. The server like expected works fine, just getting the client now is an issue.
The source is 718 Matrix base, don't remember who it was released from.
[code1]
Code:
File loaded successfully.
Something went wrong with loading the settings.
METHOD 3536
METHOD 3536
METHOD 3536
Error: Class158.method1702:84 Class243.method2287:69 Class243.method2292:167 Class125.method1401:231 Class275.method2573:55 client.method2806:2858 client.method2773:628 Class291.method2764:596 Class291.method2759:411 Class291.run:354 java.lang.Thread.run | java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer; | 0,0,0,0 0,0,0, 0 0 2 768,503 1 2 1 1 0 0 5445 12 -1 hAJWGrsaETglRjuwxMwnlA/d5W6EgYWx
java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
at sun.security.ssl.BaseSSLSocketImpl.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at IPAddress.method6062(IPAddress.java:149)
at Class291.run(Class291.java:360)
at java.lang.Thread.run(Unknown Source)
Press any key to continue . . .
So I will paste my classes and hope one of them will be the right one.
My server.
Settings class https://pastebin.com/KgbBwk4N
Clientpacketdecoder class - https://pastebin.com/L4fH1srp
Loginpacketsdecoder class - https://pastebin.com/mGVqXkL8
Launcher class - https://pastebin.com/xtMZr05F
The client I'm trying to use: https://www.dropbox.com/sh/pnv7wxzt9...iew=client.rar
I have tried copy login authentication from the server it comes with but it still doesn't work. I need some advice as I'm really out of ideas what to change now, and as I have to work this is just something I want to set up for later on in my backups (basically working client)
Would appreciate any help.