userJake_Richcancel
reporust_rebootcancel

6,141 Commits over 1,614 Days - 0.16cph!

16 Days Ago
merge from cache_ocean_path -> main
16 Days Ago
Optimize server startup time by caching the ocean patrol path on disk (158s -> 138s) - same idea as server occlusion grid being saved - can increase version number to regenerate next restart - convar `regenerate_ocean_path` will cause it to regenerate it next startup too
16 Days Ago
Codegen
16 Days Ago
Update test list
16 Days Ago
merge from main -> cache_entity_links
16 Days Ago
merge from optimize_duplicate_player_check -> main
16 Days Ago
merge from optimize_enforce_limits -> main
16 Days Ago
merge from fix_steam_setkey_crash -> main
16 Days Ago
Reduce number of unique keys set to prolong time until limit is hit - round entities to nearest 1000 - round FPS to nearest whole number (and clamp to 512) - round RAM to nearest 100MB - round GC count to 2 significant figures (1-9,10-90,100-900,etc) - round uptime to nearest 15m interval instead of every 30s - increases time before limit is hit from 7d -> 365d+ Prevent server from crashing if too many keys are set - stop setting new keys after 50k unique values have been set (it can still assign to previous values) - prevents server from getting enough unique values to cause the crash
17 Days Ago
Optimize server startup time by 72s (230s -> 158s) by fetching the spawnables only once instead of doing it for each of the 100 spawn populations
17 Days Ago
Optimize server startup time by 24s (254s -> 230s) by using HashSet to check for duplicate player models
18 Days Ago
Fix test attribute
18 Days Ago
Tests
18 Days Ago
Codegen
18 Days Ago
Add global const for "entity_links" version so we can invalidate all entity links when needed
18 Days Ago
Cache entity links across server restarts - if a prefab's sockets change since it was saved it will relink sockets - works for copy paste (so we can see how things were linked on a remote server)
19 Days Ago
merge from softcore_tc_limit/map_icons -> main
19 Days Ago
Update test list
19 Days Ago
Fix test attribute
20 Days Ago
merge from optimize_spawn_distribution_simple -> main
20 Days Ago
merge from main -> softcore_tc_limit/map_icons
20 Days Ago
Fix TCs being sent to you when on tutorial island Fix TCs on tutorial island being sent to you (if the island isn't instantly cleaned up)
20 Days Ago
Fix other map views (MLRS, vending, etc) showing TCs on it
20 Days Ago
Fix TC label on map able to get a delete button if a network update happens when the map is open and the sleeping bag buttons shuffle
20 Days Ago
Don't build quadtree for spawn distributions that feed in a zero length array
20 Days Ago
Reimplement the tile based version of spawn distributions without the additional optimizations on top - still saves a large amount of memory (700MB vs 780MB before)
21 Days Ago
Fix tool cupboards still showing on the map if the replicated convar for max TCs is disabled at runtime
21 Days Ago
update softcore_tc_limit/map_icons
21 Days Ago
merge from main -> softcore_tc_limit
21 Days Ago
merge from optimize_world_server_clear/maps -> main - only the server clearing WorldSerialization maps part, not the later NativeArray changes
21 Days Ago
Refactor world.maps.Clear() -> ClearMaps()
22 Days Ago
Codegen
22 Days Ago
Show TCs on the map - only enabled when the TC limit convar is enabled - combines TCs with sleeping bags into clusters just like bags - can toggle TC visibility on the map with a new button just like toggling bags - TC map icons are slightly larger than sleeping bag icons
22 Days Ago
merge from sentry_crash_timestamp -> main
22 Days Ago
Include crash timestamp when uploading to sentry - sentry parses from the minidump but this includes it in the JSON body too - crashes happen in past then are uploaded on next startup so we want to know the difference
22 Days Ago
Update the rest of the code to work with the new NativeArrays for mapdata
22 Days Ago
Add support to TerrainMap to return a NativeArray
22 Days Ago
Switch WorldSerialization to use NativeArray - make sure it frees the MapData explicitly as normally the GC is collecting the managed arrays
22 Days Ago
Codegen
22 Days Ago
Switch the MapData protobuf from managed -> NativeArray<byte>
22 Days Ago
Add support for NativeArray<byte> in protobuf codegen - instead of byte[]
23 Days Ago
Fix the server not clearing unused World Serialization maps - saves about 175MB on 4500 map
23 Days Ago
Reduce memory usage of the server's SpawnDistributions by 750MB (780MB -> 40MB) and make it 3x faster to sample (2.1 us -> 0.7 us) - store in tiles of 16x16 values - 85% of the tiles are all zeros (fun fact) - tiles that are all the same value store as negative tile index so it can avoid looking up the tile (mainly all zeros) - deduplicate the remaining tiles (saves a little more) - palette packing on top for tiles that have mixed values (2 - 4 bits / value) - reduces server startup time from 4s -> 2.5s
23 Days Ago
Set TC items to use the display type of "TC limit" (it's how you configure them to show TC limit when held)
23 Days Ago
Add convar to softcore gamemode prefab - it's `max_tool_cupboards` so could technically be set on any server (but intended only for softcore)
23 Days Ago
Codegen
23 Days Ago
Implement maximum amount of TCs placed IN SOFTCORE ONLY - maximum 3 for now - follows how the "maximum sleeping bag" system works with the amount shown on the icon & toast when you reach the limit
23 Days Ago
Tests
23 Days Ago
██ ▌▅▋▊▉ ▄▌▇▅▅▆ ▋▊ ▇▌▌▆▆▌ ▄▆▊█▅▊█▄ ▆▇▌ ▇▊▌▆▉▊ ██▋ ▋▄▉▋▉▉▇▄▌▊▆▆ ▌█▇▅ ▅▊▊▄ ▅▍▊▄▆▌ ▉▌▇▋▆▇▌█ ▅▄▋▍ ▍▉▆ █▆▉▅ ▉█▆▉ ▅▇▍▌▇▊▌▇▉█▊▄█ ▊▄█▌█▇ ▆▆█▅ ▊▅▌▊▋ ▄▍▋ ▇▆▇▆▇▆▉█▌ ▆▋ ▅█▆▉▋▋▅▅▆ ▄▅▍▆ ▋▆▇ ▋▉ ▍▄▆▊ ▋▇▋▄█ ▊▅▇▍ █▍▉ ▆▊ █▉▄▌ ▉▍▊▊▆▆▅█▅
23 Days Ago
merge from fix_memdump_logging -> main