Leak Identification tool

Oct 6, 2008
1,947
445
Hey all you programing gurus out there - have any of you tried making a leak identification tool?

This run compile find one leak, fix it then repeat constantly is pretty annoying.

Can anyone make a tool or plug in that will identify them all at one time?

ie. alt+p show all problems in map

if you did alt+l it would show any leaks, then if you selected the first item in the list - you would be taken to that point and could then follow the line and plug the leak. Going down the list would take you to the next offending party instead of having to constantly having to constantly compile - it might save a lot of time mapping.
 

Geit

💜 I probably broke it 💜
aa
May 28, 2009
598
1,161
If you have a hole in your map: The number of detectable leaks in the map would be equal to the number of entities multiplied by the number of holes. That's not to say what you're proposing is impossible, though, I'm sure someone committed enough could work around all the problems, it just isn't worth it for the ~10 minute workflow boost it'd give.

I'd much rather see a GPGPU RAD/VIS if I'm honest.
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,669
The problem is sorta the other way around. If you have a hole, it doesn't matter how many entities you have because it is still one hole to fix. Multiple leaks in this sense means multiple holes.

I think this is effectively impossible, because the amount of effort required to make it detect something like this would be huge.
The compile determines what the "inside" of the map is based on where entities are. When finds an entity that is not enclosed it has no way to determine inside vs outside. It would require some kind of fuzzy logic prediction stuff that guesses what could be a hole based on size and surroundings, but given all the other brushes in a map that would be incredibly complex. A doorway could look just as much like a leak hole as a leak. Computers just can't "see" it the way we do.
 

Fish 2.0

L6: Sharp Member
Nov 22, 2012
324
262
The problem is sorta the other way around. If you have a hole, it doesn't matter how many entities you have because it is still one hole to fix. Multiple leaks in this sense means multiple holes.

Yeah. The program would find a hole, then have to basically patch the hole by itself in order to find the next one. There is likely a way to do it without 'patching' the hole but it would be very hard to make.
 

YM

LVL100 YM
aa
Dec 5, 2007
7,135
6,056
What you're after is called vbsp.exe, it finds one leak at a time for you to fix and takes just a second to run.
 
Oct 6, 2008
1,947
445
never mind although I do feel a little burned by this thread

running vbsp identifies one item leaking into the void at one spot.

I was just wondering if there was some way to have you run a program that would identify all the holes instead of just the one. ie light leaked - here but does that same light leak anywhere else.

guess I'll just have to google where I can get vbsp.exe now
 
Last edited:

Seba

DR. BIG FUCKER, PHD
aa
Jun 9, 2009
2,364
2,728
I think that was sarcasm

I hope that was sarcasm