RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Help with Yanfly Script

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 66
Haven't been on for ages -.-
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.  :-\
« Last Edit: March 20, 2012, 06:53:45 AM by IneedHELP! »

*****
my name is Timothy what's yours
Rep:
Level 79
Hello
2014 Most Missed Member2014 Zero to Hero2014 Best IRC Quote2012 Zero To HeroSecret Santa 2012 ParticipantContestant - GIAW 9For frequently finding and reporting spam and spam bots2011 Zero to Hero
Replace the line with the error with:
Code: [Select]
    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

**
Rep:
Level 66
Haven't been on for ages -.-
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.

*
*crack*
Rep:
Level 64
2012 Most Unsung Member2012 Best NewbieFor frequently finding and reporting spam and spam bots
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