Hello,
I am currently trying to analyze the current Network of the official Flyff (DE).
IP:
I started with simply receiving the Login Server packets.
I looked into an old server source and got a bit confused.
The first packet should be the session set packet.
The second would be a ping / keep alive packet.
The first 13 Bytes should be the Header:
Like said above the first packet (SessionSet) results in a data size of 8. (m_iSize = 8).
The first 4 Bytes are always 0xcd0536d0.
The other 4 Bytes are random (Session ID?).
The second packet has 4 random bytes in it. (They change every time I connect).
So I wonder if the first 4 bytes like in the first packet are the packet id and if so how it gets calculated because the second packet id is random.
I am currently trying to analyze the current Network of the official Flyff (DE).
IP:
Code:
Login: 174.35.123.21 Port: 23000 World / Devos: 174.35.123.27
Code:
Login Server Packet (8 Bytes actual content) Login Server Packet (4 Bytes actual content) -Disconnects- (Timeout)
The first packet should be the session set packet.
The second would be a ping / keep alive packet.
The first 13 Bytes should be the Header:
Code:
#pragma pack(push,1)
struct SServerHeader
{
uint8_t m_bHeadMark; // 0x5E (Didnīt change since source leak)
uint32_t m_iLengthHash; // sure ?
uint32_t m_iSize;
uint32_t m_iDataHash; // ?
};
#pragma pack(pop)
The first 4 Bytes are always 0xcd0536d0.
The other 4 Bytes are random (Session ID?).
The second packet has 4 random bytes in it. (They change every time I connect).
So I wonder if the first 4 bytes like in the first packet are the packet id and if so how it gets calculated because the second packet id is random.