Robin Appelman
6143e0289b
Merge pull request 'Avoid sign-extending unsigned VarInts' ( #5 ) from nocrex/parser:unsigned-varint-fix into master
...
Reviewed-on: https://codeberg.org/demostf/parser/pulls/5
2025-09-16 22:59:08 +02:00
3dcbf2a4cf
fix sendprop roundtrip test
2025-09-16 22:58:29 +02:00
Nocrex
363821a545
Avoid sign-extending unsigned VarInts
2025-09-15 21:05:32 +02:00
Robin Appelman
b8d747fe51
Merge pull request 'Fix SendPropValue::Vector parsing when the float definition is NormalFloatVar' ( #4 ) from glyphpoch/parser:fix/send-prop-vector-parsing into master
...
Reviewed-on: https://codeberg.org/demostf/parser/pulls/4
Reviewed-by: Robin Appelman <icewind@noreply.codeberg.org>
2025-08-29 18:52:27 +02:00
glyphpoch
a8f379965c
Fix SendPropValue::Vector parsing when the float definition is NormalFloatVar
...
When the float definition is NormalFloatVar, the last component (z)
should be skipped and calculated from the first two components (x and
y), otherwise we can read too many bits, causing decoding failures:
* 744d6eb003/src/engine/dt_encode.cpp (L119-L143)
This is what was causing the issue with demos recorded on the
jump_classics_a3 map:
* https://codeberg.org/demostf/parser/issues/2
2025-08-28 21:03:30 +01:00
f104bad12f
clippy fixes
2025-08-08 13:08:48 +02:00
2c113f9a18
fix outer map not using baselines
2025-08-08 00:06:46 +02:00
e303969606
store last medic target
2025-08-07 23:22:35 +02:00
42b63cc7eb
fix player handles
2025-08-07 22:57:48 +02:00
af5ed45f2c
flake update
2025-08-07 22:46:05 +02:00
38e12f04b4
cleanup dependencies
2025-07-15 16:15:11 +02:00
fbaca025b6
feature gate write support, use hash to compare game event definitions
2025-07-15 16:06:23 +02:00
6ef2b1cea8
remove some bounds checks
2025-07-14 14:56:14 +02:00
b328db85e9
msrv
2025-07-13 23:50:09 +02:00
aa8da5f582
formatting
2025-07-13 23:41:22 +02:00
f7190dca0f
clippy fixes
2025-07-13 23:40:28 +02:00
b9d311f16f
no need to allocate for 4 byte magic
2025-07-13 23:40:28 +02:00
ec3685bfb3
move benchmarks to iai-callgrind
2025-07-13 23:40:28 +02:00
2ab3e91774
formatting
2025-07-12 22:53:27 +02:00
8da61fb3d8
update snapshots
2025-07-12 22:27:36 +02:00
Robin Appelman
9403297c30
Merge pull request 'Fix custom_file field in RawPlayerInfo by adjusting padding' ( #3 ) from seercat/demo-parser:seercat/playerinfo-padding into master
...
Reviewed-on: https://codeberg.org/demostf/parser/pulls/3
2025-07-12 22:25:22 +02:00
Seercat3160
2e7d3eb96f
Move the padding in RawPlayerInfo to make the custom_file field have correct alignment
2025-07-12 21:01:51 +10:00
33e40ca99b
live sentry rotation
2025-07-05 15:49:42 +02:00
e3810b0b03
sentry shield
2025-07-03 00:15:57 +02:00
b93390d1e4
split up gamestateanalyser
2025-07-02 21:54:35 +02:00
a229ed5f11
disguise fixes
2025-06-29 14:38:15 +02:00
5a7d4e12aa
heal target
2025-06-28 23:03:05 +02:00
e40be5529e
fix default spy cloak
2025-06-28 20:11:20 +02:00
4b88c33bf2
building construction progress
2025-06-28 20:09:45 +02:00
15046e8744
medigun type, spy class data
2025-06-28 19:15:16 +02:00
b6b55db0f9
better SendPropIdentifier des
2025-06-28 00:04:59 +02:00
149c4e2339
todos
2025-06-28 00:04:59 +02:00
1348384ca3
track cart
2025-06-26 20:22:13 +02:00
331a9fe593
project critical
2025-06-26 16:56:52 +02:00
306362d36e
handle _condition_bits
2025-06-26 01:36:23 +02:00
9adbe3bc6d
0.6.2
2025-06-26 00:32:52 +02:00
809d2504f5
player condition handling
2025-06-26 00:32:52 +02:00
fb51874315
0.6.1
v0.6.1
2025-06-03 21:01:05 +02:00
6926bc0413
flake update
2025-06-03 20:41:13 +02:00
Robin Appelman
d4bb45bd4f
Merge pull request 'Fix saturating overflow in ExtraData parsing' ( #1 ) from glyphpoch/parser:fix/extra-data-read-overflow into master
...
Reviewed-on: https://codeberg.org/demostf/parser/pulls/1
2025-06-03 20:39:16 +02:00
glyphpoch
624efb6427
Fix saturating overflow in ExtraData parsing
...
- Fix overflow in ExtraData by casting byte_len to usize before
multiplication. This was previously multiplying a u16 with
saturating_mul and would overflow when the extra data in string
tables reaches a certain size.
- Add test case for parsing large string table to verify correct
stream position after read.
2025-06-02 21:35:42 +01:00
d9b711add6
workflow updates
2025-05-25 22:37:37 +02:00
a632bb28bb
flake updates
2025-05-25 18:12:17 +02:00
08a6c0c33d
formatting
2025-05-25 18:12:17 +02:00
ca24cf4444
update repo url
2025-05-25 18:05:21 +02:00
57096ab170
prepare for 0.6
2025-05-05 19:23:56 +02:00
1fed4d8826
wip
2025-05-03 20:31:19 +02:00
4bd97e4afc
handle older serverinfo messages
2025-04-29 21:41:54 +02:00
442c4963f6
handle older prefetch messages
2025-04-29 21:14:55 +02:00
e7451375c2
Merge pull request #26 from Gcommer/from_const
...
Add SendPropIdentifier::from_const
2025-02-19 23:08:23 +01:00