[Request] anyone have exp with PacketLogger plz

11/01/2009 20:01 samehvan#1
Hello all,

i have a small problem with my PL, everything is working ok and i can login to the server , the login Encryption/Decryption work fine but the moment i login the PL server socket disconnects ,, the last PacketID i have is from Client to server as 1100 , any ideas ??

first Packet :- Client -->Server ,ID 1086
second Packet:-Server-->Client,ID 1055 (which contains the server IP ,i catched this one and changed the server IP to my IP , once i do that , the Client sends the 3rd packet and the server socket Loses connection)

any Tips/hints or info would be appreciated , thx
11/01/2009 20:32 Korvacs#2
Which client version are you using? Thats vital if you want any help from people.
11/01/2009 20:34 ImmortalYashi#3
5095, 5172 recommended
11/01/2009 21:33 samehvan#4
Quote:
Originally Posted by Korvacs View Post
Which client version are you using? Thats vital if you want any help from people.
it is 5095 , but connecting to Binary server so i guess it uses 5087 decryption/encryption with 5095 addons
11/01/2009 21:37 _Tequila_#5
Quote:
Originally Posted by samehvan View Post
it is 5095 , but connecting to Binary server so i guess it uses 5087 decryption/encryption with 5095 addons
Do you have any idea what your talking about?
Just out of curiosity.

On a more important note, your talking about the authentication server which you failed to mention, so it's obvious your getting disconnected.

The client sends the first packet (0x43E):
Code:
        WORD Size;
        WORD Type;
        char szUser[128];
        DWORD szPassword[32];
        char szServer[16];
The server replies with 41F (You should have this structure it's in nearly every source).
The client replies with one more packet, this one is just an "extra", I don't think it does anything, but it does include your computers MAC-ADDR in it. After that, the client disconnects itself from the authentication server, and then connects to the game server (if everything is ok, otherwise it displays an error message, for example, "invalid user name or password").
11/01/2009 21:51 samehvan#6
Quote:
Originally Posted by _Tequila_ View Post
Do you have any idea what your talking about?
Just out of curiosity.

On a more important note, your talking about the authentication server which you failed to mention, so it's obvious your getting disconnected.

The client sends the first packet (0x43E):
Code:
        WORD Size;
        WORD Type;
        char szUser[128];
        DWORD szPassword[32];
        char szServer[16];
The server replies with 41F (You should have this structure it's in nearly every source).
The client replies with one more packet, this one is just an "extra", I don't think it does anything, but it does include your computers MAC-ADDR in it. After that, the client disconnects itself from the authentication server, and then connects to the game server (if everything is ok, otherwise it displays an error message, for example, "invalid user name or password").
yes, that is what i thought of, so i dd catch the new port the server uses to connect to me which changed from 5816 to 5820 and start the game connection socket again with the new port , but nothing happened the client still on as if i am not using the Proxy anymore even if i terminate the proxy the client still connected
11/01/2009 22:02 _Tequila_#7
Quote:
yes, that is what i thought of, so i dd catch the new port the server uses to connect to me which changed from 5816 to 5820 and start the game connection socket again with the new port , but nothing happened the client still on as if i am not using the Proxy anymore even if i terminate the proxy the client still connected
In the 41F packet, you must set the IP to a local host IP (your external IP will work fine if your not behind a router, or if you portforward 5816). If you don't you'll connect to TQ's server. Or you can hook the winsock library connect() or inet_addr() function to modify where it's connecting to.