Notice: fwrite(): Write of 44 bytes failed with errno=28 No space left on device in /home/rmrk/domains/rmrk.net/public_html/Sources/Cache/APIs/FileBased.php on line 96
Print Page - Help with Yanfly Script

The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: IneedHELP! on March 20, 2012, 06:51:31 AM

Title: Help with Yanfly Script
Post by: IneedHELP! on March 20, 2012, 06:51:31 AM
Hey!
Um, the problem is I am using Yanfly's awesome script called YEM Status Menu Melody for Shanghai's Final Fantasy 13 Status Menu script. The problem is, on line 550 it says

    gc0 = hp_back_color

and the error is:

Script 'Yanfly status menu melody' line 550: NameError Occurred

Undefined local variable or method 'hp_back_color' for
#<Window_Actor_Status:0x1738d68>

So far the only scripts i am using are:

# Neo's Face System v.2.0
   Neo's Save system III
   (credit to woratana)
# Yanfly Engine Zealous - Custom Message System
   Yanfly Engine Melody - Main Menu Melody
   Yanfly Engine Melody - Status Menu Melody       
   (credit to Yanfly)
# Party Manager/Switcher (credit to Prexus and Gsorby)
# Oni Jump System
   Oni Stamina       
   ( credit to Onidsouza)
# Jens009's Cut-In Animation v 1.1. (credit to Jens009)
and last but not least
# Shanghai Simple Script - Final Fantasy 13 Main Menu
   Shanghai Simple Script - Final Fantasy 13 Status Menu
   (credit to Shanghai!)
All VX
Sorry i know this is quite a bit but i do not know anything about scripting.  :-\
Title: Re: Help with Yanfly Script
Post by: pacdiggity on March 20, 2012, 10:07:20 AM
Replace the line with the error with:
    gc0 = gauge_back_color
And it should work.

Errors like this occur when a line attempts to reference a method or value, but it doesn't exist.
Title: Re: Help with Yanfly Script
Post by: IneedHELP! on March 20, 2012, 11:06:45 AM
Hmmmmm,
I inserted the line but then when i try the status menu again, a similar error occurs i think:

Script 'Yanfly status menu melody' line 1117: NoMethodError occurred.

undefined method 'create_affinity_bonus' for #<Game_Actor0x13f22b0>

Sorry i do not know what is wrong. I have done what the demo did in SSS version so...
If you want I cant just put the script here. Though i am not sure if i am allowed to do that.
Title: Re: Help with Yanfly Script
Post by: D&P3 on March 20, 2012, 11:09:38 AM
A demo containing all the scripts you're currently using would probably help find the problems quicker.

And by that, I mean that if you can recreate the error in a new project and upload it for the scripters to see, that would be much better.