PDA

View Full Version : StatusUpdatePacket structure


tsanki
09.06.2009, 09:50
how can i find the structure of this(and other) packets

i mean the data structure of the tcp packet that my pc receives.

the main idea is a cp-healing program but maybe will be extended.


thanx in advance.

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 06-09-2009, 09:50 AM. Открыть источник (https://web.archive.org/web/20100324122447id_/http://www.postpacific.com:80/archive/index.php/t-412.html).

Kain
09.06.2009, 09:54
Grab a copy of L2J's repository

http://www.l2jserver.com/

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 06-09-2009, 09:54 AM. Открыть источник (https://web.archive.org/web/20100324122447id_/http://www.postpacific.com:80/archive/index.php/t-412.html).

tsanki
09.06.2009, 10:08
http://www.l2jserver.com/svn/trunk/L2_GameServer/java/net/sf/l2j/gameserver/network/serverpackets/StatusUpdate.java


ty

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 06-09-2009, 10:08 AM. Открыть источник (https://web.archive.org/web/20100324122447id_/http://www.postpacific.com:80/archive/index.php/t-412.html).

tsanki
10.06.2009, 04:59
ok i need some more help on this:


i used wireshark to capture packets sended by the server to me:

http://www.imageshack.gr/view.php?file=wjp203gem7sdlugdsnwq.jpg


the idea is to use pcap library to read the packets (pure c)

as you can see at the screenshot i marked the data bytes of the tcp packet,

the problem is that the first byte (or two) must "name" the packet but it seems wrong .


the packet is sniffed from a hb server and according to this :

1F=ActionFailed

must be action failed packet but its not.


so the first think that i can imagine is that some how packets are encrypted.


can someone give a good advice to a newbie?:P


ps: the "hided" bytes is tcp protocol bytes referring to ips and macs

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 06-10-2009, 04:59 AM. Открыть источник (https://web.archive.org/web/20100324122447id_/http://www.postpacific.com:80/archive/index.php/t-412.html).

maxl
10.06.2009, 08:41
ok i need some more help on this:


i used wireshark to capture packets sended by the server to me:

http://www.imageshack.gr/view.php?file=wjp203gem7sdlugdsnwq.jpg


1. 1f 00 - it is a length of the packet

2. raw packets are encrypted

3. dig l2j, see links above

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 06-10-2009, 08:41 AM. Открыть источник (https://web.archive.org/web/20100324122447id_/http://www.postpacific.com:80/archive/index.php/t-412.html).