Bind NW updates to sv_playerforcedupdate
Opened this issue · 3 comments
Details
Currently, all NW Vars are renetworked every 10 seconds.
This can cause huge amounts of networking if you use a bunch of NW vars and have a bunch of players.
Baseline updates are also sent every 10 seconds, and this delay can be controlled with sv_playerforcedupdate
.
I want that the delay for renetworking NWVars to be bound to this convar so that it would be possible to control when they are renetworked.
AFAIK NWVars gets indeed sync during that forcedupdate, atleast that explained why some players gets their nwvar data updated correctly after few seconds, but correct me if i'm wrong
There shouldnt be a re-networking of all entities at all lmao
AFAIK NWVars gets indeed sync during that forcedupdate, atleast that explained why some players gets their nwvar data
updated correctly after few seconds, but correct me if i'm wrong
NWVars have their own delay, and they won't update on forced updates as far as I know.
Somewhere in lua_networkedvars.cpp
-> (Probably in this function)CLuaNetworkedVars::Cycle
they get networked.