Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

XAS Hero ABS+Crafting System Question

Angst

Member

I was wondering if the XAS Hero ABS is compatable with MACL v.2.1 and SDK v.2.3, because when I put the MACL, SDK and Crafting System in my editor I get this error when I talk to the premade npc copied from the Crafting System game project, (for testing if it works).:

????? '5:Crafting System' ? 917 ??? NoMethodError ????????

undefined method `main_commands' for nil:NilClass


In the RGSS Editor, it takes me to this line:

Error pointed to Line: 917 @main_command = Window_Command.new(240, $game_crafting.main_commands)

V-Def Section-V
Code:
def main_window
    # Sets Up Help Window
    @help_window = Window_Help.new
    @help_window.width = 608
    @help_window.contents = Bitmap.new(576, 32)
    @help_window.set_text('Welcome. What would you like to do?', 1)
    @help_window.x = 16
    @help_window.y = - 64
    # Sets Up Main Command
    @main_command = Window_Command.new(240, $game_crafting.main_commands)
    @main_command.x = - 240
    @main_command.y = 96
    # Sets Up Crafting Command
    @craft_command = Window_Command.new(240, $game_crafting.crafting_commands)
    @craft_command.x = - 240
    @craft_command.y = 96
    @craft_command.active = false
    # Sets Up Reverse Crafting Command
    @uncraft_command = Window_Command.new(240, 
      $game_crafting.uncrafting_commands)
    @uncraft_command.x = - 240
    @uncraft_command.y = 96
    @uncraft_command.active = false
    # Sets Up Blank Recipe List Window
    @recipe_list = Window_CraftRecipe.new
    # Sets Up Crafting Requirements Window
    @crafting_requirements = Window_CraftRequirements.new
    # Sets Up Confirmation Command
    @confirmation_command = Window_Command.new(160, ['Yes', 'No'])
    @confirmation_command.x = 240
    @confirmation_command.y = 192
    @confirmation_command.z = 250
    @confirmation_command.visible = @confirmation_command.active = false
  end

SDK:
Scripter(s): (SDK Team)
Version: 2.3
Build Date: 2005-11-22

MACL:
Scripter(s): MACL Authors
Version: 2.1
Build Date: 9-17-2006

Crafting System:
Scripter: SephirothSpawn
Version: 1.1
Build Date: 2006-10-17
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top