Java Config URL & Unexpected Js5 server response: CLIENT_OUT_OF_DATE (RSProx & Alter)

Oct 21, 2012
840
9
0
Hello,
Unfortunately I am not much of a programmer by any means. Although thought it would be fun to code a OSRS based rsps for my own fun.

I am using Alter and RSProx. Now I will not lie, I struggled to get to the point I am at right now. My current issue is when I select my appointed 'server' using Native the client will launch but I will get the following error.
Spoiler for Unexpected JS5 server response: CLIENT OUT OF DATE:

Code:
2025-02-21 19:30:45:584    [INFO]    [ForkJoinPool.commonPool-worker-11]: SessionPanel.launchClient$lambda$11:473 - Native client started in 1.588600s
2025-02-21 19:30:46:071    [INFO]    [nioEventLoopGroup-10-1]: ClientLoginInitializer.initChannel:120 - Establishing a new connection to 127.0.255.19 @ Development
2025-02-21 19:30:46:089    [INFO]    [nioEventLoopGroup-10-1]: ClientLoginInitializer.initChannel:124 - Connecting to 127.0.0.1@43594 -- 127.0.255.19, World(id=255, properties=1, population=0, location=1, host='127.0.0.1', activity='Development', localHostAddress=127.0.255.19)
2025-02-21 19:30:46:090    [DEBUG]    [nioEventLoopGroup-11-1]: ServerConnectionInitializer.initChannel:18 - Connection initialized to [id: 0x7e6b0533]
2025-02-21 19:30:46:090    [DEBUG]    [nioEventLoopGroup-11-1]: ClientLoginInitializer.initChannel$lambda$5:136 - Successfully connected to server 127.0.0.1/43594 via [id: 0xf6db0cc2, L:/127.0.255.19:43702 - R:/127.0.0.1:60494]
2025-02-21 19:30:46:091    [DEBUG]    [nioEventLoopGroup-10-1]: ClientLoginHandler.channelRead0:459 - Init JS5 remote connection
2025-02-21 19:30:46:094    [DEBUG]    [nioEventLoopGroup-11-1]: ServerJs5LoginHandler.channelRead0:37 - Unexpected Js5 server response: CLIENT_OUT_OF_DATE, closing channel


I have tried for hours now to research why this is the case. From my understanding it has something to with the client not able to load the cache, or able to find the server, something to that regard.
What I believe my problem is, I do not have the proxy-targets.yml set properly.

Code:
config:
- id: 1
 name: Test
 jav_config_url: https://client.blurite.io/jav_local_227.ws
 varp_count: 5000
 revision: 227.3
 modulus: b9f8316db0ebe47d07db3b058d90631f0fbd437645b4d6d4f9b52e078882fe4cf68b1379980376f3fd331bb78a17757de342b2310b484a91beaf897e1695ce3d032d88d0c5b6e6d643857cf72dffeac637972ed078f5d4ff219e5b4ccf7c6b9377188fafdad8bdb977599a7c2a4ba405cce520f17fa05f1aefb18d429b6b2621

I believe what I need to do establish my own jav_config_url. "The URL to the jav_config that will be used to load initial world and world list." Now I tried to figure out how to do this, but I cannot find any tutorials, or info on how to properly do this. To be completely honest, I don't understand how the jav_config works.

The jav_local_227.ws file has the following parameters or code (Not sure if that's the right terminology or not :p)
Spoiler for jav_local_227.ws:

Code:
title=Blurite Alpha
adverturl=http://www.runescape.com/g=oldscape/bare_advert.ws
codebase=http://127.0.0.1/
cachedir=blurite
storebase=0
initial_jar=gamepack_8505496.jar
initial_class=client.class
termsurl=http://www.jagex.com/g=oldscape/terms/terms.ws
privacyurl=http://www.jagex.com/g=oldscape/privacy/privacy.ws
viewerversion=124
win_sub_version=1
mac_sub_version=2
other_sub_version=2
browsercontrol_win_x86_jar=browsercontrol_0_-1928975093.jar
browsercontrol_win_amd64_jar=browsercontrol_1_1674545273.jar
gedigesturl=https://secure.runescape.com/m=itemdb_oldschool/g=oldscape/digest.csv
download=2480047
window_preferredwidth=800
window_preferredheight=600
advert_height=96
applet_minwidth=765
applet_minheight=503
applet_maxwidth=5760
applet_maxheight=2160
msg=lang0=English
msg=tandc=This game is copyright © 1999 - 2024 Jagex Ltd.\Use of this game is subject to our ["https://legal.jagex.com/docs/terms"Terms and Conditions] and ["https://legal.jagex.com/docs/policies/privacy"Privacy Policy]. ["https://legal.jagex.com/docs/policies/privacy/exercising-your-rights"Do Not Sell Or Share My Personal Information].
msg=options=Options
msg=language=Language
msg=changes_on_restart=Your changes will take effect when you next start this program.
msg=loading_app_resources=Loading application resources
msg=err_verify_bc64=Unable to verify browsercontrol64
msg=err_verify_bc=Unable to verify browsercontrol
msg=err_load_bc=Unable to load browsercontrol
msg=loading_app=Loading application
msg=err_create_target=Unable to create target applet
msg=err_create_advertising=Unable to create advertising
msg=err_save_file=Error saving file
msg=err_downloading=Error downloading
msg=ok=OK
msg=cancel=Cancel
msg=message=Message
msg=copy_paste_url=Please copy and paste the following URL into your web browser
msg=information=Information
msg=err_get_file=Error getting file
msg=new_version=Update available! You can now launch the client directly from the OldSchool website.\nGet the new version from the link on the OldSchool homepage: http://oldschool.runescape.com/
msg=new_version_linktext=Open OldSchool Homepage
msg=new_version_link=http://oldschool.runescape.com/
param=8=true
param=4=1
param=22=https://auth.runescape.com/
param=21=0
param=14=0
param=3=true
param=5=1
param=18=
param=15=0
param=28=https://account.jagex.com/
param=17=https://client.blurite.io/world_list.ws
param=20=https://social.auth.jagex.com/
param=10=5
param=2=https://payments.jagex.com/
param=19=196515767263-1oo20deqm6edn7ujlihl6rpadk9drhva.apps.googleusercontent.com
param=25=227
param=11=https://auth.jagex.com/
param=12=255
param=13=.runescape.com
param=16=false
param=6=0
param=7=0
param=9=ElZAIrq5NpKN6D3mDdihco3oPeYN2KFy2DCquj7JMmECPmLrDP3Bnw


Anyway, that's where I am at. Not looking for any free hand outs or anything, just need some direction. If you guys have any tutorials you would recommend I read into please feel free to link me them. Thank you, I will provide brief video below of my progress.


 
The client version needs to match whatever version your server is expecting, shouldn't be anything to do with the cache. Why are you using rsprox anyway, is it suggested to use that as a client for alter?
 
  • Like
Reactions: Grown
As others have said, you're just on the wrong revision.
You can check what revision alter is using by checking the dependency on RSProt: https://github.com/AlterRSPS/Alter/blob/main/gradle/libs.versions.toml#L69

As for what client versions are valid to use (the `revision: 227.3` in the yaml config), you can visit https://archive.lostcity.rs/oldschool.runescape.com/native/osrs-win/
Pick the correct major version there that matches the RSProt dependency - subversion is down to you, whichever you prefer, though the latest one typically comes with fixes so that's what I'd recommend.
You also needn't maintain your own jav config, changing the blurite javconfig url will do the trick (e.g. _227 to _228) - I'm maintaining them starting from revision 223. If you wish to do edits, of course host your own.
 
  • Like
Reactions: Grown
As others have said, you're just on the wrong revision.
You can check what revision alter is using by checking the dependency on RSProt: https://github.com/AlterRSPS/Alter/blob/main/gradle/libs.versions.toml#L69

As for what client versions are valid to use (the `revision: 227.3` in the yaml config), you can visit https://archive.lostcity.rs/oldschool.runescape.com/native/osrs-win/
Pick the correct major version there that matches the RSProt dependency - subversion is down to you, whichever you prefer, though the latest one typically comes with fixes so that's what I'd recommend.
You also needn't maintain your own jav config, changing the blurite javconfig url will do the trick (e.g. _227 to _228) - I'm maintaining them starting from revision 223. If you wish to do edits, of course host your own.

Thank you Kris.
Appreciate the guidance, and access to RSProx.
1740281362404.png

The client version needs to match whatever version your server is expecting, shouldn't be anything to do with the cache. Why are you using rsprox anyway, is it suggested to use that as a client for alter?
Thank you Corey, was able to resolve the problem thanks to you and Kris.

Originally Alter recommended using Devious as the client but apparently it has been used for malicious activities.
In Alter's updated thread he recommends:
1740281584223.png

If there is a better way to utilize a client? Should I not use RSProx? I'm trying to do everything properly without taking any shortcuts, and learning the right way.

Thank you.
 

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