The RPG Maker Resource Kit

Other Game Creation => Program Troubleshooting => Topic started by: Disco Viking on February 01, 2006, 03:27:24 PM

Title: Item/Skill/Anything IDs
Post by: Disco Viking on February 01, 2006, 03:27:24 PM
My IDs are never what they say they are.

At the top of the lists its alright, where it says 001 next to the item, 001 works in scripts etc.
However, as we go down, it skips some. So for example 021 will give an error, and the item with 021 beside it in the database will be referenced by 022.

Why does this happen? It's very annoying as I have to go through testing loads  of IDs to get the right skill/item etc.
Title: Item/Skill/Anything IDs
Post by: Zeriab on February 01, 2006, 05:05:37 PM
It might have something to do with hashes starting at 1 and arrays at 0 or the other way around, but when you don't have to declare the type a common good thing to do is to test if what you think you get really is what you get.
I sucks and that's why I always test if $something[1] really is number one.
Title: Item/Skill/Anything IDs
Post by: Disco Viking on February 01, 2006, 09:23:42 PM
The thing is, it's not a set number out. It's totally random.
For example, 15 will be missing, 21, 25 and 32 or whatever.
So then where it says 32 next to the item in the database, you will have to reference 36in scripts.
It's very annoying.
Title: Item/Skill/Anything IDs
Post by: Tsunokiette on February 01, 2006, 09:26:25 PM
Quote from: Disco VikingThe thing is, it's not a set number out. It's totally random.
For example, 15 will be missing, 21, 25 and 32 or whatever.
So then where it says 32 next to the item in the database, you will have to reference 36in scripts.
It's very annoying.

umm it's not random lol. Just subtract 1 from the id.
Title: Item/Skill/Anything IDs
Post by: blueXx on February 01, 2006, 09:40:48 PM
QuoteSo then where it says 32 next to the item in the database, you will have to reference 36in scripts.

d-d-d-damaged version ^^
Title: Item/Skill/Anything IDs
Post by: Disco Viking on February 02, 2006, 04:35:18 PM
Damaged eh?
Is this a known problem?

Is there a way to predict where an ID will be?
Is there a non damaged version I can use which will take my saved projects?
Title: Item/Skill/Anything IDs
Post by: Disco Viking on February 09, 2006, 12:14:09 AM
It's been a few days, can anyone shed some light on the problem?
Title: Item/Skill/Anything IDs
Post by: ahref on February 09, 2006, 04:23:08 PM
legal version or positality knights
Title: Item/Skill/Anything IDs
Post by: Disco Viking on February 09, 2006, 11:06:04 PM
Knights.

Figured that might be the reason. >_>

Still, I would like to know if theres any way to predict which ones will be not there.
Or is it a specific few which are missing?