Leon Friedrich
64b5d6e323
Pvs cleanup & expose methods for benchmarking ( #4779 )
...
* Pvs cleanup & expose methods for benchmarking
* Fix tests
* Minimalist PvsData
2023-12-30 13:23:29 +11:00
Leon Friedrich
eba58cb893
Remove RobustTree & PVSCollection ( #4759 )
...
* Cut down RobustTree
* Better LoD
* Add PvsPriority flag
* Undo cvar name change
* reorganize grafana metrics
* Fix tests
* Fix replays
* Don't try process empty chunks
* Fix move benchmark
* Fix benchmark
* Remove obsolete audio methods
* Moar benchmarks
* Rename EntityData
* A
* B
2023-12-28 09:10:13 +11:00
Leon Friedrich
005c2e784a
Add more PVS logs ( #4730 )
2023-12-18 12:36:48 +11:00
ElectroJr
87b82160b0
Fix #if FULL_RELEASE error
2023-12-16 23:28:58 -05:00
Leon Friedrich
ac957ca7fc
Try fix PVS bugs ( #4728 )
...
* Try fix PVS bugs
* change order
2023-12-17 14:55:46 +11:00
Leon Friedrich
4934a9c5a5
Combine PVS dictionaries ( #4693 )
...
* Try combine dictionaries
* Remove last-ack
* Remove lastSent
* Use structs
* Don't clear previous-sent on deletion
* Pass data into ProcessEntry
* Store visibility data in EntityData
* Turn ToSend into hashset
* Add EntityStringRepresentation constructors
* Add MetaDataComponent to EntityData
* Remove metadata cache
* Create GetStates partial class
* add ToSend partial class
* fix debug asserts
* Cleanup
* Rename partial class
* Try to optimize `ProcessLeavePvs`
* Add ProcessLeavePvsBenchmark
* Turn HashSet into List
* Collect expensive asserts into one block
* Revert "Add ProcessLeavePvsBenchmark"
This reverts commit 93d984e929 .
* remove comment
2023-12-17 03:37:48 +11:00
metalgearsloth
8d30735ffb
Run ProcessQueuedAcks asynchronously ( #4696 )
2023-12-15 19:10:09 +01:00
metalgearsloth
fb08451849
Replace Parallel.For with ParallelManager ( #4588 )
2023-11-29 10:57:52 +11:00
metalgearsloth
f69440b3f2
Minor PVS stuff ( #4573 )
...
Co-authored-by: ElectroJr <leonsfriedrich@gmail.com >
2023-11-22 21:54:07 +11:00
Leon Friedrich
28cc91934c
Change PVS error log into warning ( #4548 )
2023-11-07 15:02:13 +11:00
Leon Friedrich
5a6c4220fc
IPlayerManager refactor ( #4518 )
2023-10-24 20:18:58 +11:00
Leon Friedrich
be33bc2219
Re-add force ack threshold ( #4423 ) and fix bugs. ( #4438 )
...
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com >
2023-10-22 23:27:15 +11:00
metalgearsloth
22cd840b83
Revert "Add force ack threshold ( #4423 )" ( #4436 )
2023-09-19 18:36:41 +10:00
Leon Friedrich
005673a957
Add force ack threshold ( #4423 )
2023-09-19 15:16:01 +10:00
Leon Friedrich
10f25faabf
Try fix oldest ack issues ( #4426 )
2023-09-18 11:17:49 +10:00
Leon Friedrich
902519093c
Add PVS debug command ( #4422 )
2023-09-18 03:49:57 +10:00
metalgearsloth
e323a67806
Remove 1 pvs getcomp ( #4398 )
2023-09-15 15:28:16 +10:00
metalgearsloth
3fd731d917
Network entity ids ( #4252 )
2023-09-11 09:42:55 +10:00
metalgearsloth
e1e5f8de54
Fix master build ( #4325 )
2023-08-27 15:33:15 +10:00
Pieter-Jan Briers
5e1d80be35
Attempts to fix replay recording performance issues.
...
Replays now use a dedicated thread (rather than thread pool) for write operations.
Moved batch operations to this thread as well. They were previously happening during PVS. Looking at some trace files these compression ops can easily take 5+ ms in some cases, so moving them somewhere else is appreciated.
Added EventSource instrumentation for PVS and replay recording.
2023-08-27 02:15:15 +02:00
Leon Friedrich
149e9a2613
Fix a gamestate bug. ( #4260 )
2023-08-13 11:22:15 +10:00
Leon Friedrich
9d4105abc7
Add support for client-side replays ( #4122 )
2023-06-19 03:23:46 +10:00
Leon Friedrich
497674f306
Change capitalization of PVS to Pvs ( #4139 )
2023-06-15 12:08:34 +10:00
Leon Friedrich
17ca016791
Fix PVS concurrent update exception ( #3953 )
2023-04-21 13:45:28 +10:00
Leon Friedrich
c67151b9c9
Improve PVS metrics & multithread ack processing. ( #3936 )
2023-04-20 10:37:18 +10:00
Leon Friedrich
ad66e31d6e
Fix PVS bug ( #3935 )
2023-04-16 10:54:42 +10:00
Leon Friedrich
d80522633d
Add basic gamestate / replay recording. ( #3509 )
2023-02-12 16:16:30 +11:00
Leon Friedrich
35b2649c06
Small state/pvs cleanup. ( #3736 )
2023-01-26 15:09:43 +11:00
metalgearsloth
b562fba520
Minor gamestatemanager stuff ( #3709 )
2023-01-24 11:04:37 +11:00
Pieter-Jan Briers
bcf825d112
Mapped strings don't need IoC context anymore.
2022-12-18 17:40:17 +01:00
metalgearsloth
6b076645db
Kill NetworkedMapManager ( #3516 )
...
Co-authored-by: ElectroJr <leonsfriedrich@gmail.com >
Co-authored-by: Paul <ritter.paul1@googlemail.com >
2022-12-11 22:00:31 +01:00
Leon Friedrich
c0f384ac96
Add IDependencyCollection.FromParent() ( #3541 )
2022-12-02 10:19:51 +11:00
Paul Ritter
0b19d04c1c
makes some loops for in pvs for free perf ( #3338 )
2022-10-18 18:47:41 -07:00
Leon Friedrich
7b0c4dd7fb
Fix component removal / PVS bugs ( #3275 )
2022-10-08 13:22:32 +11:00
Leon Friedrich
578a967a31
Misc PVS error logging / debugging changes ( #3197 )
2022-08-30 10:17:11 +10:00
Leon Friedrich
1473f1d34c
Fix entity state exception tolerance ( #3171 )
2022-08-23 07:01:31 +10:00
Leon Friedrich
6a8266af7e
Revert "Revert "PVS & client state handling changes"" ( #3152 )
2022-08-21 08:30:28 +10:00
Leon Friedrich
9cd8adae93
Revert "PVS & client state handling changes" ( #3151 )
2022-08-21 05:27:16 +10:00
Leon Friedrich
b4358a9e33
PVS & client state handling changes ( #3000 )
2022-08-21 03:40:18 +10:00
20kdc
48895efad7
Flexible object pool for ZStd compression contexts rather than the array-based version ( #2763 )
2022-04-23 20:17:59 +02:00
Pieter-Jan Briers
588a9e9f63
ZSTD game states + other improvements ( #2737 )
2022-04-16 14:36:59 +02:00
Pieter-Jan Briers
45d906ba7e
Deprecate CreateNetMessage<T>.
2022-04-15 18:47:42 +02:00
Paul Ritter
4003003580
caching trees in pvs ( #2652 )
...
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com >
2022-03-30 22:57:31 +11:00
Acruid
6b9b56ca83
Grid Components Allocate Grids ( #2597 )
...
* Deleting a map is now routed through MapComponent deletion.
* Remove map and grid deletions from map networking, just delete the entity if you want to remove the map.
* Moved the chunkSize property of created grids from the networked MapData to the MapGridComponent state.
* Remove unused IMapManager.DefaultMap property.
* Removed MapCreationTick field from MapManager.MapCollection.
* Removed _maps hashset field from MapManager.
* Removed CreatedMaps array from network MapData.
* MapGrid.ParentMapId is now derived from the bound TransformComponent, and isn't required in the MapGrid ctor.
Removed MapGrid.CreatedTick, it can be found on MapGridComponent.CreationTick.
* Remove a bunch of ApplyGameStatePre code duplication.
* Completely refactored CreateGrid.
* Adds AddComponentUninitialized to the ECS system. This allows you to access a component before it is initialized in a using block.
* Use AddComponentUninitialized to allocate a grid after the component is allocated.
* MapLoader now creates the grids after creating the map entities.
* Chunksize and TileSize properties are now actually read out of the map yaml.
TileSize has a public Setter.
* Minor cleanup.
* Moved grid allocation onto the MapGridComponent.
* Final Cleanup.
* Merge Fail.
* Fixed test, grid was getting deleted because it was empty.
* Remove DeletedChunkDatum from grid networking.
* ApplyMapGridState moved from map manager to the MapGridComponent.
2022-03-13 18:28:59 -07:00
Paul Ritter
ce9070b966
changes pvs chunkorder to use a tree-structure, should fix children being sent without parents ( #2562 )
...
Co-authored-by: Paul Ritter <ritter.paul1@gmail.com >
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com >
2022-02-27 13:00:10 +11:00
Paul Ritter
077dbaf933
yo this slaps
2022-02-18 20:49:03 +01:00
Paul Ritter
4b8f5815db
pvs caching ( #2547 )
...
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com >
2022-02-15 18:14:44 +01:00
Pieter-Jan Briers
de4d255841
Analyzer to enforce classes to be either [Virtual], abstract, or sealed. ( #2469 )
...
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com >
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com >
2022-02-05 19:31:58 +01:00
Kara D
224bebeeb5
ok then
2022-02-04 14:35:15 -07:00
mirrorcult
43741dc5fc
Merge pull request #2490 from metalgearsloth/2022-02-01_game-state
2022-02-04 14:12:56 -07:00