branchrust_reboot/main/buildingerrors_improvementscancel

46 Commits over 31 Days - 0.06cph!

3 Months Ago
Fixed RPC error when assigning a bag to a disconnected player who has already reached their bag limit
3 Months Ago
When showing the not enough ressources UI, hide any ongoing error toast and vice versa to avoid overlapping
3 Months Ago
errortoasts_debug is now saved to ClientInfo so we can get it server side when logging construction debug from the server
3 Months Ago
Reverted my last change about the sleeping bag error Check if the player sending the RPC has streamer mode enabled and edit any player name if yes Fixed player names being leaked by the Blocked by player {0} errors when in streamer mode
3 Months Ago
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)
3 Months Ago
Let server send game tip on top of any screens to clients, added back the overlay parameter to the showtip command
3 Months Ago
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
3 Months Ago
Fixed upgrade blocked errors not detecting sleeping players client-side, the server will send the toast to the player now
3 Months Ago
Fixed server side errors not being translated by the client when received
3 Months Ago
GameTIp error refactoring Pulled the overlay parameter out of the command and added GameTip.SetAsOverlay instead Removed ShowErrorToast, we now use ShowToast(GameTip.Styles.Error, ...) Updated all occurences
3 Months Ago
Added an error when trying to upgrade a recently damage block: "Recently damaged, upgradable in {0} seconds"
3 Months Ago
merge from main
3 Months Ago
When deploying on a door, check if the current target has a socket before rejecting (fixes door controller not deployable on door since 101954)
3 Months Ago
"Blocked by ore" when placing on ores
3 Months Ago
"Blocked by debris" when placing on debris
3 Months Ago
Renamed HAB repair dummy item name to display "Blocked by Hot Air Balloon" error messages
3 Months Ago
Fixed various NRE when deploying items on non-entity world prefabs
3 Months Ago
merge from main
3 Months Ago
merge from main
3 Months Ago
Merge from main
3 Months Ago
Show "Blocked by tree" when blocked by a tree
3 Months Ago
Better rotation and demolish blocked errors Grade upgrade message order
3 Months Ago
When trying to upgrade a blocked building block, close the pie menu and pop a toast with the reason
3 Months Ago
Disabled pie menu options can now run an action when clicked
3 Months Ago
Client-side "Can't deploy on door!" check so the deploy guide doesn't turn blue on doors Minor toast error fixes
3 Months Ago
"Skin not owned" error when trying to skin a block with a skin you don't own Should not happen in normal situations but I was tired of being confused by this in the editor
3 Months Ago
Replaced "Too close from another building" error message for "Too close to X" Briefly highlight the block in question when showing the error message https://files.facepunch.com/Flavien/WvU4h1yNwGLGDinf.mp4
3 Months Ago
Better fail message when trying to place a high wall while moving
3 Months Ago
Added the name of the entity blocking a building block upgrade Localized the other missing strings in the hammer pie menu
3 Months Ago
Show "Blocked by X" when blocked by a building block Failed SphereCheck and AreaCheck will now show "Not stable enough" by default instead of "Not enough space"
3 Months Ago
BuildingProximity error messages localized Updated "Placing through walls" error for "Line of sight blocked"
3 Months Ago
NPC localization compile fix
3 Months Ago
Updated helis dummy repair item names so we can display accurate building errors
3 Months Ago
Added new "Blocked by X" building errors for players, horses, modular cars and scientist npcs Localized NPC names
3 Months Ago
Adjusted AreaCheck and SphereCheck socket mods default messages Added detailed fail messages and/or re-order priorities on a few item prefabs - Tool cupboard - Water pump - Drone - Fish trap - Floor spikes - Gravestones - All seeds
3 Months Ago
Added a setting for errror toasts to be displayed on top of everything, so they can be seen when the in inventory and other menus Set a few of them to show on top
3 Months Ago
More error messages localized and toasted: legacy deployer, vending machines, spraycan, inventory
3 Months Ago
Vehicle locked/unlocked messages localized and toasted
3 Months Ago
Player inventory, storage containers and player belt fail messages localized and toasted Minor socket mods fail messages tweaks
3 Months Ago
merge from main
3 Months Ago
Localized and toasted repair failed errors
3 Months Ago
Refactored and renamed a bunch of stuff so we can use these toasts for any type of gameplay errors (building, item movement, etc)
3 Months Ago
Localized server side building errors Moved them out from the chat to the new toast UI
3 Months Ago
Added the name of the entity blocking placement in the case of a prevent building volume "Cannot build in this area" -> "Blocked by X" Added a new message for deployable that need to be placed on water Localized the rest of the building error messages
3 Months Ago
Refactored socket mods error messages, added new messages and localized the hardcoded ones
3 Months Ago
Initial work on better building error messages - Created a new toast type for building errors, more responsive and quicker to hide - Moved them from the chat to UI toasts (added a new convar) - Moved the building error code into its own file