Main Menu
  • Welcome to The RPG Maker Resource Kit.

Help with Yanfly Script

Started by IneedHELP!, March 20, 2012, 06:51:31 AM

0 Members and 1 Guest are viewing this topic.

IneedHELP!

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.  :-\

pacdiggity

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.
it's like a metaphor or something i don't know

IneedHELP!

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.

D&P3

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.
All of my scripts are totally free to use for commercial use. You don't need to ask me for permission. I'm too lazy to update every single script post I ever made with this addendum. So ignore whatever "rule" I posted there. :)

All scripts can be found at: https://pastebin.com/u/diamondandplatinum3