Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> Help with Enu's Battle System, Error at line 1519. [VX ACE]
phxDansuke
post Jun 18 2012, 03:10 PM
Post #1


Level 3
Group Icon

Group: Member
Posts: 38
Type: Event Designer
RM Skill: Skilled




Hi, I downloaded Enu's Battle System and I keep getting this error at line 1519.... it occurs when an enemy tries to cast a spell, it's an ordinary spell on an ordinary enemy.... Can someone help me? Here's the script, I marked where the error is:

Script 'Sideview' line 1519: NoMethodError occured
undefined method 'frame_max' for nil:NilClass

https://dl.dropbox.com/u/86152308/script.txt

Thanks.

This post has been edited by phxDansuke: Jun 18 2012, 03:15 PM


__________________________
"It's time to create and play videogames, and i'm all out of creativity...."
Go to the top of the page
 
+Quote Post
   
amerk
post Aug 9 2012, 10:20 AM
Post #2


Level 56
Group Icon

Group: Global Mod
Posts: 1,784
Type: None
RM Skill: Undisclosed
Rev Points: 15




I'm not a scripter, so I won't be able to help, but just as an FYI you may want to post the actual line in addition to the script. I wound up coping the code into an EXCEL sheet just to find the one line, and though you marked it as "HERE IT IS" it gets lost in the shuffle, since it's not color coded or anything to stand out.

Anyways, that's not a rant against you, just advice that can help you get questions answered sooner.

For everybody else, the line in question (1519) is:

return $data_animations[anime_id].frame_max 4 #- HERE IT IS!

minus the "HERE IT IS" part.

Again, I'm not a scripter, but from what I'm gathering, it's looking for a particular animation set in the database and not finding it. Somebody better than me will have to confirm or contest that, though.


__________________________
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 21st May 2013 - 08:57 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker