Garry's Mod

Garry's Mod

494 ratings
Seats Network Optimizer
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Vehicle
Addon Tags: Build, Roleplay
File Size
Posted
Updated
1.091 KB
Feb 12, 2016 @ 8:35pm
Sep 7, 2017 @ 9:32pm
5 Change Notes ( view )

Subscribe to download
Seats Network Optimizer

In 8 collections by Cédric GÉRILLE [GiletJaune]
Board Games by Mohamed Rachid
16 items
The TTT by Mohamed Rachid
39 items
Mohamed Rachid's Vehicles Paradize
191 items
The DarkRP by Mohamed Rachid
44 items
Soccer by Mohamed RACHID
37 items
Université Joseph Poireau (serveur)
70 items
G-1:788429
50 items
Optimization addons
7 items
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]
51 Comments
Astralcircle May 4 @ 5:34pm 
rubat fixed high network usage after may 8 2024, sooo now this is useless?
Cherrie_The_Shifter ΘΔ Apr 29 @ 8:04pm 
Alright cool that's awesome. You're welcome. And thank you 😊 🙏
Cédric GÉRILLE [GiletJaune]  [author] Apr 29 @ 3:08pm 
I did not know this one, thank you very much! ❤ I won't modify this add-on because merging other features is unrelated, but of course I granted the author of this add-on to reuse my code!
Cherrie_The_Shifter ΘΔ Apr 28 @ 3:51am 
this mod should be merged into
https://steamcommunity.com/sharedfiles/filedetails/?id=1620875048
please allow/make this happen, one good mod to make stuff run better
Cédric GÉRILLE [GiletJaune]  [author] Apr 6 @ 12:57pm 
😂
☣︎DJ Gyrotta Zao☣ Mar 27 @ 4:34pm 
frutiger aero
N Feb 19, 2024 @ 11:30am 
@AxelNoir I'm sure yes, since seats in simfphys vehicles use prop_vehicle_prisoner_pod I beleive
Cédric GÉRILLE [GiletJaune]  [author] Dec 13, 2023 @ 10:36am 
I took a random picture on the Internet, of course. I don't make my own drawings.
Pooscamp Dec 13, 2023 @ 9:11am 
Frutiger Aero preview picture
Cédric GÉRILLE [GiletJaune]  [author] Aug 24, 2022 @ 11:30am 
Hehe you're welcome, bug busted! 👌