3730:140: parse error at '1.#QNAN': expected '#number'?


(Stillborn) #1

Hi all.

I was adding a projected light in my map (incidently half decent and nearly done) when I saved it and it gave me a bunch of errors.
I shut down GTKR, fired it up again and tried to run my map when it gave me '3730:140: parse error at ‘1.#QNAN’: expected ‘#number.’ I already have conTEXT from a earlier jaunt with a homemade D3 map so I knew I had to go to line 3730, Col 140 and delete the offending bit but I just made it worst.
A web search later I found hardcore maths and a thread here where a guy had the same problem solved but ‘how’ wasnt explained properly in the reply.

Thanks in advance.

C.


(Twisted0n3) #2

Delete the whole brush (from #brush 471 { … to … } – whatever the number actually is – whichever one contains line 3730).


(obsidian) #3

What he means is, create a backup of your map, just in case. Open the map in your favourite text editor, then delete the offending brush (search for brush 471, which should be on line 3730 and delete everything between the curly brackets).

Sometimes, in rare occasions, you end up breaking a brush beyond repair and Radiant has problems reading the map file.


(Stillborn) #4

Thanks guys,

Now somebody give this noob (spaz) a pat on the back. Thats what I was doing, but I did’nt save ALL my changes through conTEXT. So every time I started the map it would’nt work, I’d make more changes and save those and so on and so forth. Without understanding. I do now.
Shame on me…And lucky I did make a backup.
Thanks again.

C.


(Twisted0n3) #5

It won’t necessarily be brush 471. It’s whichever brush contains line 3730. The brush starts with a line saying brush number something, followed by a { on the next line. There will be more stuff, including rows of numbers. Find the next matching } after the {. Everything from the comment to that }, inclusive, has to go.


(Stillborn) #6

Thats what I end up doing. At first I just deleted the lines that GTKR said to but I found I could see the projected light in the game (going through the floor to the 2nd level). But I couldnt select the light in GTKR so I got rid of it through conTEXT. Works perfect now.

C.