(RMVXace) Battle error with Tankentai's battle system, help. x(

Started by Starmage, February 14, 2018, 02:32:10 am

Previous topic - Next topic

Starmage

Hello everyone! I'm having a problem with an error during battles in my game x((

This errors here:



They pop up everytime a character of mine is poisoned and has low HP (Hp below 5) while I try to use an item (any item). As soon as I enter the item I wish to use, one of those errors pop up x((

Please help, I don't know what I'm doing wrong. x((

The scripts that I am using are as follows (in order):

Yanfly Core Engine - https://yanflychannel.wordpress.com/rmvxa/core-scripts/ace-core-engine/
Yanfly Victory Aftermath - https://yanflychannel.wordpress.com/rmvxa/battle-scripts/victory-aftermath/
Yanfly State Animations - https://yanflychannel.wordpress.com/rmvxa/battle-scripts/state-animations/
Yanfly Ace Message System - https://yanflychannel.wordpress.com/rmvxa/core-scripts/ace-message-system/
Tankentai battle system (Wishdream's translation) - https://forums.rpgmakerweb.com/index.php?threads/tankentai-sideview-battle-system-v1-0-wish-english-translation-v1-2d.31961/
(Sideview - Action setup)
(Sideview - Battler setup)
(Sideview)
MOG ATB - https://atelierrgss.wordpress.com/rgss3-active-time-battle/
MOG ATB Skill name - https://atelierrgss.wordpress.com/rgss3-atb-skill-name/
MOG Battle Hud Ex (Silver Hawk) - https://atelierrgss.wordpress.com/rgss3-battle-hud-ex/
Mog Monogatari (Menu) - https://atelierrgss.wordpress.com/rgss3-monogatari/
Mog Animated Title A - https://atelierrgss.wordpress.com/rgss3-custom-title-screens/
Mog Monster book - https://atelierrgss.wordpress.com/rgss3-monster-book/
MOG Diagonal movement -
Mog Weather Ex - https://atelierrgss.wordpress.com/rgss3-weather/
KilloZapit Word Wrapper - https://www.rpgmakercentral.com/topic/6964-word-wrapping-message-boxes/
Galv's Visibility range - https://galvs-scripts.com/2013/05/30/visibility-range/
Bug fix patch for Galvs
Recover after level up patch

Here is also my game's script file where you can check if there are any disturbances:
http://www.mediafire.com/file/syx6ksju94i8b1h/Scripts.rvdata2

Thank you so much for anyone who can help! X((

KK20

The only thing that we can say is that, somehow, somewhere, BattleManager.actor.input is being cleared out (set to nil). I'm speculating that this occurs when an actor is killed by poison, clearing out their actions array:

  #--------------------------------------------------------------------------
  # * Get Action Being Input
  #--------------------------------------------------------------------------
  def input
    @actions[@action_input_index]
  end


  #--------------------------------------------------------------------------
  # * Clear Actions
  #--------------------------------------------------------------------------
  def clear_actions
    @actions.clear
  end

But without a tech demo, it's hard to point at what is the real cause.

Other Projects
RPG Maker XP Ace  Upgrade RMXP to RMVXA performance!
XPA Tilemap  Tilemap rewrite with many features, including custom resolution!

Nintendo Switch Friend Code: 8310-1917-5318
Discord: KK20 Tyler#8901

Join the CP Discord Server!

Starmage

Hi KK20!! Thanks for checking it out!

I'm very sorry for the trouble... Again x((

It's actually alright now, though. I've stopped using tankentai and Mog's atb all together in my project. And I'm just going to look some more battle scripts now that have lesser incompatibility issues. x((

This thread may be closed now, I'm sorry for the trouble and thanks so much once again! ^_^