Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
  • 0
Sign in to follow this  
Ovan35

Getting error during combat using Tankentai

Question

Alright I'm using Enu Tankentai Battle system for XP.I'm getting this error and I'm not sure why or what to do about it. The error will not show up all the time and I can't narrow down what conditions cause it.The only thing consistent is that the error comes up during battle.

 

The error reads

Script "sideview 1" Line 227: TypeError Occured can't dup NilClass"

def start_action(kind)
    reset
    stand_by
    @action = ACTION[kind].dup #This is the line for 227
    active = @action.shift
    @action.push("End")
    @active_action = ANIME[active]
    @wait = active.to_i if @active_action == nil
    action
  end

Not sure if it's related but about the same time this error started showing up my victory music would continue to play even after the battle was over.Playing the song all the way through.
 

Share this post


Link to post
Share on other sites

10 answers to this question

Recommended Posts

  • 0

It appears that you've deleted the action for sequence "MULTI_ATTACK_RAND" from your script.

This action are linked with skill number 89, which is "Thunder". This is linked by default, so I assumed you changed the skill no 89 to something else.

Btw, there's another skill that got linked out with another sequence, but I'll leave that for you to cover that, since it won't hurt at all, I think.

 

So, apparently, the error appears when someone is casting "Thunder". Because when the thunder is casted, it call the action sequence named "MULTI_ATTACK_RAND", which I believe you have it deleted, thus an error appears.

 

You can fix this simply by commenting or deleting this two line from "SBS Config" script.

    when 89  < #About line 1531
      return "MULTI_ATTACK_RAND"  

Hope this solve your problem.

Edited by black mage

Share this post


Link to post
Share on other sites
  • 0

I believe that it's a problem with some animation in the script, since those line are executed right before any animation are played into the screen. Not sure what exactly caused it since I need to see the entire script to track it. A Demo could help.

Share this post


Link to post
Share on other sites
  • 0

I believe that it's a problem with some animation in the script, since those line are executed right before any animation are played into the screen. Not sure what exactly caused it since I need to see the entire script to track it. A Demo could help.

 

 

Alright I'm going to share this with you but it's not done yet.I put a creaters cheat in the sewer level.If you push on the first corner on your right, Shiro will join your party, you will have 99 potions and 99 mana, and you get a second broadsword (Tamara is a dual wielding character). Oh and pressing Q will activate your special ability.

 

http://www.filedropper.com/dragora

 

Thanks for taking a look at it.

Edited by Ovan35

Share this post


Link to post
Share on other sites
  • 0

And here I am having trouble on download it.

Looks like you put a wrong link there. :v

Sorry I corrected the address .I put dot dragora instead of slash dragora.Just click on the link and it will take you there now

http://www.filedropper.com/dragora

Share this post


Link to post
Share on other sites
  • 0

I've tried to change the dot into slash yesterday, and it still doesn't work.

It brings me to some page to download dragora.exe, but the file size is 0 KB. So, either I'm just going into wrong pages or the upload is failed.

 

Just in case you need to reupload, please upload the demo into dropbox or mediafire. I'm more familiar with them. :)

Share this post


Link to post
Share on other sites
  • 0

I've tried to change the dot into slash yesterday, and it still doesn't work.

It brings me to some page to download dragora.exe, but the file size is 0 KB. So, either I'm just going into wrong pages or the upload is failed.

 

Just in case you need to reupload, please upload the demo into dropbox or mediafire. I'm more familiar with them. :)

Alright I think I might have stumbled  onto the answer.Tamara is a dual wielding character but  when I've been testing the game I've only had her with one sword.When I add her other sword in I don't seem to get the error.I've tried it several times but still I wouldn't mind a second opinion.I put this one on MediaFire.I've never distributed before so I'm not sure if I was doing it right.This link should be the whle dragora file.The dragora.exe file was the compressed game file and I've taken out any music that I haven't gotten around to using in game yet.

 

https://www.mediafire.com/folder/vqg5y3i72r5au/Dragora

Share this post


Link to post
Share on other sites
  • 0

Zip or Rar it please. Mediafire doesn't support multiple file download for a free user. And I'm one of those free user. :)

 

Alright I think I might have stumbled  onto the answer.Tamara is a dual wielding character but  when I've been testing the game I've only had her with one sword.When I add her other sword in I don't seem to get the error.

I'll take a note on this.

Share this post


Link to post
Share on other sites
  • 0

Zip or Rar it please. Mediafire doesn't support multiple file download for a free user. And I'm one of those free user. :)

 

I'll take a note on this.

God this has been trying... Alright one last time.Sent in zip format. Thanks for your patience.

 

http://www.mediafire.com/download/zeby1y6qfdm6155/Dragora.zip

Share this post


Link to post
Share on other sites
  • 0

It appears that you've deleted the action for sequence "MULTI_ATTACK_RAND" from your script.

This action are linked with skill number 89, which is "Thunder". This is linked by default, so I assumed you changed the skill no 89 to something else.

Btw, there's another skill that got linked out with another sequence, but I'll leave that for you to cover that, since it won't hurt at all, I think.

 

So, apparently, the error appears when someone is casting "Thunder". Because when the thunder is casted, it call the action sequence named "MULTI_ATTACK_RAND", which I believe you have it deleted, thus an error appears.

 

You can fix this simply by commenting or deleting this two line from "SBS Config" script.

    when 89  < #About line 1531
      return "MULTI_ATTACK_RAND"  

Hope this solve your problem.

Thanks alot.I've been trying not to just copy paste the Tanketai script without trying to give it at least some flare of my own.I wouldn't mind keeping Multi_Attack_Rand but I will have to make it a whole lot less powerful than it would be by default (and have to change the name :D) Thanks again.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...