userConnacancel
branchsbox/mastercancel

519 Commits over 1,461 Days - 0.01cph!

Today
Protocol++, remove logs I left in accidentally
Today
RPCs and Sync Var Support for GameObjectSystems
5 Days Ago
Fix hostname changing back to default after map change
6 Days Ago
Some refactoring, use SnapshotState to store last received snapshot - only updating from the ack if snapshot id is newer than the last one
6 Days Ago
Batch network spawn messages when cloning / network spawning an object so that references to/from child networked objects are kept intact when spawning on the receiving end
8 Days Ago
Added VoiceComponent.ShouldHearVoice( Connection ) - to change whether a voice can be heard on the receiving end
12 Days Ago
Fixed a bug where the parent network object could be destroyed when doing a network refresh if there were children to prune (Fixes Facepunch/sbox-issues#7812)
12 Days Ago
Game.Close will no longer NRE when called from Dedicated Server - will exit the whole application instead (Fixes Facepunch/sbox-issues#7781)
12 Days Ago
Use target local for delta snapshot transform and when reconstructing on the other side
21 Days Ago
Update messages sent and messages received on connection for dedicated server as well
22 Days Ago
Fixed NRE
22 Days Ago
Pass recipient SteamId from native to managed OnSessionFailed. Update debug log to show that connection if we can find it, or just log the steam id if we can't
22 Days Ago
Get MessagesReceived working for Connections so it displays in status properly - to help debug an issue
22 Days Ago
Connection.Ping is in milliseconds
23 Days Ago
Log instead of disconnect on invalid session for now for debugging
26 Days Ago
Separate slots for Pos,Rot,Scale
26 Days Ago
Make sure when sending snapshot before owner change that its a full one not a partial one
26 Days Ago
Fix previous commit
26 Days Ago
Network optimizations
26 Days Ago
Add channel / connection state to status ConCmd output
27 Days Ago
Fixed a rare scenario where it was possible to store a last received snapshot that may never have been actually received
29 Days Ago
Clean up
29 Days Ago
Ensure we only process snapshot clusters if the sending connection has control / owns the object. Update refresh message snapshot id check to use latest logic.
29 Days Ago
Simplify this logic
29 Days Ago
Update SnapshotState check for newer incoming snapshot packet to properly handle wraparound on snapshot id
32 Days Ago
Server/Lobby Data, Hostname / ServerName Changes, etc (#1827) Exposes: * Networking.ServerName * Networking.MapName * Networking.SetData * Networking.GetData
34 Days Ago
Log a warning instead of throwing an exception when trying to send an RPC without being connected to a network session - it's harmless anyway and could happen with async tasks even after disconnecting
34 Days Ago
Track object messages and RPC stats and display the top 10 in the top left when net_debug is enabled
34 Days Ago
Connection.GetUserData will now work for any client - not just the host. ConVars marked with ConVarFlags.UserInfo will update for all clients when changed. Updated ConnectionInfo string table to store values individually so when one changes it doesn't send the whole lot again. We can now include ping in the string table so that Connection.Ping should be correct even if you aren't the host
35 Days Ago
Show progress (#/#) when downloading files in loading screen
35 Days Ago
Shut down properly before reconnecting - ensure we've destroyed the scene etc
41 Days Ago
Lower snapshot cluster size and use smaller types for their ids
43 Days Ago
Improve delta snapshot system by dynamically increasing and reducing stored sent snapshot cluster size to ensure we give ample time for an ack - these could get lost of we send a lot of clusters per second. Another improvement is to predict last receive snapshot data and assume they will go through, optimizing by not sending the same value 50 times a second - if not ACK'd in time, we'll clear the prediction and send again. I'm seeing good results on TTT where the host goes from sending 1mb/s to ~18-30kb/s with one connected client in some cases. Add SteamEnums.RecvMaxMessageSize and SteamEnums.RecvBufferMessages. Set these values in bootstrap to higher values.
43 Days Ago
Network options on a GameObject where the GameObject is a prefab instance will only be serialized if the values differ from the prefabs. When loading a prefab instance as a GameObject from a Hammer scene, find the correct network mode. This fixes an issue where if a prefab is added via Hammer, but later the prefab's network mode or something changes, the new default wouldn't be used when loading the map. It'll still use the one the map was serialized with.
48 Days Ago
Make use of the return type of Scene.Load and return false if SceneLoadOptions has no valid scene set
48 Days Ago
Fixed issue with calling RPCs from within RPCs when using HostOnly / permissions and Caller not being set correctly. Fixes Facepunch/sbox-issues#7452
49 Days Ago
Fixed previous Show Hitbox Debug displaying BBox hitboxes in the wrong place
49 Days Ago
Added Show Hitbox Debug option in Debugging Menu in the editor. debug_hitbox ConVar. Can debug hitboxes in the editor or in-game similar to Show Interpolation Debug. Fixes Facepunch/sbox-issues#7505
49 Days Ago
Fixed Show Interpolation Debug not being able to be toggled in the UI. If a ConVar value is a boolean, use its integer form. Fixes Facepunch/sbox-issues#7503
49 Days Ago
Added Object property to WrappedMethod<T> (Fixes Facepunch/sbox-issues#7497)
54 Days Ago
Fixed network info being incorrect / unset in OnNetworkSpawn callbacks because _net is not set yet. Fixes (Facepunch/sbox-issues#6447)
54 Days Ago
SyncFlags.Interpolate (#1789)
54 Days Ago
Double max string table snapshot entry size from 4mb to 8mb (Fixes Facepunch/sbox-issues#7250)
54 Days Ago
Fixed an issue where performing a network refresh might not synchronize the tags with the owner's version of the object. Fixes Facepunch/sbox-issues#7301
54 Days Ago
Fixed an instance where an editor lobby could be public even when it's set to private in the editor. This could have happened if CreateLobby was called with Privacy = LobbyPrivacy.Public - now the editor option will dictate the privacy of all editor lobbies.
2 Months Ago
Add Simulate Packet Loss alongside Simulate Lag in editor network options - it's working for simulating outgoing lost packets from the host right now
2 Months Ago
Some tidy up - data table ReadFilter instead of other method, reset delta snapshot cache on owner change and after network refresh is received
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