Development:Network:process jump
From Ghoulwiki
during a jump, the client disconnects from the gameserver and makes a new connection.
Contents
example packetlog
packetlog by wireshark (before and after reconnect)
see Development:Network:packetlog_jump
packetlog by wireshark parsed before reconnect
-- packetlogs/jump-1-before-reconnect.c Packet({from=client,cmd=CMD_JUMP,head={{len=16,pri=1,flags=0x0},{cmd=28,serial=132,datalen=0,flags=0x0}}}) Packet({from=server,cmd=CMD_SAVEDATA,head={{len=59,pri=1,flags=0x7a},{cmd=49,serial=0,datalen=43,flags=0x0}}}) Packet({from=server,cmd=CMD_JUMP,head={{len=37,pri=1,flags=0x7a},{cmd=28,serial=0,datalen=21,flags=0x0}}}) Packet({from=client,cmd=CMD_LOGOUT,head={{len=16,pri=1,flags=0x0},{cmd=2,serial=132,datalen=0,flags=0x0}}})
packetlog by wireshark parsed after reconnect
-- packetlogs/jump-2-after-reconnect.c Packet({from=client,cmd=CMD_CONNECT,head={{len=16,pri=1,flags=0x0},{cmd=46,serial=4995,datalen=0,flags=0x0}}}) Packet({from=server,cmd=CMD_CONNECT,head={{len=38,pri=1,flags=0x7a},{cmd=46,serial=0,datalen=22,flags=0x0}}}) Packet({from=client,cmd=CMD_LOGIN,head={{len=36,pri=1,flags=0x0},{cmd=1,serial=0,datalen=20,flags=0x0}}}) Packet({from=server,cmd=LOGIN_ACCEPT,head={{len=9924,pri=1,flags=0x7a},{cmd=4,serial=135,datalen=9908,flags=0x0}}}) Packet({from=server,cmd=CMD_TXTMESSAGE,head={{len=58,pri=1,flags=0x7a},{cmd=33,serial=0,datalen=42,flags=0x0}}}) Packet({from=client,cmd=CMD_DOWNLOAD,submd=ResolveRequest,head={{len=47,pri=1,flags=0x0},{cmd=30,serial=0,datalen=31,flags=0x10}}}) Packet({from=server,cmd=CMD_DOWNLOAD,submd=ResolveResponse,head={{len=47,pri=1,flags=0x7a},{cmd=30,serial=0,datalen=31,flags=0x10}}}) Packet({from=client,cmd=CMD_DOWNLOAD,submd=DownloadRequest,head={{len=47,pri=1,flags=0x0},{cmd=30,serial=0,datalen=31,flags=0x10}}}) Packet({from=server,cmd=CMD_DOWNLOAD,submd=DownloadFirstFragment,head={{len=1030,pri=1,flags=0x7a},{cmd=30,serial=0,datalen=1014,flags=0x10}}}) Packet({from=server,cmd=CMD_DOWNLOAD,submd=DownloadFragment,head={{len=1027,pri=1,flags=0x7a},{cmd=30,serial=0,datalen=1011,flags=0x10}}}) Packet({from=server,cmd=CMD_DOWNLOAD,submd=DownloadFragment,head={{len=1027,pri=1,flags=0x7a},{cmd=30,serial=0,datalen=1011,flags=0x10}}}) Packet({from=server,cmd=CMD_DOWNLOAD,submd=DownloadFragment,head={{len=1027,pri=1,flags=0x7a},{cmd=30,serial=0,datalen=1011,flags=0x10}}}) Packet({from=server,cmd=CMD_DOWNLOAD,submd=DownloadLastFragment,head={{len=985,pri=1,flags=0x7a},{cmd=30,serial=0,datalen=969,flags=0x10}}}) Packet({from=client,cmd=CMD_SERVERTIME,head={{len=19,pri=1,flags=0x0},{cmd=0,serial=0,datalen=3,flags=0x0}}}) Packet({from=client,cmd=CMD_SERVERTIME,head={{len=19,pri=1,flags=0x0},{cmd=0,serial=0,datalen=3,flags=0x0}}}) Packet({from=client,cmd=CMD_SERVERTIME,head={{len=19,pri=1,flags=0x0},{cmd=0,serial=0,datalen=3,flags=0x0}}}) Packet({from=client,cmd=CMD_SERVERTIME,head={{len=19,pri=1,flags=0x0},{cmd=0,serial=0,datalen=3,flags=0x0}}}) Packet({from=client,cmd=CMD_SERVERTIME,head={{len=19,pri=1,flags=0x0},{cmd=0,serial=0,datalen=3,flags=0x0}}}) Packet({from=client,cmd=CMD_SERVERTIME,head={{len=19,pri=1,flags=0x0},{cmd=0,serial=0,datalen=3,flags=0x0}}}) Packet({from=client,cmd=CMD_SERVERTIME,head={{len=19,pri=1,flags=0x0},{cmd=0,serial=0,datalen=3,flags=0x0}}}) Packet({from=client,cmd=CMD_SERVERTIME,head={{len=19,pri=1,flags=0x0},{cmd=0,serial=0,datalen=3,flags=0x0}}}) Packet({from=client,cmd=CMD_SERVERTIME,head={{len=19,pri=1,flags=0x0},{cmd=0,serial=0,datalen=3,flags=0x0}}}) Packet({from=client,cmd=CMD_SERVERTIME,head={{len=19,pri=1,flags=0x0},{cmd=0,serial=0,datalen=3,flags=0x0}}}) Packet({from=client,cmd=CMD_ADDCLIENT,head={{len=16,pri=1,flags=0x0},{cmd=12,serial=135,datalen=0,flags=0x0}}}) Packet({from=server,cmd=CMD_SAVEDATA,head={{len=37,pri=1,flags=0x7a},{cmd=49,serial=0,datalen=21,flags=0x0}}}) Packet({from=server,cmd=CMD_ADDEDYOU,head={{len=67,pri=1,flags=0x7a},{cmd=15,serial=135,datalen=51,flags=0x0}}}) Packet({from=server,cmd=CMD_ENTERCLIENT,head={{len=9912,pri=1,flags=0x7a},{cmd=13,serial=0,datalen=9896,flags=0x0}}}) Packet({from=server,cmd=CMD_SNAPCARGO,head={{len=20,pri=1,flags=0x7a},{cmd=40,serial=0,datalen=4,flags=0x0}}}) Packet({from=server,cmd=CMD_CREDITS,head={{len=21,pri=1,flags=0x7a},{cmd=42,serial=135,datalen=5,flags=0x0}}}) Packet({from=server,cmd=CMD_SNAPCARGO,head={{len=8670,pri=1,flags=0x7a},{cmd=40,serial=0,datalen=8654,flags=0x0}}})