Welcome, Guest. Please login or register.

Author Topic: Leak, but can't find entity leaking. [SOLVED]  (Read 1596 times)

Offline FalseLogic

  • Newbie
  • *
  • Posts: 35
    • View Profile
Leak, but can't find entity leaking. [SOLVED]
« on: October 27, 2013, 08:59:20 PM »
I'm having an issue where my map has a leaking trigger_teleport. The line is:

Code: [Select]
**** leaked ****
Entity trigger_teleport (-2592.00 -80.00 -3618.00) leaked!

So I load the pointfile and navigate to those coordinates, and all I see is a short red line in the void.



At first glance it looks like it's pointing to that floor, but there's no entity there. I look closer, and:




There's nothing there. How do I find what is leaking, and where if the pointfile isn't working?

Here's the full compile log if it helps

Code: [Select]
Valve Software - vbsp.exe (Aug 30 2013)
6 threads
materialPath: C:\Program Files (x86)\Steam\SteamApps\common\Counter-Strike Source\cstrike\materials
Loading F:\Software\Games\Mapping\surf\save1nodraw.vmf
Could not locate 'GameData' key in c:\program files (x86)\steam\steamapps\common\counter-strike source\cstrike\gameinfo.txt
fixing up env_cubemap materials on brush sides...
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (1)
**** leaked ****
Entity trigger_teleport (-2592.00 -80.00 -3618.00) leaked!

FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (11264.0 3584.0 6948.0)
Leaf 0 contents:
Leaf 1 contents: CONTENTS_SOLID
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
Candidate brush IDs:


FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (10752.0 4096.0 6948.0)
Leaf 0 contents:
Leaf 1 contents: CONTENTS_SOLID
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
Candidate brush IDs:


FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (9728.0 4096.0 6948.0)
Leaf 0 contents:
Leaf 1 contents: CONTENTS_SOLID
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
Candidate brush IDs:


FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (10496.0 2048.0 6948.0)
Leaf 0 contents: CONTENTS_SOLID
Leaf 1 contents:
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
Candidate brush IDs:


FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (10756.0 2048.0 6948.0)
Leaf 0 contents: CONTENTS_SOLID
Leaf 1 contents:
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
Candidate brush IDs:


FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (11012.0 2048.0 6948.0)
Leaf 0 contents: CONTENTS_SOLID
Leaf 1 contents:
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
Candidate brush IDs:


FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (11264.0 2560.0 6948.0)
Leaf 0 contents:
Leaf 1 contents: CONTENTS_SOLID
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
Candidate brush IDs:


FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (9728.0 2048.0 6948.0)
Leaf 0 contents: CONTENTS_SOLID
Leaf 1 contents:
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
Candidate brush IDs:

*** Suppressing further FindPortalSide errors.... ***
Processing areas...done (0)
Building Faces...done (0)
Chop Details...done (0)
Find Visible Detail Sides...
Merged 66 detail faces...done (0)
Merging details...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
done (0)
Creating default LDR cubemaps for env_cubemap using skybox materials:
   skybox/sky_day01_01*.vmt
 ! Run buildcubemaps in the engine to get the correct cube maps.
Creating default HDR cubemaps for env_cubemap using skybox materials:
   skybox/sky_day01_01*.vmt
 ! Run buildcubemaps in the engine to get the correct cube maps.
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 (1) (369378 bytes)
Placing detail props : 0...1...2...3...4...5...6...7...8...9...10
Compacting texture/material tables...
Reduced 769 texinfos to 389
Reduced 9 texdatas to 8 (191 bytes to 173)
Writing F:\Software\Games\Mapping\surf\save1nodraw.bsp
2 seconds elapsed

** Executing...
** Command: "C:\Program Files (x86)\Steam\SteamApps\common\Counter-Strike Source\bin\vvis.exe"
** Parameters: -game "C:\Program Files (x86)\Steam\SteamApps\common\Counter-Strike Source\cstrike" "F:\Software\Games\Mapping\surf\save1nodraw"

Valve Software - vvis.exe (Aug 27 2013)
6 threads
reading f:\software\games\mapping\surf\save1nodraw.bsp
reading f:\software\games\mapping\surf\save1nodraw.prt
LoadPortals: couldn't read f:\software\games\mapping\surf\save1nodraw.prt


** Executing...
** Command: "C:\Program Files (x86)\Steam\SteamApps\common\Counter-Strike Source\bin\vrad.exe"
** Parameters:  -game "C:\Program Files (x86)\Steam\SteamApps\common\Counter-Strike Source\cstrike" "F:\Software\Games\Mapping\surf\save1nodraw"

Valve Software - vrad.exe SSE (Sep 16 2013)

      Valve Radiosity Simulator     
6 threads
[Reading texlights from 'lights.rad']
[2 texlights parsed from 'lights.rad']

Loading f:\software\games\mapping\surf\save1nodraw.bsp
No vis information, direct lighting only.
Setting up ray-trace acceleration structure... Done (1.25 seconds)
13514 faces
17 degenerate faces
7882914 square feet [1135139712.00 square inches]
0 Displacements
0 Square Feet [0.00 Square Inches]
0 direct lights
BuildFacelights:     0...1...2...3...4...5...6...7...8...9...10 (23)
Build Patch/Sample Hash Table(s).....Done<0.4483 sec>
FinalLightFace:      0...1...2...3...4...5...6...7...8...9...10 (11)
FinalLightFace Done
0 of 0 (0% of) surface lights went in leaf ambient cubes.
ThreadComputeLeafAmbient: 0...1...2...3...4...5...6...7...8...9...10 (23)
Writing leaf ambient...done
Ready to Finish

Object names       Objects/Maxobjs  Memory / Maxmem  Fullness
------------       ---------------  ---------------  --------
models                  10/1024          480/49152    ( 1.0%)
brushes                965/8192        11580/98304    (11.8%)
brushsides           12030/65536       96240/524288   (18.4%)
planes               13168/65536      263360/1310720  (20.1%)
vertexes             19733/65536      236796/786432   (30.1%)
nodes                 9093/65536      290976/2097152  (13.9%)
texinfos               389/12288       28008/884736   ( 3.2%)
texdata                  8/2048          256/65536    ( 0.4%)
dispinfos                0/0               0/0        ( 0.0%)
disp_verts               0/0               0/0        ( 0.0%)
disp_tris                0/0               0/0        ( 0.0%)
disp_lmsamples           0/0               0/0        ( 0.0%)
faces                13514/65536      756784/3670016  (20.6%)
hdr faces                0/65536           0/3670016  ( 0.0%)
origfaces             2463/65536      137928/3670016  ( 3.8%)
leaves                9104/65536      291328/2097152  (13.9%)
leaffaces            17049/65536       34098/131072   (26.0%)
leafbrushes           5174/65536       10348/131072   ( 7.9%)
areas                    2/256            16/2048     ( 0.8%)
surfedges            71440/512000     285760/2048000  (14.0%)
edges                38374/256000     153496/1024000  (15.0%)
LDR worldlights          0/8192            0/720896   ( 0.0%)
HDR worldlights          0/8192            0/720896   ( 0.0%)
leafwaterdata            0/32768           0/393216   ( 0.0%)
waterstrips           1402/32768       14020/327680   ( 4.3%)
waterverts               0/65536           0/786432   ( 0.0%)
waterindices         18000/65536       36000/131072   (27.5%)
cubemapsamples           0/1024            0/16384    ( 0.0%)
overlays                 0/512             0/180224   ( 0.0%)
LDR lightdata         [variable]    17527112/0        ( 0.0%)
HDR lightdata         [variable]           0/0        ( 0.0%)
visdata               [variable]           0/16777216 ( 0.0%)
entdata               [variable]        3008/393216   ( 0.8%)
LDR ambient table     9104/65536       36416/262144   (13.9%)
HDR ambient table     9104/65536       36416/262144   (13.9%)
LDR leaf ambient      5206/65536      145768/1835008  ( 7.9%)
HDR leaf ambient      9104/65536      254912/1835008  (13.9%)
occluders                0/0               0/0        ( 0.0%)
occluder polygons        0/0               0/0        ( 0.0%)
occluder vert ind        0/0               0/0        ( 0.0%)
detail props          [variable]           1/12       ( 8.3%)
static props          [variable]           1/12       ( 8.3%)
pakfile               [variable]      105675/0        ( 0.0%)
physics               [variable]      369378/4194304  ( 8.8%)
physics terrain       [variable]           2/1048576  ( 0.0%)

Level flags = 0

Total triangle count: 34422
Writing f:\software\games\mapping\surf\save1nodraw.bsp
58 seconds elapsed

Thanks.
« Last Edit: October 27, 2013, 09:22:44 PM by FalseLogic »

Offline FalseLogic

  • Newbie
  • *
  • Posts: 35
    • View Profile
Re: Leak, but can't find entity leaking.
« Reply #1 on: October 27, 2013, 09:21:54 PM »
Well, sorry to double post, but I just solved it. I had to copy the entire map and paste it in a new file. When I pasted, I got these weird little circles just in the void of the map



Each one seemed to correspond to an entity on the map, so I just dragged them close to their entity, inside the walls of the map, then compiled again. It still leaked, but this time the pointfile actually pointed to where the leak was happening, and I was able to fix it that way.

Offline Panzerhandschuh

  • Server Op
  • Sr. Member
  • *****
  • Posts: 407
    • View Profile
Re: Leak, but can't find entity leaking. [SOLVED]
« Reply #2 on: October 27, 2013, 09:52:40 PM »
Those circles correspond to the "origin" values of the triggers. You can right click the selection and select "Center Origins" in the pop up menu to fix the issue. Sometimes Center Origins places the origin outside of the map though, like if you have an L shaped trigger the center can sometimes be outside of the walls of your room, but usually Center Origins works without any problems.