How to make server connect with other client versions?

This is not a Support area! Discuss about the Server here. Non-Server related discussion goes in Off-Topic Discussion.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
kotkot90
Posts: 30
Joined: Sat Jun 19, 2010 2:01 pm

How to make server connect with other client versions?

Post by kotkot90 »

Is it possible to connect to the server with a GOD client? What changes should I make? I don't care about issues and features. I just want to connect and make my own changes. Please tell me all the steps I have to make to achieve this. Thanks.
VidoN
Posts: 23
Joined: Mon Dec 26, 2011 7:04 pm

Re: How to make server connect with other client versions?

Post by VidoN »

If I am right you have to change only the protocol in the server.properties file. But I am not sure the protocol is in that file.
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: How to make server connect with other client versions?

Post by UnAfraid »

That's not so simple as changing the protocol version.
You must implement proper protocol support for other game versions.
I've did cross client support 2 years ago h5 + god awakening
Image
User avatar
kotkot90
Posts: 30
Joined: Sat Jun 19, 2010 2:01 pm

Re: How to make server connect with other client versions?

Post by kotkot90 »

I don't have a god client yet on my computer, but I guess the current version in trunk won't connect to a god client right? Give me some hints where in the code should I begin.
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: How to make server connect with other client versions?

Post by UnAfraid »

Getting protocol will not be so easy as you might expect.
You must find the proper structure by 'checking' how retail server works
You could use wireshark for that
You must decrypt the traffic after that and analyze all packets and guess their structure which isnt easy especially in lindvior they changed the protocol soo much.
Image
User avatar
kotkot90
Posts: 30
Joined: Sat Jun 19, 2010 2:01 pm

Re: How to make server connect with other client versions?

Post by kotkot90 »

I think I get it. Thanks.
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7005
Joined: Tue Aug 11, 2009 3:36 am

Re: How to make server connect with other client versions?

Post by Zoey76 »

It's possible, but not really worth it, what would be nice is one login server for all versions :P
Powered by Eclipse 4.30 🌌 | Eclipse Temurin 21 ☕ | MariaDB 11.3.2 🗃️ | L2J Server 2.6.3.0 - High Five 🚀

🔗 Join our Discord! 🎮💬
Post Reply