Tayrtahn and GitHub
196e59b7e4
Clean up all missing EntitySystem proxy method uses ( #6027 )
...
* Clean up all missing EntitySystem proxy method uses
* Restore comment
* Fix bad change that caused closure allocation
* tuple
* Revert "tuple"
This reverts commit 14581a40aa .
* Revert "Fix bad change that caused closure allocation"
This reverts commit 215b2559ed .
* Revert "Restore comment"
This reverts commit 4a47a36557 .
* Revert "Clean up all missing EntitySystem proxy method uses"
This reverts commit 3b1fe4ce7f .
* Redo with improved code fixer.
Let's see how it fares this time
2025-06-21 00:05:09 +02:00
Leon Friedrich and GitHub
faef44daaa
Make PVS overrides respect vismasks ( #5598 )
...
* Make overrides respect vismasks
* Thread safety
* Release notes
* Use ExpandPvsEvent.Mask for other overrides
* check if already queued
2025-02-16 21:32:23 +11:00
fbc706f37b
Refactor map loading & saving ( #5572 )
...
* Refactor map loading & saving
* test fixes
* ISerializationManager tweaks
* Fix component composition
* Try fix entity deserialization component composition
* comments
* CL
* error preinit
* a
* cleanup
* error if version is too new
* Add AlwaysPushSerializationTest
* Add auto-inclusion test
* Better categorization
* Combine test components
* Save -> TrySave
Also better handling for saving multiple entities individually
* Create new partial class for map loading
* Add OrphanSerializationTest
* Include MapIds in BeforeSerializationEvent
* Addd LifetimeSerializationTest
* Add TestMixedLifetimeSerialization
* Add CategorizationTest
* explicitly serialize list of nullspace entities
* Add backwards compatibility test
* Version comments
also fixes wrong v4 format
* add MapMergeTest
* Add NetEntity support
* Optimize EntityDeserializer
Avoid unnecessary component deserialization
* fix assert & other bugs
* fucking containers strike again
* Fix deletion of pre-init entities
* fix release note merge conflict
* Update Robust.Shared/Map/MapManager.GridCollection.cs
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com >
* VV
---------
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com >
2025-02-16 21:25:07 +11:00
metalgearsloth and GitHub
43648201ce
Drop debug allocs a lot ( #5638 )
...
IDK why the lifestage one in particular ballooned my dotmemory one up in particular but it did; I would've thought if it's boxing the other ones would've shown up. Doesn't matter for release just QOL to drop allocs by more than half.
2025-01-30 05:07:57 +01:00
Leon Friedrich and GitHub
41ec2dc131
Try improve PVS exception tolerance a bit more ( #5454 )
2024-09-24 09:39:33 +10:00
c0ef976588
Make PvsSystem consider offset and zoom from EyeComponent ( #5228 )
...
* Make PvsSystem consider offset and zoom from EyeComponent
* Just use PvsScale float
* float.IsFinite
---------
Co-authored-by: geraeumig <alfenos@proton.me >
Co-authored-by: ElectroJr <leonsfriedrich@gmail.com >
2024-06-28 14:24:22 +10:00
Leon Friedrich and GitHub
14138fbcc2
Separate PVS serialization from compression & sending ( #5246 )
2024-06-20 17:18:51 +10:00
Leon Friedrich and GitHub
25211e3781
Improve transform & state handling exception tolerance ( #5081 )
...
* Improve transform & state exception tolerance
* release notes
* Fix pvs assert
* Fix velocity conservation
2024-04-29 18:42:05 +10:00
Leon Friedrich and GitHub
eba1d866fb
Change default PVS LoD cvars ( #5008 )
2024-03-27 13:58:52 +11:00
Leon Friedrich and GitHub
83371885fa
Support transform states with unknown parents ( #4972 )
2024-03-17 11:28:50 +11:00
a2d0504368
Replace PVS dictionaries with memory magic ( #4795 )
...
Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com >
2024-03-17 06:57:13 +11:00
Pieter-Jan Briers
3a55118143
Replace CVar OnValueChanged in systems with Subs.CVar
2024-02-11 13:29:27 +01:00
Leon Friedrich and GitHub
7f3445b1c6
Try fix pvs null exception ( #4805 )
2024-01-04 11:07:42 +11:00
Leon Friedrich and GitHub
8accbc700a
PVS fixes & cleanup ( #4793 )
...
* PVS fixes & cleanup
* More cleanup
* Move `CacheGlobalOverrides()` onto the main thread
2024-01-01 01:06:47 -08:00
Leon Friedrich and GitHub
42434d1f49
Process pvs-leave in parallel ( #4787 )
...
* Process pvs-leave in parallel
* oops
* Try fix eternal tests
2024-01-01 05:53:24 +11:00
Leon Friedrich and GitHub
d6ce7e950b
Add per-session force send pvs override ( #4781 )
2023-12-31 05:26:56 +11:00
Leon Friedrich and GitHub
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 and GitHub
e9e0117402
Fix pvs bug ( #4775 )
...
* Fix pvs bug
* Moar asserts
2023-12-28 12:24:41 +11:00
ElectroJr
be0fb4250c
Replace scale with override
2023-12-27 17:22:07 -05:00
Leon Friedrich and GitHub
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 and GitHub
41ee330828
Add more PVS null checks ( #4743 )
2023-12-20 17:54:24 +11:00
Leon Friedrich and GitHub
785e2f84f6
Turn EntityData struct into a class ( #4729 )
...
* Turn EntityData struct into a class
* Stop overbudget dictionary removals
* Merge additional logs
* More logging
2023-12-20 11:32:14 +11:00
Kara and GitHub
d416344aef
MoveEvent broadcast -> C# event ( #4732 )
...
* MoveEvent broadcast -> C# event
* Broadcast MoveEvent -> C# event
* oops
* forgob
* release notes
* Update description of moveevent
2023-12-19 12:26:13 +11:00
Leon Friedrich and GitHub
ac957ca7fc
Try fix PVS bugs ( #4728 )
...
* Try fix PVS bugs
* change order
2023-12-17 14:55:46 +11:00
Leon Friedrich and GitHub
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
bc84590a33
Make ChildEnumerator out value non-nullable ( #4707 )
...
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com >
2023-12-17 03:10:20 +11:00
250f6ca7db
Obsolete TransformComponent.ChildEntities ( #4706 )
...
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com >
2023-12-14 17:50:29 +11:00
Leon Friedrich and GitHub
6f9ed8a242
Stop terminating entities from being prematurely detached to nullspace ( #4675 )
2023-12-10 13:18:42 +11:00
metalgearsloth and GitHub
0b62cb6445
Change netsyncenabled to an assert ( #4604 )
2023-12-10 13:03:25 +11:00
chromiumboy and GitHub
12cfdb2175
Tweaked how ExpandPvsEvent is raised ( #4665 )
2023-12-10 12:35:00 +11:00
metalgearsloth and GitHub
fb08451849
Replace Parallel.For with ParallelManager ( #4588 )
2023-11-29 10:57:52 +11:00
f69440b3f2
Minor PVS stuff ( #4573 )
...
Co-authored-by: ElectroJr <leonsfriedrich@gmail.com >
2023-11-22 21:54:07 +11:00
Leon Friedrich and GitHub
dcd9939554
Fix PVS initial list capacity bug ( #4546 )
2023-11-06 04:41:56 +11:00
Leon Friedrich and GitHub
5a6c4220fc
IPlayerManager refactor ( #4518 )
2023-10-24 20:18:58 +11:00
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
Leon Friedrich and GitHub
6825f09fb9
Set EntityLastModifiedTick when an entity spawns ( #4509 )
2023-10-22 16:51:40 +11:00
0623baedcf
Fix PVS bug and add new test ( #4444 )
...
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com >
2023-10-17 23:33:42 +11:00
Leon Friedrich and GitHub
16e68a4351
Make PVS session overrides recursive ( #4480 )
2023-10-11 13:16:00 +11:00
Leon Friedrich and GitHub
2d58c1071d
Make ExpandPvsEvent lists nullable ( #4479 )
2023-10-10 04:07:59 +11:00
Leon Friedrich and GitHub
30a5b6152c
Slightly improve AddToChunkSetRecursively() ( #4432 )
2023-09-19 23:13:00 +10:00
metalgearsloth and GitHub
22cd840b83
Revert "Add force ack threshold ( #4423 )" ( #4436 )
2023-09-19 18:36:41 +10:00
Leon Friedrich and GitHub
005673a957
Add force ack threshold ( #4423 )
2023-09-19 15:16:01 +10:00
Leon Friedrich and GitHub
d16c62b132
Use CollectionsMarshal in PVS ( #4428 )
2023-09-18 12:17:32 +10:00
Leon Friedrich and GitHub
10f25faabf
Try fix oldest ack issues ( #4426 )
2023-09-18 11:17:49 +10:00
Leon Friedrich and GitHub
902519093c
Add PVS debug command ( #4422 )
2023-09-18 03:49:57 +10:00
1ea7071ffb
Backport some arch comp net changes ( #4408 )
...
Co-authored-by: ElectroJr <leonsfriedrich@gmail.com >
2023-09-17 11:03:11 +10:00
3ce8a00389
Store metadata component in NetEntity lookup dictionary ( #4400 )
...
Co-authored-by: DrSmugleaf <drsmugleaf@gmail.com >
2023-09-15 02:01:44 -07:00
Leon Friedrich and GitHub
9a283fe541
PVS NetEntity related changes ( #4399 )
2023-09-15 01:47:35 -07:00
metalgearsloth and GitHub
e323a67806
Remove 1 pvs getcomp ( #4398 )
2023-09-15 15:28:16 +10:00
metalgearsloth and GitHub
c4d6690a71
Remove SharedEyeComponent ( #4309 )
2023-09-11 16:15:08 +10:00