Conversion to message-based packet encoding/decoding system
Jameskmonger opened this issue · 3 comments
Jameskmonger commented
-
write the core of the system
-
convert all outbound messages
- chat
- console commands #107
- interactions
- magic
- use item
- examines
- friend/ignore
- walking (73, 89, 236) #145
- widgets
- misc
- click flashing tab icon (44) #129
- anticheats? telemetry? who knows.. some of this stuff was in 317 and earlier
- 121
- 178
- 13
- 210
- 160
- 216
- clicking something? is this an anticheat too? (234)
- sending camera position? (58)
- idle checker? (216)
- unknown group, possibly cs2 related
- 111
- 9
- 193
- 53
- 94
- 213
- 46
- 130
- 157
- 84
- convert all inbound messages
- updating
- region loading
- cameras and cutscenes (7, 255, 253, 234) #137
- varps/varbits (222, 2, 14, 72) #130
- cs2 (240)
- widgets
- set widget to hidden (115) #126
- containers
- set model (250) #120
- set npc chathead (160) #120
- set player chathead (210) #120
- set widget item model (120) #120
- set widget text (110) #120
- set widget text color (231) #120
- move widget child (3) #120
- set scroll position (182) #120
- animate widget model (24) #120
- rotate widget model (142) #120
- set widget model rotation speed (117) #120
- show widgets:
- inputs
- bulk packets #146
- main coordinator (63) #146
- play sound at position (9) #140
- spawn ground item (175) #139
- spawn ground item [exclude some players] (19) #139
- update ground item amount (99) #139
- remove ground item (74) #139
- rotate/animate object (49) #144
- spawn landscape object (241) #144
- remove landscape object (143) #144
- projectile (1) #143
- player to object transformation (229) #141
- render gfx (202) #142
- sound
- chat
- console #107
- misc
- unknown
- anticheat or something? (58)
TODO add more as I find them
Promises commented
Could you also list unknown packets, and the ids for the known ones? could help figuring out the rest?
Jameskmonger commented
@Promises good suggestion. I've listed all outgoing opcodes for any packets which aren't done. Some of them are in the list, others I don't know what they do yet.
Jameskmonger commented
The main piece of this work is done 🎉
I'll leave this ticket open for now as there are some nice-to-haves left (cs2, anticheat etc).