- Joined
- Aug 10, 2005
- Messages
- 11
- Reaction score
- 1
Hello,
i was tryieng to understand how Dragon FlyFF Sources handles the PAckets.
So at i could see the HEADER_LEN sait where to start to read the Header .
You can see it with a packet sniffer that the first 13 DataBytes E2 INT etc. are skipped.
So my idea was to build an universal emulator or a good source for future development on other pserver Projects (the original was from TitanMS).
For my test, i have a project wher i must read out at the 2. Byte at the Header (in Flyff : directly after the 0x5E).
So this are my Data Header from my client where i have to reakt :
00 41 00 26 10 00 74 65 73 74
00 00 00 00 6F 9A 80 7C 20 00 00 00 00 00 00 00
02 74 65 73 74 00 12 00 00 00 00 00
I thought "ok just changing HEADER_LEN will be solved", but i must set the header len on 1 or 2 , and if i set the header len under 8 or 9, the server didnt accept the packet.
The rest would be easy : Player.cpp , there is the Handler for the Header, and what the Server should execute / send as packet.
but i need to know how this works ...is there someone who nows that / can help?
i was tryieng to understand how Dragon FlyFF Sources handles the PAckets.
So at i could see the HEADER_LEN sait where to start to read the Header .
You can see it with a packet sniffer that the first 13 DataBytes E2 INT etc. are skipped.
So my idea was to build an universal emulator or a good source for future development on other pserver Projects (the original was from TitanMS).
For my test, i have a project wher i must read out at the 2. Byte at the Header (in Flyff : directly after the 0x5E).
So this are my Data Header from my client where i have to reakt :
00 41 00 26 10 00 74 65 73 74
00 00 00 00 6F 9A 80 7C 20 00 00 00 00 00 00 00
02 74 65 73 74 00 12 00 00 00 00 00
I thought "ok just changing HEADER_LEN will be solved", but i must set the header len on 1 or 2 , and if i set the header len under 8 or 9, the server didnt accept the packet.
The rest would be easy : Player.cpp , there is the Handler for the Header, and what the Server should execute / send as packet.
but i need to know how this works ...is there someone who nows that / can help?