VXAce SP1 Bug Fix

Archeia

Level 99 Demi-fiend
Developer
Joined
Mar 1, 2012
Messages
14,761
Reaction score
14,653
First Language
Filipino
Primarily Uses
VNM
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
 
Last edited by a moderator:

Napoleon

Veteran
Veteran
Joined
Dec 29, 2012
Messages
869
Reaction score
96
First Language
Dutch
Primarily Uses
I believe that these bug fixes are already included in Ace (English version only).
 

Archeia

Level 99 Demi-fiend
Developer
Joined
Mar 1, 2012
Messages
14,761
Reaction score
14,653
First Language
Filipino
Primarily Uses
VNM
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
 
Last edited by a moderator:

Napoleon

Veteran
Veteran
Joined
Dec 29, 2012
Messages
869
Reaction score
96
First Language
Dutch
Primarily Uses
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?
 
Last edited by a moderator:

cabfe

Cool Cat
Veteran
Joined
Jun 13, 2013
Messages
2,334
Reaction score
2,483
First Language
French
Primarily Uses
RMVXA
@Napoleon:

I have both in my default 1.01a english version as well.
 

Archeia

Level 99 Demi-fiend
Developer
Joined
Mar 1, 2012
Messages
14,761
Reaction score
14,653
First Language
Filipino
Primarily Uses
VNM
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
 

tiagoms

Veteran
Veteran
Joined
May 19, 2014
Messages
181
Reaction score
4
Primarily Uses
my version is a 1.0.1.2

is necessary add this script?
 
Joined
Apr 30, 2012
Messages
216
Reaction score
35
First Language
Spanish
Primarily Uses
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.
 
Last edited by a moderator:

fbu

Villager
Member
Joined
Mar 22, 2013
Messages
10
Reaction score
11
First Language
Portuguese
Primarily Uses
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!
 
Last edited by a moderator:

Nightblade50

Developer of "Delta Origins"
Veteran
Joined
Nov 10, 2016
Messages
2,141
Reaction score
4,258
First Language
English, French
Primarily Uses
RMVXA
@Archeia

The formatting for this script is broken!
:(
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

I have to make a custom tree for my FSM game and I'm nervous I won't get it right.
Finally got the tablet picture! :LZSsmile:
Working hard on my Mode7 interiors in between calls at work!
A good idea rise a moment before falling asleep, and survive the second coffee the day next morning.
Playtesting for Battle Castle is done, demo time for me was roughly 6 hours and 20 minutes. I'm going to pass it on to a few friends first, and after getting some feedback will be posting an official topic.

Forum statistics

Threads
97,913
Messages
947,842
Members
129,159
Latest member
Nalkam
Top