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.

Help with a script problem.

Giam

Member

Hello, you may know my for my constant naging and my 2 script requests, but if you don't, yea...

Anyway, I'm just gonna spit it out. This script is giving me trouble.

Here

And here is the question: Why do the classes mess up when I play a loaded game?

"Script 'Data' line 937: NoMethodError occured.
unidentified method 'each_key' for nil:NilClass"

Everything runs fine in a new game, but if I save and turn it off the class will have the extra stuff on the end (i.e. Warrior{1=>2} or Squire{}) and when I click the option from my menu that error pops up.

Other scripts I'm running:
  • Item Popup by: Tibuda, Version 1.12
  • Customization by: Synthesize, Version 4.85
  • Animated Battlers - Enhanced by: Minkoff and DerVVulfman + others, Version 7.7

The party switcher works fine, and so does the class changer until I save and reload. I have no idea what it could be. I do not script and the best I have done is added 3 things to the menu. My guess based on my experience (close to none) would be something in the temp files since it has to do with the saves.
 

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