Garry's Mod
Оценок: 509
Seats Network Optimizer
   
Наградить
В избранное
В избранном
Удалить
Тип контента: Дополнение
Тип дополнения: Транспорт
Метки дополнений: Стройка, Ролевая игра
Размер файла
Добавлен
Изменён
1.091 KB
12 фев. 2016 г. в 20:35
7 сен. 2017 г. в 21:32
Обновлений: 5 (просмотреть)

Подпишитесь, чтобы загрузить
Seats Network Optimizer

В 8 коллекциях, созданных Cédric GÉRILLE [GiletJaune]
Board Games by Mohamed Rachid
Предметов: 16
The TTT by Mohamed Rachid
Предметов: 39
Mohamed Rachid's Vehicles Paradize
Предметов: 191
The DarkRP by Mohamed Rachid
Предметов: 44
Soccer by Mohamed RACHID
Предметов: 37
Université Joseph Poireau (serveur)
Предметов: 70
G-1:788429
Предметов: 50
Optimization addons
Предметов: 7
Описание
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]
Комментариев: 55
Cherrie_The_Shifter ΘΔ 3 июн в 13:04 
Alright 👍
Cédric GÉRILLE [GiletJaune]  [создатель] 3 июн в 11:09 
I think not. I am not available to test it.
Cherrie_The_Shifter ΘΔ 13 мая в 13:26 
so is this modded at all needed anymore or?
Cédric GÉRILLE [GiletJaune]  [создатель] 11 мая в 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 мая в 17:34 
rubat fixed high network usage after may 8 2024, sooo now this is useless?
Cherrie_The_Shifter ΘΔ 29 апр в 20:04 
Alright cool that's awesome. You're welcome. And thank you 😊 🙏
Cédric GÉRILLE [GiletJaune]  [создатель] 29 апр в 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 апр в 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]  [создатель] 6 апр в 12:57 
😂
blindeyeswork 27 мар в 16:34 
frutiger aero