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

    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 1 reply
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
    • OrbWeaver

      I like the new frob highlight but it would nice if it was less "flickery" while moving over objects (especially barred metal doors).
      · 4 replies
    • nbohr1more

      Please vote in the 15th Anniversary Contest Theme Poll
       
      · 0 replies
×
×
  • Create New...