Jump to content

[Question] - Loading Priority


Guest Veretos

Recommended Posts

Look at World.cpp function SetInitialWorldSettings

   sLog.outString( "Loading Creature Data..." );
   sObjectMgr.LoadCreatures();

   sLog.outString( "Loading pet levelup spells..." );
   sSpellMgr.LoadPetLevelupSpellMap();

   sLog.outString( "Loading pet default spell additional to levelup spells..." );
   sSpellMgr.LoadPetDefaultSpells();

   sLog.outString( "Loading Creature Addon Data..." );
   sLog.outString();
   sObjectMgr.LoadCreatureAddons();                            // must be after LoadCreatureTemplates() and LoadCreatures()
   sLog.outString( ">>> Creature Addon Data loaded" );
   sLog.outString();

   sLog.outString( "Loading Creature Respawn Data..." );   // must be after PackInstances()
   sObjectMgr.LoadCreatureRespawnTimes();

   sLog.outString( "Loading Gameobject Data..." );
   sObjectMgr.LoadGameobjects();

Just do what you want here, like moving LoadGameObjects() before LoadCreatures() :)

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use