[RESOLVED] Menu Error

Started by xeilmach, November 16, 2010, 11:25:37 pm

Previous topic - Next topic

xeilmach

November 16, 2010, 11:25:37 pm Last Edit: November 16, 2010, 11:52:58 pm by xeilmach
Hey everyone, I was running my RMXP game fine until I got this:



And pinpointed me to here:

 # Make status window
   @status_window = Window_MenuStatus.new
   @status_window.x = 160
   @status_window.y = 0

It occurs when I go into the main menu. I use Tatenkai scripts only. Recently I have taken out the "Escape" command from battles, but not sure if it would affect this.

Please help me solve it. Thank you.


EDIT:
I have overrode the error with game_guy's Customizable Enhanced Custom Menu. This lead me to believe I may have accidentally deleted something, but what? I do not intend to use this CMS, but I may have to if I don't get this resolved.



RESOLVED: I was right. I have accidentally deleted MenuStatus.
Quote from: Blizzard on November 17, 2010, 02:22:18 am
Don't worry if you lose your motivation at one point. Just keep doing something else, it should come back to you. If it doesn't, get back into it anyway. xD

ForeverZer0

It means that there is no class called Window_MenuStatus.
Since it is being called from Scene_Menu, Ruby just assumes its scope is from within that class when it cannot find it and it adds the Scene_Menu:: part.
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.