# Fixing a leak that i can't find!

Tried going to the co-ordinates it gave me and nothing… says a leaked prop_dynamic… which i have quite a bit of…
I covered the max co-ordinates of hammer with a skybox and still it tells me i’ve got a leak
Compile log:



-------------------------------------------------------------------------------
Running command: cd "c:\program files\steam\steamapps\common\left 4 dead 2\bin"
-------------------------------------------------------------------------------

-------------------------------------------------------------------------------
Running command: "c:\program files\steam\steamapps\common\left 4 dead 2\bin\vbsp
-------------------------------------------------------------------------------

Valve Software - vbsp.exe (Jan  7 2010)
aterials
fixing up env_cubemap materials on brush sides...
**** leaked ****
Entity prop_dynamic (-444.00 -5236.00 -1148.00) leaked!
Processing areas...done (0)
Building Faces...done (0)
Chop Details...done (0)
Find Visible Detail Sides...done (0)
Merging details...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
done (0)
Finding displacement neighbors...
Finding lightmap sample positions...
Displacement Alpha : 0...1...2...3...4...5...6...7...8...9...10
Building Physics collision data...
done (0) (13349 bytes)
Cannot build Physics2 data
-----------
DataLinker total stream size                                     0.0 KiB
Placing detail props : 0...1...2...3...4...5...6...7...8...9...10
Compacting texture/material tables...
Reduced 94 texinfos to 63
Reduced 14 texdatas to 12 (381 bytes to 287)
0 seconds elapsed

-------------------------------------------------------------------------------
Running command: cd "c:\program files\steam\steamapps\common\left 4 dead 2\bin"
-------------------------------------------------------------------------------

-------------------------------------------------------------------------------
Running command: "c:\program files\steam\steamapps\common\left 4 dead 2\bin\vvis
-------------------------------------------------------------------------------

Valve Software - vvis.exe (Nov 10 2009)
max farz in all env_fog_controller entities: -1.000000 (used for radial vis)
ma.prt

Finished. Press a key to close.



i did what you said and found this “red line”, it says i have a leak in my skybox but i don’t see one.
Pic:
[editline]17:46[/editline]
Aha i changed camera angle and found its outside the map?

http://img696.imageshack.us/img696/5993/97950603.png

There’s probably a prop or something you accidentally left outside.

To be safe, select the entire red line with the select tool and delete that area.

Tried that and it found nuttin… so i just put a skybox around it

That is usually a very poor solution.
Your skybox brushes look extremely thin, maybe you misaligned them?

well it worked so… i’ll stick with it and i dont think i misaligned them as i used CTRL+H on a big skybox box… which is a form of carving :ohdear:

Wait what? Why did you do that? Sounds like a great way to end up with leaks. Just make a simple box out of six skybox brushes…
Also, “Well it worked” is a poor justification for covering your entire map in an extra skybox.

Edited: Also there is no justification for using carve.

Make sure you didn’t accidentally move the origin of an entity (the little circle in the middle) out into the void, that can be hard to spot.

Go to the point (-444.00 -5236.00 -1148.00) and delete what ever prop_dynamic is there. If its necessary just remake it. Usually if it doesn’t look leaking but it is something is off that you can fix by replacing. Better solution than adding a skybox.

That is not a fix. The leak message is using the entity as a point of reference. If the prop was outside the map, it would fix it, but in most cases is it a point of reference for the compiler. Please- if you don’t know what you are talking about, don’t post.

Hey, it worked for me but I won’t argue.

If you delete all the entities in a map, the map will stop displaying a leak message. The leak isn’t fixed, but the compiler has no point of reference.

Actually, if you have no entities in a map at all, it also causes a leak since the compiler cannot work our where the “inside” of the map is, it just doesn’t provide you with a co-ordinate reference.

Edit -> Select All

you will notice that there will be a small dot out where the leak started. That’s the origin of one of your entites. Drag it back to the center of that entity. Problem solved.

Lazyness

That’s not justification, that’s an excuse.

An excuse is basically a crappy justification.

I only use CTRL + H on skyboxes for a quick test, and i would always end up mis-aligning everything if i did it by hand all the time

Hollowing a skybox around a map doesn’t mean it’ll seal a map from a leak. Hollowing generally causes more problems and such. Use the cordon tool if you have to.