Page 1 of 1
Error Duplicated Entity ID
Posted: Sat Sep 15, 2012 6:39 am
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.
Re: Error Duplicated Entity ID
Posted: Sat Sep 15, 2012 6:50 am
by Lmaoboat
Well you'll probably still have to check each one, but the duplicate will have it's name in red.
Re: Error Duplicated Entity ID
Posted: Sat Sep 15, 2012 7:01 am
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.
Re: Error Duplicated Entity ID
Posted: Sat Sep 15, 2012 11:45 pm
by zadkielmodeler
Yeah I realized it would be in red. I just haven't found it yet. Thanks.
Re: Error Duplicated Entity ID
Posted: Sun Sep 16, 2012 12:43 am
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.
Re: Error Duplicated Entity ID
Posted: Sun Sep 16, 2012 1:17 am
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.
Wrong problem altogether.
Posted: Sun Sep 16, 2012 9:46 pm
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.