Seats Network Optimizer

If you liked this item, please rate it up on Steam Workshop page.

Authors: Alban CHAMPIGNON [GiletJaune], Lexa

Last revision: 8 Sep, 2017 at 05:32 UTC

File size: 1.02 KB

On Steam Workshop

Description:
Optimizer for servers & multiplayer games

This addon is designed to significantly reduce network usage when using numerous seats and prisoner pods.
This addon is totally useless in a local game, but it can decrease the network usage related to prop_vehicle_prisoner_pod on servers.
It works for standalone seats, passenger seats, SCars, Sit anywhere, prisoner pods.

Important

Note: The same trick applies to (not handled in this add-on):

  • env_sprite entities with an animated material

If you are a mapper, please make a lua_run entity triggered by a logic_auto entity, with the following Lua code:

for _,e in ipairs(ents.FindByClass(‘env_sprite’))do e:AddEFlags(EFL_NO_THINK_FUNCTION)end

How can I know how much traffic is saved?

Type in console: net_graph 3
The red trace is about entities traffic. It can get much lower with this addon.

Note

A problem causing non-seat vehicles to fail has been fixed on Feb 27, 2016.

How does it work?

The problem is that the internal Think of prop_vehicle_prisoner_pod entities produces a useless network usage, which is noticeable when there are many of them.
The Seats Network Optimizer disables the internal Think of each prop_vehicle_prisoner_pod, and re-enables one of them on each server’s Think. Also when you use or leave a seat, its internal Think is re-enabled until the animation is finished.
More details in this bug report: High network usage caused by the prop_vehicle_prisoner_pod’s Think[github.com]