Page 1 of 1

How to make server connect with other client versions?

Posted: Fri May 30, 2014 6:08 pm
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.

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

Posted: Fri May 30, 2014 8:02 pm
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.

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

Posted: Fri May 30, 2014 8:21 pm
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

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

Posted: Fri May 30, 2014 8:52 pm
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.

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

Posted: Fri May 30, 2014 9:26 pm
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.

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

Posted: Sat May 31, 2014 2:10 pm
by kotkot90
I think I get it. Thanks.

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

Posted: Sat May 31, 2014 4:49 pm
by Zoey76
It's possible, but not really worth it, what would be nice is one login server for all versions :P