Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Help

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 09.06.2009, 09:50   #1
tsanki
Guest
 
Posts: n/a
Default StatusUpdatePacket structure

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. Открыть источник.
 
Old 09.06.2009, 09:54   #2
Kain
Guest
 
Posts: n/a
Default StatusUpdatePacket structure

Grab a copy of L2J's repository

http://www.l2jserver.com/

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 06-09-2009, 09:54 AM. Открыть источник.
 
Old 09.06.2009, 10:08   #3
tsanki
Guest
 
Posts: n/a
Default StatusUpdatePacket structure

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. Открыть источник.
 
Old 10.06.2009, 04:59   #4
tsanki
Guest
 
Posts: n/a
Default StatusUpdatePacket structure

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. Открыть источник.
 
Old 10.06.2009, 08:41   #5
maxl
Guest
 
Posts: n/a
Default StatusUpdatePacket structure

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. Открыть источник.
 
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 18:21.