1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-03 10:14:06 +02:00
parser/src/demo/message
Peter a1b1db6f84 Fix parsing of SayText2 messages starting with color codes other than \x01
SayText2 messages can use a simplified format where the body is just
client, raw, and a single null-terminated colored text string, without
the usual kind/from/text fields. The parser detected this by peeking
the first byte after client and raw and checking if it was \x01 (color
code for default color), but the text can also start with other color
codes such as \x07 (6-char hex color). When this happened, the parser
would consume the entire message text as the kind string (falling back
to ChatAll), leaving the text and from fields empty.
2026-04-05 10:48:27 +01:00
..
bspdecal.rs feature gate write support, use hash to compare game event definitions 2025-07-15 16:06:23 +02:00
classinfo.rs feature gate write support, use hash to compare game event definitions 2025-07-15 16:06:23 +02:00
gameevent.rs feature gate write support, use hash to compare game event definitions 2025-07-15 16:06:23 +02:00
generated.rs feature gate write support, use hash to compare game event definitions 2025-07-15 16:06:23 +02:00
mod.rs feature gate write support, use hash to compare game event definitions 2025-07-15 16:06:23 +02:00
packetentities.rs feature gate write support, use hash to compare game event definitions 2025-07-15 16:06:23 +02:00
prefetch.rs feature gate write support, use hash to compare game event definitions 2025-07-15 16:06:23 +02:00
serverinfo.rs feature gate write support, use hash to compare game event definitions 2025-07-15 16:06:23 +02:00
setconvar.rs feature gate write support, use hash to compare game event definitions 2025-07-15 16:06:23 +02:00
stringtable.rs feature gate write support, use hash to compare game event definitions 2025-07-15 16:06:23 +02:00
tempentities.rs feature gate write support, use hash to compare game event definitions 2025-07-15 16:06:23 +02:00
usermessage.rs Fix parsing of SayText2 messages starting with color codes other than \x01 2026-04-05 10:48:27 +01:00
voice.rs feature gate write support, use hash to compare game event definitions 2025-07-15 16:06:23 +02:00