VXAce SP1 Bug Fix

● ARCHIVED · READ-ONLY
Started by Archeia 13 posts View original ↗
  1. This was released a while back in the TKool website. While I'm only aware of the bug fix for erase picture, I wasn't familiar of some of the bugs. I'm not sure if some of these bugs are fixed or we have already applied, so for safety's sake...Here you go.  :D

    Code:
    #==============================================================================# ■ VXAce_SP1#------------------------------------------------------------------------------# This is an official bug fix for the default scripts.# Place this above Materials.#============================================================================== #------------------------------------------------------------------------------# 【Bug Fixes】#------------------------------------------------------------------------------# ● Event command "Change State" when you simultaneously add and remove the same # state, thereafter add that state fails.# ● Event Command "Show Animation" the animation and the map scroll are not # synched.# ● Auto battle, action not chosen correctly.# ● When an equipment is removed because you can't equip it anymore, and as a # result another equipment needs to be removed, that equipment grows ?# ● Event comand Erase picture fix. The game slows down as a whole.# ● Move route option "Jump if not possible", during the execution if you touch # an event with the trigger "Player touch" that event is queued. # ● Magic reflection skill does not reflect the state validity.# ● Font setting, when putting bold or italic as default, that setting changes # on screen change#------------------------------------------------------------------------------class Game_Battler  attr_accessor :magic_reflection  #--------------------------------------------------------------------------  # ● 敵対関係の判定  #--------------------------------------------------------------------------  alias vxace_sp1_opposite? opposite?  def opposite?(battler)    vxace_sp1_opposite?(battler) || battler.magic_reflection  endend#------------------------------------------------------------------------------class Game_Actor  #--------------------------------------------------------------------------  # ● 装備できない装備品を外す  #     item_gain : 外した装備品をパーティに戻す  #--------------------------------------------------------------------------  alias vxace_sp1_release_unequippable_items release_unequippable_items  def release_unequippable_items(item_gain = true)    loop do      last_equips = equips.dup      vxace_sp1_release_unequippable_items(item_gain)      return if equips == last_equips    end  end  #--------------------------------------------------------------------------  # ● 自動戦闘時の戦闘行動を作成  #--------------------------------------------------------------------------  def make_auto_battle_actions    @actions.size.times do |i|      @actions[i] = make_action_list.max_by {|action| action.value }    end  endend#------------------------------------------------------------------------------class Game_Player  #--------------------------------------------------------------------------  # ● マップイベントの起動  #     triggers : トリガーの配列  #     normal   : プライオリティ[通常キャラと同じ]かそれ以外か  #--------------------------------------------------------------------------  alias vxace_sp1_start_map_event start_map_event  def start_map_event(x, y, triggers, normal)    return if $game_map.interpreter.running?    vxace_sp1_start_map_event(x, y, triggers, normal)  endend#------------------------------------------------------------------------------class Game_Picture  #--------------------------------------------------------------------------  # ● ピクチャの消去  #--------------------------------------------------------------------------  alias vxace_sp1_erase erase  def erase    vxace_sp1_erase    @origin = 0  endend#------------------------------------------------------------------------------class Game_Interpreter  #--------------------------------------------------------------------------  # ● ステートの変更  #--------------------------------------------------------------------------  alias vxace_sp1_command_313 command_313  def command_313    vxace_sp1_command_313    $game_party.clear_results  endend#------------------------------------------------------------------------------class Sprite_Character  #--------------------------------------------------------------------------  # ● 位置の更新  #--------------------------------------------------------------------------  alias vxace_sp1_update_position update_position  def update_position    move_animation(@character.screen_x - x, @character.screen_y - y)    vxace_sp1_update_position  end  #--------------------------------------------------------------------------  # ● アニメーションの移動  #--------------------------------------------------------------------------  def move_animation(dx, dy)    if @animation && @animation.position != 3      @ani_ox += dx      @ani_oy += dy      @ani_sprites.each do |sprite|        sprite.x += dx        sprite.y += dy      end    end  endend#------------------------------------------------------------------------------class Sprite_Picture  #--------------------------------------------------------------------------  # ● 転送元ビットマップの更新  #--------------------------------------------------------------------------  alias vxace_sp1_update_bitmap update_bitmap  def update_bitmap    if @picture.name.empty?      self.bitmap = nil    else      vxace_sp1_update_bitmap    end  endend#------------------------------------------------------------------------------class Window_Base  #--------------------------------------------------------------------------  # ● フォント設定のリセット  #--------------------------------------------------------------------------  alias vxace_sp1_reset_font_settings reset_font_settings  def reset_font_settings    vxace_sp1_reset_font_settings    contents.font.bold = Font.default_bold    contents.font.italic = Font.default_italic  endend#------------------------------------------------------------------------------class Scene_Battle  #--------------------------------------------------------------------------  # ● 魔法反射の発動  #--------------------------------------------------------------------------  alias vxace_sp1_invoke_magic_reflection invoke_magic_reflection  def invoke_magic_reflection(target, item)    @subject.magic_reflection = true    vxace_sp1_invoke_magic_reflection(target, item)    @subject.magic_reflection = false  endend
  2. So... So wonderful! ;^;
  3. I believe that these bug fixes are already included in Ace (English version only).
  4. Napoleon said:
    I believe that these bug fixes are already included in Ace (English version only).
    Like I said though, I only know of the picture bug fix applied but not the rest. :'o

    So it's there just in case :D
  5. I checked them all and they are all included in the English version. Please correct me if this is not the case.

    So I rather not include this SP1 because it would only perform 'double actions' if you already have it build-in.

    I still recommend people to use these fixes though: http://forums.rpgmakerweb.com/index.php?/topic/1131-rgss3-unofficial-bugfix-snippets/

    Edit:

    #-------------------------------------------------------------------------- # * Erase Picture #-------------------------------------------------------------------------- def erase @name = "" @origin = 0 end.....  #--------------------------------------------------------------------------  # * Update Transfer Origin Bitmap  #--------------------------------------------------------------------------  def update_bitmap    if @picture.name.empty?      self.bitmap = nil    else      self.bitmap = Cache.picture(@picture.name)    end  endIs already build-in into my default code so the picture bug should also already be included in the English version right?
  6. @Napoleon:

    I have both in my default 1.01a english version as well.
  7. Napoleon said:
    I checked them all and they are all included in the English version. Please correct me if this is not the case.

    So I rather not include this SP1 because it would only perform 'double actions' if you already have it build-in.

    I still recommend people to use these fixes though: http://forums.rpgmakerweb.com/index.php?/topic/1131-rgss3-unofficial-bugfix-snippets/

    Is already build-in into my default code so the picture bug should also already be included in the English version right?
    The picture fix was already implemented in 1.02a. Either way, the SP1 is included in mine since I use the Japanese version for the longest time and some outdated scripts with customs on it so I can't exactly replace the default scripts anymore :D
  8. my version is a 1.0.1.2

    is necessary add this script?
  9. I only recommend the use of this script in case that you are using the legal Japanese version...

    In the past i reported some issues related with the use of this script with the English version.

    Kread Ex said that the problems found in the Japanese version were fixed in the English so this patch is not needed.

    Excuse me for my bad English.
  10. I think that fixed a serious bug I was having with my project. The game would run at 60FPS, but the maps would jitter and freeze every 2 seconds and it was just horrible to play! Now it's gone. I hope for good, but anyway, if someone is having jitter problems with their games, try this out! ;)

    P.S. Also, don't forget to start a new clean save if you install the script!
  11. @Archeia

    The formatting for this script is broken!
    :(
  12. Archeia said:
    you don't need it. It's part of VXA
    Thanks :)