Charas-Project

Game Creation => Requests => RPG Maker Programming => Topic started by: Brieg on January 15, 2011, 08:01:31 PM

Title: "script referneces item that does not exist"
Post by: Brieg on January 15, 2011, 08:01:31 PM
While solving the rm2k -> rm2k3 conversion issues (from the monster party screen) i kept getting a message that said somethings along the lines of "script referneces item that does not exist"

I checked. The monsters arn't giving out items, the hero isn't equip, and there is no actual script for any events anywhere within the battles. The same thing is all of a sudden happening in the game itself.

I upped the number of items to 5000 (the max) and it plays fine, but i don't want some random item to compromise the game.

this is a error i've NEVER heard of, so what the hell?
Title: Re: "script referneces item that does not exist"
Post by: Prpl_Mage on January 16, 2011, 08:08:03 AM
Exactly when does this problem occur?

Equipment:
Most of the time this happens when you kinda have an item equipped that you've changed it's type of. Kinda like having an amulet equipped as an accessory and then changing the database so it's a shield.

It could also be any of the basic equipment the players start with, changing them and not correcting the characters might cause an issue.

And the last hypothesis is that you've perhaps changed the availability of an item so that a certain character can't use it anymore.


Could also be something such as you have a check for any item, and since you converted the game you kinda need to repick that item from the list.
Title: Re: "script referneces item that does not exist"
Post by: A Forgotten Legend on January 16, 2011, 05:03:19 PM
I have run into this too.  For some reason or another rpg maker 2k3 has to have a minimum number of items or else it crashes.  100 should be fine.  Don't worry if you have extra item slots.  It will only appear in game if you put it there.
Title: Re: "script referneces item that does not exist"
Post by: Brieg on January 16, 2011, 05:31:23 PM
I should have added that I checked all the equipment first. I'll try the latter suggestion, uh... Mr. Legend
Title: Re: "script referneces item that does not exist"
Post by: A Forgotten Legend on January 17, 2011, 04:16:16 AM
You're welcome.  People here call me AFL.  This is one of the only forums I have this username.