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.

Script 'Game_Actor' line 508: NoMethodError?

Script 'Game_Actor' line 508: NoMethodError occurred.
Undefined method 'weapon_set' for nil:NilClass


I'm confused... I never tampered with the original scripts...

Help anyone?
 

khmp

Sponsor

I'm assuming VX, yes? When does this error occur? At start up? During a particular event? When you go to make a new game? When you go to load/save a game? Would you be willing to create a demo?
 

khmp

Sponsor

Well if you only have one script installed. Could you provide a link and I'll try to duplicate the error? But be aware that if I do it it isn't guaranteed to help you because I might not use the same steps you did. That's only reason I tend to ask for a demo. In this case the Scripts.rvdata file might be sufficient.
 

khmp

Sponsor

Alright I have good news and bad news. First the bad news. Your title is terrible... I'm just kidding :lol: If it truly does bother you though and this is going off topic you can visit the title request thread in resource requests. It looks like you already have a pretty good idea for what you want. Alright, again sorry for the tangent. Ahem, anyway, here's the real bad news I don't know the install directions for this script so I'm not a 100% sure as to how to fix it. The good news I know what's causing the crash. There really should be constants that you play around with instead its actually hard coded and you have to look for it. A big no no for customization reasons. So anyway when you go to transform into a dragon your class ID is changed. However the ids of transformation range from 8-24. In the database you only have 8 classes 1-8. So when you class id is changed to lets say 14. It looks at the database and screams because there is no class with an ID of 14. Thus your crash. Simply increase the max range of your classes in your database to 24 and you will no longer crash.

Good luck with it Aural C.E.! :thumb:
 

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