Leak with no point file. *SOLVED*

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
Post Reply
Pat Howard
Posts: 494
Joined: Tue Mar 31, 2009 11:14 am

Leak with no point file. *SOLVED*

Post by Pat Howard »

Hi,

Quick question: I keep getting leaks in my maps even though they are completely sealed off from the void. I don't get a point file, but a random entity is still selected and the map is definitely leaked. This means I have a corrupt entity or a bad entity origin, right? I've seen this discussed before but I have never found a solution.

If you know of any fixes or have a useful thread on the subject please let me know.

Thanks!
-pat
Last edited by Pat Howard on Sun Sep 06, 2009 3:07 am, edited 1 time in total.
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Re: Leak with no point file.

Post by obsidian »

Do you have an info_player_deathmatch somewhere in your map?
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
fKd
Posts: 2478
Joined: Sat Jun 03, 2006 2:54 am
Location: Wellington
Contact:

Re: Leak with no point file.

Post by fKd »

start working backwards.. only way i got rid of the phantom leak... it is indeed a randon one
$NulL
Posts: 100
Joined: Wed Mar 27, 2002 8:00 am

Re: Leak with no point file.

Post by $NulL »

The compiler can produce two leak messages, but only one of them is actually critical.

The message: Entity 1, Brush 0: Entity leaked
Can be safely ignored.


Yet the message:
**********************
******* leaked *******
**********************

Is critical and should have produced a .lin file (pointfile).
sock
Posts: 424
Joined: Sat Sep 09, 2000 7:00 am

Re: Leak with no point file.

Post by sock »

$NulL wrote:The message: Entity 1, Brush 0: Entity leaked
Can be safely ignored.
You get this message if you bury a light entity inside of a brush or any other type game specific entity, like for example ammo/weapons. The compiler will warn about this and *usually* delete the stuff buried inside of brushes for you.
Well he was evil, but he did build alot of roads. - Gogglor
My [url=http://www.simonoc.com/]Website[/url] & [url=http://twitter.com/SimsOCallaghan]Twitter[/url]
Pat Howard
Posts: 494
Joined: Tue Mar 31, 2009 11:14 am

Re: Leak with no point file.

Post by Pat Howard »

Wow, thanks for the fast responses, guys!

Entity 11, Brush 0: Entity leaked is my error, so I guess I'll just ignore it (even though it makes me cringe every time I compile.)

Afterthoughts: @obsidian: Yes, I'm using info_player_deathmatch exclusively. Why do you ask?

@sock: I've gone through my whole map and I'm fairly certain there are no entities buried inside or even overlapping my brushes. I did have botroams inside other entities (is this bad?) but I relocated them and still no fix. Also, I tried deleting all my lights. Think this could be something else?

-pat
4days
Posts: 5465
Joined: Tue Apr 16, 2002 7:00 am

Re: Leak with no point file.

Post by 4days »

iirc, no info_player_deathmatch means that the map won't compile, probably with an entity error.

think there's a command in radient to select all entities - could save the map with a new name and then select/delete all of them and see what happens?
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Re: Leak with no point file.

Post by obsidian »

It's a fairly common mistake to forget the info_player_deathmatch and it will report it as a leak because the compiler won't be able to tell a convex from a concave volume. But that's clearly not the case here.
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
sock
Posts: 424
Joined: Sat Sep 09, 2000 7:00 am

Re: Leak with no point file.

Post by sock »

Pat Howard wrote:Entity 11, Brush 0: Entity leaked is my error
You can find brush/entities in the editor using the 'misc' menu option and then use the 'find brush' option. I am not sure if that is there in GTK ver 1.5, but it certainly exists in the menu with earlier versions. If not just open the map file in an editor and find entity 11 in the list.
Well he was evil, but he did build alot of roads. - Gogglor
My [url=http://www.simonoc.com/]Website[/url] & [url=http://twitter.com/SimsOCallaghan]Twitter[/url]
User avatar
Hipshot
Posts: 1548
Joined: Sun Jan 20, 2002 8:00 am

Re: Leak with no point file.

Post by Hipshot »

It's enough that an .ase origin is on the same plane as a brush edge.
Sometimes, not even that I think, just close to an edge...
Q3Map2 2516 -> http://www.zfight.com/misc/files/q3/q3map_2.5.16_win32_x86.zip
Q3Map2 FS_20g -> http://www.zfight.com/misc/files/q3/q3map2_fs_20g.rar
GtkRadiant 140 -> http://www.zfight.com/misc/files/q3/GtkRadiantSetup-1.4.0-Q3RTCWET.exe
Pat Howard
Posts: 494
Joined: Tue Mar 31, 2009 11:14 am

Re: Leak with no point file.

Post by Pat Howard »

Alright I got it. Turns out I actually did have a tiny origin brush stuck in a wall somewhere (oops). You guys are always right.

@fKd, rather than working backwards, try this: Hide all world brushes with View>Filter>World or Alt+1. Then hold Alt and click and drag select a rectangle around half of your map. Delete, compile, and see if it worked. If the problem persists, the corrupt entity is in the other half of the map. Keep halving your selections until you pinpoint the troublemaker.

Now, it seems like radiant actually will tell you which entity is causing the problem, and it doesn't just select a random one. I just didn't realize this before because I usually had a bunch of problem entities in my maps and I never worked fully down the list before giving up. Anyway I just thought the alternative solution above was an interesting one.

Getting back to work now. Thanks again to everyone who helped me out.
-pat
Post Reply