Fixed most my issues...Battle System won't work anymore :/

This is the new updated Scripts.rxdata ... Battle system won't work at all :/

http://www.filedropper.com/scripts_5

Can't make the Daily Life HUD appear either :/...
Issue happens with the ''Zenvirzan'' script :/ division by 0
I don't have the graphic files to test it.
But the divided by 0 thing, if it's like trying to divide a variable like width or height when it's possible they could be 0 just change it to multiplication
divided by 2 | Multiply by 0.5
divided by 3 | Multiply by 0.33
divided by 4 | Multiply by 0.25

(something.width * 0.5)
remember to write decimals with 0 in front because ".5" is a syntax error.

edit:
Oh and that fact that it's trying to draw something on screen that has 0 width or height could be a clue.
i didn't have this issue before and it's the SP bar, i can send you the graphics files if you want.
http://www.filedropper.com/graphics

ZenVirZan Script is from ZenVirZan he tried to fix my SP/HP bars in the battle system, now the battle system doesn't work, and when it worked, escaping = crash...

And i can't get the Time HUD working for the Daily Life scripts from Moonpearl
Reeeeeeeee

I keep finding stuff wrong with the battle system
Both Defend and Escape didn't work, crashing the game. I think I fixed it.

Then I discovered if you cancel out from target-select you don't go back to the command window, you're just stuck. So I'm looking into that now.
coyotecraft wrote:
Reeeeeeeee

I keep finding stuff wrong with the battle system
Both Defend and Escape didn't work, crashing the game. I think I fixed it.

Then I discovered if you cancel out from target-select you don't go back to the command window, you're just stuck. So I'm looking into that now.
Alright so I've got everything here to start going through it, but you seem to have made some significant progress. Would you be able to alias your changes coyote or should I leave it to you?

EDIT: When I said put my script above main, I meant literally as the script above it. That's why the Status screen wasn't working.
Wow really thanks guys for the help, it's well appreciated :D

Also ZenVirZan since he's doing the battlescript perhaps you could try the Time HUD with the Daily Life script...
And perhaps have a way to show ''Region Of Map'' instead of ''Map Name'' in location...If you want ^^.
I made it show regions instead of the map name. It'll default to map name if region is not specified.
Please put this ZenVirZan script directly above main. You can remove the old one.
  1. class Window_Base
  2.   def draw_actor_hp(actor, x, y, width = 144, text = true)
  3.     # Draw hp bar
  4.     bitmap = RPG::Cache.acms_menusprite("HP")
  5.     rect = Rect.new(x + BAR_PADDING, y, (width - 2 * BAR_PADDING) * actor.hp / actor.maxhp, bitmap.height)
  6.     self.contents.stretch_blt(rect, bitmap, Rect.new(0, 0,
  7.       bitmap.width * actor.hp / actor.maxhp, bitmap.height), opacity)
  8.     bitmap = RPG::Cache.acms_menusprite("Gauge")
  9.     rect = []
  10.     w = bitmap.width / 3
  11.     for i in 0...3
  12.       rect << Rect.new(i * w, 0, w, bitmap.height)
  13.     end
  14.     self.contents.blt(x, y, bitmap, rect[0], opacity)
  15.     i = w
  16.     while i < width - 2 * w
  17.       self.contents.blt(x + i, y, bitmap, rect[1], opacity)
  18.       i += w
  19.     end
  20.     rect[1].width = (width - 1) % w + 1
  21.     self.contents.blt(x + i, y, bitmap, rect[1], opacity)
  22.     i += (width - 1) % w + 1
  23.     self.contents.blt(x + i, y, bitmap, rect[2], opacity)
  24.     # Draw hp name
  25.     rect = self.contents.text_size($data_system.words.hp)
  26.     self.contents.draw_text(x, y + (bitmap.height - rect.height) / 2, 32, 32, $data_system.words.hp, opacity)
  27.    
  28.     self.contents.font.color = Color.new(255,255,255)
  29.     sz = self.contents.font.size
  30.     self.contents.font.size = 18
  31.     self.contents.font.bold = true
  32.     self.contents.draw_text_outline(x-16, y-8, width, 32, sprintf("%4d/%4d", actor.hp, actor.maxhp),2)
  33.     self.contents.font.size = sz
  34.     self.contents.font.bold = false
  35.   end
  36.  
  37.   def draw_actor_sp(actor, x, y, width = 144, text = true)
  38.     # Draw sp bar
  39.     bitmap = RPG::Cache.acms_menusprite("SP")
  40.     rect = Rect.new(x + BAR_PADDING, y, (width - 2 * BAR_PADDING) * actor.sp / actor.maxsp, bitmap.height)
  41.     self.contents.stretch_blt(rect, bitmap, Rect.new(0, 0,
  42.       bitmap.width * actor.sp / actor.maxsp, bitmap.height), opacity)
  43.     bitmap = RPG::Cache.acms_menusprite("Gauge")
  44.     rect = []
  45.     w = bitmap.width / 3
  46.     for i in 0...3
  47.       rect << Rect.new(i * w, 0, w, bitmap.height)
  48.     end
  49.     self.contents.blt(x, y, bitmap, rect[0], opacity)
  50.     i = w
  51.     while i < width - 2 * w
  52.       self.contents.blt(x + i, y, bitmap, rect[1], opacity)
  53.       i += w
  54.     end
  55.     rect[1].width = (width - 1) % w + 1
  56.     self.contents.blt(x + i, y, bitmap, rect[1], opacity)
  57.     i += (width - 1) % w + 1
  58.     self.contents.blt(x + i, y, bitmap, rect[2], opacity)
  59.     # Draw sp name
  60.     rect = self.contents.text_size($data_system.words.sp)
  61.     self.contents.draw_text(x, y + (bitmap.height - rect.height) / 2, 32, 32, $data_system.words.sp, opacity)
  62.    
  63.     self.contents.font.color = Color.new(255,255,255)
  64.     sz = self.contents.font.size
  65.     self.contents.font.size = 18
  66.     self.contents.font.bold = true
  67.     self.contents.draw_text_outline(x-16, y-8, width, 32, sprintf("%4d/%4d", actor.sp, actor.maxsp),2)
  68.     self.contents.font.bold = false
  69.     self.contents.font.size = sz
  70.   end
  71. end
  72.  
  73. class Bitmap
  74.   def draw_text_outline(x,y,w,h,s,align=0)
  75.     c = font.color.dup
  76.     font.color = Color.new(0,0,0)
  77.     draw_text(x,  y+1 ,w  ,h,s,align)
  78.     draw_text(x+2,y+1 ,w,h,s,align)
  79.    
  80.     draw_text(x+1,y   ,w,h  ,s,align)
  81.     draw_text(x+1,y+2 ,w,h,s,align)
  82.    
  83.     font.color = c
  84.     mp_draw_text(x+1,  y+1 ,w,h,s,align)
  85.   end
  86. end
  87.  
  88.  
  89. class Window_Status < Window_Base
  90.   #--------------------------------------------------------------------------
  91.   # * Refresh
  92.   #--------------------------------------------------------------------------
  93.   def refresh
  94.     self.contents.clear
  95.     draw_actor_graphic(@actor, 16, 48)
  96.     draw_actor_name(@actor, 40, 0)
  97.     #draw_actor_class(@actor, 160, 0)
  98.     draw_actor_level(@actor, 160, 0)
  99.     draw_actor_state(@actor, 224, 0)
  100.     draw_actor_hp(@actor, 64, 44, 192, true)
  101.     draw_actor_sp(@actor, 64, 64, 192, true)
  102.    
  103.     self.contents.font.color = system_color
  104.     self.contents.draw_text(0, 88, 40, 32, "EXP")
  105.     self.contents.draw_text(128, 88, 40, 32, "NEXT")
  106.     self.contents.font.color = normal_color
  107.     self.contents.draw_text(24, 88, 80, 32, @actor.exp_s, 2)
  108.     self.contents.draw_text(152, 88, 80, 32, @actor.next_rest_exp_s, 2)
  109.     draw_actor_parameter(@actor, 0, 120, 0)
  110.     draw_actor_parameter(@actor, 0, 144, 1)
  111.     draw_actor_parameter(@actor, 0, 168, 2)
  112.     draw_actor_parameter(@actor, 0, 192, 3)
  113.     draw_actor_parameter(@actor, 0, 216, 4)
  114.     draw_actor_parameter(@actor, 0, 240, 5)
  115.     draw_actor_parameter(@actor, 0, 264, 6)
  116.     draw_item_name($data_weapons[@actor.weapon_id], 120, 120, 136)
  117.     draw_item_name($data_armors[@actor.armor1_id], 120, 152, 136)
  118.     draw_item_name($data_armors[@actor.armor2_id], 120, 184, 136)
  119.     draw_item_name($data_armors[@actor.armor3_id], 120, 216, 136)
  120.     draw_item_name($data_armors[@actor.armor4_id], 120, 248, 136)
  121.   end
  122. end
  123.  
  124. class Game_Map
  125.   attr_reader :cur_reg
  126. end
  127.  
  128. class Window_Base
  129.   def draw_info(type, align)
  130.     icon = nil
  131.     text = nil
  132.     number = nil
  133.     case type
  134.     # Gold
  135.     when GOLD
  136.       icon = ICON_GOLD
  137.       number = $game_party.gold
  138.       text = $data_system.words.gold
  139.       size = 32 + SPACING_BIG * (number.to_s.size + 1) + self.contents.text_size(text).width
  140.       fnt = FNT_GOLD
  141.     # Location
  142.     when LOCATION
  143.       icon = ICON_LOCATION
  144.       text = zen_get_location_name
  145.       size = 32 + self.contents.text_size(text).width
  146.     # Time
  147.     when TIME
  148.       icon = ICON_TIME
  149.       t = Graphics.frame_count / Graphics.frame_rate
  150.       number = sprintf("%02d:%02d:%02d", t / 3600, (t / 60) % 60, t % 60)
  151.       size = 32 + SPACING_BIG * number.to_s.size
  152.       fnt = FNT_TIME
  153.     end
  154.     case align
  155.     # Left
  156.     when 0
  157.       x = 12
  158.     # Middle
  159.     when 1
  160.       x = (self.contents.width - size) / 2
  161.     # Right
  162.     when 2
  163.       x = self.contents.width - size - 12
  164.     end
  165.     # Draw icon
  166.     if icon
  167.       self.contents.blt(x, (self.contents.height - 24) / 2, icon, icon.rect)
  168.       x += 32
  169.     end
  170.     # Draw number
  171.     if number
  172.       self.contents.draw_number(x, (self.contents.height - fnt.height) / 2, number, fnt, SPACING_BIG)
  173.       x += SPACING_BIG * (number.to_s.size + 1)
  174.     end
  175.     # Draw text
  176.     if text
  177.       rect = self.contents.text_size(text)
  178.       self.contents.draw_text(x, (self.contents.height - rect.height) / 2, 200, 32, text, 0)
  179.       x += rect.width
  180.     end
  181.   end
  182.  
  183.   def zen_get_location_name
  184.     $game_map.check_current_region
  185.     regions = [$data_mapinfos[$game_map.map_id].name]
  186.     if $game_map.cur_reg.length > 0
  187.       regions = []
  188.       for i in $game_map.cur_reg
  189.         regions.push REGIONS.regions($game_map.map_id)[i][0]
  190.       end
  191.     end
  192.     return regions.join(", ")
  193.   end
  194.    
  195.    
  196. end
Expand to see the code.
No, I don't think I fixed the root of the problem.

Like, 'defend' and 'escape' weren't ending the turn. The command window comes up for same character again and selecting anything the second time crashed the game; unless you pressed 'Right' then it would go to the next character and perform the command you selected the first time.
So I just rigged it in a way that made sure an action was made and the turn ended.

I got the command window to come back after canceling from the enemy select.
But when I cancel an attack and choose defend, I'm getting the same error message again 'undefined method "current_action" for nil.'
And if I try to select 'escape' after canceling an attack, it doesn't do anything. Like it's not coded to do anything.
I'm thinking by canceling an attack the game script returned to an older method, because there are measures in place to not do anything in instances of nil.
But yet the script editor shows it stopped on the aliased method. So I'm not sure what's going on.
Remove the Old ZenVirZan Script?
Regions work fine! Thanks.

Now for the Time HUD and the Battle system...

Coyote would it be easier for you to make a new one aslong as i have the same features.?
All i need is Active Time Bar (Based on the Speed Stat (Agility in RMXP's stats)
I need it to calculate turns (so that i can script events that happen at the turn i want it to.
It needs to handle ''Double Attack'' (Which I've made a skill+ common event for a character) : Common event raises speed to max, perform attack, twice (forced action) then reset speed to normal... Idk if theres a better method for a skill to do that.

If you can fix this one then everything is fine too,
new zenvirzan script crashes Stats, Skills and Party Menu (any ways of locking character 1 in Party Menu so it can't be switched??? and/or Lock/unlock Character slots 1 2 3 4 in game menu for quest characters and so on?

http://www.filedropper.com/scripts_1

This contains all my most recent edits (I'll quit touching them unless it's scripts from you guys)
Cassandrainbows wrote:
new zenvirzan script crashes Stats, Skills and Party Menu (any ways of locking character 1 in Party Menu so it can't be switched??? and/or Lock/unlock Character slots 1 2 3 4 in game menu for quest characters and so on?

http://www.filedropper.com/scripts_1

This contains all my most recent edits (I'll quit touching them unless it's scripts from you guys)
The Stats, Skills and Party menu all work fine for me using that set of scripts.
I think I got the battle system debugged.
You can replace the Scene_Battle above the LVreq script with this

  1. #Coyotecraft Edits:
  2. #       The check_command alias was combined with the original
  3. #       and the methods like is_a_attacking? seemed unnecessary
  4. #       so I removed them.
  5. #
  6. #       Now, when pressing Left or Right to change active characters
  7. #       the @active_battler.wait is set to 0 encase an action was canceled.
  8. #
  9. #       Fixed a bug where canceling enemy select didn't bring back the menu.
  10. #      
  11. #
  12. #--------------------------------------------------------------------------
  13. # Begin SDK Enabled Check
  14. #--------------------------------------------------------------------------
  15. if SDK.state('CTB Battle System') == true
  16.  
  17. class Scene_Battle
  18.   #--------------------------------------------------------------------------
  19.   # * Main Windows
  20.   #--------------------------------------------------------------------------
  21.   def main_windows
  22.     # Make other windows
  23.     @party_command_window = Window_PartyCommand.new
  24.     @help_window = Window_Help.new
  25.     @help_window.back_opacity = 160
  26.     @help_window.visible = false
  27.     @status_window = Window_BattleStatus.new
  28.     @message_window = Window_Message.new
  29.   end
  30.   #--------------------------------------------------------------------------
  31.   # * Troop Setup
  32.   #--------------------------------------------------------------------------
  33.   alias tatb_main_troop main_troop
  34.   def main_troop
  35.     tatb_main_troop
  36.     reset_at
  37.     initialize_at
  38.     setup_bars
  39.     # Set Turns to 1
  40.     $game_temp.battle_turn = 1
  41.   end
  42.   #--------------------------------------------------------------------------
  43.   # * Set Commands
  44.   #--------------------------------------------------------------------------
  45.   alias tatb_commands_init commands_init
  46.   def commands_init
  47.     tatb_commands_init
  48.     @commands << 'Escape'
  49.     @commands.flatten!
  50.   end
  51.   #--------------------------------------------------------------------------
  52.   # * Reset At
  53.   #--------------------------------------------------------------------------
  54.   def reset_at
  55.     ($game_party.actors + $game_troop.enemies).each do |battler|
  56.       battler.at = 0
  57.       battler.at_rate = 0
  58.       battler.at_multiplier = 1.0
  59.       battler.action_able = false
  60.       battler.wait = 0
  61.       battler.battle_turns = 0
  62.       battler.current_action.clear
  63.     end
  64.   end
  65.   #--------------------------------------------------------------------------
  66.   # * Initialize At
  67.   #--------------------------------------------------------------------------
  68.   def initialize_at
  69.     # Initialize Speed Array
  70.     speed_array = []
  71.     # Get All Battlers
  72.     battlers = $game_party.actors + $game_troop.enemies
  73.     # Run Through each battler
  74.     battlers.each do |battler|
  75.       # If Speed Setting
  76.       if Ctb_Setup::Base_Speed == 0
  77.         # Make Action Speed
  78.         battler.make_action_speed
  79.         # Push Speed Onto Speed Array
  80.         speed_array << battler.current_action.speed
  81.       # Else then Agi Setting
  82.       else
  83.         # Push Agililty
  84.         speed_array << battler.agi
  85.       end
  86.     end
  87.     # Get Maximum Speed
  88.     max = speed_array.max
  89.     # Get Speed Constant
  90.     speed = Ctb_Setup::At_Max / Ctb_Setup::Speed.to_f
  91.     # Edit Values in Array to (speed) / (max speed) * speed
  92.     speed_array.collect! {|object| object / max.to_f * speed}
  93.     # Set At Rate for Each Battler
  94.     battlers.each_with_index {|battler, i| battler.at_rate = speed_array[i]}
  95.   end
  96.   #--------------------------------------------------------------------------
  97.   # * Setup Bars
  98.   #--------------------------------------------------------------------------
  99.   def setup_bars
  100.     # Get Flag
  101.     flag = $game_system.battle_start_flag
  102.     # Return if 0: None
  103.     return if flag == 0
  104.     # Get Battlers
  105.     battlers = flag < 0 ? $game_troop.enemies : $game_party.actors
  106.     # Get All Battlers if flag > 100
  107.     if flag > 100
  108.       battlers = $game_troop.enemies + $game_party.actors
  109.       # Return to 0-9
  110.       flag -= 100
  111.     end
  112.     # Absolute Value (Make Positive Integer)
  113.     flag = flag.abs
  114.     # Run Through each battler
  115.     battlers.each do |battler|
  116.       case flag
  117.       when 1 # Little 0-25 percent fill
  118.         # Get Percentage rounded to two deicmal places
  119.         amount = rand(2501) / 100.0
  120.       when 2 # Some 25-50 percent fill
  121.         # Get Percentage rounded to two deicmal places
  122.         amount = rand(2501) / 100.0 + 25
  123.       when 3 # Most 50-75 percent fill
  124.         # Get Percentage rounded to two deicmal places
  125.         amount = rand(2501) / 100.0 + 50
  126.       when 4 # Random 0-99 percent fill
  127.         # Get Percentage rounded to two deicmal places
  128.         amount = rand(9901) / 100.0
  129.       when 5 # Speed ??? percent fill (depends on agi/speed)
  130.         # Initialize temporary block variable speed
  131.         speed = 0
  132.         # Run Through Each Battler
  133.         ($game_party.actors + $game_troop.enemies).each do |sub_battler|
  134.           # If Speed Setting
  135.           if Ctb_Setup::Base_Speed == 0
  136.             # Push Speed Onto Speed Array
  137.             speed += sub_battler.current_action.speed
  138.           # Else then Agi Setting
  139.           else
  140.             # Push Agililty
  141.             speed += sub_battler.agi
  142.           end
  143.         end
  144.         # If Speed Setting
  145.         if Ctb_Setup::Base_Speed == 0
  146.           # Push Speed Onto Speed Array
  147.           amount = battler.current_action.speed.to_f / speed * 100
  148.         # Else then Agi Setting
  149.         else
  150.           # Push Agililty
  151.           amount = battler.agi.to_f / speed * 100
  152.         end
  153.       when 6 # Exactly 25%
  154.         # 25%
  155.         amount = 25.0
  156.       when 7 # Exactly 50%
  157.         # 50%
  158.         amount = 50.0
  159.       when 8 # Exactly 75%
  160.         # 75%
  161.         amount = 75.0
  162.       when 9 # Exactly 99%
  163.         # 99%
  164.         amount = 99.0
  165.       end
  166.       # Convert to amount
  167.       gain_at = amount / 100 * Ctb_Setup::At_Max
  168.       # Add To At
  169.       battler.at += gain_at
  170.     end
  171.   end  
  172.   #--------------------------------------------------------------------------
  173.   # * Frame Update
  174.   #--------------------------------------------------------------------------
  175.   def update
  176.     bars_fill
  177.     update_event
  178.     update_system
  179.     update_objects
  180.     update_transition
  181.     # If message window is showing
  182.     return if $game_temp.message_window_showing
  183.     # If effect is showing
  184.     return if @spriteset.effect?
  185.     update_scene_exit
  186.     update_abort
  187.     return if update_waiting
  188.     update_phase
  189.   end
  190.   #--------------------------------------------------------------------------
  191.   # * Waiting Update
  192.   #--------------------------------------------------------------------------
  193.   def update_waiting
  194.     # If waiting
  195.     if @wait_count > 0
  196.       # Decrease wait count
  197.       @wait_count -= 1
  198.       return true
  199.     end
  200.     # If battler forcing an action doesn't exist,
  201.     # and battle event is running
  202.     if $game_temp.forcing_battler == nil and
  203.        $game_system.battle_interpreter.running?
  204.       return true
  205.     end
  206.   end
  207.   #--------------------------------------------------------------------------
  208.   # * Bars Fill
  209.   #--------------------------------------------------------------------------
  210.   def bars_fill
  211.     # Skip if action performed or victory
  212.     return if @phase == 5 or @phase == 4
  213.     # Get All Battlers
  214.     battlers = $game_party.actors + $game_troop.enemies
  215.     # Run Through Each Battler
  216.     battlers.each do |battler|
  217.       # Skip if not movable
  218.       next if not battler.movable?
  219.       # If not Battler Action Made
  220.       if not battler.inputable? and not battler.action_made?
  221.         # Fill At Bar (see <game_battler>.at_fill)
  222.         battler.at_fill
  223.       # If Action Made
  224.       elsif battler.action_made? and battler.wait > 0
  225.         # Decrease Battler Wait
  226.         battler.wait -= 1
  227.       end
  228.       # If At Filled but not action able
  229.       if battler.at_filled? and not battler.action_able
  230.         # Set Action Able Flag
  231.         battler.action_able = true
  232.         # Play Filled At Se if Actor
  233.         if battler.is_a?(Game_Actor)
  234.           $game_system.se_play(Ctb_Setup::Full_At_Se)
  235.         end
  236.       # If At Bar not filled
  237.       elsif not battler.at_filled?
  238.         # Set Action Able Flag
  239.         battler.action_able = false
  240.       end
  241.     end
  242.   end
  243.   #--------------------------------------------------------------------------
  244.   # * Start Party Command Phase
  245.   #--------------------------------------------------------------------------
  246.   alias tatb_start_phase2 start_phase2
  247.   def start_phase2
  248.     tatb_start_phase2
  249.     # Disable party command window
  250.     @party_command_window.active = false
  251.     @party_command_window.visible = false
  252.     # Start Phase 3
  253.     start_phase3
  254.   end
  255.   #--------------------------------------------------------------------------
  256.   # * Start Party Command Phase
  257.   #--------------------------------------------------------------------------
  258.   alias tatb_start_phase5 start_phase5
  259.   def start_phase5
  260.     # The Usual
  261.     tatb_start_phase5
  262.     # Turn off All Visible Objects Except Status, Message, and Spriteset
  263.     self.instance_variables.each do |variable|
  264.       # Get Object
  265.       object = eval(variable)
  266.       # Skip if Status Message or Spriteset or no response to active and visible
  267.       flag = object.is_a?(Window_BattleStatus)
  268.       flag2 = object.is_a?(Window_Message)
  269.       flag3 = object.is_a?(Spriteset_Battle) || object.is_a?(Spriteset_Map)
  270.       next if flag || flag2 || flag3
  271.       # Make inactive and invisble
  272.       object.active = false if object.respond_to?(:active)
  273.       object.visible = false if object.respond_to?(:visible)
  274.     end
  275.     # Set Blink Status to False
  276.     $game_party.actors.each {|actor| actor.blink = false}
  277.   end
  278.   #--------------------------------------------------------------------------
  279.   # * Start Actor Command Phase
  280.   #--------------------------------------------------------------------------
  281.   def start_phase3
  282.     # Shift to phase 3
  283.     @phase = 3
  284.     # Set actor as unselectable or selectable
  285.     @actor_index = -1
  286.     @active_battler = nil
  287.     # Active Battler Blink On
  288.     @active_battler.blink = true if @active_battler != nil
  289.   end
  290.   #--------------------------------------------------------------------------
  291.   # * Go to Command Input for Next Actor
  292.   #--------------------------------------------------------------------------
  293.   def phase3_next_actor
  294.     # Actor blink effect OFF
  295.     $game_party.actors.each {|actor| actor.blink = false}
  296.     # Actor has made action if wait is set and If Battler Exists?
  297.     if @active_battler != nil and @active_battler.wait > 0
  298.       @active_battler.current_action.action_made = true
  299.     end
  300.     # Call Block The Number of Times There are Actors
  301.     $game_party.actors.size.times do
  302.       # Advance actor index
  303.       @actor_index = (@actor_index + 1) % $game_party.actors.size
  304.       # Get Active Battler
  305.       @active_battler = $game_party.actors[@actor_index]
  306.       # Set Blink To True
  307.       @active_battler.blink = @active_battler.inputable?
  308.       # Break if can accept input
  309.       if @active_battler.inputable?
  310.         # Set index to 0
  311.         @actor_command_window.index = 0
  312.         # Break
  313.         break
  314.       end
  315.       # Actor blink effect OFF
  316.       @active_battler.blink = false if @active_battler != nil
  317.       # Set Active Battler to Nil
  318.       @active_battler = nil
  319.     end
  320.     # Set To Unselectable if no active battler
  321.     @actor_index = -1 if @active_battler == nil
  322.     # Set up actor command window
  323.     phase3_setup_command_window
  324.   end
  325.   #--------------------------------------------------------------------------
  326.   # * Go to Command Input of Previous Actor
  327.   #--------------------------------------------------------------------------
  328.   def phase3_prior_actor
  329.     # Actor blink effect OFF
  330.     $game_party.actors.each {|actor| actor.blink = false}
  331.     # Call Block The Number of Times There are Actors
  332.     $game_party.actors.size.times do
  333.       # Get Previous Index
  334.       @actor_index = (@actor_index - 1) % $game_party.actors.size
  335.       # Get Active Battler
  336.       @active_battler = $game_party.actors[@actor_index]
  337.       # Set Blink to True
  338.       @active_battler.blink = @active_battler.inputable?
  339.       # Break if can accept input
  340.       if @active_battler.inputable?
  341.         # Set index to 0
  342.         @actor_command_window.index = 0
  343.         # Break
  344.         break
  345.       end
  346.       # Actor blink effect OFF
  347.       @active_battler.blink = false if @active_battler != nil
  348.       # Set Active Battler to Nil
  349.       @active_battler = nil
  350.     end
  351.     # Set To Unselectable if no active battler
  352.     @actor_index = -1 if @active_battler == nil
  353.     # Set up actor command window
  354.     phase3_setup_command_window
  355.   end
  356.   #--------------------------------------------------------------------------
  357.   # * Actor Command Window Setup
  358.   #--------------------------------------------------------------------------
  359.   def phase3_setup_command_window
  360.     # Disable party command window
  361.     @party_command_window.active = false
  362.     @party_command_window.visible = false
  363.     # Enable actor command window
  364.     @actor_command_window.active = true
  365.     @actor_command_window.visible = true
  366.     # Set actor command window position
  367.     @actor_command_window.x = @actor_index * 160
  368.     # If Active Battler is nil
  369.     if @active_battler == nil or not @active_battler.inputable?
  370.       # Disable actor command window
  371.       @actor_command_window.active = false
  372.       @actor_command_window.visible = false
  373.     end
  374.   end
  375.   #--------------------------------------------------------------------------
  376.   # * Frame Update (actor command phase)
  377.   #--------------------------------------------------------------------------
  378.   alias tatb_update_phase3 update_phase3
  379.   def update_phase3
  380.     tatb_update_phase3 if @active_battler != nil
  381.     # Update Enemy Actions
  382.     update_phase3_enemy_actions
  383.     # Skip if any windows active
  384.     return if not priority
  385.     # If There is an available battler
  386.     if available_battler?
  387.       # Start Phase4
  388.       start_phase4
  389.       return
  390.     end
  391.     # Attempt to Get Next Actor
  392.     phase3_next_actor if @active_battler == nil or !@active_battler.inputable?
  393.   end
  394.   #--------------------------------------------------------------------------
  395.   # * Frame Update (actor command phase : basic command)
  396.   #--------------------------------------------------------------------------
  397.   alias tatb_update_phase3_basic_command update_phase3_basic_command
  398.   def update_phase3_basic_command
  399.     # The Usual
  400.     tatb_update_phase3_basic_command
  401.     if Input.trigger?(Input::RIGHT)
  402.       # PLay Cursor Se
  403.       $game_system.se_play($data_system.cursor_se)
  404.       # Clear wait incase target was cancled  
  405.       @active_battler.wait = 0
  406.       # Attempt to Get Next Actor (Cycle Forward)
  407.       phase3_next_actor
  408.       return
  409.     elsif Input.trigger?(Input::LEFT)
  410.       # PLay Cursor Se
  411.       $game_system.se_play($data_system.cursor_se)
  412.       # Clear wait incase target was cancled  
  413.       @active_battler.wait = 0
  414.       # Attempt to Get Previous Actor (Cycle Backward)
  415.       phase3_prior_actor
  416.       return
  417.     end
  418.   end
  419.   #--------------------------------------------------------------------------
  420.   # * Command : Escape
  421.   #--------------------------------------------------------------------------
  422.   def update_phase3_command_escape
  423.     # Play decision SE
  424.     $game_system.se_play($data_system.decision_se)
  425.     # Set action
  426.     @active_battler.current_action.kind = 0
  427.     @active_battler.current_action.basic = 2
  428.     # Go to command input for next actor
  429.     phase3_next_actor
  430.   end
  431.   #--------------------------------------------------------------------------
  432.   # * Check Commands
  433.   #--------------------------------------------------------------------------
  434.   alias tatb_check_commands check_commands
  435.   def check_commands
  436.     # Return if no active battler
  437.     return if @active_battler == nil
  438.     # Loads Current Command
  439.     command = @commands[@actor_command_window.index]
  440.     # Branches Possible Commands
  441.     if command == $data_system.words.attack
  442.       # Get Wait Count For Weapon
  443.       weapon_wait = Action_Timer::Timer_Attack_Weapon[@active_battler.weapon_id]
  444.       # Get Wait Count For Actor
  445.       actor_wait = Action_Timer::Timer_Attack_Actor[@active_battler.id]
  446.       # Set Waiting Variable
  447.       @active_battler.wait = weapon_wait.nil? ? actor_wait : weapon_wait
  448.       update_phase3_command_attack
  449.     elsif command == $data_system.words.skill
  450.       # Get Skill Id
  451.       skill_id = @active_battler.current_action.skill_id
  452.       # Set Waiting Variable
  453.       @active_battler.wait = Action_Timer::Timer_Skill[skill_id]
  454.       update_phase3_command_skill
  455.     elsif command == $data_system.words.guard
  456.       # Set Wait Variable to Defend waitng
  457.       @active_battler.wait = Action_Timer::Timer_Defend
  458.       update_phase3_command_guard
  459.     elsif command == $data_system.words.item
  460.       # Get Item Id
  461.       item_id = @active_battler.current_action.item_id
  462.       # Set Wait Variable
  463.       @active_battler.wait = Action_Timer::Timer_Item[item_id]
  464.       update_phase3_command_item
  465.     elsif command == 'Escape'
  466.       # Set Wait Variable
  467.       @active_battler.wait = Action_Timer::Timer_Escape
  468.       update_phase3_command_escape
  469.     # If Waiting
  470.     elsif @active_battler.current_action.is_a_wait?
  471.       # Set Wait Variable
  472.       @active_battler.wait = Action_Timer::Timer_Wait
  473.     # If ????
  474.     else
  475.       # Set Wait Variable
  476.       @active_battler.wait = Action_Timer::Timer_Default
  477.     end
  478.   end
  479.   #--------------------------------------------------------------------------
  480.   # * End Enemy Selection
  481.   #--------------------------------------------------------------------------
  482.   alias tatb_end_enemy_select end_enemy_select
  483.   def end_enemy_select
  484.     tatb_end_enemy_select
  485.     # If command is [fight]
  486.     if @actor_command_window.index == 0
  487.       # Enable actor command window
  488.       @actor_command_window.active = true
  489.       @actor_command_window.visible = true
  490.       # Hide help window
  491.       @help_window.visible = false
  492.     end
  493.   end
  494.   #--------------------------------------------------------------------------
  495.   # * Update Phase 3 Enemy Actions
  496.   #--------------------------------------------------------------------------
  497.   def update_phase3_enemy_actions
  498.     # Run Through All Enemies
  499.     $game_troop.enemies.each do |enemy|
  500.       # Next if not inputable
  501.       next if not enemy.inputable?
  502.       # Make Enemy Action
  503.       enemy.make_action
  504.       # Set Action Made Flag
  505.       enemy.current_action.action_made = true
  506.       # If Attacking
  507.       if enemy.current_action.is_a_attack?
  508.         # Set Waiting Variable
  509.         enemy.wait = Action_Timer::Timer_Attack_Enemy[enemy.id]
  510.       # If Using A Skill
  511.       elsif enemy.current_action.is_a_skill?
  512.         # Set Waiting Variable
  513.         enemy.wait = Action_Timer::Timer_Skill[enemy.current_action.skill_id]
  514.       # If Defending
  515.       elsif enemy.current_action.is_a_defend?
  516.         # Set Wait Variable to Defend waitng
  517.         enemy.wait = Action_Timer::Timer_Defend
  518.       # If Using an Item
  519.       elsif enemy.current_action.is_a_item?
  520.         # Set Wait Variable
  521.         enemy.wait = Action_Timer::Timer_Item[enemy.current_action.item_id]
  522.       # If Attempting to Escape
  523.       elsif enemy.current_action.is_a_escape?
  524.         # Set Wait Variable
  525.         enemy.wait = Action_Timer::Timer_Escape
  526.       # If Waiting
  527.       elsif enemy.current_action.is_a_wait?
  528.         # Set Wait Variable
  529.         enemy.wait = Action_Timer::Timer_Wait
  530.       # If ????
  531.       else
  532.         # Set Wait Variable
  533.         enemy.wait = Action_Timer::Timer_Default
  534.       end
  535.     end
  536.   end
  537.   #--------------------------------------------------------------------------
  538.   # * Avialable Battler?
  539.   #--------------------------------------------------------------------------
  540.   def available_battler?
  541.     # Get All Battlers
  542.     battlers = $game_party.actors + $game_troop.enemies
  543.     # Delete If No Action Made or Still Waiting
  544.     battlers.delete_if {|battler| !(battler.wait <= 0 && battler.action_made?)}
  545.     # If At least one battler exists then return true
  546.     return !battlers.empty?
  547.   end
  548.   #--------------------------------------------------------------------------
  549.   # * Start Main Phase
  550.   #--------------------------------------------------------------------------
  551.   def start_phase4
  552.     # Shift to phase 4
  553.     @phase = 4
  554.     # Initialize turns
  555.     turns = 0
  556.     # Get all Battlers
  557.     battlers = $game_troop.enemies + $game_party.actors
  558.     # Delete if non existant
  559.     battlers.delete_if {|battler| not battler.exist?}
  560.     # Get Total Number of Turns
  561.     battlers.each {|battler| turns += battler.battle_turns}
  562.     # Divide by total number of battlers
  563.     turns /= battlers.size
  564.     # Set Turn Count To Maximum (Prevent Turn events from repeating)
  565.     $game_temp.battle_turn = [$game_temp.battle_turn, turns].max
  566.     # Search all battle event pages
  567.     for index in 0...$data_troops[@troop_id].pages.size
  568.       # Get event page
  569.       page = $data_troops[@troop_id].pages[index]
  570.       # If this page span is [turn]
  571.       if page.span == 1
  572.         # Clear action completed flags
  573.         $game_temp.battle_event_flags[index] = false
  574.       end
  575.     end
  576.     # Set Actor as unselectable
  577.     @actor_index = -1
  578.     @active_battler = nil
  579.     # Set main phase flag
  580.     $game_temp.battle_main_phase = true
  581.     # Make action orders
  582.     make_action_orders
  583.     # Shift to step 1
  584.     @phase4_step = 1
  585.   end
  586.   #--------------------------------------------------------------------------
  587.   # * Frame Update (main phase step 1 : action preparation)
  588.   #--------------------------------------------------------------------------
  589.   def update_phase4_step1
  590.     # Hide help window
  591.     @help_window.visible = false
  592.     # Determine win/loss
  593.     if judge
  594.       # If won, or if lost : end method
  595.       return
  596.     end
  597.     # If an action forcing battler doesn't exist
  598.     if $game_temp.forcing_battler == nil
  599.       # Set up battle event
  600.       setup_battle_event
  601.       # If battle event is running
  602.       return if $game_system.battle_interpreter.running?
  603.     end
  604.     # If an action forcing battler exists
  605.     if $game_temp.forcing_battler != nil
  606.       # Add to head, or move
  607.       @action_battlers.delete($game_temp.forcing_battler)
  608.       @action_battlers.unshift($game_temp.forcing_battler)
  609.     end
  610.     # If no actionless battlers exist (all have performed an action)
  611.     if @action_battlers.size == 0
  612.       # Start Phase 3
  613.       start_phase3
  614.       return
  615.     end
  616.     # Initialize animation ID and common event ID
  617.     @animation1_id = 0
  618.     @animation2_id = 0
  619.     @common_event_id = 0
  620.     # Shift from head of actionless battlers
  621.     @active_battler = @action_battlers.shift
  622.     # Increase Turns
  623.     @active_battler.battle_turns += 1
  624.     # If already removed from battle
  625.     return if @active_battler.index == nil
  626.     # Slip damage
  627.     if @active_battler.hp > 0 and @active_battler.slip_damage?
  628.       @active_battler.slip_damage_effect
  629.       @active_battler.damage_pop = true
  630.     end
  631.     # Natural removal of states
  632.     @active_battler.remove_states_auto
  633.     # Refresh status window
  634.     @status_window.refresh
  635.     # Shift to step 2
  636.     @phase4_step = 2
  637.   end
  638.   #--------------------------------------------------------------------------
  639.   # * Make Action Orders
  640.   #--------------------------------------------------------------------------
  641.   alias tatb_make_action_orders make_action_orders
  642.   def make_action_orders
  643.     # The Usual
  644.     tatb_make_action_orders
  645.     # Delete If No Action Made or Still Waiting
  646.     @action_battlers.delete_if {|battler| !(battler.wait <= 0 && battler.action_made?)}
  647.   end
  648.   #--------------------------------------------------------------------------
  649.   # * Frame Update (main phase)
  650.   #--------------------------------------------------------------------------
  651.   alias tatb_update_phase4 update_phase4
  652.   def update_phase4
  653.     # Make Action Orders
  654.     make_action_orders
  655.     # Make a Copy of Last Phase
  656.     last_phase = @phase4_step
  657.     # Run Actions as usual
  658.     tatb_update_phase4
  659.     # If current phase is less than last phase and current_phase is 1
  660.     if last_phase != nil and @phase4_step < last_phase and @phase4_step == 1
  661.       # Clear Action
  662.       @active_battler.current_action.clear
  663.       # Reinitialize At Amounts (Agility change and Speed Changes)
  664.       initialize_at
  665.     end
  666.   end
  667.   #--------------------------------------------------------------------------
  668.   # * Frame Update (main phase step 2 : start action)
  669.   #--------------------------------------------------------------------------
  670.   alias tatb_update_phase4_step2 update_phase4_step2
  671.   def update_phase4_step2
  672.     # The Usual
  673.     tatb_update_phase4_step2
  674.     # If Attacking
  675.     if @active_battler.current_action.is_a_attack?
  676.       # If An Actor
  677.       if @active_battler.is_a?(Game_Actor)
  678.         # Get Attack Cost For Weapon
  679.         weapon_at = Action_Cost::Action_Attack_Weapon[@active_battler.weapon_id]
  680.         # Get Attack Cost For Actor
  681.         actor_at = Action_Cost::Action_Attack_Actor[@active_battler.id]
  682.         # Get Lost At Percentage
  683.         lost_at = weapon_at.nil? ? actor_at : weapon_at
  684.         # Convert to amount
  685.         lost_at = lost_at / 100.0 * Ctb_Setup::At_Max
  686.         # Decrease At
  687.         @active_battler.at -= lost_at
  688.       # If An Enemy
  689.       elsif @active_battler.is_a?(Game_Enemy)
  690.         # Get lost At Percentage
  691.         lost_at = Action_Cost::Action_Attack_Enemy[@active_battler.id]
  692.         # Convert to amount
  693.         lost_at = lost_at / 100.0 * Ctb_Setup::At_Max
  694.         # Decrease At
  695.         @active_battler.at -= lost_at
  696.       end
  697.       return
  698.     end
  699.     # If Defending
  700.     if @active_battler.current_action.is_a_defend?
  701.       # Get lost At Percentage
  702.       lost_at = Action_Cost::Action_Defend
  703.       # Convert to amount
  704.       lost_at = lost_at / 100.0 * Ctb_Setup::At_Max
  705.       # Decrease At
  706.       @active_battler.at -= lost_at
  707.       return
  708.     end
  709.     # If Attempt to Escape
  710.     if @active_battler.current_action.is_a_escape?
  711.       # Get lost At Percentage
  712.       lost_at = Action_Cost::Action_Escape
  713.       # Convert to amount
  714.       lost_at = lost_at / 100.0 * Ctb_Setup::At_Max
  715.       # Decrease At
  716.       @active_battler.at -= lost_at
  717.       return
  718.     end
  719.     # If Skill
  720.     if @active_battler.current_action.is_a_skill?
  721.       # Get Skill Id
  722.       skill_id = @active_battler.current_action.skill_id
  723.       # Get lost At Percentage
  724.       lost_at = Action_Cost::Action_Skill[skill_id]
  725.       # Convert to amount
  726.       lost_at = lost_at / 100.0 * Ctb_Setup::At_Max
  727.       # Decrease At
  728.       @active_battler.at -= lost_at
  729.       return
  730.     end
  731.     # If Item
  732.     if @active_battler.current_action.is_a_item?
  733.       # Get Item Id
  734.       item_id = @active_battler.current_action.item_id
  735.       # Get lost At Percentage
  736.       lost_at = Action_Cost::Action_Item[item_id]
  737.       # Convert to amount
  738.       lost_at = lost_at / 100.0 * Ctb_Setup::At_Max
  739.       # Decrease At
  740.       @active_battler.at -= lost_at
  741.       return
  742.     end
  743.     # If Waiting
  744.     if @active_battler.current_action.is_a_wait?
  745.       # Get lost At Percentage
  746.       lost_at = Action_Cost::Action_Wait
  747.       # Convert to amount
  748.       lost_at = lost_at / 100.0 * Ctb_Setup::At_Max
  749.       # Decrease At
  750.       @active_battler.at -= lost_at
  751.       return
  752.     end
  753.     # Get lost At Percentage
  754.     lost_at = Action_Cost::Action_Default
  755.     # Convert to amount
  756.     lost_at = lost_at / 100.0 * Ctb_Setup::At_Max
  757.     # Decrease At
  758.     @active_battler.at -= lost_at
  759.   end
  760.   #--------------------------------------------------------------------------
  761.   # * Make Basic Action Results
  762.   #--------------------------------------------------------------------------
  763.   alias tatb_make_basic_action_result make_basic_action_result
  764.   def make_basic_action_result
  765.     # The Usual
  766.     tatb_make_basic_action_result
  767.     # If escape
  768.     if @active_battler.is_a?(Game_Actor) and
  769.        @active_battler.current_action.basic == 2
  770.       make_basic_action_result_escape
  771.       return
  772.     end
  773.   end
  774.   #--------------------------------------------------------------------------
  775.   # * Make Basic Action Results - Escape
  776.   #--------------------------------------------------------------------------
  777.   def make_basic_action_result_escape
  778.     # Calculate enemy agility average
  779.     enemies_agi = 0
  780.     enemies_number = 0
  781.     $game_troop.enemies.each do |enemy|
  782.       next if not enemy.exist?
  783.       enemies_agi += enemy.agi
  784.       enemies_number += 1
  785.     end
  786.     enemies_agi /= enemies_number.to_f if enemies_number > 0
  787.     # Calculate actor agility average
  788.     actors_agi = 0
  789.     actors_number = 0
  790.     $game_party.actors.each do |actor|
  791.       next if not actor.exist?
  792.       actors_agi += actor.agi
  793.       actors_number += 1
  794.     end
  795.     actors_agi /= actors_number.to_f if actors_number > 0
  796.     chance = 50 * actors_agi / enemies_agi if @active_battler.is_a?(Game_Actor)
  797.     chance = 50 * enemies_agi / actors_agi if @active_battler.is_a?(Game_Enemy)
  798.     # Determine if escape is successful
  799.     success = rand(100) < 50 * chance
  800.     # If Actor
  801.     if @active_battler.is_a?(Game_Actor)
  802.       # If escape is successful and possible to escape
  803.       if success and $game_temp.battle_can_escape
  804.         # Play escape SE
  805.         $game_system.se_play($data_system.escape_se)
  806.         # Return to BGM before battle started
  807.         $game_system.bgm_play($game_temp.map_bgm)
  808.         # Battle ends
  809.         battle_end(1)
  810.         # If escape is failure
  811.       else
  812.         # Display Cannot Escape
  813.         @help_window.set_text('Cannot Escape', 1)
  814.       end
  815.     # If Enemy
  816.     else
  817.       # If Escape is successful
  818.       if success
  819.         # Display "Escape" in help window
  820.         @help_window.set_text("Escape", 1)
  821.         # Escape
  822.         @active_battler.escape
  823.       else
  824.         # Escape Failed
  825.         @phase4_step = 1
  826.       end
  827.     end
  828.   end
  829. end
  830. #--------------------------------------------------------------------------
  831. # End SDK Enabled Check
  832. #--------------------------------------------------------------------------
  833. end
Expand to see the code.


The HP and SP bars don't appear in battle. And Status effect icons are too far below everything to be seen.
Idk if that was what ZenVirZan was working on.
coyotecraft wrote:
I think I got the battle system debugged.
You can replace the Scene_Battle above the LVreq script with this
The HP and SP bars don't appear in battle. And Status effect icons are too far below everything to be seen.
Idk if that was what ZenVirZan was working on.
Not sure what you mean, the HP and SP bars are fine with my copy. I'm not sure what Status effects you're talking about, probably because they aren't on the screen idk
Content Hidden Spoiler
Image
Image
My bad. I put the scripts into a Moonpearl Demo Project that have the hp really low, I couldn't see it.
I must not have my picture folder set up right because the graphic font isn't showing up
Image
coyotecraft wrote:
My bad. I put the scripts into a Moonpearl Demo Project that have the hp really low, I couldn't see it.
I must not have my picture folder set up right because the graphic font isn't showing up
I'd suggest grabbing the project from here. It may be a bit outdated but it does have all the resources.
Yeah, it was all in the wrong folder. Is this right? Not all the menu commands are there.
Image
I added the Battle System Script,
Skills/Stats/Party AND battle crashes line 40 div by 0 error ZenVirZan (the new one, unless I'm supposed to have the old ZenVirZan Script in it too?)
# Draw sp bar
bitmap = RPG::Cache.acms_menusprite("SP")
rect = Rect.new(x + BAR_PADDING, y, (width - 2 * BAR_PADDING) * actor.sp / actor.maxsp, bitmap.height)
self.contents.stretch_blt(rect, bitmap, Rect.new(0, 0,
bitmap.width * actor.sp / actor.maxsp, bitmap.height), opacity)
bitmap = RPG::Cache.acms_menusprite("Gauge")
rect = []

Is always the div by 0 error :/
idgi if it works on your end, whats stopping mind from working?
It must be that one of your characters has 0 max sp

You can change line 104 of Zen's script to
draw_actor_sp(@actor, 64, 64, 192, true) if @actor.maxsp != 0
the character will be missing the SP guage in this case.

Or just make sure the character has maxSP. [001/001 SP]
You could put in other safe guards for other unusual cases of actors with 0 maxhp or no name. But then, just don't do that.
By all means you are correct O_O Thanks alot for your support here and helping out, you also made the battle script less buggy too :D

Now all i need to do is figure out Time HUD and Lock/Unlock party members in the party page and I'm good to go :O
It looks like the party menu has a "mandatory" array that's like [true,false,false,false,false]
But there's no comments or anything so I have to look around to understand how it works.
Stat distribution doesnt give me points on level up
ALso when i level up i gain +1random stat in ever stats, which i dislike completely.
As far as I can tell, this is the only way to lock/unlock characters. By setting mandatory to true or false.
You'll need to know the character's party position, which might be tricky. Unless you remove/add people into a specific arrangement.
Character 1 in the array is [0] and is mandatory by default it seems. Character 2 is [1], 3 is [2] ect... To change the true or false at any point in the game you do this with the event's script command.
Image

But I could be missing something because I don't see where character 1 is set as mandatory by default in the script.

edit: nvm, it's not set to mandatory by default. There was an autorun event in the Moonpearl demo I was using that set it up.
Cassandrainbows wrote:
Stat distribution doesnt give me points on level up
ALso when i level up i gain +1random stat in ever stats, which i dislike completely.


You've got 2 different stat distribution scripts

one made by Synthesize
Image
and another by Blizzard.
Image

The menu is set to open Synth's via:
$scene = Scene_Upgrade.new
if you want to change it to Blizzard's, use:
$scene = Scene_Points.new
http://picpaste.com/Screenshot__53_-bgzNgHo2.png

This happens in battle after i use a skill :/

I wanted Synths...i deleted the Blizzard one just now, forgot i even had it you (you shud delete it too)...It still doesn't give me points when i lvl up anymore....
And i still get a random increase of all stats each level (I've set them stagnant in the database so a script must be doing that).

Also another thing, the Skill/item selection menus are transparent, and the text basically appears ontop of character graphics...I wouldn't mind the menu hide the character graphic(being nontransparent ontop) (skill/item menu) in battle...its just for the visibility of selections.
Cassandrainbows wrote:
http://picpaste.com/Screenshot__53_-bgzNgHo2.png

This happens in battle after i use a skill :/

It's trying to figure out the number of attacks the weapon can use. And it's a bad range.
Er, it reads the weapon's name for something like (3atks). So maybe the weapon isn't named properly.
theres no (#tag) to any of my weapons, just raw names, and they are single attack weapons...
and theres no way to tell if i have a status effect or not.
I'm not sure how to replicate it since I don't know what weapons you're using.

Btw, were you able to go to the equip screen from the menu? I had to add an argument in one place so it wouldn't crash. There's so many scripts using different versions of the same method; It's like untangling Christmas lights when something isn't working.

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=79031