Garry's Mod

Garry's Mod

Seats Network Optimizer
55 条留言
PixelTheCollie ΘΔ 6 月 3 日 下午 1:04 
Alright 👍
Cédric GÉRILLE [GiletJaune]  [作者] 6 月 3 日 上午 11:09 
I think not. I am not available to test it.
PixelTheCollie ΘΔ 5 月 13 日 下午 1:26 
so is this modded at all needed anymore or?
Cédric GÉRILLE [GiletJaune]  [作者] 5 月 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 5 月 4 日 下午 5:34 
rubat fixed high network usage after may 8 2024, sooo now this is useless?
PixelTheCollie ΘΔ 4 月 29 日 下午 8:04 
Alright cool that's awesome. You're welcome. And thank you 😊 🙏
Cédric GÉRILLE [GiletJaune]  [作者] 4 月 29 日 下午 3: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!
PixelTheCollie ΘΔ 4 月 28 日 上午 3:51 
this mod should be merged into
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1620875048
please allow/make this happen, one good mod to make stuff run better
Cédric GÉRILLE [GiletJaune]  [作者] 4 月 6 日 下午 12:57 
😂
blindeyeswork 3 月 27 日 下午 4:34 
frutiger aero
N 2024 年 2 月 19 日 上午 11:30 
@AxelNoir I'm sure yes, since seats in simfphys vehicles use prop_vehicle_prisoner_pod I beleive
Cédric GÉRILLE [GiletJaune]  [作者] 2023 年 12 月 13 日 上午 10:36 
I took a random picture on the Internet, of course. I don't make my own drawings.
Pooscamp 2023 年 12 月 13 日 上午 9:11 
Frutiger Aero preview picture
Cédric GÉRILLE [GiletJaune]  [作者] 2022 年 8 月 24 日 上午 11:30 
Hehe you're welcome, bug busted! 👌
КОСТЯ ПАКИСТАН 2022 年 7 月 28 日 上午 5:19 
omfg that shit works as well as expected i had very heavy net channel and tickrate rape on my sandbox server where the average online is 35-50 and there is tons of funny simpfhys shit and ur masteroiece boosted server performance ty man
Cédric GÉRILLE [GiletJaune]  [作者] 2021 年 6 月 5 日 上午 3:09 
They are added to the list with a hook on OnEntityCreated, obviously.
Joker Gaming 2021 年 6 月 4 日 下午 4:04 
what if seat entities are created then?
Cédric GÉRILLE [GiletJaune]  [作者] 2021 年 6 月 4 日 下午 3:46 
No you misread the code. ents.FindByClass() runs once only during the 1st execution. What are you talking about? It's how I keep the seat list up-to-date after a Lua refresh.
Joker Gaming 2021 年 5 月 29 日 下午 1:20 
(on a server with no seats, N=0, it runs it every frame)
Joker Gaming 2021 年 5 月 29 日 下午 1:19 
it appears to run it every N frames where N=num seats which is nonetheless stupid, just implement it properly by storing the entities as they are created. ents.FindByClass is very expensive as it calls ents.GetAll internally

i tried this on my server (which usually has about 40 players in seats) and it didn't seem to lower the network usage anyway so...
Cédric GÉRILLE [GiletJaune]  [作者] 2021 年 5 月 29 日 下午 12:46 
I checked out the code. Thankfully it does not run ents.FindByClass() on every frame.
Joker Gaming 2021 年 5 月 28 日 下午 12:52 
just hook OnEntityCreated and put the entities into a weak global table as the key (weak tables: https://www.lua.org/pil/17.html )
Joker Gaming 2021 年 5 月 28 日 下午 12:50 
coroutines don't run on a separate thread buddy it still eats the server tickrate
Cédric GÉRILLE [GiletJaune]  [作者] 2021 年 5 月 28 日 下午 12:30 
Wait, isn't there a coroutine or something? Sorry, I do not have the code right here to check.
Joker Gaming 2021 年 5 月 24 日 下午 3:24 
Cringe ents.FindByClass in Think, this addon will cause more lag than it solves.
Cédric GÉRILLE [GiletJaune]  [作者] 2021 年 5 月 11 日 下午 2:18 
I think so, but I am not absolutely sure. I think that for each seat of the vehicle, there is 1 seat to optimize out.
Axel The Vampire Slayer 2021 年 4 月 26 日 下午 12:24 
Does this improve optimization with several simfphys cars spawned in the server?
BRENT7007 2020 年 10 月 1 日 上午 1:23 
XD
Cédric GÉRILLE [GiletJaune]  [作者] 2020 年 7 月 22 日 上午 1:17 
100% bullshit in your comment as well.
诶艾弗艾尺_mums 2020 年 7 月 19 日 上午 10:14 
100% virus
Cédric GÉRILLE [GiletJaune]  [作者] 2019 年 8 月 10 日 下午 12:56 
On the TTT there should be no useable seats / prisoner pods. I hardly can imagine seated players in the TTT. :-D
So in the TTT this addon should be useless.
ɆL ₲Rł₣Ø❥42Ø 2019 年 8 月 10 日 下午 12:43 
What do you mean "seat" and "pod"?
Im playing ttt, does this addon affect in any way?
Cat Senya[ CSGP ] 2019 年 8 月 1 日 下午 6:13 
cool, like.
Cédric GÉRILLE [GiletJaune]  [作者] 2019 年 4 月 30 日 下午 4:00 
Almost sure it has benefits with the sit anywhere mod.
stevensky 2019 年 4 月 29 日 上午 5:41 
does it have any impact on servers that only use the sit anywhere mod? thank you
Cédric GÉRILLE [GiletJaune]  [作者] 2018 年 8 月 5 日 上午 6:30 
Absolutely, p2p will be improved too!
Nathan.Smiley 2018 年 3 月 16 日 下午 1:22 
D'accord merci
Cédric GÉRILLE [GiletJaune]  [作者] 2018 年 3 月 16 日 下午 12:47 
Salut, bien-sûr !
Nathan.Smiley 2018 年 3 月 13 日 上午 1:01 
Salut, es ce que cet addon optimise les serveurs utilisant vcmod et des véhicules ?
Robin | Barry 2018 年 2 月 17 日 上午 7:29 
Merci
Cédric GÉRILLE [GiletJaune]  [作者] 2018 年 2 月 17 日 上午 7:22 
Entre dans la console
net_graph 0
Robin | Barry 2018 年 2 月 17 日 上午 6:22 
Bonjour, le graphique est a droite de mon écran, comment l'enelever svp
Cédric GÉRILLE [GiletJaune]  [作者] 2017 年 9 月 7 日 下午 9:39 
The code is now clean, thanks to you code_gs !
Bauhaus 2017 年 9 月 6 日 下午 8:00 
Hey, sent you a friend request to talk about the code
Maverick 2017 年 5 月 6 日 上午 9:41 
Ha, a part si je jette le coup d'oeil souvent ? :steammocking:
Cédric GÉRILLE [GiletJaune]  [作者] 2017 年 5 月 6 日 上午 9:39 
Oui, bien que ça ne soit pas très utile et que ça ne t'offrira pas les mises à jour automatique.
Maverick 2017 年 5 月 6 日 上午 8:58 
On peux le mettre en .lua dans notre dossier /garry'smod/Addons ?
Avec Gmad Extractor ?
Cédric GÉRILLE [GiletJaune]  [作者] 2017 年 5 月 6 日 上午 8:49 
Absolument, mais uniquement en terme de sollicitation du réseau.
Maverick 2017 年 5 月 6 日 上午 8:43 
Ces sensé optimisé le serveur ?
Cédric GÉRILLE [GiletJaune]  [作者] 2016 年 9 月 11 日 下午 3:32 
No idea of what it is, but there is no doubt that this addon will not get your server in trouble.