Notice: fwrite(): Write of 59 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

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
Tankentai's sideview battle system Error VXA [Solved]
Main Menu
  • Welcome to The RPG Maker Resource Kit.

Tankentai's sideview battle system Error VXA [Solved]

Started by bluntsword, April 03, 2012, 07:36:14 PM

0 Members and 1 Guest are viewing this topic.

bluntsword

[solved] Had to import the animations from his demo, otherwise it wouldn't work.

So I'm no scripter and I hope I've given all the necessary info here.

So I put Tankentai's sideview battle system for ace into my game.  It worked fine until I tried to use a skill that I had made myself.  Here's a screen of the skill I made, just in case its relevant:

[spoiler][/spoiler]

Here's the link of where I downloaded the Demo with the script in it:

http://rpgex.sakura.ne.jp/home/material/sv_ace.html

Here's the error:

Script 'Sideview' line 1509: NoMethodError Occurred
undefined method 'frame max' for nil:Nilclass

Here's the line it's referring to:

return $data_animations[anime_id].frame_max * 4

I had to attach the script, it was too long to post.

Anything I'm missing to help you help me?

LoganF

Are you using any other scripts in your project?

Just because it flags up the error in a particular script doesn't always mean it's that script that is causing the issue. Often, with a nil:NilClass error it's a compatibility issue with another script. If there are other scripts, what you can do is remove all the scripts and add them back one at a time.

An easy way to do this is to Cut and Paste the Main script and put it above all your custom scripts, then move it down through each one, testing as you go. When you hit this problem then, play around with the ordering of the scripts you have by moving the last script up a level each time and testing again. If the problem gets fixed, move the Main script back to the bottom and test again. All being well, the issue would be solved. If another comes up, do this again from where you left off.
(Why do I always feel like it's the end of the world and I'm the last man standing?)

bluntsword

#2
Tried that, no luck.  Got rid of all the scripts I was using.  Copied and pasted the script file from the downloaded sideview demo, pasted that into my data file and it gave me the same error.

*tried it with another self made skill and it gave me the same error.  I wonder if that has something to do with it...