Hey everyone.
I know how hard it is to code features when you don't have a packet sniffer and such. Not just that, I know that analyzing the packet sniff might be difficult for some who don't know how the data is used. Here's my packet log for sending ping:
Packet Log:
My Analysis:
The client sends an item action packet (1009) to the client every 10 seconds, requesting the ping response from the server (to make a round trip measurement). The response is just sending the packet back. You do not edit the time in the packet. This will result in an invalid reading when the client attempt to display the ping.
Picture:
I know how hard it is to code features when you don't have a packet sniffer and such. Not just that, I know that analyzing the packet sniff might be difficult for some who don't know how the data is used. Here's my packet log for sending ping:
Packet Log:
Code:
Packet 1 -- From: TQClient -- Length: 88 | Receive Length: 96 -- Type: 1009
58 00 F1 03 E7 CC 42 00 00 00 00 00 1B 00 00 00 ; X B
BE 8F 1F 0D 00 00 00 00 00 00 00 00 00 00 00 00 ;
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ;
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ;
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ;
00 00 00 00 00 00 00 00 54 51 43 6C 69 65 6E 74 ; TQClient
Packet 2 -- From: TQServer -- Length: 88 | Receive Length: 96 -- Type: 1009
58 00 F1 03 E7 CC 42 00 00 00 00 00 1B 00 00 00 ; X B
BE 8F 1F 0D 00 00 00 00 00 00 00 00 00 00 00 00 ;
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ;
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ;
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ;
00 00 00 00 00 00 00 00 54 51 53 65 72 76 65 72 ; TQServer
The client sends an item action packet (1009) to the client every 10 seconds, requesting the ping response from the server (to make a round trip measurement). The response is just sending the packet back. You do not edit the time in the packet. This will result in an invalid reading when the client attempt to display the ping.
Picture: