Garry's Mod

Garry's Mod

509 hodnocení
Seats Network Optimizer
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
Content Type: Addon
Addon Type: Vehicle
Addon Tags: Build, Roleplay
Velikost souboru
Přidáno
Aktualizováno
1.091 KB
12. úno. 2016 v 20.35
7. zář. 2017 v 21.32
Poznámky ke změnám (5) – zobrazit

Klikněte na „Odebírat“ pro stažení položky
Seats Network Optimizer

V 8 kolekcích od uživatele Cédric GÉRILLE [GiletJaune]
Board Games by Mohamed Rachid
16 položek
The TTT by Mohamed Rachid
39 položek
Mohamed Rachid's Vehicles Paradize
191 položek
The DarkRP by Mohamed Rachid
44 položek
Soccer by Mohamed RACHID
37 položek
Université Joseph Poireau (serveur)
70 položek
G-1:788429
50 položek
Optimization addons
7 položek
Popis
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]
Počet komentářů: 55
Cherrie_The_Shifter ΘΔ 3. čvn. v 13.04 
Alright 👍
Cédric GÉRILLE [GiletJaune]  [autor] 3. čvn. v 11.09 
I think not. I am not available to test it.
Cherrie_The_Shifter ΘΔ 13. kvě. v 13.26 
so is this modded at all needed anymore or?
Cédric GÉRILLE [GiletJaune]  [autor] 11. kvě. v 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. kvě. v 17.34 
rubat fixed high network usage after may 8 2024, sooo now this is useless?
Cherrie_The_Shifter ΘΔ 29. dub. v 20.04 
Alright cool that's awesome. You're welcome. And thank you 😊 🙏
Cédric GÉRILLE [GiletJaune]  [autor] 29. dub. v 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. dub. v 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. dub. v 12.57 
😂
blindeyeswork 27. bře. v 16.34 
frutiger aero