Garry's Mod

Garry's Mod

Seats Network Optimizer
55 kommentarer
PixelTheCollie ΘΔ 3. juni kl. 13:04 
Alright 👍
Cédric GÉRILLE [GiletJaune]  [ophavsmand] 3. juni kl. 11:09 
I think not. I am not available to test it.
PixelTheCollie ΘΔ 13. maj kl. 13:26 
so is this modded at all needed anymore or?
Cédric GÉRILLE [GiletJaune]  [ophavsmand] 11. maj kl. 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. maj kl. 17:34 
rubat fixed high network usage after may 8 2024, sooo now this is useless?
PixelTheCollie ΘΔ 29. apr. kl. 20:04 
Alright cool that's awesome. You're welcome. And thank you 😊 🙏
Cédric GÉRILLE [GiletJaune]  [ophavsmand] 29. apr. kl. 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!
PixelTheCollie ΘΔ 28. apr. kl. 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]  [ophavsmand] 6. apr. kl. 12:57 
😂
blindeyeswork 27. mar. kl. 16:34 
frutiger aero
N 19. feb. 2024 kl. 11:30 
@AxelNoir I'm sure yes, since seats in simfphys vehicles use prop_vehicle_prisoner_pod I beleive
Cédric GÉRILLE [GiletJaune]  [ophavsmand] 13. dec. 2023 kl. 10:36 
I took a random picture on the Internet, of course. I don't make my own drawings.
Pooscamp 13. dec. 2023 kl. 9:11 
Frutiger Aero preview picture
Cédric GÉRILLE [GiletJaune]  [ophavsmand] 24. aug. 2022 kl. 11:30 
Hehe you're welcome, bug busted! 👌
КОСТЯ ПАКИСТАН 28. juli 2022 kl. 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]  [ophavsmand] 5. juni 2021 kl. 3:09 
They are added to the list with a hook on OnEntityCreated, obviously.
Joker Gaming 4. juni 2021 kl. 16:04 
what if seat entities are created then?
Cédric GÉRILLE [GiletJaune]  [ophavsmand] 4. juni 2021 kl. 15: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 29. maj 2021 kl. 13:20 
(on a server with no seats, N=0, it runs it every frame)
Joker Gaming 29. maj 2021 kl. 13: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]  [ophavsmand] 29. maj 2021 kl. 12:46 
I checked out the code. Thankfully it does not run ents.FindByClass() on every frame.
Joker Gaming 28. maj 2021 kl. 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 28. maj 2021 kl. 12:50 
coroutines don't run on a separate thread buddy it still eats the server tickrate
Cédric GÉRILLE [GiletJaune]  [ophavsmand] 28. maj 2021 kl. 12:30 
Wait, isn't there a coroutine or something? Sorry, I do not have the code right here to check.
Joker Gaming 24. maj 2021 kl. 15:24 
Cringe ents.FindByClass in Think, this addon will cause more lag than it solves.
Cédric GÉRILLE [GiletJaune]  [ophavsmand] 11. maj 2021 kl. 14: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 26. apr. 2021 kl. 12:24 
Does this improve optimization with several simfphys cars spawned in the server?
BRENT7007 1. okt. 2020 kl. 1:23 
XD
Cédric GÉRILLE [GiletJaune]  [ophavsmand] 22. juli 2020 kl. 1:17 
100% bullshit in your comment as well.
诶艾弗艾尺_mums 19. juli 2020 kl. 10:14 
100% virus
Cédric GÉRILLE [GiletJaune]  [ophavsmand] 10. aug. 2019 kl. 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Ø 10. aug. 2019 kl. 12:43 
What do you mean "seat" and "pod"?
Im playing ttt, does this addon affect in any way?
Cat Senya[ CSGP ] 1. aug. 2019 kl. 18:13 
cool, like.
Cédric GÉRILLE [GiletJaune]  [ophavsmand] 30. apr. 2019 kl. 16:00 
Almost sure it has benefits with the sit anywhere mod.
stevensky 29. apr. 2019 kl. 5:41 
does it have any impact on servers that only use the sit anywhere mod? thank you
Cédric GÉRILLE [GiletJaune]  [ophavsmand] 5. aug. 2018 kl. 6:30 
Absolutely, p2p will be improved too!
Nathan.Smiley 16. mar. 2018 kl. 13:22 
D'accord merci
Cédric GÉRILLE [GiletJaune]  [ophavsmand] 16. mar. 2018 kl. 12:47 
Salut, bien-sûr !
Nathan.Smiley 13. mar. 2018 kl. 1:01 
Salut, es ce que cet addon optimise les serveurs utilisant vcmod et des véhicules ?
Robin | Barry 17. feb. 2018 kl. 7:29 
Merci
Cédric GÉRILLE [GiletJaune]  [ophavsmand] 17. feb. 2018 kl. 7:22 
Entre dans la console
net_graph 0
Robin | Barry 17. feb. 2018 kl. 6:22 
Bonjour, le graphique est a droite de mon écran, comment l'enelever svp
Cédric GÉRILLE [GiletJaune]  [ophavsmand] 7. sep. 2017 kl. 21:39 
The code is now clean, thanks to you code_gs !
Bauhaus 6. sep. 2017 kl. 20:00 
Hey, sent you a friend request to talk about the code
Maverick 6. maj 2017 kl. 9:41 
Ha, a part si je jette le coup d'oeil souvent ? :steammocking:
Cédric GÉRILLE [GiletJaune]  [ophavsmand] 6. maj 2017 kl. 9:39 
Oui, bien que ça ne soit pas très utile et que ça ne t'offrira pas les mises à jour automatique.
Maverick 6. maj 2017 kl. 8:58 
On peux le mettre en .lua dans notre dossier /garry'smod/Addons ?
Avec Gmad Extractor ?
Cédric GÉRILLE [GiletJaune]  [ophavsmand] 6. maj 2017 kl. 8:49 
Absolument, mais uniquement en terme de sollicitation du réseau.
Maverick 6. maj 2017 kl. 8:43 
Ces sensé optimisé le serveur ?
Cédric GÉRILLE [GiletJaune]  [ophavsmand] 11. sep. 2016 kl. 15:32 
No idea of what it is, but there is no doubt that this addon will not get your server in trouble.