Commit Graph

9 Commits

Author SHA1 Message Date
Sol Williams
fefb34b778 Better disconnect feedback, flow tweaks (#4516)
https://files.facepunch.com/solw/2026/April/16_16-00-DapperAmethystgemclam.png

* Display disconnect, kick, or connection failed messages to users in a big new messagebox.
* Client reconnect (from map change etc) uses normal, interruptable connect flow.
* Connecting by SteamId attempts with retries (incl. for lobbies for now)
* Connecting by IP swaps localhost for loopback address, appends default port if not supplied.
* More explicit loading screen activation for connection progress, no longer reactivates from a text update.
* Fix main menu being briefly reloaded when loading games or on reconnect.
2026-04-16 16:03:17 +01:00
Sol Williams
0c7f41e63a Cancel loading fixes (#4484)
* Loads now cancel correctly on disconnect/close across all entry points
* Unified some loading flow and UI logic
* Fixed errors when cancelling mid-load
2026-04-08 10:47:38 +01:00
Carson Kompon
f3054a2d3f Fix Dresser component fully trusting user data (#4004)
When a Dresser component is set to `ClothingSource.OwnerConnection`, it will verify the owner connection actually owns the items they are attempting to wear using the Steam API. This means users can't just add items they never owned to their avatar forcefully.
2026-03-17 07:56:48 -04:00
Lorenz Junglas
8a629a9729 Fix custom loading screen not showing when joining to an existing session (#4124)
Fixes https://github.com/Facepunch/sbox-public/issues/2438
2026-02-23 03:54:43 -08:00
Tony Ferguson
a1a060b7c4 More explicit dedicated server check when checking for friends only 2026-02-22 18:42:13 +00:00
trende2001
0abc3e808b Enforce FriendsOnly lobby privacy during handshake
Adds host-side enforcement for LobbyPrivacy.FriendsOnly lobbies. Previously, non-friends could still connect and remain in the lobby, which is now fixed.
2026-02-22 18:42:13 +00:00
Conna Wiles
2f8d00a7ed Networking: Local Instance Id (#3912)
Every time we Join via New Instance, the new instance is given an new id - that id is used locally to determine the SteamId it gives the server (from some base SteamId for bots). This means you can properly test stuff like persistent data per SteamId rather than local instances using the same SteamId as the editor host. This is safe from spoofing though, because real servers and lobbies verify the SteamId the user provides.
2026-01-27 17:28:02 +00:00
Conna Wiles
59e26d3d6f Fixed Join via New Instance Disconnection Crash (#3799) 2026-01-15 17:01:51 +00:00
s&box team
71f266059a Open source release
This commit imports the C# engine code and game files, excluding C++ source code.

[Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
2025-11-24 09:05:18 +00:00