RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Item/Skill/Anything IDs

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 89
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.

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
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.

**
Rep: +0/-0Level 89
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.

*
Full Metal Mod - He will pillage your women!
Rep:
Level 93
The RGSS Dude
Quote from: 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.


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."

******
Rep:
Level 91
Quote
So 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!

**
Rep: +0/-0Level 89
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?

**
Rep: +0/-0Level 89
It's been a few days, can anyone shed some light on the problem?

*
Resident Cloud
Rep:
Level 91
legal version or positality knights

**
Rep: +0/-0Level 89
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?