Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Problem with a script im using, help please.

Im using a CMS made by Diego. It was made a really long time ago
but I get an error everytime i recieve an item, and then I activate the menu

Like when I open a chest and recieve a sword, and then I use the menu, I get an error and the game crashes

the error says: "NoMethodError occured. Undefined method 'size' for nil:NilClass"

and here is what the line says that the error is on:
" for x in 0...$basic_items_ids.size"

I cant figure it out. I know some basic RGSS but I've never seen a code like this, and I cant figure out the problem.

So could someone else out there try and figure this out and tell me what I did wrong?

Thanks in Advance!
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top