userJake_Richcancel

5,378 Commits over 1,522 Days - 0.15cph!

Today
Shift up the second hotbar so it matches inventory placement
Today
merge from main -> editor_hotbar_swap
Today
merge from fix_instantiate_persistant_setactive -> main
Today
Fix editor printing errors in ItemIcon.OnEnable() and QuickCraft.OnEnable() - caused by an editor optimization to not create copies of single use prefabs (GameUI) - however GameUI is cursed and called SetActive() from inside Awake() which caused OnDisabled() to not be called, causing some of the UI prefabs to get into weird states - kept the optimization but locked it behind an editor pref for now until it can be properly fixed
Today
Simplify code
Today
Fix the second hotbar prefab not referencing the main inventory
Yesterday
Add the second hotbar to GameUI.Hud.prefab (so much for the dream of not reserializing the large UI prefabs)
Yesterday
Make the second hotbar a prefab instead of cloning the normal hotbar
Yesterday
Update the GameUI.Inventory.prefab prefab manually with only the fields we want to change (instead of the whole prefab reserializing)
Yesterday
Modify ContainerSourceLocalPlayer so it can override the transform it uses for `ItemIcon[] allIcons` - the main inventory panel was parented too high and grabbing icons from different panels - keep the parenting the same, only changing where it's fetching the icons from
Yesterday
merge from main -> editor_hotbar_swap
Yesterday
Don't render the last row of the last row of the main inventory when the 2nd hotbar is shown so it looks better when openinga and closing main inventory
Yesterday
Make the editor-only feature available for admins too - NOT FOR NORMAL PLAYERS - press Z (can rebind) to swap to a second hotbar - enable "drawsecondhotbar" to render the second hotbar above the first
2 Days Ago
Change from hover to show the inventory contents to a button top right that expands the loadout to show the inventory items - the hover panel was awkward when you had tons of loadouts on screen - controlled with convar "loadoutinventorypreview"
2 Days Ago
merge from editor_fix_cpu_affinity -> main
2 Days Ago
Fix cpu_affinity not working in the editor - manually grab it from the command line if provided and run it
2 Days Ago
Show a preview of the items in the main inventory of a loadout when hovering over it
2 Days Ago
merge from fix_serverport_editor -> main
3 Days Ago
In the editor use server.port for the connect command (if you didn't overwrite it) so you can run multiple editors on different ports - much easier than overwriting the connect command & initialization commands inside GameSetup
4 Days Ago
merge from fix_itemmanager_domain_reload -> main
4 Days Ago
Fix ItemManager not resetting it's newer static fields - caused NRE when entering certain scenes with SkipDomainReload enabled
4 Days Ago
Fix NRE in FinishLoadingRoutine
4 Days Ago
Remove debug logging "Debug.Log("Hit client yield");"
4 Days Ago
merge from fix_elevator_button_restart -> main
4 Days Ago
Fix elevator buttons not working after server restart until the elevator is used - store elevator floors as EntityRef and only resolve them when building radial menu - remove TopFloor from being networked (keep proto field) as it wasn't used for the final radial menu implementation
4 Days Ago
merge from fix_bag_nickname -> main
4 Days Ago
Change from Property -> Method so it's more clear it's doing work
4 Days Ago
Fix sleeping bags showing the old name by getting rid of the caching of player name on the client for bags and instead looking up the name via NameHelper.Get() every time it's polled (when looking at it with a hammer)
5 Days Ago
merge from codegen_timings -> main
5 Days Ago
Include the time taken for SyncVar weaving in the "SyncVar weaving Sucess" log message that already exists
5 Days Ago
Add Profiler.BeginSample() for code generator
5 Days Ago
merge from high_wall_upkeep -> main
5 Days Ago
Fix high walls that are connected to a building block without a TC not updating when the building block is destroyed - update during decay if the TC is destroyed or doesn't match their existing building - this could have happened with other deployables like shotgun traps but didn't really because it was only 1.5m range, not 16m range
5 Days Ago
Add "drawnearbybuildings <duration> <radius>" to show what building decay entities belong to Add "forcedecaytick" to force every decay entity on the server to run it's decay tick (to see if walls will reconnect to a building when decay is ran)
5 Days Ago
Add ability to manually run decay ticks and bypass the "once per 10m limit"
5 Days Ago
Prevent divide by zero if the CraftAmount of a high wall blueprint is zero (don't think it's possible but best to be safe)
5 Days Ago
Fix compile error by making high_wall_upkeep replicated (even though I don't think it needs to be all the code using it can run on the client)
5 Days Ago
Fix sqrDistance still being calculated for high walls despite not being used
5 Days Ago
Switch high walls to look for oldest building block (like building priv works) instead of closest block
5 Days Ago
Move the hardcoded "16m radius" for GetNearestBuildingBlock() and the high wall specific "GetNearbyBuildingBlock" into a shared constant
5 Days Ago
merge from main -> high_wall_upkeep
5 Days Ago
Add upkeep component to the legacy & ice high walls
5 Days Ago
Move the upkeep multiplier selector (building percentage vs high wall convar) upwards into BuildingPrivlidge.Upkeep.cs - fixes deltaTime being overwritten by the convar instead of swapping the convar <-> "20% upkeep" shown in TC
5 Days Ago
merge from main -> high_wall_upkeep
5 Days Ago
merge from reduce_server_startup_yields -> main
5 Days Ago
Manually update the "reduce_editor_startup_yields" branch - old branch adam made to skip 10x 100ms delays in server startup in the editor - I think it might need a WaitForFixedUpdate() but not 100ms waits - only affects editor: doesn't change standalone builds
5 Days Ago
merge from editor_playmode_timing -> main
5 Days Ago
Print time taken to enter play mode in the editor (so we know what iteration speed is)
6 Days Ago
merge from fix_editor_disable_deepsea -> main
6 Days Ago
Don't spawn in the deep sea manager at all when it's disabled in editor preferences