Garry's Mod

Garry's Mod

Seats Network Optimizer
55 Comments
Cherrie_The_Shifter ΘΔ Jun 3 @ 1:04pm 
Alright 👍
Cédric GÉRILLE [GiletJaune]  [author] Jun 3 @ 11:09am 
I think not. I am not available to test it.
Cherrie_The_Shifter ΘΔ May 13 @ 1:26pm 
so is this modded at all needed anymore or?
Cédric GÉRILLE [GiletJaune]  [author] May 11 @ 12:52pm 
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 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! 👌
КОСТЯ ПАКИСТАН Jul 28, 2022 @ 5:19am 
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]  [author] Jun 5, 2021 @ 3:09am 
They are added to the list with a hook on OnEntityCreated, obviously.
Joker Gaming Jun 4, 2021 @ 4:04pm 
what if seat entities are created then?
Cédric GÉRILLE [GiletJaune]  [author] Jun 4, 2021 @ 3:46pm 
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 May 29, 2021 @ 1:20pm 
(on a server with no seats, N=0, it runs it every frame)
Joker Gaming May 29, 2021 @ 1:19pm 
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]  [author] May 29, 2021 @ 12:46pm 
I checked out the code. Thankfully it does not run ents.FindByClass() on every frame.
Joker Gaming May 28, 2021 @ 12:52pm 
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 May 28, 2021 @ 12:50pm 
coroutines don't run on a separate thread buddy it still eats the server tickrate
Cédric GÉRILLE [GiletJaune]  [author] May 28, 2021 @ 12:30pm 
Wait, isn't there a coroutine or something? Sorry, I do not have the code right here to check.
Joker Gaming May 24, 2021 @ 3:24pm 
Cringe ents.FindByClass in Think, this addon will cause more lag than it solves.
Cédric GÉRILLE [GiletJaune]  [author] May 11, 2021 @ 2:18pm 
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 Apr 26, 2021 @ 12:24pm 
Does this improve optimization with several simfphys cars spawned in the server?
BRENT7007 Oct 1, 2020 @ 1:23am 
XD
Cédric GÉRILLE [GiletJaune]  [author] Jul 22, 2020 @ 1:17am 
100% bullshit in your comment as well.
诶艾弗艾尺_mums Jul 19, 2020 @ 10:14am 
100% virus
Cédric GÉRILLE [GiletJaune]  [author] Aug 10, 2019 @ 12:56pm 
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.
ɆⱠ ₲Ɽł₣Ø❥42Ø Aug 10, 2019 @ 12:43pm 
What do you mean "seat" and "pod"?
Im playing ttt, does this addon affect in any way?
Cat Senya[ CSGP ] Aug 1, 2019 @ 6:13pm 
cool, like.
Cédric GÉRILLE [GiletJaune]  [author] Apr 30, 2019 @ 4:00pm 
Almost sure it has benefits with the sit anywhere mod.
stevensky Apr 29, 2019 @ 5:41am 
does it have any impact on servers that only use the sit anywhere mod? thank you
Cédric GÉRILLE [GiletJaune]  [author] Aug 5, 2018 @ 6:30am 
Absolutely, p2p will be improved too!
Nathan.Smiley Mar 16, 2018 @ 1:22pm 
D'accord merci
Cédric GÉRILLE [GiletJaune]  [author] Mar 16, 2018 @ 12:47pm 
Salut, bien-sûr !
Nathan.Smiley Mar 13, 2018 @ 1:01am 
Salut, es ce que cet addon optimise les serveurs utilisant vcmod et des véhicules ?
Robin | Barry Feb 17, 2018 @ 7:29am 
Merci
Cédric GÉRILLE [GiletJaune]  [author] Feb 17, 2018 @ 7:22am 
Entre dans la console
net_graph 0
Robin | Barry Feb 17, 2018 @ 6:22am 
Bonjour, le graphique est a droite de mon écran, comment l'enelever svp
Cédric GÉRILLE [GiletJaune]  [author] Sep 7, 2017 @ 9:39pm 
The code is now clean, thanks to you code_gs !
Bauhaus Sep 6, 2017 @ 8:00pm 
Hey, sent you a friend request to talk about the code
Maverick May 6, 2017 @ 9:41am 
Ha, a part si je jette le coup d'oeil souvent ? :steammocking:
Cédric GÉRILLE [GiletJaune]  [author] May 6, 2017 @ 9:39am 
Oui, bien que ça ne soit pas très utile et que ça ne t'offrira pas les mises à jour automatique.
Maverick May 6, 2017 @ 8:58am 
On peux le mettre en .lua dans notre dossier /garry'smod/Addons ?
Avec Gmad Extractor ?
Cédric GÉRILLE [GiletJaune]  [author] May 6, 2017 @ 8:49am 
Absolument, mais uniquement en terme de sollicitation du réseau.
Maverick May 6, 2017 @ 8:43am 
Ces sensé optimisé le serveur ?
Cédric GÉRILLE [GiletJaune]  [author] Sep 11, 2016 @ 3:32pm 
No idea of what it is, but there is no doubt that this addon will not get your server in trouble.