SHARE
TWEET

League of Legends packet documentation

Intline9 Mar 11th, 2011 1,558 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Intline9 notes for League of Legends packet protocol
  2. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3. For al my notes, the ones with ??????? there is a lot i'm not sure about
  4.  
  5. 11-03-2011, 22:50
  6. Recv packets have
  7.         8 bytes of initial header
  8.                 29 00 00 00                     Magic numbers or so
  9.                 XX 00                           80 for normal packets 00 for different packet (see normal)
  10.                 XX XX                           Guess something like latency or such a thing
  11.        
  12.         (?????? Sometimes the header has size 8 (perhaps even more diff sizes, cmd == 0x0449 || cmd == 0x0307 ====== headerSize += 2)
  13.         6 bytes of packet header
  14.                 XX XX                           Some kind of type (cmd)
  15.                 <extraStuff>            (Not sure what happens with header now, i do know that size is always in the end of the header
  16.                 XX XX                           Ack number (inc counter)
  17.                 XX XX                           Size of the packet
  18.                
  19.                 (??????This extra header is sent when the `Size of the packet` is 04???????)
  20.                 16 bytes of extra header for multi packets (packets spread over more then one physical packet)
  21.                         XX XX                   Size of this packet
  22.                         00 00                   Unknown
  23.                         XX XX                   Total packets who make up this single packet
  24.                         00 00                   Unknown
  25.                         XX XX                   Packet number (starting at zero)
  26.                         00 00                   Unknown
  27.                         XX XX                   Total size of the packets (body's only)
  28.                         00 00                   Unknown
  29.  
  30. 11-03-2011 23:30
  31. Send packets ack
  32.         85 FF                   Type of ACK
  33.         XX XX                   ACK number
  34.        
  35.         So packets who are not getting ACKed will get a resend from server within X ms
RAW Paste Data
Challenge yourself this year...
Learn something new in 2017
Top