Jump to content
The Dark Mod Forums

Strange Map Corruption


Recommended Posts

So this seems to something I've only ran into since 2.05 dropped a while back but is happening often enough to be problematic. Sometimes it can be a fresh map save, other times I can be working in the same map for weeks before this pops up. At some given point when I testmap (or dmap) I get this error, Entity (number) has surfaces, but no name key

This in fact will always point to the worldspawn notation in the .map file and will shift entity number depending on what ever else is crammed in there. I don't know what this information is declaring (so I can't do much with it myself) but this is what my current test map had under that bracket. It's a simple box map so the six primitive definitions are all that follow under worldspawn.

 

 

 

// entity 15
{
"classname" "worldspawn"
"editor_drLastCameraPos" "0 0 0"
"editor_drLastCameraAngle" "-2.1 299.1 0"
// primitive 0
{
brushDef3
{
( 0 0 1 -512 ) ( ( 0.003289473708719015 0 0.05263161659240723 ) ( 0 0.003289473708719015 -0.05263161659240723 ) ) "textures/darkmod/stone/brick/chiseled_brick" 0 0 0
( 0 1 0 -1024 ) ( ( 0.003289473708719015 0 0.05263161659240723 ) ( 0 0.003289473708719015 8.473684310913086 ) ) "textures/darkmod/stone/brick/chiseled_brick" 0 0 0
( 1 0 0 -1536 ) ( ( 0.003289473708719015 0 0.05263161659240723 ) ( 0 0.003289473708719015 8.473684310913086 ) ) "textures/darkmod/stone/brick/chiseled_brick" 0 0 0
( 0 -1 0 -1536 ) ( ( 0.003289473708719015 0 0.3684210777282715 ) ( 0 0.003289473708719015 8.473684310913086 ) ) "textures/darkmod/stone/brick/chiseled_brick" 0 0 0
( -1 0 0 -1024 ) ( ( 0.003289473708719015 0 0.3684210777282715 ) ( 0 0.003289473708719015 8.473684310913086 ) ) "textures/darkmod/stone/brick/chiseled_brick" 0 0 0
( 0 0 -1 448 ) ( ( 0.003289473708719015 0 0.05263161659240723 ) ( 0 0.003289473708719015 -0.3684210777282715 ) ) "textures/darkmod/stone/brick/chiseled_brick" 0 0 0
}
}
// primitive 1
{
brushDef3
{
( 0 0 1 -448 ) ( ( 0.003289473708719015 0 62.6315803527832 ) ( 0 0.003289473708719015 -0.05263161659240723 ) ) "textures/darkmod/stone/brick/chiseled_brick" 0 0 0
( 0 1 0 -1088 ) ( ( 0.003289473708719015 0 0.05263161659240723 ) ( 0 0.003289473708719015 7.157894611358643 ) ) "textures/darkmod/stone/brick/chiseled_brick" 0 0 0
( 1 0 0 -1536 ) ( ( 0.003289473708719015 0 62.6315803527832 ) ( 0 0.003289473708719015 7.157894611358643 ) ) "textures/darkmod/stone/brick/chiseled_brick" 0 0 0
( 0 0 -1 -256 ) ( ( 0.003289473708719015 0 62.6315803527832 ) ( 0 0.003289473708719015 -0.3684210777282715 ) ) "textures/darkmod/stone/brick/chiseled_brick" 0 0 0
( -1 0 0 -1024 ) ( ( 0.003289473708719015 0 1.578947424888611 ) ( 0 0.003289473708719015 7.157894611358643 ) ) "textures/darkmod/stone/brick/chiseled_brick" 0 0 0
( 0 -1 0 1024 ) ( ( 0.003289473708719015 0 0.3684210777282715 ) ( 0 0.003289473708719015 7.157894611358643 ) ) "textures/darkmod/stone/brick/chiseled_brick" 0 0 0
}
}
// primitive 2
{
brushDef3
{
( 0 0 1 -448 ) ( ( 0.003289473708719015 0 0.05263161659240723 ) ( 0 0.003289473708719015 62.73684310913086 ) ) "textures/darkmod/stone/brick/chiseled_brick" 0 0 0
( 0 1 0 -1024 ) ( ( 0.003289473708719015 0 1.263157963752747 ) ( 0 0.003289473708719015 7.157894611358643 ) ) "textures/darkmod/stone/brick/chiseled_brick" 0 0 0
( 1 0 0 -1600 ) ( ( 0.003289473708719015 0 0.05263161659240723 ) ( 0 0.003289473708719015 7.157894611358643 ) ) "textures/darkmod/stone/brick/chiseled_brick" 0 0 0
( 0 0 -1 -256 ) ( ( 0.003289473708719015 0 0.05263161659240723 ) ( 0 0.003289473708719015 1.052631616592407 ) ) "textures/darkmod/stone/brick/chiseled_brick" 0 0 0
( 0 -1 0 -1536 ) ( ( 0.003289473708719015 0 62.94736862182617 ) ( 0 0.003289473708719015 7.157894611358643 ) ) "textures/darkmod/stone/brick/chiseled_brick" 0 0 0
( -1 0 0 1536 ) ( ( 0.003289473708719015 0 0.3684210777282715 ) ( 0 0.003289473708719015 7.157894611358643 ) ) "textures/darkmod/stone/brick/chiseled_brick" 0 0 0
}
}
// primitive 3
{
brushDef3
{
( 0 1 0 -1024 ) ( ( 0.003289473708719015 0 0.05263161659240723 ) ( 0 0.003289473708719015 4.947368621826172 ) ) "textures/darkmod/stone/brick/chiseled_brick" 0 0 0
( 1 0 0 -1536 ) ( ( 0.003289473708719015 0 0.05263161659240723 ) ( 0 0.003289473708719015 4.947368621826172 ) ) "textures/darkmod/stone/brick/chiseled_brick" 0 0 0
( 0 0 -1 -320 ) ( ( 0.003289473708719015 0 0.05263161659240723 ) ( 0 0.003289473708719015 -0.3684210777282715 ) ) "textures/darkmod/stone/brick/chiseled_brick" 0 0 0
( 0 -1 0 -1536 ) ( ( 0.003289473708719015 0 0.3684210777282715 ) ( 0 0.003289473708719015 4.947368621826172 ) ) "textures/darkmod/stone/brick/chiseled_brick" 0 0 0
( -1 0 0 -1024 ) ( ( 0.003289473708719015 0 0.3684210777282715 ) ( 0 0.003289473708719015 4.947368621826172 ) ) "textures/darkmod/stone/brick/chiseled_brick" 0 0 0
( 0 0 1 256 ) ( ( 0.003289473708719015 0 0.05263161659240723 ) ( 0 0.003289473708719015 -0.05263161659240723 ) ) "textures/darkmod/stone/brick/chiseled_brick" 0 0 0
}
}
// primitive 4
{
brushDef3
{
( 0 0 1 -448 ) ( ( 0.003289473708719015 0 1.263157963752747 ) ( 0 0.003289473708719015 -0.05263161659240723 ) ) "textures/darkmod/stone/brick/chiseled_brick" 0 0 0
( 1 0 0 -1536 ) ( ( 0.003289473708719015 0 1.263157963752747 ) ( 0 0.003289473708719015 7.157894611358643 ) ) "textures/darkmod/stone/brick/chiseled_brick" 0 0 0
( 0 0 -1 -256 ) ( ( 0.003289473708719015 0 1.263157963752747 ) ( 0 0.003289473708719015 -0.3684210777282715 ) ) "textures/darkmod/stone/brick/chiseled_brick" 0 0 0
( 0 -1 0 -1600 ) ( ( 0.003289473708719015 0 0.3684210777282715 ) ( 0 0.003289473708719015 7.157894611358643 ) ) "textures/darkmod/stone/brick/chiseled_brick" 0 0 0
( -1 0 0 -1024 ) ( ( 0.003289473708719015 0 62.94736862182617 ) ( 0 0.003289473708719015 7.157894611358643 ) ) "textures/darkmod/stone/brick/chiseled_brick" 0 0 0
( 0 1 0 1536 ) ( ( 0.003289473708719015 0 0.05263161659240723 ) ( 0 0.003289473708719015 7.157894611358643 ) ) "textures/darkmod/stone/brick/chiseled_brick" 0 0 0
}
}
// primitive 5
{
brushDef3
{
( 0 0 1 -448 ) ( ( 0.003289473708719015 0 0.05263161659240723 ) ( 0 0.003289473708719015 1.368421077728271 ) ) "textures/darkmod/stone/brick/chiseled_brick" 0 0 0
( 0 1 0 -1024 ) ( ( 0.003289473708719015 0 62.6315803527832 ) ( 0 0.003289473708719015 7.157894611358643 ) ) "textures/darkmod/stone/brick/chiseled_brick" 0 0 0
( 0 0 -1 -256 ) ( ( 0.003289473708719015 0 0.05263161659240723 ) ( 0 0.003289473708719015 62.42105102539063 ) ) "textures/darkmod/stone/brick/chiseled_brick" 0 0 0
( 0 -1 0 -1536 ) ( ( 0.003289473708719015 0 1.578947424888611 ) ( 0 0.003289473708719015 7.157894611358643 ) ) "textures/darkmod/stone/brick/chiseled_brick" 0 0 0
( -1 0 0 -1088 ) ( ( 0.003289473708719015 0 0.3684210777282715 ) ( 0 0.003289473708719015 7.157894611358643 ) ) "textures/darkmod/stone/brick/chiseled_brick" 0 0 0
( 1 0 0 1024 ) ( ( 0.003289473708719015 0 0.05263161659240723 ) ( 0 0.003289473708719015 7.157894611358643 ) ) "textures/darkmod/stone/brick/chiseled_brick" 0 0 0
}
}
}
 

 

 

 

This happened in my ongoing tram test map. Copying all of the tram components out into a new space didn't seem to help either. In the opposite affect, deleting all tram components (leaving only the box) only accomplishes the same thing. So how does one go about fixing this?

Edited by Epifire
I changed the title to match the issue you were reporting, to make it easier for other people in the future to find it should they be having the same issue.

Modeler galore & co-authors literally everything

 

 

Link to comment
Share on other sites

MEANWHILE, BACK AT THE RANCH

 

Okay, so I did a little bit of comparison checking. From what I'm gathering, the issue lies in how DR is saving the map. I looked at proper compiling maps and realized that the worldspawn is always slotted in at the beginning after entity 0. I rearranged the data in the correct order and it all works fine now. If my case may help any digging into this problem in the future (should it arise) this occurred on DarkRadiant 2.1.0 x64

 

I may try and update to the most recent version to see if this still happens. As far as I can tell it's a sorting issue that gets botched, as to what causes it I can't really tell you. Hope this can help someone else in the future tho.

Edited by Epifire

Modeler galore & co-authors literally everything

 

 

Link to comment
Share on other sites

I started seeing some weirdness in DR last night also -

  1. Save a map, then modify the textures or skins on a model.
  2. All would be fine for a while but then the models would appear black in-game.
  3. Save the map with a new name and the models were fine again..

I was banging my head against the wall untill I got to step 3.. Im running DR 2.2.1 x64

Link to comment
Share on other sites

Did you guys tried reinstalling DR? Maybe something got broken during the install process or afterwards.

FM's: Builder Roads, Old Habits, Old Habits Rebuild

Mapping and Scripting: Apples and Peaches

Sculptris Models and Tutorials: Obsttortes Models

My wiki articles: Obstipedia

Texture Blending in DR: DR ASE Blend Exporter

Link to comment
Share on other sites

Did you guys tried reinstalling DR? Maybe something got broken during the install process or afterwards.

 

I could do that. At this point I'll probably just upgrade my version to the current DR release and report again if I have this problem. At the very least I'm hoping we can log the fix (or at least catalog the bug) for future knowledge in that regard.

Modeler galore & co-authors literally everything

 

 

Link to comment
Share on other sites

I could do that. At this point I'll probably just upgrade my version to the current DR release and report again if I have this problem.

While my issue isnt the same as the one your having, I am running the latest version so it will be interesting to see if upgrading fixes it. might I suggest you nuke your DR prefs folder before installing the newer verson as I have found in the past that will also fix issues.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 3 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
×
×
  • Create New...