Garry's Mod

Garry's Mod

Ocen: 509
Seats Network Optimizer
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
Content Type: Addon
Addon Type: Vehicle
Addon Tags: Build, Roleplay
Rozmiar pliku
Zamieszczono
Zaktualizowano
1.091 KB
12 lutego 2016 o 20:35
7 września 2017 o 21:32
Listy zmian: 5 ( zobacz )

Zasubskrybuj, aby pobrać
Seats Network Optimizer

W 8 kolekcjach stworzonych przez Cédric GÉRILLE [GiletJaune]
Board Games by Mohamed Rachid
Przedmioty: 16
The TTT by Mohamed Rachid
Przedmioty: 39
Mohamed Rachid's Vehicles Paradize
Przedmioty: 191
The DarkRP by Mohamed Rachid
Przedmioty: 44
Soccer by Mohamed RACHID
Przedmioty: 37
Université Joseph Poireau (serveur)
Przedmioty: 70
G-1:788429
Przedmioty: 50
Optimization addons
Przedmioty: 7
Opis
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]
Komentarzy: 55
Cherrie_The_Shifter ΘΔ 3 czerwca o 13:04 
Alright 👍
Cédric GÉRILLE [GiletJaune]  [autor] 3 czerwca o 11:09 
I think not. I am not available to test it.
Cherrie_The_Shifter ΘΔ 13 maja o 13:26 
so is this modded at all needed anymore or?
Cédric GÉRILLE [GiletJaune]  [autor] 11 maja o 12:52 
I don't know, my bug report had been ignored for so long that I did not keep track of it. Thanks for letting me know!
Astralcircle 4 maja o 17:34 
rubat fixed high network usage after may 8 2024, sooo now this is useless?
Cherrie_The_Shifter ΘΔ 29 kwietnia o 20:04 
Alright cool that's awesome. You're welcome. And thank you 😊 🙏
Cédric GÉRILLE [GiletJaune]  [autor] 29 kwietnia o 15:08 
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 ΘΔ 28 kwietnia o 3:51 
this mod should be merged into
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1620875048
please allow/make this happen, one good mod to make stuff run better
Cédric GÉRILLE [GiletJaune]  [autor] 6 kwietnia o 12:57 
😂
blindeyeswork 27 marca o 16:34 
frutiger aero