I added SoulPour777 Enhanced Battle Commands to my project and now when I go to use Heal on the party I can't select between the members and it just stays on the party leader.
(All other selection of enemies and party members works fine and when I note out the script the project returns to working fine)
It has to be a conflict issue with another script I have in the project but due to the large quantity of scripts in my project and the lack of a more exact script issue system in ace this is my only option besides removing the enhanced command script all together)
What I am trying to determine what line or lines of this script would effect that function?
Is there a snippet I could add to fix this or remove part of this script to allow the party selection to return?
It is the select ally portion I am having issues with or at least that is the image I see at this time.
I wonder if it needs a refresh or an added update?
What else may keep the left and right selection from working there?
line 391 starts a cursor wrap up and down area does a left and right wrap code need to be added?
but is says right and left wrap = false
and then up and down wrap?
Changed it to true and it still wouldn't move
Added a wrap left and right
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# Cursor Right# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=def cursor_right(wrap = false)cursor_down(wrap)cursor_right(wrap)end# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# Cursor Left# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=def cursor_left(wrap = false)cursor_up(wrap)cursor_left(wrap)endSaid stack level too deep
going to note out the down and up lines to see what happens next.
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# Cursor Right# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=def cursor_right(wrap = false)#cursor_down(wrap)cursor_right(wrap)end# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# Cursor Left# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=def cursor_left(wrap = false)#cursor_up(wrap)cursor_left(wrap)endAlso resulted in a stack too deep error
(All other selection of enemies and party members works fine and when I note out the script the project returns to working fine)
It has to be a conflict issue with another script I have in the project but due to the large quantity of scripts in my project and the lack of a more exact script issue system in ace this is my only option besides removing the enhanced command script all together)
What I am trying to determine what line or lines of this script would effect that function?
Is there a snippet I could add to fix this or remove part of this script to allow the party selection to return?
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# Soul Engine Ace - Enhanced Battle Commands# Author: Soulpour777# Version 1.0# Description: Creates transparent windows for all Battle Commands and uses# pictures as background. The battle hud is also created to enhance battle# visibility for the game.# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# Features:#~ 1. Enhanced Battle Messaging#~ 2. Enhanced Window ActorCommand#~ 3. Enhanced Window PartyCommand#~ 4. Enhanced Window Battle, Skill, Enemy, Actor and Help#~ 5. Enhanced BattleManager Victory Processing#~ # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#~ # Terms of Use:#~ # ALL SEA Scripts are bound to my terms of use. The script can not be used#~ # for commercial projects without author's license.#~ # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#~ For Commercial Use:# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#~ The script license is required to use the script commercially. This license means that I (SoulPour777) acknowledge the user on using my scripts in your project. This script license is issued per script use or per project. If the script is to be used on multiple projects, the user must pay for them separately.#~ Updates or Bug Fixes are accepted. These updates or bug fixes are also charged.#~ Credit SoulPour777 for the script on your project.#~ Preserve the Script Headers and Notes.#~ Requested Scripts has a higher price that the scripts that are already available on my website.# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#~ For Non-Commercial Use:# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#~ You are free to use the script on any non-commercial projects.#~ You are free to adapt the script. Any modifications are allowed as long as it is provided as a note on the script.#~ Credits to SoulPour777 for the script.#~ Preserve the Script Header.#~ Claiming the script as your own is prohibited.# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#==============================================================================# ** BattleManager#------------------------------------------------------------------------------# This module manages battle progress.#==============================================================================module BattleManager# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# Reposition Message# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=def self.battle_start$game_system.battle_count += 1$game_party.on_battle_start$game_troop.on_battle_start$game_troop.enemy_names.each do |name|create_victory_image$game_message.background = 2$game_message.position = 0$game_message.add(sprintf("\n" + Vocab::Emerge, name))endif @preemptive$game_message.add(sprintf("\n" + Vocab:😛reemptive, $game_party.name))elsif @surprise$game_message.add(sprintf("\n" + Vocab::Surprise, $game_party.name))endwait_for_messagedispose_victory_imageend# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# Upgraded Process Victory Message# Added: Image Based Battle Message# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=def self.process_victoryplay_battle_end_mereplay_bgm_and_bgs$game_message.background = 2$game_message.position = 0$game_message.add("\n" + sprintf(Vocab::Victory, $game_party.name))create_victory_imagedisplay_expgain_goldgain_drop_itemsgain_expSceneManager.returndispose_victory_imagedispose_background_statusbattle_end(0)return trueend# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# Create Victory Image# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=def self.create_victory_image@victory_message = Sprite.new@victory_message.bitmap = Cache.system("battle_victory_message")@victory_message.x = 0@victory_message.y = 0@victory_message.opacity = 255end# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# Dispose Victory Image# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=def self.dispose_victory_image@victory_message.bitmap.dispose@victory_message.disposeend# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# Create Background Status# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=def self.create_background_status@sprite = [email hidden] = Cache.system("status_command")@sprite.x = [email protected] = 300# @sprite.z = -20end# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# Dispose Background Status# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=def [email hidden]@sprite.disposeend# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# Create Item# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=def self.create_battle_item@battle_item = Sprite.new@battle_item.bitmap = Cache.system("Battle_ItemSelectActor")end# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# Dispose Battle Item# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=def self.dispose_battle_item@battle_item.bitmap.dispose@battle_item.disposeend# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# Create Enemy Command# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=def self.create_battle_enemy@battle_enemy = Sprite.new@battle_enemy.bitmap = Cache.system("Battle_ItemSelectEnemy")end# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# Dispose Enemy Command# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=def self.dispose_battle_enemy@battle_enemy.bitmap.dispose@battle_enemy.disposeend# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# Display Experience# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=def self.display_expif $game_troop.exp_total > 0text = sprintf(Vocab:😮btainExp, $game_troop.exp_total)$game_message.background = 2$game_message.position = 0$game_message.add('\.' + text)endend#--------------------------------------------------------------------------# * Gold Acquisition and Display#--------------------------------------------------------------------------def self.gain_goldif $game_troop.gold_total > 0text = sprintf(Vocab:😮btainGold, $game_troop.gold_total)$game_message.background = 2$game_message.position = 0$game_message.add('\.' + text)$game_party.gain_gold($game_troop.gold_total)endwait_for_messageend#--------------------------------------------------------------------------# * Dropped Item Acquisition and Display#--------------------------------------------------------------------------def self.gain_drop_items$game_troop.make_drop_items.each do |item|$game_party.gain_item(item, 1)$game_message.add(sprintf("\n" + Vocab:😮btainItem, item.name))$game_message.background = 2$game_message.position = 0endwait_for_messageendend# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# BattleCommand# ----------------------------------------------------------------------------# This module holds values for all transparency of the Window Commands# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=module BattleCommandSTATUS_OPACITY = 50INDEX_VALUE = 96ITEM_WIDTH = 96ITEM_RECT_Y = 0PARTY_COMMAND_OPACITY = 0ACTOR_COMMAND_OPACITY = 0end#==============================================================================# ** Window_BattleActor#------------------------------------------------------------------------------# This window is for selecting an actor's action target on the battle screen.#==============================================================================class Window_BattleActor < Window_BattleStatus#--------------------------------------------------------------------------# * Object Initialization# info_viewport : Viewport for displaying information#--------------------------------------------------------------------------alias battle_actor_initialize initializealias battle_actor_hide hidedef initialize(info_viewport)battle_actor_initialize(info_viewport)self.opacity = 0end#--------------------------------------------------------------------------# * Show Window#--------------------------------------------------------------------------def showif @info_viewportBattleManager.create_battle_itemwidth_remain = Graphics.width - widthself.x = width_remain@info_viewport.rect.width = width_remainselect(0)endsuperend#--------------------------------------------------------------------------# * Hide Window#--------------------------------------------------------------------------def hidebattle_actor_hide()BattleManager.dispose_battle_itemendend#==============================================================================# ** Window_BattleEnemy#------------------------------------------------------------------------------# Window for selecting the enemy who is the action target on the battle# screen.#==============================================================================class Window_BattleEnemy < Window_Selectable#--------------------------------------------------------------------------# * Object Initialization# info_viewport : Viewport for displaying information#--------------------------------------------------------------------------# Alias Listings#--------------------------------------------------------------------------alias battle_skill_hide hidealias battle_enemy_initialize initialize#--------------------------------------------------------------------------def initialize(info_viewport)battle_enemy_initialize(info_viewport)self.opacity = 0end#--------------------------------------------------------------------------# * Show Window#--------------------------------------------------------------------------def showif @info_viewportBattleManager.create_battle_enemywidth_remain = Graphics.width - widthself.x = width_remain@info_viewport.rect.width = width_remainselect(0)endsuperend#--------------------------------------------------------------------------# * Hide Window#--------------------------------------------------------------------------def hidebattle_skill_hide()BattleManager.dispose_battle_enemyendend#==============================================================================# ** Window_BattleSkill#------------------------------------------------------------------------------# This window is for selecting skills to use in the battle window.#==============================================================================class Window_BattleSkill < Window_SkillList#--------------------------------------------------------------------------# * Object Initialization# info_viewport : Viewport for displaying information#--------------------------------------------------------------------------alias battle_skill_initialize initializedef initialize(help_window, info_viewport)battle_skill_initialize(help_window, info_viewport)self.opacity = 0end#--------------------------------------------------------------------------# * Show Window#--------------------------------------------------------------------------def showselect_last@help_window.showsuperend#--------------------------------------------------------------------------# * Hide Window#--------------------------------------------------------------------------def hide@help_window.hidesuperendend#==============================================================================# ** Window_BattleItem#------------------------------------------------------------------------------# This window is for selecting items to use in the battle window.#==============================================================================class Window_BattleItem < Window_ItemList#--------------------------------------------------------------------------# * Object Initialization# info_viewport : Viewport for displaying information#--------------------------------------------------------------------------alias battle_item_initialize initializedef initialize(help_window, info_viewport)battle_item_initialize(help_window, info_viewport)self.opacity = 0endend#==============================================================================# ** Window_BattleStatus#------------------------------------------------------------------------------# This window is for displaying the status of party members on the battle# screen.#==============================================================================class Window_BattleStatus < Window_Selectable# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# Alias Listings (initialize)# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=alias battle_status_init initialize# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# This is where the Battle Hud is created# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# Initialize# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=def initializebattle_status_init()self.opacity = BattleCommand::STATUS_OPACITYBattleManager.create_background_statusend# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# Item Rect# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=def item_rect(index)rect = Rect.new(0, 0, 0, 0)rect.width = BattleCommand::ITEM_WIDTHrect.height = self.contents.heightrect.x = index * BattleCommand::INDEX_VALUErect.y = BattleCommand::ITEM_RECT_Yreturn rectend# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# Cursor Right# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=def cursor_right(wrap = false)cursor_down(wrap)end# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# Cursor Left# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=def cursor_left(wrap = false)cursor_up(wrap)end# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# Draw Item# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=def draw_item(index)rect = item_rect(index)self.contents.clear_rect(rect)self.contents.font.color = normal_coloractor = $game_party.members[index]draw_actor_face(actor, rect.x, 0)draw_actor_name(actor, rect.x, 0)draw_actor_icons(actor, rect.x, 24, 48)draw_actor_hp(actor, rect.x, 54, 94)draw_actor_mp(actor, rect.x, 74, 94)endend#==============================================================================# ** Window_PartyCommand#------------------------------------------------------------------------------# This window is used to select whether to fight or escape on the battle# screen.#==============================================================================class Window_PartyCommand < Window_Command#--------------------------------------------------------------------------# * Object Initialization#--------------------------------------------------------------------------alias party_command_initialize initializedef initializeparty_command_initialize()self.opacity = BattleCommand:😛ARTY_COMMAND_OPACITYendend#==============================================================================# ** Window_ActorCommand#------------------------------------------------------------------------------# This window is for selecting an actor's action on the battle screen.#==============================================================================class Window_ActorCommand < Window_Command#--------------------------------------------------------------------------# * Object Initialization#--------------------------------------------------------------------------alias actor_command_initialize initializedef initializeactor_command_initialize()self.opacity = BattleCommand::ACTOR_COMMAND_OPACITYendend#==============================================================================# ** Scene_Battle#------------------------------------------------------------------------------# This class performs battle screen processing.#==============================================================================class Scene_Battle < Scene_Basealias scene_battle_start startdef startscene_battle_start()@help_window.opacity = 0@help_window.y = 37endend
It is the select ally portion I am having issues with or at least that is the image I see at this time.
I wonder if it needs a refresh or an added update?
What else may keep the left and right selection from working there?
line 391 starts a cursor wrap up and down area does a left and right wrap code need to be added?
Code:
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# Cursor Right# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=def cursor_right(wrap = false)cursor_down(wrap)end# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# Cursor Left# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=def cursor_left(wrap = false)cursor_up(wrap)end
but is says right and left wrap = false
and then up and down wrap?
Changed it to true and it still wouldn't move
Added a wrap left and right
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# Cursor Right# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=def cursor_right(wrap = false)cursor_down(wrap)cursor_right(wrap)end# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# Cursor Left# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=def cursor_left(wrap = false)cursor_up(wrap)cursor_left(wrap)endSaid stack level too deep
going to note out the down and up lines to see what happens next.
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# Cursor Right# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=def cursor_right(wrap = false)#cursor_down(wrap)cursor_right(wrap)end# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# Cursor Left# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=def cursor_left(wrap = false)#cursor_up(wrap)cursor_left(wrap)endAlso resulted in a stack too deep error