Commit Graph

5210 Commits

Author SHA1 Message Date
vis2k
063ae9553a remove SnapshotBuffer. use list directly for easier interpolation. 2021-03-17 17:52:39 +08:00
vis2k
4ed9c6443f add quote 2021-03-17 14:31:08 +08:00
vis2k
39ae21f6b4 ConstructSnapshot helper function 2021-03-17 14:29:10 +08:00
vis2k
79fb69c064 SnapshotBuffer: store snapshots in a list sorted by time; it's also responsible for dropping too old snapshots now. makes NT easier. 2021-03-17 14:26:43 +08:00
vis2k
75b8801b67 SnapshotBuffer tests 2021-03-17 13:29:56 +08:00
vis2k
b9a6ef38bb remoteTime based on first snapshot.timestamp += deltaTime instead of sequence ushort 2021-03-17 10:47:21 +08:00
vis2k
a91604d109 Snapshotbuffer and apply snapshots 2021-03-16 18:24:50 +08:00
vis2k
5c7e5ac849 syntax to prepare for snapshot buffer 2021-03-16 17:40:25 +08:00
vis2k
c3aae952ee comments 2021-03-16 17:32:58 +08:00
vis2k
1c83342520 Snapshot.sequence and throw away older snapshots 2021-03-16 16:44:51 +08:00
vis2k
f45ad5d668 syntax 2021-03-16 16:44:51 +08:00
vis2k
c41c680d0f sauce 2021-03-16 16:44:50 +08:00
vis2k
03edb800ac snapshot struct 2021-03-16 16:44:50 +08:00
vis2k
5d5f51b030 update channel names 2021-03-16 16:44:50 +08:00
vis2k
5435a50ec3 syntax 2021-03-16 16:44:50 +08:00
vis2k
214cdb26bc else if 2021-03-16 16:44:50 +08:00
vis2k
0ec151a4cd syntax 2021-03-16 16:44:50 +08:00
vis2k
68d3278e65 remove old comment 2021-03-16 16:44:50 +08:00
vis2k
cd555005fc syntax 2021-03-16 16:44:50 +08:00
vis2k
1f58261407 add comments 2021-03-16 16:44:50 +08:00
vis2k
19db6b5c69 oumuamua step 1: raw unreliable 2021-03-16 16:44:50 +08:00
vis2k
c957500710 customizable noise 2021-03-16 16:30:27 +08:00
vis2k
e9081c468c LatencySimulation: perlin noise spikes 2021-03-16 16:12:04 +08:00
vis2k
d8fb7cda63 range slider 2021-03-16 15:32:04 +08:00
vis2k
83f8593caa LatencySimulation: spike latency via multiplier 2021-03-16 15:29:20 +08:00
vis2k
1281f72ac2 LatencySimulation: SimulateLatency helper function 2021-03-16 15:26:42 +08:00
vis2k
de076348c0 syntax 2021-03-16 15:24:52 +08:00
vis2k
58560166ca Latency Simulation: add latency when adding to queue 2021-03-16 15:24:23 +08:00
vis2k
28be3a814c syntax 2021-03-16 15:19:37 +08:00
vis2k
1938597a7b LatencySimulation: scramble changed to a probability 2021-03-16 13:40:04 +08:00
vis2k
5ebadd7367 packages: remove coverage from manifest-coverage to fix CI? 2021-03-16 12:56:25 +08:00
vis2k
512866ec03 packages: remove perf test framework from manifest-coverage to fix CI? 2021-03-16 12:54:02 +08:00
vis2k
c5322ac5d5
remove performance test framework to fix CI (#2648) 2021-03-16 12:40:26 +08:00
MrGadget
53dad15e04 Shorten Channel Enums (#2644)
Co-authored-by: MrGadget1024 <chris@clevertech.net>
2021-03-16 12:08:28 +08:00
ThatDan123
254a0b929d Added what size the rejected packet was (#2645) 2021-03-16 12:08:23 +08:00
MrGadget1024
386a26c5b7 GUIConsole in Mirror namespace, formatting 2021-03-16 12:08:18 +08:00
vis2k
0713db8338 add comment 2021-03-15 19:26:18 +08:00
vis2k
0c39279239 obsolete Utils.Version 2021-03-15 19:21:24 +08:00
vis2k
257dd2a775 cleanup 2021-03-15 19:18:02 +08:00
vis2k
a5ab683917 cleanup 2021-03-15 19:18:02 +08:00
JesusLuvsYooh
ce62184a86
interpolateScale On NT (#2639)
interpolateScale On NT
2021-03-15 18:01:55 +08:00
vis2k
c4e4bf3148 LatencySimulation: add latency spikes 2021-03-15 13:43:15 +08:00
vis2k
f3997b6030 syntax 2021-03-15 13:38:40 +08:00
vis2k
7de5c18986 fix: LatencySimulation now sends all messages that are ready to be sent. previously a scrambled message being inserted randomly could delay the ones behind it in the list 2021-03-15 13:21:34 +08:00
vis2k
7c7fa74572 add comment 2021-03-15 13:16:12 +08:00
vis2k
2f2ffb9f36
feature: Latency Simulation (#2640)
* wrap around a transport

* loss

* unreliable client to server latency

* reliable client to server latency

* unreliable/reliable server to client latency

* add comment

* list to prepare for scramble

* unreliable scramble

* rename to LatencySimulation

* help url

* doc: updated comment

* fix: MultipleAdditiveScenes AddPlayer timing

* Update Assets/Mirror/Runtime/Transport/LatencySimulation.cs

Co-authored-by: MrGadget <9826063+MrGadget1024@users.noreply.github.com>

* Update Assets/Mirror/Runtime/Transport/LatencySimulation.cs

Co-authored-by: MrGadget <9826063+MrGadget1024@users.noreply.github.com>

* remove old comments

* SimuateSend helper function as per suggestion

Co-authored-by: MrGadget1024 <chris@clevertech.net>
Co-authored-by: MrGadget <9826063+MrGadget1024@users.noreply.github.com>
2021-03-15 10:12:54 +08:00
vis2k
9ba02a6169 update performance framework to remove warnings 2021-03-15 09:37:39 +08:00
vis2k
dbf8f61815 well this is awkward 2021-03-15 09:36:02 +08:00
MrGadget1024
86c8e1bb24 fix: MultipleAdditiveScenes AddPlayer timing 2021-03-14 17:06:05 -04:00
MrGadget1024
6384d1c244 doc: updated comment 2021-03-14 15:10:13 -04:00