111,815 Commits over 3,928 Days - 1.19cph!
Add new methods to grid and BaseEntity.Query to remove the need for a static array
Phrase tweak:
from: You cannot assign {0} a bag, they have reached their bag limit!
to: You cannot assign a bag to this player, they have reached their bag limit!
So we don't leak player name to clients in streamer mode (this error is server side, can't know if the client use streamer mode before sending)
Radtown S2P:
Fixed flickering light in main garage behaving weirdly.
Fixed a few inverted trigger volumes causing various weirdness with FX/Lighting.
Fixed the main fire shadow light teleporting to the middle of the radtown at runtime.
Fixed lobby fire not having sound and damage triggers.
Fixed wall clipped flickering at two rad barrels.
Tweaked some PFX LOD distances.
Let server send game tip on top of any screens to clients, added back the overlay parameter to the showtip command
Added root bone above belt pelts
Setup burst cloth for belt pelts
overly simplified basis for hitchable entities
Digital Clock Material Updates
Added belt pelts to skeleton/prefab
Optim: StringView.Split can use user provided temp storage
ServerInfo uses a pooled list to as a go-between the StringView and HashSet. This provides last noticeable change that reduces an allocation per ctor, with average going down by 1.3 (8.31 -> 7).
Also reinforced empty tags to not allocate a new empty set everytime.
Tests: checked ServerBrowser - tags still recognized.
Update of digital clock screen size
Optim: Replacing ServerInfo.Region with StringView instead of string
Avoids another optional allocation, avg count went down by 0.6 (8.95 -> 8.31). This looks like mostly it for clear&easy wins.
Tests: Checked server browser, it displayed region tags
player update. 3p handcuff anims exported with wounded anims. WoundedFromCrawlingHandcuffed override controller updated with the wounded handcuffed anims
Final prefab (code fix pending)
Server can send construction errors debug logs to client, will show up both in chat and logs if errortoasts_debug is true
Moved the error handling logic out from BasePlayer to GameTip
Fix client / server compile errors
Digital Clock art pass placeholder textures
Update: Add ServerInfo.Protocol enum
Avoids us creating a string to track which protocol to use. On average, saves about 0.6allocs (9.56 -> 8.95). We already have a similar enum on the game level, but this has the "Default" member.
Tests: none, trivial change
Fix scoring and ranking of potential destinations not being respected
Hide Clouds Convar -> Main
Main -> Hide Clouds Convar
New Divesite Spawns -> World Update 2
Add divesite scripts to each prefab
Buoy's added
Spawnable added
Crate spawns wired up
Eliminated areas that poked through wallpaper pieces in legacy wood skin
Fixed upgrade blocked errors not detecting sleeping players client-side, the server will send the toast to the player now
Eliminated areas that poked through wallpaper pieces in Brick skin doorway
burst cloth constraints tell you if you mess up the min/max constraint order
Eliminated areas that poked through wallpaper pieces in Twig tier walls
Tightened wallpaper pieces fitting
Eliminated zfighting on wallpaper pieces interior side (visible with Twig tier)
Merge from world_update_2
missing alpha texture lake_a
Optim: further reduce allocs for ServerInfo
Couple easy wins - Changeset is unused so removed, construct ConnectionString on demand, avoid identifying tags if already identified.
Should've removed 2allocs per ctor, but data shows reduction by 3allocs on average(12.94 -> 9.56).
Tests: None, trivial changes
Updated backpack pelt constraints
Fixed server side errors not being translated by the client when received
Update: Allow StringView to implicitly convert to ReadOnlySpan
This allows StringView to be friendly with APIs that Span, like int.TryParse(). It also removes 3 allocations, and weirdly my tests show a reduction of 4 allocations per ctor invocation on average.
Also merging stragler tag lookup into the main loop(avoids an extra traversal and extra lambda allocation).
Tests: Checked ServerBrowser, player count was sane.
Frontier bag cloth material
added meshcull (15m) to seaweedplane prefab, tweaked max salmon size down to 3 from 4, divesite_e more foliage
Backpack pelt constraints
Implemented MoveSpeed modifier type.
Added Dart as new ModifierSource type.
Updated model
Updated backpack settings
replaced more expensive OverlapSphere->bool check only ridable horse was making with CheckSphere
- removed Physics.OverlapSphere with bool return, we have CheckSphere for that
Merge main -> Hackweek-Meals. Had to stomp a few changes, mainly UI.Ingame.LootPanels - need to re-do.
▄▊█▆▌ ▄▍▍▄ ▇▅▍▉▉█▌▅▌_▇▆▇▌▇_▇▍▌▊▊█_▅█▆█▆▉▄▄█
Update: Annmotating ServerCacheQuery to track GC allocs
Should've done it at the start but ah well. This also revealed that Task.Delay doesn't seem to be doing much - worth investigating further.
Tests: took a recording during server list refresh - no errors and could see the samples displayed.
▄▄▄▋▍ ▇▄▍▋ ▉▊▇▆█▄▉▇▊_▆█▄▇▄▊▋
Added the biro dart model as the placeholder model for bone dart.
Setup dart prefab and world model.
vintage wallpapers update
updated materials to spec/gloss