Jump to content
The Dark Mod Forums

Nodeimporter error?


Springheel

Recommended Posts

When I load the most recent version of my map I get the following error:

 

"Failed on entity 50

 

NodeImporter::createEntity(): could not find classname"

 

The map continues to load, and I notice that the speaker I added a long time ago is missing, as are a couple models.

 

What does that error mean? The only thing I did last session was add some decals (the speaker and models were fine in that version). Should I go back to a previous save?

Link to comment
Share on other sites

Hmm, I copied the decals over to a previous save, then tried to dmap that version and got the error:

 

entity 50 has surface but no name key
(or something to that effect)

 

So it seems like the decals themselves are the problem. Any suggestions?

Link to comment
Share on other sites

Somehow an empty entity managed to get into that map:

// entity 50
{
// dummy brush 0
{
brushDef3
{
( 0 0 -1 0 ) ( ( 0.125 0 0 ) ( 0 0.125 0 ) ) "_default" 0 0 0
( 0 0 1 -8 ) ( ( 0.125 0 0 ) ( 0 0.125 0 ) ) "_default" 0 0 0
( 0 -1 0 -16 ) ( ( 0.125 0 0 ) ( 0 0.125 0 ) ) "_default" 0 0 0
( 1 0 0 -16 ) ( ( 0.125 0 0 ) ( 0 0.125 0 ) ) "_default" 0 0 0
( 0 1 0 -16 ) ( ( 0.125 0 0 ) ( 0 0.125 0 ) ) "_default" 0 0 0
( -1 0 0 -16 ) ( ( 0.125 0 0 ) ( 0 0.125 0 ) ) "_default" 0 0 0
}
}
}

This entity has no spawnargs at all, and the map parser can't instantiate the entity.

 

Just remove that entity from spring4.map and your map will work again. I'm curious how this entity got in there?

Link to comment
Share on other sites

Hmm, I don't know. I took the non-working version and copied about 6 or 7 decal patches, then pasted them into a version I know was working. After doing that, I got the error about entity50. So I figured it must be one of the patches, but they all look normal in the editor.

 

Just remove that entity from spring4.map and your map will work again.

 

How do I find the entity? When I looked at the list that comes up when you hit "J", it only went up to 49. Or can I just delete it in a text editor?

Link to comment
Share on other sites

No, that's ok, I'm going to use my most updated version. :) Thanks solving the problem so quickly.

Link to comment
Share on other sites

Hmm, deleting that brush makes my speaker entity disappear for some reason.

Link to comment
Share on other sites

Hmm, this keeps happening intermittantly, though I can't pin down exactly what's causing it. Every time when I delete the empty entity though, my same speaker is gone with it.

 

edit: I think I've tracked down when it happens. Seems that when I save the map as a different filename, the speaker entity isn't saved properly. I loaded Spring4 without problem, then saved it as Spring6 without making any changes. When I compare the two files, the end of the file is different.

 

 

Spring4:

// entity 57
{
"classname" "speaker"
"name" "speaker_1"
"origin" "16 -142.5 216.5"
"s_looping" "1"
"s_maxdistance" "10"
"s_shader" "bar_commotion02_loop"
// dummy brush 0
{
brushDef3
{
( 0 0 -1 0 ) ( ( 0.125 0 0 ) ( 0 0.125 0 ) ) "_default" 0 0 0
( 0 0 1 -8 ) ( ( 0.125 0 0 ) ( 0 0.125 0 ) ) "_default" 0 0 0
( 0 -1 0 -16 ) ( ( 0.125 0 0 ) ( 0 0.125 0 ) ) "_default" 0 0 0
( 1 0 0 -16 ) ( ( 0.125 0 0 ) ( 0 0.125 0 ) ) "_default" 0 0 0
( 0 1 0 -16 ) ( ( 0.125 0 0 ) ( 0 0.125 0 ) ) "_default" 0 0 0
( -1 0 0 -16 ) ( ( 0.125 0 0 ) ( 0 0.125 0 ) ) "_default" 0 0 0
}
}
}

 

The same place in Spring6:

// entity 57
{
// dummy brush 0
brushDef3
{
( 0 0 -1 0 ) ( ( 0.125 0 0 ) ( 0 0.125 0 ) ) "_default" 0 0 0
( 0 0 1 -8 ) ( ( 0.125 0 0 ) ( 0 0.125 0 ) ) "_default" 0 0 0
( 0 -1 0 -16 ) ( ( 0.125 0 0 ) ( 0 0.125 0 ) ) "_default" 0 0 0
( 1 0 0 -16 ) ( ( 0.125 0 0 ) ( 0 0.125 0 ) ) "_default" 0 0 0
( 0 1 0 -16 ) ( ( 0.125 0 0 ) ( 0 0.125 0 ) ) "_default" 0 0 0
( -1 0 0 -16 ) ( ( 0.125 0 0 ) ( 0 0.125 0 ) ) "_default" 0 0 0
}
}
}

 

I just tried using "save copy" instead of just "save" and it seemed to work properly, so hopefully that will be the end of it.

Link to comment
Share on other sites

  • 3 weeks later...

Hmm, not the originals, no. I've since saved over them (using save copy instead of save as). I can check and see if I can recreate the problem, however. (is Spring4 not on SVN any longer?)

Link to comment
Share on other sites

Hmm, not the originals, no. I've since saved over them (using save copy instead of save as). I can check and see if I can recreate the problem, however. (is Spring4 not on SVN any longer?)

I can only see Spring5.map in SVN - but don't bother too much, I'll just leave the bug report open if you ever run into the problem again.

 

http://bugs.angua.at/view.php?id=1501

Link to comment
Share on other sites

  • 2 years later...

I've just encountered the same error. My map is unloadable... :o

Stupid me didn't bother to save new versions of the map as I'm just trying to brush the dust off my humble editing skills. But it turned out quite alright... What can I do?

Where are the REAL brits?! The one's we have are just brit-ish.

Link to comment
Share on other sites

Here it is :

 

Link

 

If I recall correctly I was trying to remember how to turn a worldspawn brush into a door, and it took some trial and error. Suddenly selecting one bruch selected everything so I quit DR and couldn't reopen the file after.

Where are the REAL brits?! The one's we have are just brit-ish.

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  »  DeTeEff

      I've updated the articles for your FMs and your author category at the wiki. Your newer nickname (DeTeEff) now comes first, and the one in parentheses is your older nickname (Fieldmedic). Just to avoid confusing people who played your FMs years ago and remember your older nickname. I've added a wiki article for your latest FM, Who Watches the Watcher?, as part of my current updating efforts. Unless I overlooked something, you have five different FMs so far.
      · 0 replies
    • 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.
      · 4 replies
    • 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
×
×
  • Create New...