userConnacancel
branchsbox/mastercancel

522 Commits over 1,461 Days - 0.01cph!

2 Months Ago
Fix minor error
2 Months Ago
Protocol++
2 Months Ago
Added net_fakepacketloss ConVar for testing (0-100%). Fixed an issue where if a delta snapshot was received before an object was created on the client-side, it would remember the state wrongly. Fixed an issue with Network Refresh messages where, if arriving late, could overwrite Sync Vars with the wrong values
2 Months Ago
Improvements to how delta snapshots are stored. Make sure we apply all snapshots so long as the last processed value for an entry has an older snapshot id.
2 Months Ago
Fixed an issue where FromHost sync vars could get stomped. Optimized delta snapshot updates - we no longer need to even try to process networked objects we don't own. Fixes Facepunch/sbox-issues#7261
2 Months Ago
Fixed a bug where calling GameObject.GetPrefab could network spawn game objects. Never network spawn game objects if its scene is a PrefabScene. Merge branch 'master' of sbox
2 Months Ago
Don't try to auto-switch hosts if LobbyConfig.DestroyWhenHostLeaves is true. If that's true, we should only ever have the same host..
2 Months Ago
Automatically hotload user permissions if users.json is edited while the server is running - can change or add permissions without restarting the server
2 Months Ago
User perms config Allow Json comments Add default users.json file and change structure of config Don't ignore game/config/users.json because we want to keep the default with comments Return true in Connection.HasPermission if the connection is the host. We'll check user permissions from the config file for connections to a dedicated server. Remove some test logs and make HasPermission available
2 Months Ago
LobbyConfig.HideInServerList would let you hide a lobby from appearing in any server lists in s&box but still queryable with QueryLobbies Fix IsHidden support Filter in the query HideInServerList -> Hidden
2 Months Ago
Do the same when setting var
2 Months Ago
TrimQuoted...
2 Months Ago
Additional cmd line fix and extra test
2 Months Ago
Update test
2 Months Ago
Some backwards compat
2 Months Ago
Improve CommandLine parser. Added CommandLineTest.
2 Months Ago
Delta snapshot improvements. Fixed a bug where it was possible for a snapshot ack to be ignored - should fix a rare and difficult to reproduce bug where sync vars can become stuck
2 Months Ago
When running commands from command line, enclose args in quotes so they aren't split again by spaces internally (Fixes Facepunch/sbox-issues#7388)
2 Months Ago
No need to log that we can't find sound event if we're headless - we won't be playing any sounds anyway
2 Months Ago
Keep dedicated server alive when reloading a game. Allow managed to decide if a connection should be accepted. Improve auto-retry. Added net_dump_objects command to print all networked object names to console Hide a dedicated server from the server list when disconnecting - re-enable it when a lobby is created again
2 Months Ago
SendLog on a local connection should just log the message - no need to send a network message SendLog on a local connection should just log the message - no need to send a network message
2 Months Ago
Improvement + comment
2 Months Ago
Fix error with NetworkMode read in MapInstance. If network mode is Object then we want to NetworkSpawn the object here - this fixes networked objects from maps not appearing for clients
2 Months Ago
Server Commands / Admin Commands (#1772) * ConVarFlags.Server and ConVarFlags.Admin and the implementation of both. When the method has a Connection type as the first parameter, that parameter will be the source. Add Connection.SendLog( LogLevel, string ) * Safety * Add summaries
2 Months Ago
Don't send networked objects twice when the host switches scenes
2 Months Ago
Fixed a bug with the [Change] attribute not using the correct type in some cases - make sure we always use the type that the property belongs to
3 Months Ago
Start the networking thread
3 Months Ago
Move process of parsing command line switches on boot and setting ConVars and ConCmds from them from native to managed. Control when they are set / run ourselves, we'll do it in Bootstrap.Init.
3 Months Ago
Fixed a merge error
3 Months Ago
Protocol++
3 Months Ago
Improve networked scene changing by simplifying it and no longer reusing the handshake process
3 Months Ago
Always prefer explicitly set hostname for server name when running a dedicated server
3 Months Ago
Host Stats / Local Network Stats in Console (#1758)
3 Months Ago
Increase reasonable Steam connection time for dedicated server - ensure it shuts down properly if it doesn't connect in that time frame
3 Months Ago
Thread safe collection
3 Months Ago
Network++
3 Months Ago
SendRateMin/SendRateMax tweaks Tweak default encryption settings Tweak delta snapshot send mode This should have same treatment as SteamLobbySocket to be thread safe
3 Months Ago
Network Thread (#1748)
3 Months Ago
Fixed NRE in code upgrader for HostSync in scenario where no sibling Sync is found
3 Months Ago
Only add query flag is property was set to true - otherwise remove the query flag
4 Months Ago
Obsolete HostSync, add SyncFlag, add code upgrade / fix (#1729)
4 Months Ago
Fix duplicate def
4 Months Ago
Fix Send Buffer Buildup and Unreleased Message Bug (#1727)
4 Months Ago
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.
4 Months Ago
Actually include stats from direct connection / dedicated server with net_debug on
4 Months Ago
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
4 Months Ago
Reduce cluster size
4 Months Ago
Cluster Delta Snapshots - Improvements to Bandwidth, Max Snapshot Size (#1717) Resolves issues with Steam networking choking.
4 Months Ago
Some safety in Connection.All (don't add any null values to output list)
4 Months Ago
Fix Owner/Host mode RPCs not sending to target. Fix issue w/ Rider intellinse when typing Rpc. in attribute