Error Duplicated Entity ID

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
zadkielmodeler
Posts: 43
Joined: Sat Sep 15, 2012 6:34 am

Error Duplicated Entity ID

Post by zadkielmodeler »

So I am making a dungeon. I changed the ID of something somewhere along the way by accident and now it won't let me test it because of the Duplicated Entity ID

If there is any quick way to pinpoint what Entity(s) share the same ID that would be very useful. If not I would like to request that feature. Assuming this is an appropriate avenue to do so. If not, I would like to be directed to an appropriate avenue to request this feature.
Lmaoboat
Posts: 359
Joined: Wed Apr 11, 2012 8:55 pm

Re: Error Duplicated Entity ID

Post by Lmaoboat »

Well you'll probably still have to check each one, but the duplicate will have it's name in red.
User avatar
petri
Posts: 1917
Joined: Thu Mar 01, 2012 4:58 pm
Location: Finland

Re: Error Duplicated Entity ID

Post by petri »

Open the dungeon.lua in a text editor and search for the entity id. From there you should be able to look up the coordinates and type of the spawned entity.
zadkielmodeler
Posts: 43
Joined: Sat Sep 15, 2012 6:34 am

Re: Error Duplicated Entity ID

Post by zadkielmodeler »

Yeah I realized it would be in red. I just haven't found it yet. Thanks.
zadkielmodeler
Posts: 43
Joined: Sat Sep 15, 2012 6:34 am

Re: Error Duplicated Entity ID

Post by zadkielmodeler »

I have opened my Dungeon.lua honestly I don't know which entity is duplicated. The program did not give me the ID of the offender. So I can't really search for it effectively. Either in the editor or in the text file, either way will take hours since my dungeon is already 9 levels deep. There must be a better way. As I was asking before is there a way to officially request a feature for the Editor? That's a question I would like answered, because there is no way I will be the only one with this problem. There will be many many more. And they will need a solution too.
zadkielmodeler
Posts: 43
Joined: Sat Sep 15, 2012 6:34 am

Re: Error Duplicated Entity ID

Post by zadkielmodeler »

I mean honestly if this thing can parse the lua and detect a duplicate it should at least be able to tell me what it is or where it is, or give me options to fix it.
zadkielmodeler
Posts: 43
Joined: Sat Sep 15, 2012 6:34 am

Wrong problem altogether.

Post by zadkielmodeler »

Okay, this is even more hilarious. It turns out it was not a duplicated Entity ID, that is just what the editor told me the error was. The real error was that there was an object whose ID I had erased, so it had NO ID. It was one of my spawners. Anyway, it should give a slightly different error in this case. I would call it a bug to call it duplicated, when it is flat out missing.
Post Reply