Chaos Project

RPG Maker => RPG Maker Scripts => Script Troubleshooting => Topic started by: Xero on January 29, 2011, 09:10:36 pm

Title: Need someone to confirm this error
Post by: Xero on January 29, 2011, 09:10:36 pm
I am currently helping someone else with a little script problem they have but I'm not that good in programming yet so I kinda wanna ask your help guys :)

So there's this error that says "undefined class/module Game_Caterpillar". I assume this means that the class Window_SaveFile is trying to refer to a class called Game_Caterpillar but it doesn't exist.
Spoiler: ShowHide
(http://img89.imageshack.us/img89/2618/narutolegendspatherror.png)


If that is or it isn't the case, would someone oh kindly help?

Title: Re: Need someone to confirm this error
Post by: nathmatt on January 29, 2011, 09:51:42 pm
an image of the error doesn't help much but that should mean you are trying to call Game_Caterpillar but it doesn't exist
example if i tried to call Game_Player after deleting that class
Title: Re: Need someone to confirm this error
Post by: ForeverZer0 on January 29, 2011, 10:03:07 pm
Your problem seems like it may be slightly different. If you were simlply referencing the class, I believe it would give you a NameError, then spout offf about undefined constants for the class.

You said it is occuring in Window_SaveFile?
Is it possible you are attempting to load/save data from an old file after you have made script changes?