e2a631cef3
fix handling of some saytext2 messages
2021-02-16 17:13:27 +01:00
a3fc003437
shove changes_often into the enum
2021-02-13 16:55:22 +01:00
0a34318c65
normalize prop definitions during flatening
2021-02-13 16:39:11 +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
3f4722bfea
allow creating owned Demo
2021-01-11 20:59:40 +01:00
Tails8521
6ecb665f33
make handler public so custom analyzers can impl BorrowMessageHandler
2021-01-11 20:47:21 +01:00
Tails8521
b7e6db1f4f
made DemoTicker cloneable
2021-01-11 20:46:58 +01:00
2e740c8f2f
dont hard error when packet is cut off
2021-01-11 00:10:45 +01:00
8f754d3f44
fix handling of mallformed utf8
2020-12-06 21:22:53 +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
28ad5fafde
cow string table name
2020-12-06 19:26:18 +01:00
9f0acad361
cow stringtable
2020-12-06 17:42:15 +01:00
a4ddd586dd
borrowed data
2020-12-06 00:55:54 +01:00
fed1da5cb0
non buffered bitbuffer
2020-12-05 22:49:39 +01:00
35c6f19a2c
analyser access
2020-11-30 20:31:30 +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
1eb6c06ac3
improved user info handling
2020-02-09 16:38:38 +01:00
38cdb3a59b
btreemap for users
2020-02-09 16:32:54 +01:00
54e86accc9
make packetype copy
2020-02-09 16:29:43 +01:00
fd96ffaf47
fix parsing demos that only set their user info in stringtable updates
2020-02-02 22:36:30 +01:00
a47336f709
extract world boundaries
2020-01-31 00:49:03 +01:00
66d568a65f
fix some more overflow panics
2020-01-20 21:07:32 +01:00
fcccdd8505
accept different size int game event values for improved backwards compatibility
2020-01-20 12:40:18 +01:00
6599a5d6d2
handle mallformed utf8 gameevent values
2020-01-20 12:30:05 +01:00
d952c5c4bc
fix parsing demos that have game events before the definitions
2020-01-20 11:47:42 +01:00
3caadadb3b
harden against dos with crafted input by limiting reserved vec/map size
2020-01-19 22:13:12 +01:00
42c0eb2c89
more panic fixes for mallformed demos
2020-01-19 22:08:10 +01:00
e412399309
fix panic in log_base2 in malformed demos
2020-01-19 21:15:03 +01:00
e77770c780
fix panics with misformed demos and incorrect length values
2020-01-19 20:25:13 +01:00
f5504cd682
better skips
2020-01-19 14:50:35 +01:00
b7c3baee17
update to bitstream_reader 0.7
2020-01-07 23:26:37 +01:00
826190419b
minor api
2019-12-25 23:34:36 +01:00
fb166e0808
gamestate api bits
2019-12-22 18:45:28 +01:00
83a13e5e52
remove multiplex for now due to borrow type issues
2019-12-22 17:14:43 +01:00
63f39e2f73
demoticker
2019-12-22 17:08:09 +01:00
2306fa5d17
finish api changes and rawpacketstream
2019-12-22 16:53:47 +01:00
42358f243b
parser api wip
2019-12-22 15:47:00 +01:00
81f7ce8df9
let analyser build matchstate directly
2019-12-22 15:15:57 +01:00
ee63f2ab93
tryFromPrimitive
2019-12-22 15:06:53 +01:00
c4f9b7bfb8
switch from enum-primitive-derive to num_enum
2019-12-16 14:47:18 +01:00
11c7fb507f
clippy fixes
2019-12-15 14:41:45 +01:00
f1608357ad
no need to save spawn list anymore
2019-12-15 14:22:56 +01:00
ca1c67af75
remove seperate userstate struct
2019-12-15 01:17:34 +01:00