The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: Wiimeiser on July 29, 2010, 09:52:14 AM

Title: Weid Error in Yanfly script
Post by: Wiimeiser on July 29, 2010, 09:52:14 AM
The "Skill Equip System" has an unusual error on one line. I think it says a class doesn't exist or something.
This is the line it's having problems with:
Quoteclass Window_EquipSkillData < Window_LearnData
Am I missing something? Do I need another script?
Title: Re: Weid Error in Yanfly script
Post by: modern algebra on July 29, 2010, 12:36:09 PM
Well, what does the error message say? It might be a missing end above it, or it might be that you don't have whatever script defines the Window_LearnData class, but I can't say for sure without seeing the error message.
Title: Re: Weid Error in Yanfly script
Post by: Wiimeiser on July 31, 2010, 10:58:47 PM
Turns out I just needed the Skill Overhaul script. :P
But I have a new problem. I installed the menu overhaul and I get this error about the reserve party script whenever I open the menu (See attachment)
The particular line it refers to is this:
Quote    @command_window = @command_window.class.new(width, c)
[/s]

EDIT:
I found the patch but I get this error:
Quoteundefined method 'refresh' for class 'Window_ReDuxMenuStatus'

I assume it has something to do with this script:
QuoteYanfly Engine RD - Scene Status ReDux
Title: Re: Weid Error in Yanfly script
Post by: Cascading Dragon on August 01, 2010, 12:51:03 AM
Maybe because you are using the ReDux scripts, which Yanfly says probably aren't compatible with the new Melody scripts. I believe it is said on most all of the new scripts.
Title: Re: Weid Error in Yanfly script
Post by: Wiimeiser on August 02, 2010, 07:14:29 AM
So there's nothing I can do except delete one of the scripts? I don't see how they conflict...
Title: Re: Weid Error in Yanfly script
Post by: cozziekuns on August 02, 2010, 05:58:49 PM
Actually, I think it has more to do with Scene Menu Redux, but it would probably be best to switch over to Melody anyways.
Title: Re: Weid Error in Yanfly script
Post by: Wiimeiser on August 02, 2010, 09:25:30 PM
So I'm assuming I'll need to give up bios for compatibility?
Title: Re: Weid Error in Yanfly script
Post by: Terra-chan on August 02, 2010, 09:36:00 PM
You can incorporate Bios into the menu using other custom Menu screen scripts. Like Aindra's Custom Lists and Pages (http://www.rpgmakervx.net/index.php?showtopic=17014&st=0&p=147373&#entry147373). I also know that Jet is working on a Menu Scene maker script that you can visually make the screen in a project and it will output the script to create it. I don't know when it will be done... he had me test an early version. My mistake, he's released his Window Maker (http://www.rpgmakervx.net/index.php?showtopic=34420) already
Title: Re: Weid Error in Yanfly script
Post by: Wiimeiser on August 03, 2010, 07:15:23 AM
What does 'Refresh' even do anyway? I've found it in both scripts but I don't understand...
Title: Re: Weid Error in Yanfly script
Post by: TDS on August 03, 2010, 01:12:24 PM
Quote from: Wiimeiser on August 03, 2010, 07:15:23 AM
What does 'Refresh' even do anyway? I've found it in both scripts but I don't understand...

Refresh is a method often used to clear and redraw the contents of bitmaps and sprites in a class. It is first erased to prevent overlapping content. (Erases and draws stuff on the window)