1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-04 02:24:12 +02:00
Commit graph

171 commits

Author SHA1 Message Date
f0bb2af3ca better packetentities 2021-07-22 22:29:46 +02:00
3c128e54c8 always use updatestringtable code path 2021-07-22 22:28:57 +02:00
d4a92c04bb better varint 2021-07-22 17:24:45 +02:00
48c7fefa82 fix uknown usermessage re-encoding 2021-07-22 14:22:09 +02:00
bd9d174444 properly reencode unknown game event definitions 2021-07-22 13:26:17 +02:00
875dc7120c more string table tests 2021-07-21 18:50:36 +02:00
a6ba0c20ec string table history while writing 2021-07-21 18:13:27 +02:00
2ebd7e9693 some minor enum cleanup 2021-07-21 14:28:45 +02:00
70fe69db21 saytext2 fix 2021-07-21 14:21:15 +02:00
3ea59220c8 also adjust saytext2 reading 2021-07-20 23:41:39 +02:00
6be6dc7669 fix saytext2 encoding 2021-07-20 23:32:37 +02:00
e53aa10d80 saytext2 improvements 2021-07-20 23:02:00 +02:00
4797f96e63 fix remove entity encode 2021-07-20 21:49:06 +02:00
9d8bf2da63 better packet baseline encode? 2021-07-20 21:24:24 +02:00
577a998baa entity write fixes 2021-07-20 19:27:24 +02:00
6f80468b6d fix baseline diff 2021-07-20 17:39:30 +02:00
9b9a6fc95c message write 2021-07-20 14:50:05 +02:00
4843fe0600 packetentities write? 2021-07-20 13:52:47 +02:00
bfd6d8caf9 sendprop writing 2021-07-19 19:53:51 +02:00
62026515d7 string table messages write 2021-07-19 18:00:14 +02:00
34533a9608 write TempEntitiesMessage 2021-07-18 21:41:06 +02:00
35b0bb15ee cvar write 2021-07-18 15:11:19 +02:00
a55217cc55 game event writing 2021-07-18 15:03:26 +02:00
5573ec5db2 clippy fixes 2021-07-17 15:37:15 +02:00
36077864ad remove the need to read raw game event before transforming into game event 2021-07-16 23:51:35 +02:00
715c41aecc classinfo fix and write 2021-07-16 21:35:27 +02:00
54f16e2031 bitbuffer update 2021-07-16 21:22:34 +02:00
5ec81e168f write wip 2021-07-15 22:41:58 +02:00
af669d34df voice encoding 2021-07-13 22:36:25 +02:00
9a9bcdc9df some write progress 2021-07-13 20:42:59 +02:00
3ab0a1b325 0.2.5 2021-07-11 16:11:15 +02:00
5547e31810 0.2.4 2021-07-11 16:07:03 +02:00
c2fe8eca07 ignore empty text messages 2021-06-03 23:44:43 +02:00
bb79d269d8 add some sanity checks to compressed and decompressed size for snap encoded string tables 2021-05-23 14:09:28 +02:00
4d87f5b279 prevent panic on invalid compressed stringtable size
fixes #2
2021-05-22 17:35:27 +02:00
e2a631cef3 fix handling of some saytext2 messages 2021-02-16 17:13:27 +01:00
35519d5fce dont stop prop and table name in sendprop 2021-02-13 14:48:55 +01:00
df9a6a138e strongly typed sendpropdefinition 2021-02-13 01:25:03 +01:00
1258827b54 update dependencies 2021-02-12 23:21:27 +01:00
Tails8521
b7e6db1f4f made DemoTicker cloneable 2021-01-11 20:46:58 +01:00
e5e54de65d make parserstate static 2020-12-06 20:55:02 +01:00
25f24b63f6 remove the need to allocate all messages in a packet 2020-12-06 19:30:54 +01:00
9f0acad361 cow stringtable 2020-12-06 17:42:15 +01:00
a4ddd586dd borrowed data 2020-12-06 00:55:54 +01:00
992941b5e4 fmt 2020-11-30 20:31:30 +01:00
Lasse Dalegaard
63b2f2e599 Rename VoiceInit extra_data to sampling_rate
When quality is 255, an extra field is included in the VoiceInit
message. This field is the sampling rate for the voice codec selected.
This commit simply renames that field from `extra_data` as it is
currently known.

Interestingly, this field is present, but doesn't match when CELT HQ is
used. If `sv_voicecodec = vaudio_celt_high` on the server, the sampling
rate is still specified as 22050 Hz(as for CELT non-HQ) rather than the
expected 44100 Hz.  The client code will instead look for `vaudio_celt`
and `vaudio_celt_high` as codec name, and use these to to index a lookup
table that specifies the correct sampling rate and frame size. For
`vaudio_celt` 22050 Hz with 512 samples per frame is used, while
`vaudio_celt_high` uses 44100 Hz with 1024 samples per frame.
2020-03-27 13:07:22 +01:00
8f2c732945 fixes 2020-03-05 23:34:05 +01:00
c0117de169 adjust to bitbuffer rename 2020-02-13 00:02:43 +01:00
90c5e6c7f9 improved handling of unicode chat messages 2020-02-09 16:40:34 +01:00
a47336f709 extract world boundaries 2020-01-31 00:49:03 +01:00