UGX-Mods

Call of Duty 5: World at War => Help Desk => Topic started by: Psych on January 15, 2016, 12:12:33 am

Title: ParseEntity: { not found, found }
Post by: Psych on January 15, 2016, 12:12:33 am
I have no Idea what happened. I opened radiant to check my map for a zombie spawn location then I prefabed and deleted a BO1 Crane model. I got this when I tried to compile and when I tried to re-open radiant...this is very bad for my map progress if I cannot get this solved. I will have lost a lot of progress...

(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FQlhENEB.png&hash=fe09e491f1f70d13e269654fe8bb42bb4e1c6700)

(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FchHGqr7.png&hash=0f734de220f2a5c515159b15c04426cbc371602c)

I went to the lines specified in the error but everything seemed normal.

I also check for this error and they both came back with nothing.

https://ugx-mods.com/forum/index.php?topic=1668.0 (https://ugx-mods.com/forum/index.php?topic=1668.0)

here is where the errors are supposedly at...

(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FpTY9sw8.png&hash=05bea669744b9d3b0736405b30b0936ece88df48)

(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FNntPmmc.png&hash=86d58c8eab8da0f7b6cfa5de9e1942d5076196e4)
Title: Re: ParseEntity: { not found, found }
Post by: codmoddd1234 on January 15, 2016, 12:33:03 am
Make a backup of your map_source folder before trying to open your map again.
//
open your .map in notepad++ and compare your worldspawn to a working map. Its possible a kvp or a { } was removed. I think a bad skyboxmodel kvp will crash radiant when you reopen a map.
//
If that doesn't work
Paste sections of your .map into a blank.map to narrow the problem down.
Title: Re: ParseEntity: { not found, found }
Post by: Psych on January 15, 2016, 06:19:46 am
Make a backup of your map_source folder before trying to open your map again.
//
open your .map in notepad++ and compare your worldspawn to a working map. Its possible a kvp or a { } was removed. I think a bad skyboxmodel kvp will crash radiant when you reopen a map.
//
If that doesn't work
Paste sections of your .map into a blank.map to narrow the problem down.

okay i will try it now thanks!

EDIT: so when I do that last step no matter what part of the .map i past into a new file it still says there is an error on a random line in the 200,000 despite me only pasting in like 5000 lines. Anything else I could try?

wait actually when I pasted the 5000 lines into a new file when I tried to compile it, it added the rest of the original file (around 370,000 lines)


Title: Re: ParseEntity: { not found, found }
Post by: Koan on January 15, 2016, 06:35:41 am
In the error message it says the error is on line 271640 but you've shown us line 271460.

Can you screenshot that line?
Title: Re: ParseEntity: { not found, found }
Post by: Psych on January 15, 2016, 06:49:17 am
In the error message it says the error is on line 271640 but you've shown us line 271460.

Can you screenshot that line?
wow haha good catch. the problem with that is I just narrowed down the error being somewhere in between line 270,000-259,988 so thats not even included. Here is the line anyways just in case:

(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2F5Ci9Sq0.png&hash=d2da308cad70f44d453e74ddc4e0645db114e4e0)
Title: Re: ParseEntity: { not found, found }
Post by: Koan on January 15, 2016, 06:57:05 am
wow haha good catch. the problem with that is I just narrowed down the error being somewhere in between line 270,000-259,988 so thats not even included. Here is the line anyways just in case:

(http://i.imgur.com/5Ci9Sq0.png)

Huh, that's bizarre.

Be sure to post the line the error comes from when you locate it, so we can help from there :P
Title: Re: ParseEntity: { not found, found }
Post by: Psych on January 15, 2016, 07:29:46 am
Code Snippet
Plaintext
// entity 2267
{
"type" "patchCapped"
"classname" "func_group"
// brush 0
 {
  curve
  {
   mtl_foliage_pacific_palm_bark07
   lightmap_gray
   3 3 16 8
   (
v 4090 -3792 110 t 0 0 -240 -6.875
v 4090 -3804 110 t 512.00006 2.2380233e-005 -240.75 -6.875
v 4090 -3804 98 t 1024.0001 4.4760465e-005 -240.75 -6.125
   )
   (
v 4090 -3780 110 t -2.2380233e-005 512.00006 -239.25 -6.875
v 4090 -3792 98 t 512 512.00006 -240 -6.125
v 4090 -3804 86 t 1024.0001 512.00012 -240.75 -5.375
   )
   (
v 4090 -3780 98 t -4.4760465e-005 1024.0001 -239.25 -6.125
v 4090 -3780 86 t 512 1024.0001 -239.25 -5.375
v 4090 -3792 86 t 1024 1024.0001 -240 -5.375
   )
  }
 }
}

I narrowed it down to this but this does not account for the possibility of multiple errors so we will see I guess
Title: Re: ParseEntity: { not found, found }
Post by: Koan on January 15, 2016, 07:45:20 am
Code Snippet
Plaintext
// entity 2267
{
"type" "patchCapped"
"classname" "func_group"
// brush 0
 {
  curve
  {
   mtl_foliage_pacific_palm_bark07
   lightmap_gray
   3 3 16 8
   (
v 4090 -3792 110 t 0 0 -240 -6.875
v 4090 -3804 110 t 512.00006 2.2380233e-005 -240.75 -6.875
v 4090 -3804 98 t 1024.0001 4.4760465e-005 -240.75 -6.125
   )
   (
v 4090 -3780 110 t -2.2380233e-005 512.00006 -239.25 -6.875
v 4090 -3792 98 t 512 512.00006 -240 -6.125
v 4090 -3804 86 t 1024.0001 512.00012 -240.75 -5.375
   )
   (
v 4090 -3780 98 t -4.4760465e-005 1024.0001 -239.25 -6.125
v 4090 -3780 86 t 512 1024.0001 -239.25 -5.375
v 4090 -3792 86 t 1024 1024.0001 -240 -5.375
   )
  }
 }
}

I narrowed it down to this but this does not account for the possibility of multiple errors so we will see I guess

Back that up into a plain text file or something and just remove it from the map file, see what that does.
Title: Re: ParseEntity: { not found, found }
Post by: Psych on January 15, 2016, 07:47:59 am
it gives my the error still about line 271,640. I then went and removed that line from the file and it still gives me the same error. I even deleted like 10 entities before and after the error and it still gives me the error on that line. I also checked everything around that area and from what I can see it all looks normal.  :alone:

edit: I also deleted the line the console gives me when I try to compile
Title: Re: ParseEntity: { not found, found }
Post by: Koan on January 15, 2016, 07:53:00 am
it gives my the error still about line 271,640. I then went and removed that line from the file and it still gives me the same error. I even deleted like 10 entities before and after the error and it still gives me the error on that line. I also checked everything around that area and from what I can see it all looks normal.  :alone:

edit: I also deleted the line the console gives me when I try to compile

Did you try removing the whole entity rather than just the line? And only that entity, not the others?
Title: Re: ParseEntity: { not found, found }
Post by: codmoddd1234 on January 15, 2016, 07:58:09 am
Your adding entities/patchcapped/curve/models into your worldspawn. I just tested and got the same error.
//
Open radiant, make a single caulk brush. Save it. Then add your brushes above the caulk brush in notepad. Then paste your entities/models/curve/patchcapped below the very last brush in notepad.

Only brushes above the caulk brush. All model ect below it.
Title: Re: ParseEntity: { not found, found }
Post by: Psych on January 15, 2016, 08:28:53 am
Your adding entities/patchcapped/curve/models into your worldspawn. I just tested and got the same error.
//
Open radiant, make a single caulk brush. Save it. Then add your brushes above the caulk brush in notepad. Then paste your entities/models/curve/patchcapped below the very last brush in notepad.

Only brushes above the caulk brush. All model ect below it.

okay i will try

Double Post Merge: January 15, 2016, 08:51:23 am
nope still isnt working for me -_-
Title: Re: ParseEntity: { not found, found }
Post by: codmoddd1234 on January 15, 2016, 09:15:55 am
nope still isnt working for me -_-
Im not sure I understand whats isn't working.

If you start with a single caulk brush in radiant and save it as workingbrushes.map. Then add a single brush from your broken.map to it through notepad. Save. Test in radiant. If radiant loads then press save in radiant. eventually all your brushes will be copied.
//
Title: Re: ParseEntity: { not found, found }
Post by: Psych on January 15, 2016, 09:59:55 am
oh I thought you meant copy them all at once. I have 7597 total brushes so one at a time is not very appealing