ClampInt
with CheckInt
https://github.com/teeworlds/teeworlds/commit/4e5d713f7549a0ea61ad71528bd6ea935978388c/m_LocalStartTime
which only happens after receiving the second snapshot on the main connectionm_LocalStartTime
which only happens after receiving the second snapshot on the main connection +hookcoll
presseddemo_extract_chat
crashes with stack overflow sizeof(CSnapshotDelta)=524560
and 524288
of that are for debugging, changing to uint64_t
recently doubled this2024-12-09 17:46:54 I assert: /tw/sources/src/game/server/ddpp/accounts.cpp(830): SetLoggedInThread failed to execute
(Tried MySQL 8.0, MariaDB 10.4, MariaDB 11.2)
MariaDB log: 2024-12-09 18:03:19 31 [Warning] Aborted connection 31 to db: 'clb2s' user: 'clb2s' host: '10.42.0.61' (Got an error reading communication packets)
(don't be fooled about this error, I can register, but can't login, and there's data in DB)
And also it won't build with bundled DDNet libs. (edited)CSnapshotDelta
object on the stack, as it's currently 524560 bytes large.
See #9234, which almost doubled the size of CSnapshotDelta
due to the type being changed from int
to uint64_t
.
m_IsPredicted
will always be true. Free PR if someone wants it.
https://github.com/ddnet/ddnet/blob/fd34043bcea83a3a2cfc6c15dc4ec13869138ae2/src/game/client/gameclient.cpp#L3127-L3132 (edited)