4,780 Commits over 1,371 Days - 0.15cph!
Fixed NRE in code upgrader for HostSync in scenario where no sibling Sync is found
Only add query flag is property was set to true - otherwise remove the query flag
Obsolete HostSync, add SyncFlag, add code upgrade / fix (#1729)
Have Sync.Query set the SyncFlags.Query flag
Update fix titles to be more specific
SyncFlag -> SyncFlags. Support SyncFlags.Query - replacement for Query = true. Add Code Fixer for Query named argument - auto combine flags in fix if already exists.
Obsolete HostSync, add SyncFlag, add codeupgrader
Fix Send Buffer Buildup and Unreleased Message Bug (#1727)
Some comments for future ref on fixes
Release message fix test... larger max messages on recv to process many incoming messages. Try to keep max cluster size below typical MTU. Increase send buffer size.
Potential fix for 1683 - may be a scuffed way of doing it. Two instances of Sandbox.Game can exist - store members of Commands from both, invoke / set those members when ConVars change. Allows [ConVar] and [ConCmd] in Sandbox.Game to function properly when in a game
Fixed backward compat for Authority attribute when specifying NetPermission. Ensure networking is cleaned up after game leave so any last-chance RPCs can be sent.
Actually include stats from direct connection / dedicated server with net_debug on
Added Connection.GetStats support / implementation for non-lobby Steam connections. Can view net stats for connection to dedicated server or clients connected to dedicated server as well
Cluster Delta Snapshots - Improvements to Bandwidth, Max Snapshot Size (#1717)
Resolves issues with Steam networking choking.
Add DeltaSnapshotCluster.MaxSize const (def: 24kb)
Test per obj snapshot / no bunch
Initialize last sent snapshot ids
Snapshot clusters
Fix write order
Increase cluster size, grouping, actual delta for clusters
unreliablenodelay
Increase cluster size, grouping, actual delta for clusters
Initialize last sent snapshot ids
Test per obj snapshot / no bunch
Some safety in Connection.All (don't add any null values to output list)
Fix Owner/Host mode RPCs not sending to target. Fix issue w/ Rider intellinse when typing Rpc. in attribute
Don't need to update editor compiler if not running in the editor. Dedicated Server won't try to compile editor stuff
Fixed loading game from .sbproj with Dedicated Server that has libraries. Iterate any libraries in the project and add them as projects before compilation
PartyRoom uses SteamId. ConnectionInfoManager ensures we write party id as SteamId. Fixes being unable to join a game. Protocol++
Store last connection string globally for reconnect. Allows you to reconnect to your last server even when disconnected. Fix a bug where host changed may be called when not appropriate, such as an initial connection.
Fixed reconnect command
Set _ownerid before lobby owner transfer as well and pre-empt owner data change
Make sure go.Network returns network root network accessor like it did before (Fixes Facepunch/sbox-issues#7044)
Just return out if we're headless when shutting down user cursors instead of assert - fixes dedicated server not starting
Better handling for root network accessor
Fix network scene load race condition. Fix spamming Join Game trying to connect to a lobby after we're already in a game
Squashed commit of the following:
commit 8b28be7427ce545fc522cc32ba26825de66ec7db
Author: kurozael <kurozael@gmail.com>
Date: Mon Nov 25 11:51:06 2024 +0000
Make it easier for those who don't know the command line options to spawn their local instances in windowed mode ( https://files.facepunch.com/conna/1b2511b1/sbox-dev_sxEprjThtS.png )
commit 9429d94c3816fea2e354a24d33e89d632ff933cd
Author: kurozael <kurozael@gmail.com>
Date: Sun Nov 24 22:12:15 2024 +0000
Some exceptions to help diagnose issue
commit 7622f5f50e31b05c03bbaad55d0f5c8dac446c3d
Author: kurozael <kurozael@gmail.com>
Date: Wed Nov 20 15:26:19 2024 +0000
More cleanup, early out if disbaned or toxic
commit 0b484581c951969daed0cde3e51775ed0a0a4517
Author: kurozael <kurozael@gmail.com>
Date: Wed Nov 20 15:19:43 2024 +0000
Some cleanup
commit b76f3fa7dfa6b973d31424e79ca777652cd2e207
Author: kurozael <kurozael@gmail.com>
Date: Wed Nov 20 15:00:34 2024 +0000
More fixes
commit ff4ad7dfc4ec25125a1753aaf6a3470a3c0ce043
Author: kurozael <kurozael@gmail.com>
Date: Wed Nov 20 14:02:58 2024 +0000
Unique handshake id tests - if we restart a handshake its possible two could be running in parallel, this'll stop that
commit 8d7a08cff2c9641a3c96f5a777f89dbea5c1ba1f
Author: kurozael <kurozael@gmail.com>
Date: Wed Nov 20 13:32:08 2024 +0000
Testing with handshake process fixes if host changes during handshakes...
commit 301685cf930858a1074d3b3add085c52379f4664
Author: kurozael <kurozael@gmail.com>
Date: Wed Nov 20 12:49:27 2024 +0000
First fix map override task when using launcharguments.map
Make it easier for those who don't know the command line options to spawn their local instances in windowed mode ( https://files.facepunch.com/conna/1b2511b1/sbox-dev_sxEprjThtS.png )
Some exceptions to help diagnose issue
First fix map override task when using launcharguments.map
Testing with handshake process fixes if host changes during handshakes...
Unique handshake id tests - if we restart a handshake its possible two could be running in parallel, this'll stop that
More fixes
Some cleanup
More cleanup, early out if disbaned or toxic
Fixed .config files not being added to appropriate string table for clients to receive changes
More cleanup, early out if disbaned or toxic
Unique handshake id tests - if we restart a handshake its possible two could be running in parallel, this'll stop that
Testing with handshake process fixes if host changes during handshakes...
First fix map override task when using launcharguments.map