This repository has been archived on 2020-03-29. You can view files and clone it, but cannot push or open issues or pull requests.
sampy_archive/notes.md

31 lines
798 B
Markdown

## Packet stuff
---
### Client to server
Name|Pattern|Ids|Description
---|---|---|---
Struct ID|a2 08 {id} 27|id = data id|Following packet is part of id
First packet|Amount of seperate packets sent|Total length before end|Bit length
---|---|---|---
a2 08 8a 27|2|52 (48)|104 (96)
a2 08 c4 27|3|45 (41)|90 (82)
### Server to client
Name|Pattern|Ids|Description
---|---|---|---
Struct ID|e3 {id} 00|id = data id|Following packet is part of id
First packet|Amount of seperate packets sent|Total length before end|Bit length
---|---|---|---
e3 00 00|2|26 (23)|52 (46)
e3 01 00|2|20 (17)|40 (34)
e3 07 00|1|3|6
e3 0a 00|2|130 (127)|260 (254)
e3 0b 00|2|11 (8)|22 (16)
e3 0c 00|2|15 (12)|30 (24)
### Random notices
- 27 seem to be used a lot
- Server to client `Struct ID` seem to be incremental
-