SDK - Standard Development Kit 2.4

Just don't include the certain parts, for instance if you don't need the "PART 2#GAME_MAP" then just don't include it :P

I think if you go on Seph's offical website, there is a tree doc for the SDK complete broken up class by class (similiar to how the MACL is broken up into individual scripts), else you can manually split and include parts yourself (thats what I did)
help!!! i keep getting error in line 2388 in this part "class Window_Command < Window_Selectable"

im sure i paste it right
you pasted this below Scene_Debug?
I don't think I ever sent this to you...it's a refinement of SDK::Auto.z_min and z_max. The code is shorter and simpler, and is capable of checking hashes inside of arrays inside of hashes, which my older code wasn't capable of doing. I'm also not sure if you want these methods in SDK::Auto or just in Scene_Base since that's the only Auto class which would use it, but I think it belongs there. Do with it as you will:

  #--------------------------------------------------------------------------
  # * Maximum Z value of all instance variables
  #--------------------------------------------------------------------------
  def z_max
    output = []
    # Passes Through All Instance Variables
    self.instance_variables.each do |object_name|
      # Evaluates Object
      object = eval object_name
      # Find the z value
      output += z_value(object)
    end
    # Returns max z value
    return output.nitems > 0 ? output.compact.max : 0
  end
  #--------------------------------------------------------------------------
  # * Minimum Z value of all instance variables
  #--------------------------------------------------------------------------
  def z_min
    output = []
    # Passes Through All Instance Variables
    self.instance_variables.each do |object_name|
      # Evaluates Object
      object = eval object_name
      # Find the z value
      output += z_value(object)
    end
    # Returns min z value
    return output.nitems > 0 ? output.compact.min : 0
  end
  #--------------------------------------------------------------------------
  # * Find Z value of an object; recursive for hashes and arrays - Returns Array
  #--------------------------------------------------------------------------
  def z_value(object)
    output = []
    # Stop Processing If Responds to Disposed? && is Disposed
    return output if (object.respond_to?(:disposed?) && object.disposed?)
    # If Hash
    if object.is_a? Hash
      # Pass through all keys and values
      object.each {|key, value| output += z_value(key) + z_value(value)}
    elsif object.is_a?(Array) # If Array
      # Passes through all object
      object.each {|obj| output += z_value(obj)}
    elsif object.respond_to?(:z) and object.z.kind_of?(Numeric)
      output.push(object.z)
    end
    return output
  end
Expand to see the code.


EDIT: I'm noting that once this is done, SDK::Scene_Base needs a change in :make_layer(parent) from :z_min(max) to :z_min
Could having some of Moghunter's scripts or Ccoa's UMS interfere with this in any way? I've been having a problem with Mr Mo's SBABS which uses the SDK (version 2.0 I believe), and I can't make it work no matter what I do! I have some Moghunter scripts and Ccoa's UMS (as I said before), plus a modified 'main' script to act as a splash script.
I have forgotten how old the UMS is. Something's probably rewriting a class badly. The splash script sound most suspect off the bat.
Thanks. I forgot to try that... I tried taking out all of the scripts I added to put them back in later when I figured out what the problem was, but I forgot to take out the splash script...

Yeah, just took out the splash script and it got in. Boy am I stupid ._.

Edit: I take that back. Now that I've put the UMS and Moghunter scripts back in, it stopped working again.

Edit again: It's the Moghunter scripts. With just the UMS it works fine. With any of the Moghunter scripts, it crashes right after I select 'new game'... Any suggestions?

I'd really like to keep the Moghunter stuff. I edited the title script so that I like it, and everything else looks great... I really like it. Is there any way to keep the MOG scripts without rewriting them (which I couldn't do) along with the SABS?
Could you link me to wherever the MOG scripts are? I might be able to help you if you could also show me a fairly good context of the first error you get, i.e. what kind of error it was and a few lines surrounding the line it points to.
Hehe, no longer a problem. For some reason, if you Moghunter's scripts directly above the input script used in the ABS, it works, whereas it's ignored if it's above the SDK and bugged when it's below everything else... But it works now! I actually have you to thank partly, rey, because if I hadn't been searching for Moghunter's thread (which I couldn't find), I never would've seen the little excerpt of text that said something about putting the MOG scripts above the input script... So thanks ;)
Hi ! I used SDK 2.4 but when I played my game the panorama which I was using was not there and instead there was black screen but when I remove SDK everything works fine except I want to use the script. :sad:
Post the script, but do this in a script support topic. Getting the SDK to work with a certain script belongs in its own support topic. This thread is more of getting the SDK into your project and development discussion.

3.0 is on its way. I am revamping quite a bit but keeping everything in its same structure. Just more options to choose from (Use_Spriteset_Base, Use_Scene_Base, Use_Scene_Layer_Base, etc.) You can now use part 4 without even using the Scene_Base. Part 3 will basically be deprecated at this point as part 3 was the same as the now Use_Scene_Base option.

I am actually considering eliminating parts completely and going with a generator program I have started on.

You start off selecting whether you use: Spriteset_Base, Scene_Base, Layered_Scene_Base

After that each class that has a method branch is shown, all the individual parts. You select which parts to include in your SDK. It generates your SDK and logs each part and setting included. Standard fixes are automatically added. Layout for this will look something like this:
Content Hidden Show
Image


I am not sure whether I'll make this in XP or online with a php system (layout easier online, code generation easier in Ruby lol).

Anyway, what do you guys think of this?
New addition...

RPG::Sprite#damage Show
  1. #==============================================================================
  2. # ** Enable Part II Check
  3. #==============================================================================
  4. if SDK::Parts.include?(2) || SDK::Indidual_Parts.include?('RPG::SPRITE#DAMAGE')
  5.  
  6. #==============================================================================
  7. # ** RPG::Sprite
  8. #==============================================================================
  9.  
  10. class RPG::Sprite
  11.   #--------------------------------------------------------------------------
  12.   # * SDK Log Branch
  13.   #--------------------------------------------------------------------------
  14.   SDK.log_branch(RPG::Sprite.to_s.to_sym, :damage, :damage_get_string,
  15.   :damage_get_bitmap, :damage_draw_text_back, :damage_adjust_text_color,
  16.   :damage_draw_text_main, :damage_draw_text_critical, :damage_setup_sprite)
  17.   #--------------------------------------------------------------------------
  18.   # * Damage
  19.   #--------------------------------------------------------------------------
  20.   def damage(value, critical)
  21.     dispose_damage
  22.     damage_string = damage_get_string(value, critical)
  23.     bitmap = damage_get_bitmap(value, critical)
  24.     damage_draw_text_back(bitmap, damage_string, critical)
  25.     damage_adjust_text_color(bitmap, value, critical)
  26.     damage_draw_text_main(bitmap, damage_string, critical)
  27.     if critical
  28.       damage_draw_text_critical(bitmap)
  29.     end
  30.     damage_setup_sprite(bitmap)
  31.   end
  32.   #--------------------------------------------------------------------------
  33.   # * Damage : Get String
  34.   #--------------------------------------------------------------------------
  35.   def damage_get_string(value, critical = false)
  36.     (value.is_a?(Numeric) ? value.abs.to_s : value.to_s)
  37.   end
  38.   #--------------------------------------------------------------------------
  39.   # * Damage : Get Bitmap
  40.   #--------------------------------------------------------------------------
  41.   def damage_get_bitmap(value = 0, critical = false)
  42.     bitmap = Bitmap.new(160, 48)
  43.     bitmap.font.name = "Arial Black"
  44.     bitmap.font.size = 32
  45.     bitmap.font.color.set(0, 0, 0)
  46.     bitmap
  47.   end
  48.   #--------------------------------------------------------------------------
  49.   # * Damage : Draw Text Background
  50.   #--------------------------------------------------------------------------
  51.   def damage_draw_text_back(bitmap, damage_string, critical = false)
  52.     bitmap.draw_text(-1, 12-1, 160, 36, damage_string, 1)
  53.     bitmap.draw_text(+1, 12-1, 160, 36, damage_string, 1)
  54.     bitmap.draw_text(-1, 12+1, 160, 36, damage_string, 1)
  55.     bitmap.draw_text(+1, 12+1, 160, 36, damage_string, 1)
  56.   end
  57.   #--------------------------------------------------------------------------
  58.   # * Damage : Adjust Text Color
  59.   #--------------------------------------------------------------------------
  60.   def damage_adjust_text_color(bitmap, value, critical = false)
  61.     if value.is_a?(Numeric) and value < 0
  62.       bitmap.font.color.set(176, 255, 144)
  63.     else
  64.       bitmap.font.color.set(255, 255, 255)
  65.     end
  66.   end
  67.   #--------------------------------------------------------------------------
  68.   # * Damage : Draw Text Main
  69.   #--------------------------------------------------------------------------
  70.   def damage_draw_text_main(bitmap, damage_string, critical = false)
  71.     bitmap.draw_text(0, 12, 160, 36, damage_string, 1)
  72.   end
  73.   #--------------------------------------------------------------------------
  74.   # * Damage : Draw Text Critical
  75.   #--------------------------------------------------------------------------
  76.   def damage_draw_text_critical(bitmap)
  77.     bitmap.font.size = 20
  78.     bitmap.font.color.set(0, 0, 0)
  79.     bitmap.draw_text(-1, -1, 160, 20, "CRITICAL", 1)
  80.     bitmap.draw_text(+1, -1, 160, 20, "CRITICAL", 1)
  81.     bitmap.draw_text(-1, +1, 160, 20, "CRITICAL", 1)
  82.     bitmap.draw_text(+1, +1, 160, 20, "CRITICAL", 1)
  83.     bitmap.font.color.set(255, 255, 255)
  84.     bitmap.draw_text(0, 0, 160, 20, "CRITICAL", 1)
  85.   end
  86.   #--------------------------------------------------------------------------
  87.   # * Damage : Setup Sprite
  88.   #--------------------------------------------------------------------------
  89.   def damage_setup_sprite(bitmap)
  90.     @_damage_sprite = ::Sprite.new(self.viewport)
  91.     @_damage_sprite.bitmap = bitmap
  92.     @_damage_sprite.ox = 80
  93.     @_damage_sprite.oy = 20
  94.     @_damage_sprite.x = self.x
  95.     @_damage_sprite.y = self.y - self.oy / 2
  96.     @_damage_sprite.z = 3000
  97.     @_damage_duration = 40
  98.   end
  99. end
  100.  
  101. #==============================================================================
  102. # ** Ends Enable Part II Check
  103. #==============================================================================
  104. end
Expand to see the code.


Since I've got a few scripts which display their own special cases of damage text, they ignore custom damage display scripts. This might help a little bit if somebody made a damage display script utilizing these split methods.

I'm debating on doing RPG::Sprite#animation and I'm re-working Game_Map#passable? method break down too.
Huh, it looks like we lost the last two months of this topic for some reason? Or maybe there was only activity in the one week which I know we lost...

Anyway, I'll say again that I've been working on the Scene_Base, I sent you a PM a bit ago. Contact me for the very most recent version, if you're interested.
Update to Scene_Shop, it breaks up the update_buy and update_sell methods or whatever...

SDK 4 : Scene_Shop Show
  1. #==============================================================================
  2. # ** Enable Part IV Check
  3. #==============================================================================
  4. if SDK::Parts.include?(4) ||
  5.   (SDK::Indidual_Parts.include?('PART 3#SCENE_SHOP') &&
  6.    SDK::Indidual_Parts.include?('PART 4#SCENE_SHOP'))
  7.  
  8. #==============================================================================
  9. # ** Scene_Shop
  10. #------------------------------------------------------------------------------
  11. #  This class performs shop screen processing.
  12. #==============================================================================
  13.  
  14. class Scene_Shop < SDK::Scene_Base
  15.   #--------------------------------------------------------------------------
  16.   # * SDK Log Branch
  17.   #--------------------------------------------------------------------------
  18.   SDK.log_branch(:Scene_Shop, :update_command, :disabled_main_command?,
  19.     :main_command_input)
  20.   SDK.log_branch(:Scene_Shop, :update_buy, :update_buy_cancel,
  21.     :update_buy_decision, :update_buy_invalid?, :update_buy_number,
  22.     :update_buy_maxed_out?, :update_buy_maximum)
  23.   SDK.log_branch(:Scene_Shop, :update_sell_cancel, :update_sell_decision,
  24.     :update_sell_invalid?, :update_sell_number, :update_sell_maximum)
  25.   SDK.log_branch(:Scene_Shop, :update_number,
  26.     :number_cancel_command_input, :number_command_input)
  27.   SDK.log_branch(:Scene_Shop, :main_command_input, :command_main_buy,
  28.     :command_main_sell, :command_exit)
  29.   SDK.log_branch(:Scene_Shop, :number_command_input,
  30.     :command_number_buy, :command_number_sell)
  31.   #--------------------------------------------------------------------------
  32.   # * Frame Update (when command window is active)
  33.   #--------------------------------------------------------------------------
  34.   def update_command
  35.     # If B button was pressed
  36.     if Input.trigger?(Input::B)
  37.       update_command_cancel
  38.       return
  39.     end
  40.     # If C button was pressed
  41.     if Input.trigger?(Input::C)
  42.       update_command_decision
  43.       return
  44.     end
  45.   end
  46.   #--------------------------------------------------------------------------
  47.   # * Update Command : Cancel
  48.   #--------------------------------------------------------------------------
  49.   def update_command_cancel
  50.     # Play cancel SE
  51.     $game_system.se_play($data_system.cancel_se)
  52.     # Switch to map screen
  53.     $scene = Scene_Map.new
  54.   end
  55.   #--------------------------------------------------------------------------
  56.   # * Update Command : Decision
  57.   #--------------------------------------------------------------------------
  58.   def update_command_decision
  59.   # Return if Disabled Command
  60.     if disabled_main_command?
  61.       # Play buzzer SE
  62.       $game_system.se_play($data_system.buzzer_se)
  63.       return
  64.     end
  65.     main_command_input
  66.   end
  67.   #--------------------------------------------------------------------------
  68.   # * Disabled Main Command?
  69.   #--------------------------------------------------------------------------
  70.   def disabled_main_command?
  71.     return false
  72.   end
  73.   #--------------------------------------------------------------------------
  74.   # * Main Command Input
  75.   #--------------------------------------------------------------------------
  76.   def main_command_input
  77.     # Branch by command window cursor position
  78.     case @command_window.command
  79.     when SDK::Scene_Commands::Scene_Shop::Buy
  80.       command_main_buy
  81.     when SDK::Scene_Commands::Scene_Shop::Sell
  82.       command_main_sell
  83.     when SDK::Scene_Commands::Scene_Shop::Exit
  84.       command_exit
  85.     end
  86.   end
  87.   #--------------------------------------------------------------------------
  88.   # * Frame Update (when buy window is active)
  89.   #--------------------------------------------------------------------------
  90.   def update_buy
  91.     # Set status window item
  92.     @status_window.item = @buy_window.item
  93.     # If B button was pressed
  94.     if Input.trigger?(Input::B)
  95.       update_buy_cancel
  96.       return
  97.     end
  98.     # If C button was pressed
  99.     if Input.trigger?(Input::C)
  100.       update_buy_decision
  101.       return
  102.     end
  103.   end
  104.   #--------------------------------------------------------------------------
  105.   # * Update Buy : Cancel
  106.   #--------------------------------------------------------------------------
  107.   def update_buy_cancel
  108.     # Play cancel SE
  109.     $game_system.se_play($data_system.cancel_se)
  110.     # Change windows to initial mode
  111.     @command_window.active = true
  112.     @dummy_window.visible = true
  113.     @buy_window.active = false
  114.     @buy_window.visible = false
  115.     @status_window.visible = false
  116.     @status_window.item = nil
  117.     # Erase help text
  118.     @help_window.set_text("")
  119.   end
  120.   #--------------------------------------------------------------------------
  121.   # * Update Buy : Decision
  122.   #--------------------------------------------------------------------------
  123.   def update_buy_decision
  124.     # Get item
  125.     @item = @buy_window.item
  126.     # If item is invalid, or price is higher than money possessed
  127.     if update_buy_invalid?
  128.       # Play buzzer SE
  129.       $game_system.se_play($data_system.buzzer_se)
  130.       return
  131.     end
  132.     # Get items in possession count
  133.     number = update_buy_number
  134.     # If 99 items are already in possession
  135.     if update_buy_maxed_out?(number)
  136.       # Play buzzer SE
  137.       $game_system.se_play($data_system.buzzer_se)
  138.       return
  139.     end
  140.     # Play decision SE
  141.     $game_system.se_play($data_system.decision_se)
  142.     # Calculate maximum amount possible to buy
  143.     max = update_buy_maximum(number)
  144.     # Change windows to quantity input mode
  145.     @buy_window.active = false
  146.     @buy_window.visible = false
  147.     @number_window.set(@item, max, @item.price)
  148.     @number_window.active = true
  149.     @number_window.visible = true
  150.   end
  151.   #--------------------------------------------------------------------------
  152.   # * Update Buy Invalid?
  153.   #--------------------------------------------------------------------------
  154.   def update_buy_invalid?
  155.     @item == nil or @item.price > $game_party.gold
  156.   end
  157.   #--------------------------------------------------------------------------
  158.   # * Update Buy Number
  159.   #--------------------------------------------------------------------------
  160.   def update_buy_number
  161.     case @item
  162.     when RPG::Item
  163.       number = $game_party.item_number(@item.id)
  164.     when RPG::Weapon
  165.       number = $game_party.weapon_number(@item.id)
  166.     when RPG::Armor
  167.       number = $game_party.armor_number(@item.id)
  168.     end
  169.   end
  170.   #--------------------------------------------------------------------------
  171.   # * Update Buy Maxed Out?
  172.   #--------------------------------------------------------------------------
  173.   def update_buy_maxed_out?(number)
  174.     number == 99
  175.   end
  176.   #--------------------------------------------------------------------------
  177.   # * Update Buy Maximum
  178.   #--------------------------------------------------------------------------
  179.   def update_buy_maximum(number)
  180.     max = @item.price == 0 ? 99 : $game_party.gold / @item.price
  181.     max = [max, 99 - number].min
  182.   end
  183.   #--------------------------------------------------------------------------
  184.   # * Frame Update (when sell window is active)
  185.   #--------------------------------------------------------------------------
  186.   def update_sell
  187.     # If B button was pressed
  188.     if Input.trigger?(Input::B)
  189.       update_sell_cancel
  190.       return
  191.     end
  192.     # If C button was pressed
  193.     if Input.trigger?(Input::C)
  194.       update_sell_decision
  195.       return
  196.     end
  197.   end
  198.   #--------------------------------------------------------------------------
  199.   # * Update Sell : Cancel
  200.   #--------------------------------------------------------------------------
  201.   def update_sell_cancel
  202.     # Play cancel SE
  203.     $game_system.se_play($data_system.cancel_se)
  204.     # Change windows to initial mode
  205.     @command_window.active = true
  206.     @dummy_window.visible = true
  207.     @sell_window.active = false
  208.     @sell_window.visible = false
  209.     @status_window.item = nil
  210.     # Erase help text
  211.     @help_window.set_text("")
  212.   end
  213.   #--------------------------------------------------------------------------
  214.   # * Update Sell : Decision
  215.   #--------------------------------------------------------------------------
  216.   def update_sell_decision
  217.     # Get item
  218.     @item = @sell_window.item
  219.     # Set status window item
  220.     @status_window.item = @item
  221.     # If item is invalid, or item price is 0 (unable to sell)
  222.     if update_sell_invalid?
  223.       # Play buzzer SE
  224.       $game_system.se_play($data_system.buzzer_se)
  225.       return
  226.     end
  227.     # Play decision SE
  228.     $game_system.se_play($data_system.decision_se)
  229.     # Get items in possession count
  230.     number = update_sell_number
  231.     # Maximum quanitity to sell = number of items in possession
  232.     max = update_sell_maximum(number)
  233.     # Change windows to quantity input mode
  234.     @sell_window.active = false
  235.     @sell_window.visible = false
  236.     @number_window.set(@item, max, @item.price / 2)
  237.     @number_window.active = true
  238.     @number_window.visible = true
  239.     @status_window.visible = true
  240.   end
  241.   #--------------------------------------------------------------------------
  242.   # * Update Sell : Invalid?
  243.   #--------------------------------------------------------------------------
  244.   def update_sell_invalid?
  245.     @item == nil or @item.price == 0
  246.   end
  247.   #--------------------------------------------------------------------------
  248.   # * Update Sell : Number
  249.   #--------------------------------------------------------------------------
  250.   def update_sell_number
  251.     case @item
  252.     when RPG::Item
  253.       number = $game_party.item_number(@item.id)
  254.     when RPG::Weapon
  255.       number = $game_party.weapon_number(@item.id)
  256.     when RPG::Armor
  257.       number = $game_party.armor_number(@item.id)
  258.     end
  259.   end
  260.   #--------------------------------------------------------------------------
  261.   # * Update Sell Maximum
  262.   #--------------------------------------------------------------------------
  263.   def update_sell_maximum(number)
  264.     number
  265.   end
  266.   #--------------------------------------------------------------------------
  267.   # * Frame Update (when quantity input window is active)
  268.   #--------------------------------------------------------------------------
  269.   def update_number
  270.     # If B button was pressed
  271.     if Input.trigger?(Input::B)
  272.       # Play cancel SE
  273.       $game_system.se_play($data_system.cancel_se)
  274.       # Set quantity input window to inactive / invisible
  275.       @number_window.active = false
  276.       @number_window.visible = false
  277.       # Number Cancel Command
  278.       number_cancel_command_input
  279.       return
  280.     end
  281.     # If C button was pressed
  282.     if Input.trigger?(Input::C)
  283.       # Play shop SE
  284.       $game_system.se_play($data_system.shop_se)
  285.       # Set quantity input window to inactive / invisible
  286.       @number_window.active = false
  287.       @number_window.visible = false
  288.       # Number Command Input
  289.       number_command_input
  290.       return
  291.     end
  292.   end
  293.   #--------------------------------------------------------------------------
  294.   # * Update Number Cancel Command
  295.   #--------------------------------------------------------------------------
  296.   def number_cancel_command_input
  297.     # Branch by command window cursor position
  298.     case @command_window.command
  299.     when SDK::Scene_Commands::Scene_Shop::Buy   # buy
  300.       # Change windows to buy mode
  301.       @buy_window.active = true
  302.       @buy_window.visible = true
  303.     when SDK::Scene_Commands::Scene_Shop::Sell  # sell
  304.       # Change windows to sell mode
  305.       @sell_window.active = true
  306.       @sell_window.visible = true
  307.       @status_window.visible = false
  308.     end
  309.   end
  310.   #--------------------------------------------------------------------------
  311.   # * Update Number Command
  312.   #--------------------------------------------------------------------------
  313.   def number_command_input
  314.     # Branch by command window cursor position
  315.     case @command_window.command
  316.     when SDK::Scene_Commands::Scene_Shop::Buy    # buy
  317.       command_number_buy
  318.     when SDK::Scene_Commands::Scene_Shop::Sell   # sell  
  319.       command_number_sell
  320.     end
  321.   end
  322.   #--------------------------------------------------------------------------
  323.   # * Command : Main Buy
  324.   #--------------------------------------------------------------------------
  325.   def command_main_buy    
  326.     # Change windows to buy mode
  327.     @command_window.active = false
  328.     @dummy_window.visible = false
  329.     @buy_window.active = true
  330.     @buy_window.visible = true
  331.     @buy_window.refresh
  332.     @status_window.visible = true
  333.   end
  334.   #--------------------------------------------------------------------------
  335.   # * Command : Main Sell
  336.   #--------------------------------------------------------------------------
  337.   def command_main_sell
  338.     # Change windows to sell mode
  339.     @command_window.active = false
  340.     @dummy_window.visible = false
  341.     @sell_window.active = true
  342.     @sell_window.visible = true
  343.     @sell_window.refresh
  344.   end
  345.   #--------------------------------------------------------------------------
  346.   # * Command : Exit
  347.   #--------------------------------------------------------------------------
  348.   def command_exit
  349.     # Switch to map screen
  350.     $scene = Scene_Map.new
  351.   end
  352.   #--------------------------------------------------------------------------
  353.   # * Command : Number Buy
  354.   #--------------------------------------------------------------------------
  355.   def command_number_buy
  356.     # Buy process
  357.     $game_party.lose_gold(@number_window.number * @item.price)
  358.     case @item
  359.     when RPG::Item
  360.       $game_party.gain_item(@item.id, @number_window.number)
  361.     when RPG::Weapon
  362.       $game_party.gain_weapon(@item.id, @number_window.number)
  363.     when RPG::Armor
  364.       $game_party.gain_armor(@item.id, @number_window.number)
  365.     end
  366.     # Refresh each window
  367.     @gold_window.refresh
  368.     @buy_window.refresh
  369.     @status_window.refresh
  370.     # Change windows to buy mode
  371.     @buy_window.active = true
  372.     @buy_window.visible = true
  373.   end
  374.   #--------------------------------------------------------------------------
  375.   # * Command : Number Sell
  376.   #--------------------------------------------------------------------------
  377.   def command_number_sell
  378.     # Sell process
  379.     $game_party.gain_gold(@number_window.number * (@item.price / 2))
  380.     case @item
  381.     when RPG::Item
  382.       $game_party.lose_item(@item.id, @number_window.number)
  383.     when RPG::Weapon
  384.       $game_party.lose_weapon(@item.id, @number_window.number)
  385.     when RPG::Armor
  386.       $game_party.lose_armor(@item.id, @number_window.number)
  387.     end
  388.     # Refresh each window
  389.     @gold_window.refresh
  390.     @sell_window.refresh
  391.     @status_window.refresh
  392.     # Change windows to sell mode
  393.     @sell_window.active = true
  394.     @sell_window.visible = true
  395.     @status_window.visible = false
  396.   end
  397. end
  398.  
  399. #==============================================================================
  400. # ** Ends Enable Part IV Check
  401. #==============================================================================
  402. end
Expand to see the code.


Again, notify me within the next four years if you guy's ever update this again (probably not >.>), I've got alot more stuff that I've either fixed, improved or just hasn't been submitted. I use it all in my project in one way or another, so anything I've got to submit has already been tested and works fine and some of my old submissions are out of date :P
Alright what's up with this...

As I'm playing or testing out my game...I get an error every single time I try to open up the main menu using the esc key, which then closes down the whole game. The error I get is:

Script 'SDK' line 4509: RGSSError occurred.

disposed tilemap


I have no idea what this means and it's annoying the hell out of me. So if anybody can give me a hand it would be greatly appreciated! :)
In my version of SDK, line 2509 says...

    return

What does your's say?
Why would line 2509 have anything to do with it?
typo... 4509
Oh haha, thought so :P

Line 4509 in my version says:

@tilemap.ox = $game_map.display_x / 4
So, something is trying to update the tilemap AFTER the main menu scene starts, so the tilemap has been disposed from the previous map scene. do a search (Cntl-Shift-F) on update_tilemap, and see if you can find where it's being called from the menu scene.
(or from the map scene, but after the tilemap has been disposed)
Well theres a "def update_tilemap" on line 4507?
It's impossible to tell without seeing the code. You have a different version of SDK, and I don't know what other scripts in what order with what modifications....

Best you compress & upload the project. Then I'll take a look at debugging it.
Hey, i am doing some major modifications to the scene processing.
When i am on the party select phase, and select a command in the partycommand window i get the following error:
Image

I dont know what's wrong, i dont see any "command" call to a null object... help please im stuck with this
EDIT: How do i need to put it in my RMXP project. I think it has to do something with that....

I downloaded this,and it's not compatible with atoa costum battle system:http://www.hbgames.org/forums/viewtopic.php?p=779475#p779475
(download it please ,to look at it)

i get this error Image
EDIT: when i put the SDK above it,i get this error:

Image

I also posted this at the ATOA topic but i don't know who's supposed to help me(if you want to) xD

Oh and why do i need this script? To use this awesome script.

http://rpgflag.nl/forum/index.php?topic ... 4#msg19214

It's pretty cool,but dutch xP
Anyone knows whether the SDK, the MACL and HBGE are still active?
They're as active as SephirothSpawn, so...not really. But that's not reason not to use the SDK or MACL in your project or standalone script.
yeah you really destroyed the easiness of scripting with this bullshit, great tha you support unnecessary complexity for just a tiny step of compatability... i mean damnit the aliases were alright and needed to be merged correctly (and if you have 2 scripts manipulating an original method you still have to fit them even with the new sdk). keep your rapture for complexity in university, this is really fucked up, i won't use it anymore... (quit the right time, when i see this)
The two things the SDK helps with, IMO, are:

1. Fixes the F12 bug with aliases
2. Breaks up functions like they are in RMVX so that, for example, a script doesn't have to change the whole #main method of a scene to add a window, and it makes it possible to insert something after initialization but before the main loop without rewriting the whole method (previously aliases couldn't be used).

Since the first part is just a bug fix with the engine, and the second part was done in RMVX anyway (and therefore makes porting easier), the SDK isn't all the evil you have suggested. But then, I haven't personally dealt with the logging/enabling/disabling capabilities, and there is the fact that SDK scripts have another dependency that might break with non-SDK scripts.

Ultimately the SDK is a tool for scripters that intend to release projects to the community. It shouldn't be a problem if you're just scripting your own stuff, and if you're a non-scripter trying to make sense of everything there are clear instructions for putting your scripts together that are probably less prone to bugs than without SDK in the mix.
i personally have always hated it, i will never program for it again. its nice in theory, but only works if lots of people use it, which ill be honest back when i first started all scripts had an sdk version(in fact most only had an sdk version). but after we had all these scripts we realized f%^& this, its too much hassle. so thats why almost no one uses it any more. to clearify its not used because its a pain in the ass.
over at Chaos-Project It is often referred to as the Script Destruction Kit.
Personally I hate the thing too. in theory if EVERYONE used it it would be great, scripts would be more compatible ect. but the ting is that like Communism it only looks good on paper IRL it fails.
as it is I still manage to make my scripts compatible with most everything.

(Note that this is not meant to spark an argument, that topic has long since burned itself into the ground, this Is just my two cents)

MACL on the other hand is great.

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