Garry's Mod

Garry's Mod

Automatic Culling - Dynamic auto-cull
149 Comments
дранiй 21 Aug @ 9:28am 
[Automatic Culling - Dynamic auto-cull] lua/autorun/automatic_aggressive_drc_culling.lua:37: attempt to compare number with nil
1. unknown - lua/autorun/automatic_aggressive_drc_culling.lua:37
Vuthakral  [author] 14 Aug @ 4:02am 
Gmod issue, ask in their Discord. I've never had that problem so idk how to help you.
raven the dinosaur 13 Aug @ 10:09pm 
i cant disable it!
Vuthakral  [author] 6 Aug @ 7:18am 
you can use mat_wireframe 4 to see the visual effect used in the thumbnail, anything picked up by this system will disappear when obstructed by the world even if it's in the same room as you.
Boulderbob 6 Aug @ 6:27am 
Is there a way to know if this is working aside from comparing FPS?
Cherrie_The_Shifter ΘΔ 4 Aug @ 12:06pm 
Okay so it seems it culls only stuff you spawn yk loose items so it wont help with lag as it dont cull teh map like some other game do. thats what i getting from it, it will help for if you have a shit ton of stuff spawned in, ir maybe maps with alot of entities npcs and loos stuff, Anyways Yeah
WolfBite 26 Jul @ 1:42am 
Honestly i feel dumb for still not fully understanding how this works but i havent dropped below 55 FPS since ive subscribed. I thought it was just some random "FpS bOoStEr" you see on workshop but ive subbed to you before and youve never lead me wrong. Whether or not this is for what i think it is. This mod has literally saved my Realism collection. Thank you homie. Take these multiple awards, my smile, a handshake, a thumbs-up. And finally my gratitude. Have a great day! <3
1x1x1x1 24 Jul @ 5:00am 
i have one question why when i load up i see some doctor breens
def. 13 Jul @ 8:45am 
Does this cull NPC's?
Colio 11 Jul @ 12:58pm 
Ohhh, I'm really sorry for wasting your time... I kind of forgot I needed that enabled.
Vuthakral  [author] 6 Jul @ 7:07pm 
You didn't install the required addon
Colio 6 Jul @ 6:39pm 
Hey, what's up with this error?

[Automatic Culling - Dynamic auto-cull] lua/autorun/automatic_aggressive_drc_culling.lua:3: attempt to index global 'DRC' (a nil value)
1. unknown - lua/autorun/automatic_aggressive_drc_culling.lua:3

Is it something to worry about? Is it something else conflicting?
Vuthakral  [author] 30 Jun @ 7:34am 
If those props are small enough, have 3 or more materials, and the map isn't already culling them then yes
Bob. 30 Jun @ 4:34am 
so if there are a ton of props on a map, this will help keep the lag down?
Andy The 1994 Volvo S90 26 Jun @ 6:16pm 
Catch them, kill them.
91шина 26 Jun @ 12:21am 
having pattern recognition is apparently russophobic now? take a load of this guy
Creedani 24 Jun @ 11:42pm 
@Vuthakral я имел ввиду, что можно сделать альтернативный аддон, как в случае с wOS, а не разбирать код базы на 10 аддонов, я просто не так выразился видимо, в целом, мне больше и нечего добавить.
lovaid 24 Jun @ 6:04pm 
this saved my computer
Vuthakral  [author] 24 Jun @ 4:29pm 
2/2
And no, it's not "Russophobia". The Steam Workshop is not the only place I get feedback or find things people say about me and my work; and even then the Draconic Base's page is definitely not the only place on Steam that it happens. I've seen both positive and negative remarks in many languages, not just Russian; just that the pattern I've noticed is most Russian ones tend to be very hostile and accusatory of either me as a person or my work. Your first comment made me assume yours was no different at first with it's very accusatory nature. Very common theme of them is to assume me as a furry just because of my profile picture and start going in with extremely disgusting remarks to the point when they were comments on Steam I deleted them because of how atrocious they were.
Vuthakral  [author] 24 Jun @ 4:29pm 
1/2
Like I said to the other guy, there is background code in Draconic which is supposed to abort if it isn't needed but I haven't checked on it in a long time so changes to other systems or setups might have caused them become non-functional, and that I intend to go back and ensure everything there is working as the Draconic Base was always designed from the beginning to not waste performance by merely existing. I don't get why your solution is to ask me to disassemble my codebase and turn it into dozens of different micro-scale addons rather than to just fix the actual issue. A lot of stuff isn't as simple as "just take it out", a lot of it is interwoven and reliant on functions, logic, and definitions I've written into the codebase itself which I needed in order to make some stuff possible.
Creedani 24 Jun @ 8:37am 
+ как дополнение, многие установленные у меня аддоны это модельки для игроков, пропы, несколько баз на оружия, анимации, QoL аддоны и т.д, но никакие из этих аддонов особо не затрагивают мою производительность пассивно, и вообще, можно ли как-то отделить некоторую часть кода от самой базы, и сделать это отдельным аддоном? (как это сделал King David™, чтобы xdR нормально работал в паре с wOS)
Creedani 24 Jun @ 8:36am 
— я не понимаю к чему слова о видео и скриншотах, а инструменты по типу Addon hooks Lag Finder вообще не находят проблему, все аддоны там не влияют на производительность, но я своими глазами вижу влияние твоей базы на фпс, так что это не работает. за 30 вкладок с комментариями под самим Draconic Base я нашёл лишь двух русских, которые пишут о проблеме с фпс, не русофобия ли это?
Creedani 24 Jun @ 8:36am 
ты всё ещё не понял, меня не волнует какой-то конкретный аддон, проблема как раз таки в том, что почти для всех твоих аддонов нужна база, которая пассивно снижает фпс, я даже перепроверил, просто стоя на месте уже исчезает ~6 фпс, другие не сталкиваются с такой же критикой, потому что другие базы, кроме баз для оружий - не лагают, либо таких случаев очень мало, а про оружия - любая база для них будет лагать (кроме m9k), какая-то меньше, какая-то больше, нет идеальной, поэтому никто и не жалуется —
Vuthakral  [author] 24 Jun @ 4:06am 
2/2
Per your last point: yes, actually. I'm very thankful to have had several instances of users pointing out to me where I can improve performance in my code over the years, and it makes me especially happy when people give me well-structured feedback of issues so that I may fix them. Several instances of video, screenshots, and things you seem to think are unreasonable or like it's something that is somehow impossible. There are many metrics and tools people can use (both within Garry's Mod & not) to measure the performance of their game.

Again, I do not understand why to many, and especially Russian commenters regularly for some reason, I am some kind of "boogeyman" and why I am treated like everything I do is malicious.
Vuthakral  [author] 24 Jun @ 4:06am 
1/2
I make and maintain a codebase and it's evil when I utilize it but when others do it they don't face the same scrutiny? Also you do realize you're complaining about this on an addon I wrote because people requested I do so right? I wrote the aggressive culling originally just to use on my weapon base to help combat performance drops on multiplayer servers with tons of players & NPCs using high-end models for their guns.

You refer to a previous comment where I didn't name any specific other codebases, I still won't name any because I don't like to create or partake in drama but something specific in mind when I wrote that is how quite a lot of weapon bases out there are so ridiculous on how they calculate their behaviour that automatic weapons on them often drop my game close to single digit framerates.
Creedani 23 Jun @ 10:33pm 
— если тебе недостаточно большого количества людей, которые тебе прямо говорят о плохой оптимизации - не моя проблема, как по твоему мнению человек докажет, что твоя база не оптимизированная? покажет извлечённый код твоей базы? или запишет видео при помощи OBS, который сам по себе дополнительно будет сжирать фпс? даже человек снизу написал, что его фпс уменьшился, хоть и не уверен, в твоей ли базе проблема.
Creedani 23 Jun @ 10:32pm 
@Vuthakral нет уж, если бы ТЫ научился читать, то понял бы, что твоя же база используется почти во всех твоих аддонах с момента её создания, даже там, где она не нужна вовсе, "Funny how my base is the only one on the receiving end of that accusation despite some other more popular ones actually having that be the case." твои слова, отсюда же я и взял вывод с тем, что остальные базы оказывается более лагучие (нет, это касается/касалось только Enhanced PlayerModel Selector, и даже так, там не лаги, а вылеты из игры) —
Vuthakral  [author] 23 Jun @ 1:20pm 
Flatgrass with or without props? There's a few background things in Draconic but most of them abort when not needed. I haven't checked on or updated them in a while so I can go double check all of those to ensure nothing is running when it shouldn't be.
pierre gasly 23 Jun @ 12:50pm 
hey awsome mod but i went from 550-600 to 450-500 on flatgrass im not sure if its my pc being dogshit or anything like that,still good mod
Vuthakral  [author] 22 Jun @ 8:54pm 
Comments like yours are something I have been putting up with for years. I don't know if there's some kind of Russian subculture within Garry's Mod that has an extreme hatred for me/my base with how often it comes from Russians specifically, but I've had enough of it. I draw the line at baseless accusations and mindless complaints that have zero backing and are just thrown at me in an attempt to insult.
Vuthakral  [author] 22 Jun @ 8:37pm 
@Creedani I don't know what your problem with me is but if you could learn to read you would have figured out the culling is part of the Draconic Base itself which is why it is required. I've never claimed any other base as having any kind of "optimization problem" like you say, though you referring to mine as "laggy" with no real citation as to what way shows some projection of your own accusation of me. I would normally close a comment like this with an apathetic "Sorry for making stuff?" but frankly I'm getting really tired of all the dumb-ass comments like yours constantly accusing me of shit I don't do while also berating me and my work for merely existing. Kindly fuck off you spineless loser.
Creedani 22 Jun @ 3:04pm 
у тебя блять фетиш во все свои аддоны свою лагучую базу вставлять? ещё и обвиняя другие базы в том, что у них такая же проблема с оптимизацией, хотя на деле все они функционируют абсолютно нормально.
†GOTSR♰ 11 Jun @ 10:19am 
ever since I downloaded this mod, the ice cream truck has stopped coming to my house. Can you fix this error
Vuthakral  [author] 7 Jun @ 8:24am 
@TASbot -- Minimally most Half-Life 2 objects use a single material and the maps are already pretty well optimized on top of being pretty small to begin with.

@ReddSnake -- Particles are not altered by this addon nor its required codebase. It prevents models from drawing when obscured by the world within your viewing angle and that's it.
ReddSnake 6 Jun @ 1:25pm 
This mod seems to mess with some weapon particles and disable them, but otherwise great mod
TASbot 6 Jun @ 10:08am 
Does this have an affect for Singleplayer/HL2 Campaigns?
ohh yeahh
†GOTSR♰ 4 Jun @ 9:32am 
Hey this mod is actually amazing
Vuthakral  [author] 4 Jun @ 7:13am 
@noskill I ran some performance tests to check this and I can confirm you are mostly correct, it's not "lossless" by any standard but it is around 60% faster in average cases, and diminishes to around 30% the closer you get to a thousand entries. I decided to also test an iterative loop and that would actually be the true fastest, boasting a 75% performance difference (increase) at as high as 10,000 table entries. I'll look into rewriting how the AggressiveCulls table & system works to take advantage of this; thanks for bringing it to my attention.
Lama 4 Jun @ 6:26am 
why do people want to find fault in this addon ???? it seems weird at this point.
Lady Alcina Dimitrescu 4 Jun @ 3:45am 
People unironically blame a simple mod that's all about not rendering stuff, for every problem they have.
batman 3 Jun @ 11:05pm 
does it work in multiplayer? or atleast not buggy?
noskill 3 Jun @ 7:48pm 
lua is really fast if its jit compiled, if you restructured DRC.AggressiveCulls and used ipairs over pairs it would be pretty much lossless in terms of comparison
Vuthakral  [author] 3 Jun @ 3:44pm 
That is most definitely not a cause of this addon nor the Draconic Base. I actually have the Dishonored Parkour installed and can confirm that one especially is not an issue. The "silver guy" you are seeing is likely the default player model in the Source Engine -- it's a mis-textured Half-Life 1 Gordon Freeman model. If you are seeing this as yourself in Garry's Mod it means some addon is breaking during the initialization phase of either the gamemode or the player itself and preventing the actual Garry's Mod layer of the player class from executing.
Arrachtan 3 Jun @ 3:00pm 
Not sure about multiplayer, but this replaces the player model with some silver guy. It also freezes you in place when doing certain actions with Dishonored Parkour. The only way to escape is to disconnect and reconnect.
Cherrie_The_Shifter ΘΔ 3 Jun @ 7:31am 
Yeah now that I think of that. You are definitely right. Sorry again tho I do have lua patcher mod that auto fixes any issues especially for older forever broken mods and make sure all these mods work they work well without but better with so far this mod is only one that seem to not work so yeah. I probably should see if getting a rod if that one culling ish mod may fix it and definitely downsize amount of mods I have lol. Anyways Yeah. Sorry bothering ans thanks great mod btw (ps I used to have 1,040 mods I been downsizing ish for a bit now) 😅
Vuthakral  [author] 3 Jun @ 6:54am 
Jesus Christ of Nazareth.
I don't think you need me to really confirm that that's bad.
Cherrie_The_Shifter ΘΔ 3 Jun @ 5:48am 
842 mods exactly if i remember
Is that bad do that break it?
I looked to make sure I didnt have a mod that also does culling there is the "Preformance Mod" that does a little bit of culling stuff i think but also many other things I relay on ish. I have a shitty ish laptop idk. Anyways Yeah. Sorry again btw. Thanks for if help ans yes!.
Vuthakral  [author] 3 Jun @ 4:16am 
Do I dare ask how many addons you have installed?
Cherrie_The_Shifter ΘΔ 3 Jun @ 2:24am 
this dont seem to work. using it seems to make it stutter for me. idk if idk. does this even work? im wondering. sorry if im being dumb but yeah. like will this cull by not looking at it ore by distance like idk if this is working for me or not or im just dumb idk