[Yanfly State Animations] No Method Error

Status
Not open for further replies.

Chester

Meow Kitten
Veteran
Joined
Nov 5, 2014
Messages
688
Reaction score
295
First Language
Cat Tongue
Primarily Uses
N/A
Hi everyone,

I am using Yanfly State Animations and all is going well except this: (I have attached a screenshot of the NoMethodError). I am not sure how to fix this but here is the link to the website. I was told not to post the code so please take a look at the website to look at the code unless you guys really need me to post it.

https://yanflychannel.wordpress.com/rmvxa/battle-scripts/state-animations/

Thanks for the Help!

Error.jpg
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
Did that error also happen if you start a new game?


In 90% of all cases the "undefined for nil" error happens when you load an old savegame after adding a new script, because a lot of scripts require initialisation by "newgame" before they can function.
 

Chester

Meow Kitten
Veteran
Joined
Nov 5, 2014
Messages
688
Reaction score
295
First Language
Cat Tongue
Primarily Uses
N/A
Starting a new game did not help but I solved the issue on line 251 by deleting the + and everything is working perfectly fine now.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
Starting a new game did not help but I solved the issue on line 251 by deleting the + and everything is working perfectly fine now.
That is the same form of repair as saying "my car has a red light on the brakes, saying that the brakes don't work - I fixed it by removing the red lamp, now my car works again".
Do you think that your brakes on the car get fixed by removing the warning lamp?


No, it will most definately NOT work correct now - to be more precise a line that was supposed to count up a value (..+= 1) now forces that value to be permanently 1 (...= 1).


And as soon as you get to an animation that needs that option, your display will become wrong.
 

Twisted_Warlok

3D/2D Indie Game Dev
Member
Joined
Jan 31, 2015
Messages
25
Reaction score
3
First Language
English
I'm also getting No Method errors with this script. It would be nice if someone had an answer for this >.> I checked Yanfly's blog but didn't find anything about a fix for it.

hmmmmm.....seems to be a compatibility issue with Battle Symphony.

bandicam 2015-09-22 04-55-44-545.png
 
Last edited by a moderator:

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
On my phone, so this is a bit brief.

It is not an obvious compatibility issue with battle symphony, as I have used both these together without any problem.  This is in a released game, so many, many players will have used skills which inflict states with animations, and no one has reported anything wrong.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Twisted_Warlok, please do not hijack (and necro) someone else's post to add your own problem. Start your own thread instead.
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,864
Messages
1,017,056
Members
137,573
Latest member
nikisknight
Top