Main Menu
  • Welcome to The RPG Maker Resource Kit.

Item/Skill/Anything IDs

Started by Disco Viking, February 01, 2006, 03:27:24 PM

0 Members and 1 Guest are viewing this topic.

Disco Viking

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.

Zeriab

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.

Disco Viking

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.

Tsunokiette

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.
"The wonderful thing about Tiggers
Is Tiggers are wonderful things
Their tops are made out of rubber
Their bottoms are made out of springs

They're bouncy, trouncy, flouncy, pouncy
Fun, fun, fun, fun, fun!
But the most wonderful thing about Tiggers
Is I'm the only one, I'm the only one."

blueXx

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 ^^
holy shit my sig was big!

Disco Viking

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?

Disco Viking

It's been a few days, can anyone shed some light on the problem?

ahref

legal version or positality knights

Disco Viking

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?