Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Intline9 notes for League of Legends packet protocol
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- For al my notes, the ones with ??????? there is a lot i'm not sure about
- 11-03-2011, 22:50
- Recv packets have
- 8 bytes of initial header
- 29 00 00 00 Magic numbers or so
- XX 00 80 for normal packets 00 for different packet (see normal)
- XX XX Guess something like latency or such a thing
- (?????? Sometimes the header has size 8 (perhaps even more diff sizes, cmd == 0x0449 || cmd == 0x0307 ====== headerSize += 2)
- 6 bytes of packet header
- XX XX Some kind of type (cmd)
- <extraStuff> (Not sure what happens with header now, i do know that size is always in the end of the header
- XX XX Ack number (inc counter)
- XX XX Size of the packet
- (??????This extra header is sent when the `Size of the packet` is 04???????)
- 16 bytes of extra header for multi packets (packets spread over more then one physical packet)
- XX XX Size of this packet
- 00 00 Unknown
- XX XX Total packets who make up this single packet
- 00 00 Unknown
- XX XX Packet number (starting at zero)
- 00 00 Unknown
- XX XX Total size of the packets (body's only)
- 00 00 Unknown
- 11-03-2011 23:30
- Send packets ack
- 85 FF Type of ACK
- XX XX ACK number
- So packets who are not getting ACKed will get a resend from server within X ms
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement