612 Commits over 884 Days - 0.03cph!
Menu: Validate GamePackage.Usage in GameScreen to prevent NRE for local projects
Fixed Package.FindAsync failing to deserialize PackageUsageStats - fixes Sandbox and Asset Browser cloud tab
Menu: Fixed GameList entries not opening game front
Lobby: Inform the player that their message wasn't sent if they're not in a lobby
Lobby: Name and shame the lobby participant when they get kicked
Get rid of null terminator in Lobby.SendChatString, it's not required in this case - this fixes party kick not working
snd_event_alignedbox: Fixed sound position lagging behind by one frame
Glow.Material made into a property, get rid of the Error List warning
Don't grab convars all the time for ServerInformation - do it properly in NetworkServer.FillInfo, so it's included in our manifest
Add ServerInformation.MaxPlayers, fixed ServerInformation.ServerTitle being incorrect on client.
Menu: Ignore #local in GameIcon, since we cache favourited packages, they were all returning as non-remote packages, and weren't able to be clicked to open their game front.
Launcher: docs, code cleanup
DamageInfo: docs, add HasAnyTag, HasAllTags
Add DamageInfo.WithTags, resolves sboxgame/issues/issues/2698
Obsolete Game.IsToolsMode, Game.IsToolsEnabled, add Game.IsEditor
Editor: Fixed not being able to upload maps to asset.party
Make a copy of an Entity's components before clearing them out, fixes collection modified error from deleting a component from within another component.
UI2: Fixed bug introduced by my length parse fix, where border-image style would fail
Add SetBorderImage test so that can't fall through the cracks again
UI2: Fixed length parse fail for ending parenthesis, fixes "lighten/darken(#fff, 20%)"
Added more ColorParse tests, darken without spaces, and darken( mix )
Sorted out some XML documentation warnings
Don't group identical console messages with different loggers
Made DamageInfo.Tags public
"getpos" runs clientside, uses Camera.Position, Camera.Rotation - fixes inaccurate values being reported. Removed cl_showpos
Local.PlayerId -> Local.SteamId
Rip the bandaid off and stop looking for "GameSettings" meta, only "PackageSettings"
Update ProjectConfig.Ident MinLength to 2
Updated game.minimal template to fix Input so people creating new projects won't be greeted with errors
Fixed server not correctly setting correct values for game settings
Allow to add non-forbidden headers to Http requests, we should replace this whole class soon
Removed SteamVRImport as it was unused
Updated to .NET 7.0 and C#11
Please update Visual Studio if you're experiencing issues with it. Read more about what's new here: https://devblogs.microsoft.com/dotnet/announcing-dotnet-7/
UI2: Hook up "not-allowed" cursor type
Give QMenu a minimum width
Generator: Replace ConCmd.Server|Admin attribute to include method signature (when needed), supports having two ConCmds with the same method name. Fixes sboxgame/issues/issues/2577
PackageSelector: Re-added #local to local packages
Documented BaseItemWidget Actions, added ItemDeselected, ItemsSelectedTo
Remove AddonProperty, replaced usage with PackageSelectorProperty, added defaultSelection to PackageSelector, added placeholder UI to see current selection https://files.facepunch.com/devultj/1b2011b1/devenv_OUH7xVz5AK.mp4
Menu: Open video settings navlink by default
PackageSelector uses Package.FindAsync Api
Added multi-select support to Hammer's Entity Tool selector https://files.facepunch.com/devultj/1b1911b1/sbox_6eFNVff4fk.mp4
Removed GameSelectorDialog, renamed AddonSelectorDialog to PackageSelector
Solves #621
Validate AddonSelectorDialog org thumb - we've got 3 panels doing the same thing here, I'll unify them in the next couple of days
Validate organization thumbnails for asset.party selectors
Launcher: when adding local game config, append game ident with #local, fixes not loading into the correct games
Launcher: first draft for selecting addons for game configurations https://files.facepunch.com/devultj/1b1611b1/sbox_pbcF7SRE4R.mp4
Always record voice when in VR - we'll probably want an option for this in the future
Hitbox Tags (#562)
- Added Hitbox, Hitbox.HasTag, Hitbox.HasAllTags, Hitbox.HasAnyTags, Hitbox.GetName
- Added TraceResult.Hitbox, DamageInfo.Hitbox
- Obsoleted DamageInfo.HitboxIndex, DamageInfo.WithHitbox, ModelEntity.GetHitboxGroup
You'll have to update your code to get hitboxes to work again (headshots, etc) - check the wiki page @ https://wiki.facepunch.com/sbox/Hitboxes
Remove nullable from AssetList icon, fixed an error I was getting on editor launch
Re-enabled translucent screenspace effects
Cleaned up lobby rich presence, fixed presence not updating when lobby gets made, update documentation
Support `steam_player_group` rich presence for lobbies
https://files.facepunch.com/devultj/1b3011b1/Discord_tPmoEckwdL.png
Fixed MenuOverlay popup pointer events, fixes lobby invites being inaccessible
Made Global.IsDedicatedServer obsolete
Sandbox.Engine: Added Dedicated Server launch config
Fixed concommands being omitted when run through dedicated server console