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.

Blizz ABS 19.5 "Stack level too deep"

EDIT: Wrong forum, please move mod ...

I am using Blizz ABS right now ... once I get a little better of a grip on ruby, I'll edit it some (I'll still give credit yeahyeah)

Anyways, it works great.
But I try to make two enemys on one map.

I select playtest.
Select "new game"

And.
"Script Blizz ABS 2 line 5364: SystemStackError occurred.
stack level too deep"
I click "okay" and it closes.


I open up my editor.

The line is:

        return (@lead !=nil ? @ lead.AI_data.sight : @sight)

Now. How do I fix it?


Thanks

- Caesis
 
Okay, part one of the script
(Too long to put all in one post)
#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
# Blizz-ABS by Blizzard
# Version: 1.95
# Auto-Generated Configuration Script
#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
#
#                                    PART 1
#
#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
# Copy-paste this auto-generated script into the script slot instead of Part 1
# of the default Blizz-ABS script.
#
# If you find any bugs, please report them here:
# http://forum.chaos-project.com
#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=

#==============================================================================
# BlizzABS
#------------------------------------------------------------------------------
#  This is the master control, configuration, utility and battle process
#  module for Blizz-ABS.
#==============================================================================

module BlizzABS
 
  #:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
  # BlizzABS::Control
  #----------------------------------------------------------------------------
  #  This module provides in-game control configurations.
  #:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
 
  module Control
   
    CUSTOM_CONTROLS = false
    DISABLE_DEFAULT = true
    UP = "Key['W']"
    LEFT = "Key['A']"
    DOWN = "Key['S']"
    RIGHT = "Key['D']"
    PREVPAGE = "Key['Q']"
    NEXTPAGE = "Key['E']"
    CONFIRM = "Key['H']"
    CANCEL = "Key['F']"
    ATTACK = "Key['K']"
    DEFEND = "Key['L']"
    SKILL = "Key['J']"
    ITEM = "Key['I']"
    SELECT = "Key['O']"
    HUD = "Key['Z']"
    HOTKEY = "Key['X']"
    MINIMAP = "Key['C']"
    RUN = "Key['M']"
    SNEAK = "Key['.']"
    JUMP = "Key[',']"
    TURN = "Key['U']"
   
  end
 
  #:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
  # BlizzABS::Config
  #----------------------------------------------------------------------------
  #  This module provides Blizz-ABS configurations.
  #:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
 
  module Config
   
    # 2.1. # Basic Configuration
    MAX_PARTY = 4
    CATERPILLAR = false
    ANIMATED_IDS = []
    HEAL_ON_LVLUP = false
    DISABLE_ABS_MODE = 0
    MENU_COLOR_TINT = 0
    ITEM_TIME = 30
    ITEM_PICKUP_SOUND_FILE = RPG::AudioFile.new('056-Right02', 80, 100)
    DROP_GOLD = ''
    PICKUP_ON_TOUCH = false
   
    # 2.2. # Movement Configuration
    PIXEL_MOVEMENT_RATE = 0
    REPAIR_MOVEMENT = true
    EIGHT_WAY_MOVEMENT = false
    NORMAL_SPEED = 4
    RUN_SPEED = 5
    SNEAK_SPEED = 3
    JUMPING = 2
    NO_JUMP_TAGS = []
    ALLOW_JUMP_TAGS = []
   
    # 2.3. # Lag Prevention Configuration
    INTELLIGENT_PASSABILTY = false
    FACTOR = 4
    ABSEAL_AUTOKILL = true
    DISABLE_ANTILAG_IDS = []
   
    # 2.4. # Game Info Configuration
    HUD_ENABLED = true
    HUD_TYPE = 1
    HUD_POSITION = 0
    MINIMAP = true
    ENEMY_HEALTH_BARS = 0
    MATCH_HEALTH_BAR_WIDTH = false
    WEAPON_DATA_MODE = [0, 0]
    SKILL_DATA_MODE = [0, 0, 0]
    ITEM_DATA_MODE = [0, 0, 0]
   
    # 2.5. # Enemy Behaviour Configuration
    AI_DEFAULT_ATTRIBUTES = '00000000'
    AI_DELAY_TIME = 40
    AI_MEMORY_COUNT = 80
    PERCEPTION_RANGE = 5
    WALL_TAGS = []
    RESPAWN_TIME = 0
    NO_ENEMY_TAGS = []
   
    # 2.6. # Animation Configuration
    ANIMATIONS = true
    SMALL_ANIMATIONS = true
    DISPLAY_LVLUP = true
    LVLUP_ANIMATION_ID = 0
    FLEE_LOOP_ANIMATION_ID = 0
    CALL_HELP_ANIMATION_ID = 0
   
    # 2.7. # Sprite Control Configuration
    ACTOR_ACTION_SPRITES = false
    ENEMY_ACTION_SPRITES = false
    ACTOR_SKILL_SPRITES = false
    ENEMY_SKILL_SPRITES = false
    WEAPON_SPRITES = false
    RUNNING_SPRITES = false
    SNEAKING_SPRITES = false
    JUMPING_SPRITES = false
    ACTOR_SPRITE_Y_OFFSET = 0
    ENEMY_SPRITE_Y_OFFSET = 0
   
  end
 
  #:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
  # BlizzABS::Weapons
  #----------------------------------------------------------------------------
  #  This module provides weapon configurations.
  #:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
 
  module Weapons
   
    def self.type(id)
      return 0
    end
   
    def self.range(id)
      return 1.5
    end
   
    def self.consume(id)
      return []
    end
   
  end
 
  #:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
  # BlizzABS::Skills
  #----------------------------------------------------------------------------
  #  This module provides skill configurations.
  #:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
 
  module Skills
   
    def self.type(id)
      return [2, 0]
    end
   
    def self.range(id)
      return 1.0
    end
   
  end
 
  #:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
  # BlizzABS::Items
  #----------------------------------------------------------------------------
  #  This module provides item configurations.
  #:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
 
  module Items
   
    def self.type(id)
      return [2, 0]
    end
   
    def self.range(id)
      return 5.5
    end
   
  end
 
  #:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
  # BlizzABS::Enemies
  #----------------------------------------------------------------------------
  #  This module provides enemy configurations.
  #:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
 
  module Enemies
   
    def self.type(id)
      return 0
    end
   
    def self.range(id)
      return 1.5
    end
   
    def self.enemy_set(id)
      return ''
    end
   
    def self.destruct(id)
      return 0
    end
   
  end
 
end
 
OMG.

I can't post the whole second or third code. its too long.

And wheres the d*** attachments thing for this? They don't have one?


Okay ... can anyone with the script help me out here?
 

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