InitializationPass

From WCell Wiki

Jump to: navigation, search

Contents

Introduction

WCell uses the InitializationPass attribute to define the order in which certain parts are loaded. The order should not be changed due to possible conflicts.

Members

The enum has 12 members, each loads a certain part in WCell.

Config

During this step, the config is loaded.

  • Loads the config

First

  • Initializes the database; connects.
  • Loads addons
  • Starts loading spells

Second

Use this pass to load spell overrides (fixes).

  • Initializes skills, factions
  • Registers packet handlers
  • Initializes Content
  • Loads spell overrides

Third

  • Finalizes spells
  • Initializes the world

Fourth

  1. Loads DB content
    1. Initializes NPCs
    2. Initializes Items
    3. Initializes AreaTriggers
    4. Initializes WorldLocations
    5. Initializes Commands
    6. Initializes Taxi Paths

Fifth

  • Initializes Auctions
  • Initializes Mail
  • Initializes EquipmentSetRecords
  • Initializes Guild Ids
  • Initializes Experience-Table
  • Initializes performance counters
  • Initializes ItemRecord
  • Initializes Repair Costs
  • Initializes Quests
  • Initializes GameObjects
  • Creates default chat channels
  • Initializes Guilds
  • Initializes Instances

Sixth

  • Initialize Transports

Seventh

  • Initializes Races and Classes

Eight

  • Initializes Battlegrounds

Nineth

Not used. Note the spelling mistake.

Tenth

  • Initializes Debug Tools
  • Initializes Update Packets

Last

Use this step for non-spell/questfix related work. Usually used by addons.

Personal tools