***Error*** parsing brush

***Error*** parsing brush

Re: ***Error*** parsing brush Posted by Xylo the Cheese on Fri Feb 13th 2004 at 12:49am
Xylo the Cheese
13 posts
Posted 2004-02-13 12:49am
13 posts 1 snarkmarks Registered: Feb 12th 2004 Occupation: Student Location: CO, USA
Yes, the infamous error parsing brush. I've done my homework and gotten zoner's, but to no avail.

The error in hlcsg:
Error: Parsing Entity 0, Brush 0, Side 2 : Expecting '(' got ']'

At least zoners tells me that the error is always "entity 0 brush 0 side 2," no matter what. when i delete the erronious brush and recreate it, the error just moves to a new brush. :mad:

This is only happening on one particular map. my other maps are fine. could this have anything to do with the fact that my computer has restarted frequently due to power bumps while working on the map? any ideas?
Re: ***Error*** parsing brush Posted by Orpheus on Fri Feb 13th 2004 at 12:56am
Orpheus
13860 posts
Posted 2004-02-13 12:56am
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
i had an error like this once, it reported a solid having an error, i deleted it, and i'll be damned if it didn't move..

finally i do not know what solve dit but i did do this all..

1) export to map.. close hammer, reload hammer, reload map.. sometimes the offending solid is removed.

2) delete the whole offending object the solid is connected to.. in wildcards map, he had some rockwork doing this, i had to delete whole rocks to solve it. in the end it seemed like hammer could only report the error once, and come to find out, his map had 5 or 10 errors.. thats why IMO it seemed to move.

3) turn the solid to a func_wall.. this may help.

4) reboot your pc.

hope this helps.
Re: ***Error*** parsing brush Posted by Xylo the Cheese on Fri Feb 13th 2004 at 3:15am
Xylo the Cheese
13 posts
Posted 2004-02-13 3:15am
13 posts 1 snarkmarks Registered: Feb 12th 2004 Occupation: Student Location: CO, USA
Orpheus said:
1) export to map.. close hammer, reload hammer, reload map.. sometimes the offending solid is removed.
Thanks Orpheus, this tip was invaluable. I did try exporting the map and reloading wc and it. It removed 3 objects (which apparently i didn't place, nothing was missing from the map).

However, it doesn't seem to have fixed all my problems, or else introduced new ones. now when i run the map, it compiles without a hitch, gets into HL, and quits immediately as it gets to the console to load. Any other ideas? does HL dump the console to a log so at least i can see what the error is?
Re: ***Error*** parsing brush Posted by omegaslayer on Fri Feb 13th 2004 at 3:22am
omegaslayer
2481 posts
Posted 2004-02-13 3:22am
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
I just checked:http://www.frankclan.ca/maps/map_resources/mirrored/errors.shtml#swap
(good for all compile errors) and it said check your textures, you might even want to Check for problems in the editor, as for the HL engine crashing, it does dump it into a log, I just dont know where, try loading another map c2a5 to see if there is a problem with the code (happend to me before, it turned out I messed with the code that runs the game)
Re: ***Error*** parsing brush Posted by Gollum on Fri Feb 13th 2004 at 3:26am
Gollum
1268 posts
Posted 2004-02-13 3:26am
Gollum
member
1268 posts 525 snarkmarks Registered: Oct 26th 2001 Occupation: Student Location: Oxford, England
You should mark Orpheus' answer correct, since it did actually solve the problem you posted. In my (considerable) experience it is not possible to introduce new problems by fixing a compile error, no matter how much this may sometimes seem the case. It is likely that these "new" problems were already there.

I'm afraid I can't think of an obvious answer to your new problem :sad: I assume HL loads normally without your map? Maybe you could check your custom resources are in the right places.

Another unlikely possibility is that you've done an -onlyents compile that got broken.
Re: ***Error*** parsing brush Posted by Xylo the Cheese on Fri Feb 13th 2004 at 4:28am
Xylo the Cheese
13 posts
Posted 2004-02-13 4:28am
13 posts 1 snarkmarks Registered: Feb 12th 2004 Occupation: Student Location: CO, USA
Thanks for the tips, but nothing goes. I've tried a killbox tester map with my custom texture, and it runs fine.

I've also tried removing the custom texture from my map, even taking the wad out of wc and reloading. the only wad left in is halflife.wad. Still didn't go.

I loaded c2a5 fine.

I dunno wtf i did to this map, but thanks for all the help all the same! i'll still look for the HL console log...

(PS yes i'm sorry for marking Orpheus' answer wrong, i was really at ends deciding which way to go. if i could, i would take it back to suggested instead of right/wrong)
Re: ***Error*** parsing brush Posted by Cassius on Fri Feb 13th 2004 at 5:16am
Cassius
1989 posts
Posted 2004-02-13 5:16am
Cassius
member
1989 posts 238 snarkmarks Registered: Aug 24th 2001
<TABLE cellSpacing=2 cellPadding=2 width="95%" align=center bgColor=black>
<TBODY>
<TR>
<TD style="FONT-SIZE: 11px; COLOR: gold">? posted by Xylo the Cheese</TD></TR>
<TR>
<TD bgColor=#151515>

<TABLE width="100%">
<TBODY>
<TR>
<TD vAlign=top width="70%">And yes, i used zoner's</TD></TR></TBODY></TABLE>

</TD></TR></TBODY></TABLE>USE TEH ZONAERzS
Re: ***Error*** parsing brush Posted by Orpheus on Fri Feb 13th 2004 at 9:58am
Orpheus
13860 posts
Posted 2004-02-13 9:58am
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
Gollum said:
You should mark Orpheus' answer correct, since it did actually solve the problem you posted.
at the very least, leave it yellow a while longer..

i hate that red :sad:
Re: ***Error*** parsing brush Posted by Edge Damodred on Fri Feb 13th 2004 at 10:17am
Edge Damodred
237 posts
Posted 2004-02-13 10:17am
237 posts 54 snarkmarks Registered: Apr 24th 2002 Occupation: student Location: I don't even know anymore
Or you could write your own compiler and have it correct errors when .map format is incorrectly exported :biggrin: ...which was my research project for Console until I decided I didn't want to write the code for radiosity or calculating visibility portals and constructing a whole BSP tree. So I decided just to parse a Q3 map and learn how to use each of its components to get the geometry onto the screen and running at an acceptable rate...
Re: ***Error*** parsing brush Posted by Leperous on Fri Feb 13th 2004 at 6:16pm
Leperous
3382 posts
Posted 2004-02-13 6:16pm
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
There's something dodgy going on in the .MAP, and it's quite easy to recreate the error :smile: Basically open your .MAP into a text editor, and go down to the first lump of bracketed lines and look at the 2nd line inside:

{
( -224 -480 160 ) ( -224 -96 160 ) ( 160 -96 160 ) TEST [ 1 0 0 -5.3333 ] [ 0 -1 0 48 ] 0 1.2 1.2
[color=red]( -224 -96 128 ) ( -224 -96 160 ) ( -224 -480 160 ) TEST [ 0 -1 0 48 ] [ 0 0 -1 64 ] 0 1.2 1.25
[/color]
( 160 -480 128 ) ( 160 -480 160 ) ( 160 -96 160 ) TEST [ 0 1 0 -48 ] [ 0 0 -1 64 ] 0 1.2 1.25
( 160 -96 128 ) ( 160 -96 160 ) ( -224 -96 160 ) TEST [ -1 0 0 5.3333 ] [ 0 0 -1 64 ] 0 1.2 1.25
( -224 -480 128 ) ( -224 -480 160 ) ( 160 -480 160 ) TEST [ 1 0 0 -5.3333 ] [ 0 0 -1 64 ] 0 1.2 1.25
( -224 -96 128 ) ( -224 -480 128 ) ( 160 -480 128 ) TEST [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
}

Somewhere on that second line, there will be a square bracket [ instead of one of the red parentheses ( surrounding a set of co-ordinates- simply change it and you'll be ok again :smile:
Re: ***Error*** parsing brush Posted by Xylo the Cheese on Fri Feb 13th 2004 at 11:58pm
Xylo the Cheese
13 posts
Posted 2004-02-13 11:58pm
13 posts 1 snarkmarks Registered: Feb 12th 2004 Occupation: Student Location: CO, USA
Leperous said:
Somewhere on that second line, there will be a square bracket [ instead of one of the red parentheses ( surrounding a set of co-ordinates- simply change it and you'll be ok again :smile:
Also a good tip, sounds like what the error used to be, but i think all of the .map file's errors have been dealt with. I don't have the slightest idea whats happening now. i'll try and post my map somewhere, i'd like to see if anyone else can get it working!
Re: ***Error*** parsing brush Posted by Xylo the Cheese on Sat Feb 14th 2004 at 12:14am
Xylo the Cheese
13 posts
Posted 2004-02-14 12:14am
13 posts 1 snarkmarks Registered: Feb 12th 2004 Occupation: Student Location: CO, USA
Ok, i've posted my map on my geocities dummy site, so y'all can have a look-see.

the map isn't much of anything yet; i'm attempting to get used to the editor by making a map of my school. this is about 10% done. its still pretty rudimentary, but if it starts working again, maybe i'll finish it and make it into a decent map.

if you happen to get it compiled, please tell me your configuration so that i can try it out as well!
Re: ***Error*** parsing brush Posted by Leperous on Sat Feb 14th 2004 at 12:18am
Leperous
3382 posts
Posted 2004-02-14 12:18am
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
Compiles fine for me, with Zoner's tools v2.5.3 (yes they're old!)
Re: ***Error*** parsing brush Posted by Orpheus on Sat Feb 14th 2004 at 12:25am
Orpheus
13860 posts
Posted 2004-02-14 12:25am
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
i posted this for another question, BUT it may have relevance here too:

Orpheus said:
Cash Car Star said:
Don't want this to sink too low so here's a little bump. I've heard some talking in other threads that Cagey's tools are still prone to their bugs. Perhaps you could try compiling the map with Merl's more stable tools?
a bit of advice from someone who has had to compile the biggest/most complex map ever seen at SP

X-cageys tools are buggy, so do not use them all, just the vis one (<--- i think, or maybe the rad one)

use merls tools for the rest.

but remember above all, if the normal 253 tools will do you the job, do not upgrade to the 253-17's or x-cagey's at all.. its just not worth the headache trying to figure out which version caused the compile crash.

lastly, if you use 253-17, you cannot mix them with the 253, it will crash too.

so its:

1) the 253 tools

2) the 253-17 tools

3) the 253-17 for 3 of the steps, and a X-cagey's for the forth.

use them in this order, and you should be fine..

/2cents
Re: ***Error*** parsing brush Posted by Xylo the Cheese on Sat Feb 14th 2004 at 12:32am
Xylo the Cheese
13 posts
Posted 2004-02-14 12:32am
13 posts 1 snarkmarks Registered: Feb 12th 2004 Occupation: Student Location: CO, USA
This sounds like something i should look into, does anyone know where i can find 2.5.3 unmodified? i can't find it on google... :rolleyes:
Re: ***Error*** parsing brush Posted by Leperous on Sat Feb 14th 2004 at 1:28am
Leperous
3382 posts
Posted 2004-02-14 1:28am
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
I just uploaded them, let me know if there's anything wrong with the archive etc.:

http://www.snarkpit.com/editing.php?page=files&download=106
Re: ***Error*** parsing brush Posted by Xylo the Cheese on Sat Feb 14th 2004 at 1:40am
Xylo the Cheese
13 posts
Posted 2004-02-14 1:40am
13 posts 1 snarkmarks Registered: Feb 12th 2004 Occupation: Student Location: CO, USA
:mad: :mad: :mad: :mad: !

Still not working! I'm gonna look for that console dump log
Re: ***Error*** parsing brush Posted by Orpheus on Sat Feb 14th 2004 at 1:48am
Orpheus
13860 posts
Posted 2004-02-14 1:48am
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
Xylo the Cheese said:
:mad: :mad: :mad: :mad: !

Still not working! I'm gonna look for that console dump log
assumed fact, map fails on your PC.

assumed fact, map compiles on leps.

that sorta narrows it down bud..

check your settings, and paths... typos,spaces in paths, spaces in names, all sorts of things are accountable.
Re: ***Error*** parsing brush Posted by Xylo the Cheese on Sat Feb 14th 2004 at 2:02am
Xylo the Cheese
13 posts
Posted 2004-02-14 2:02am
13 posts 1 snarkmarks Registered: Feb 12th 2004 Occupation: Student Location: CO, USA
Well, after failing to find out where the console log is, i decided to copy each wing of the school into a new map and save it. guess what, it works now. who knows what the f**k happened, but it seems to work now.

thanks for all the help, sorry for wasting your time. i'll assume that orph's first tip would've solved the problem for anyone else...

from now on, you are officially allowed to refer to me as "f**king n00b"
Re: ***Error*** parsing brush Posted by Dr Brasso on Sat Feb 14th 2004 at 4:09am
Dr Brasso
1878 posts
Posted 2004-02-14 4:09am
1878 posts 198 snarkmarks Registered: Aug 30th 2003 Occupation: cad drafter Location: Omaha,NE
ROFLMAO!!!! i like this kid.....hes dedicated, and hes humble.....good man... :wink:

Doc B... :dodgy:
Re: ***Error*** parsing brush Posted by sde on Thu Feb 19th 2004 at 8:46am
sde
80 posts
Posted 2004-02-19 8:46am
sde
member
80 posts 18 snarkmarks Registered: Nov 9th 2002
GRRR

Something that some people don't seem to realise is that, even if the map compiles fine, if it crashes HL where other maps don't there is something wrong with the map, you fool. In this particular case, I have no idea what the hell you did, but please realise that a successful compile isn't the be-all and end-all - especially if you used an extremely untrustworthy fix to get rid of the compile error.

As I said, you've sorted yours out now, but this is just a general point that gets me pissed off.
Thankyou for your time.
f**king n00b... :lol:
Re: ***Error*** parsing brush Posted by Orpheus on Thu Feb 19th 2004 at 11:39am
Orpheus
13860 posts
Posted 2004-02-19 11:39am
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
even in my five years, i have had maps compile fine, but fail to load, (pitcrew map) .. i always managed to fix them eventually, but the point is, this issue will never stop, till you quit mapping.. get used to it :/
Re: ***Error*** parsing brush Posted by matt on Thu Feb 19th 2004 at 11:42am
matt
1100 posts
Posted 2004-02-19 11:42am
matt
member
1100 posts 246 snarkmarks Registered: Jun 26th 2002 Occupation: Student! Location: Edinburgh
Leperous said:
I just uploaded them, let me know if there's anything wrong with the archive etc.:

http://www.snarkpit.com/editing.php?page=files&download=106
Hey I'm using that version of zoners. It works fine if ya wanted to know.