[Release] Version conversion tool between client and server

02/25/2017 03:25 glandu2#1
As mentioned here: [Only registered and activated users can see links. Click Here To Register...] I completed my filter tool so it can handle large epic difference of packets.

You can get it from the attachment.


You need to change the "client.gamefilter.ip:EXTERNAL_PUBLIC_IP" line in the rzfilter-auth.opt file to the IP the client need to connect on (typically your public internet IP or 127.0.0.1 if you have the client on the same PC as the server)

To start the filters, launch the start_filter_version.bat file (it start both auth and game filters, the auth filter is needed to redirect the client to the game filter).

The following configs in rzfilter-game-version.opt set the client and server version and the public IP (so the client can connect to the GS filter).
Code:
client.epic:0x090300
server.epic:0x090100
client.gamefilter.ip:EXTERNAL_PUBLIC_IP
So here the client is set to 9.3 and the GS server to 9.1.
If you have everything on localhost, use 127.0.0.1 for EXTERNAL_PUBLIC_IP.

When starting sframe, you must use /auth_port with the value of client.listen.port in rzfilter_auth_version.opt which is 14500 by default in the filter config.
Code:
sframe /auth_port:14500 /auth_ip:127.0.0.1 ...
The reason for this 14500 port is because when the auth and the filter are both localhost, 4500 is the real auth server port and 14500 the filtered auth port.

I tried different version of the client on 9.4 server, epic 2 and 3 sometimes don't load (because of map location maybe). Epic 4 works but most rendering is not done as most stuff using in 9.4 didn't exist back then (items, character skin, soul pets for example).
Also some packets don't work because of missing information like upgrading skills with a client older than epic 5.2.

Here some screenshots of the same place and character:
Epic 4 client:
[Only registered and activated users can see links. Click Here To Register...]

Epic 8.1 client (the bottom of the window is not visible because I have a small screen :p):
[Only registered and activated users can see links. Click Here To Register...]

Epic 9.4 client (the matching one with the server):
[Only registered and activated users can see links. Click Here To Register...]
02/25/2017 03:33 Xijezu#2
@[Only registered and activated users can see links. Click Here To Register...] out of curiosity, does warp'ing (or teleporting in general) works for you with the epic 4 client?
02/25/2017 05:54 ThunderNikk#3
Well first off great work as always this is awesome. Secondly, I hope you don't mind but I edited your title with a [Release] prefix so it is easier to find with the rest of the releases in a forum search.
02/25/2017 11:47 glandu2#4
Quote:
Originally Posted by Xijezu View Post
@[Only registered and activated users can see links. Click Here To Register...] out of curiosity, does warp'ing (or teleporting in general) works for you with the epic 4 client?
Yes it works. I'm able to teleport to trainee island and then move.
The client send a TS_CS_DIALOG packet which I guess trigger the teleportation.
Then the GS send TS_SC_WARP so the client actually teleport the player.

But when I logout then login, the GS teleport the player back to horizon (via a TS_SC_WARP while the client is still loading). I guess this might be related to the fact I'm lvl 11.
02/25/2017 13:12 MohcenMaher#5
Good job :)
02/25/2017 14:56 Modamer9#6
nice release...good to see you come back again ... good job..
02/25/2017 15:06 InkDevil#7
Changed Link&Description of rz-Filter in Tool-List now.
Thanks for that Release! :)
02/25/2017 20:34 thund22222#8
thanks, as usual great work
02/25/2017 21:11 Xijezu#9
Quote:
Originally Posted by glandu2 View Post
Yes it works. I'm able to teleport to trainee island and then move.
The client send a TS_CS_DIALOG packet which I guess trigger the teleportation.
Then the GS send TS_SC_WARP so the client actually teleport the player.

But when I logout then login, the GS teleport the player back to horizon (via a TS_SC_WARP while the client is still loading). I guess this might be related to the fact I'm lvl 11.
Hmm, odd.
When I was working on the e4 Emu I had a huge problem with teleporting, every time I send the warp packet, the client crashed for some odd reason, but it worked more than fine if I used the Epic 5 Client.

I've probably missed something somewhere then, looking at your code the packet structure is the same in every epic
03/03/2017 02:16 glandu2#10
Here a new release of the tool with more version fixes based on available PDBs and tests.
Also, the current AR client use a new packet ID for the character list, this is handled now.

When using the AR client, use:
Code:
client.epic:0x090401
FYI all the source code (C++) is on [Only registered and activated users can see links. Click Here To Register...]
03/03/2017 10:39 MohcenMaher#11
after 5 minutes from playing , the game guard kick me , why?
03/03/2017 15:18 ThunderNikk#12
Are you on an Insider Preview version of Windows 10?
03/03/2017 15:57 [GA]Sharingan#13
i dont know why but with the v2 version i cant come over id and pw without any error i made same changes like v1 anyone have an idea whats the problem?
03/03/2017 17:10 MohcenMaher#14
Quote:
Originally Posted by thndr View Post
Are you on an Insider Preview version of Windows 10?
no , i use windows 10 full
03/03/2017 18:41 ThunderNikk#15
Quote:
Originally Posted by MohcenMaher View Post
no , i use windows 10 full
Insider preview versions are full versions of Windows 10.

They just don't like game guard.