Forum

> > Stranded II > General > invalid id vs used id issue
Forums overviewStranded II overviewGeneral overviewLog in to reply

English invalid id vs used id issue

2 replies
To the start Previous 1 Next To the start

old invalid id vs used id issue

JasJack67
Super User Off Offline

Quote
ok so i have seen some posts about the invalid id combinations errors...but they dont exactly tell how to find "unused" id locations.

so the mod im working on has up to 5000 items in the game info file...yet when I assign an ID that is used for another item, the game starts fine...but that is not the result i want because the ID is already used for another item.

when I find an ID that seems unused...because i cannot find any item or object assigned...i use that ID and i get the error "invalid item id for combination (#)"

so my question is: Why would i get an error for an unused ID while it allows me to assign a used ID to multiple items.

My real problem is adding a new Item but everytime the ID I find unused give me a error at startup.

any ideas? is there a way to SEE all the id's what is used and what is not used...without trying to extract them all from all the .inf files. As finding used/unused ID out of 5000 is not quit easy.

thank you in advance...i have searched for the answer but i can not find it.

old Re: invalid id vs used id issue

DC
Admin Off Offline

Quote
Assigning the same ID to multiple items
Do NOT do this. You will overwrite items. You can't have multiple different items with the same ID. Looks like the game simply doesn't check this. This doesn't mean that it's a good idea to do it. It's a pretty bad idea.
The simplest approach to find a new ID is to remember the highest ID you used and to increase it by one every time you add a new item.
The items are sorted by their ID in the editor item list and you can see the IDs by hovering them with your mouse.


Unused ID errors (that "invalid item id for combination (#)"-stuff)
Combinations obviously can't work if you use item IDs which are not used by any item at all. Such combinations don't make sense and therefore the game throws an error.

old Re: invalid id vs used id issue

JasJack67
Super User Off Offline

Quote
Hello DC...nice to meet you finally...im a old reader but a newer member.

With in your reply I have found my solution to my problem. hovering the icons in the editor to find a ID i have not used solves my issue.

Thanks a million!!! saving me tons of work loading and reloading the game to find a valid ID that does not cause the error...hahaha.

and yes, i understand not using 1 ID for multiple items, it was just the result from my guessing at ID numbers trying to find one "unused". LOL

solved! thanks!
To the start Previous 1 Next To the start
Log in to replyGeneral overviewStranded II overviewForums overview