Commit Graph

8631 Commits

Author SHA1 Message Date
mischa
0d5bf9d830 OR perf test 2024-07-20 19:44:33 +02:00
mischa
f695f254a3 Revert "NetworkClient: handle EntityStateMessageUnreliable in host mode too"
This reverts commit 95f699cc2b.
2024-07-20 18:44:35 +02:00
mischa
b16b7f8eb5 fix: only ack EntityStateMessage, not every batch 2024-07-20 18:33:44 +02:00
mischa
f6ebc3ae25 syntax 2024-07-20 18:33:44 +02:00
mischa
95f699cc2b NetworkClient: handle EntityStateMessageUnreliable in host mode too 2024-07-20 18:33:44 +02:00
mischa
f3277c4a4c typo 2024-07-20 18:33:44 +02:00
mischa
48f7f05c9e rename ack message to be more obvious 2024-07-20 18:33:44 +02:00
mischa
0e3d13c3b9 improve logging 2024-07-20 18:33:44 +02:00
mischa
025a49ca4c bidirectional acks & tracking 2024-07-20 18:33:44 +02:00
mischa
b6e4e595dd UpdateIdentityAck 2024-07-20 18:33:44 +02:00
mischa
2a72b12cea comment 2024-07-20 18:33:44 +02:00
mischa
9159a23dab Client acknowledges server batches 2024-07-20 18:33:44 +02:00
mischa
c739f4e6d0 AckMessage 2024-07-20 18:33:44 +02:00
mischa
c52ab5ce74 NetworkServer.Broadcast: TrackIdentityAtTick 2024-07-20 18:33:44 +02:00
mischa
9fbbcca347 AckDeltaCompression: TrackIdentityAtTick 2024-07-20 18:33:44 +02:00
mischa
3b45ad994d simplify tests 2024-07-20 18:33:44 +02:00
mischa
6b91cee329 NetworkServer.tickHistory 2024-07-20 18:33:44 +02:00
mischa
78008e0d61 NetworkTime.localTime comments 2024-07-20 18:33:44 +02:00
mischa
c0ec6d7abe AckDeltaCompression: InsertAndAggregate 2024-07-20 18:33:44 +02:00
mischa
6486a71b78 NetworkBehaviour.dirtyBitHistory 2024-07-20 18:33:44 +02:00
mischa
655b3ec4ca improve logging 2024-07-20 18:33:33 +02:00
mischa
254dc864b1 fix out of order check: use remoteTimestamp not local time, and allow == time 2024-07-20 16:16:36 +02:00
mischa
a7639243e0 NetworkBehaviour.Serialize takes SyncMethod parameter to simplify callers and prepare for unreliable delta compression 2024-07-20 11:20:24 +02:00
mischa
be912f7bac NetworkTransformFastPaced syncs via unreliable OnDe/Serialize! 2024-07-16 11:19:02 +02:00
mischa
7ecfcb5c1b catch out of order unreliable messages and duplicates 2024-07-16 11:18:57 +02:00
mischa
7c724aaa56 EntityStateMessageUnreliable with custom handling 2024-07-16 10:01:43 +02:00
mischa
cdb3f9fc55 update tests 2024-07-15 14:07:53 +02:00
mischa
cb816b58f7 Client Broadcast: Traditional + FastPaced 2024-07-15 14:07:15 +02:00
mischa
5097d82707 Spawn message: always Traditional 2024-07-15 14:07:15 +02:00
mischa
e04122d0de Server Broadcast: Traditional and FastPaced 2024-07-15 14:07:15 +02:00
mischa
b7e5a2aac4 NetworkIdentitySerialization: traditional + fast paced 2024-07-15 14:07:15 +02:00
mischa
2b3fbf290b NetworkIdentity: SerializeClient SyncMethod support 2024-07-15 14:07:15 +02:00
mischa
49d5203457 NetworkIdentity: ServerSerialize SyncMethod support 2024-07-15 14:07:15 +02:00
mischa
462573880e NetworkBehaviour: IsDirtyFor(SyncMethod) helper 2024-07-15 14:07:15 +02:00
mischa
0aed27c0c5 NetworkIdentity: ClientDirtyMask with syncMethod option 2024-07-15 14:07:15 +02:00
mischa
50d6a2cabf NetworkIdentity: ServerDirtyMasks SyncMethod support! 2024-07-15 14:07:15 +02:00
mischa
7fabcaac4e NetworkTransformFastMode renamed to FastPaced, same for NetworkRigidbody 2024-07-15 14:07:15 +02:00
mischa
703ef4a9b2 NetworkTransformFastMode: force syncMethod 2024-07-15 14:07:15 +02:00
mischa
b480afeb37 ShooterFastPaced: switch player NT to NetworkTransformFastPaced 2024-07-15 14:07:15 +02:00
mischa
0a4fc8d25f example: ShooterFastPaced forked from minimal shooter, with regenerated GUIDs to not cause conflicts 2024-07-15 14:07:15 +02:00
mischa
628fe991a5 Billiards example switched to NetworkRigidbodyFastMode 2024-07-15 14:07:15 +02:00
mischa
861ded3e5f NetworkRigidbodyUnreliable forked as NetworkRigidbodyFastMode 2024-07-15 14:07:15 +02:00
mischa
47a8ef8db5 Tanks example switched to NetworkTransformFastMode 2024-07-15 14:07:15 +02:00
mischa
ba4adf32e6 NetworkTransformFastMode: remove change detection. This will be handled by delta compression in the future. 2024-07-15 14:07:15 +02:00
mischa
f95bd0d365 NetworkTransformUnreliable forked as NetworkTransformFastMode 2024-07-15 14:07:15 +02:00
mischa
2ec07cefd2 SyncMethod renamed to Traditional/FastPaced 2024-07-15 14:07:15 +02:00
mischa
f67eeee44d feature: NetworkBehaviour.syncMethod [Reliable, Unreliable] to prepare for quake style fast paced netcode 2024-07-15 14:07:15 +02:00
mischa
19f23cb8f6 NetworkIdentitySerializationTests: fix SerializeClient_NotInitial_NotDirty test setup so it actually would serialize if dirty 2024-07-15 14:06:34 +02:00
mischa
394ba40310 NetworkIdentitySerialization: Reset() function for convenience 2024-07-15 12:57:51 +02:00
mischa
04e875ab6c NetworkIdentity.DirtyMasks: syntax simplified further 2024-07-14 10:18:36 +02:00