Show
Ignore:
Timestamp:
11/19/08 13:42:33 (17 years ago)
Author:
yumileroy
Message:

[svn] *** Source Mangos ***
*Load npc_options at server startup, use cached data at creature gossip menu init.
* Also new .reload table command added
*Implement npc_option localization support, also store in DB BoxText/BoxMoney/Coded?
* Use characters.guid instead low guid value from characters.data in charcter enum data prepering for client.
* Fixed crash at .pinfo command use from console.
* Fixed windows ad.exe build
*Creature related code and DB cleanups.
* Rename 2 creature_template fields to more clean names and related code update also.
* Use enum values instead raw values for type_flags, use halper functions instead code repeating.
* Move tamed pet creating code to new function.

** Small code changes to make things compliant with above changes.
** Another rev with big changes so test away.

Original author: KingPin?
Date: 2008-11-05 09:22:56-06:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/World.cpp

    r149 r168  
    983983    objmgr.LoadNpcTextLocales(); 
    984984    objmgr.LoadPageTextLocales(); 
     985    objmgr.LoadNpcOptionLocales(); 
    985986    objmgr.SetDBCLocaleIndex(GetDefaultDbcLocale());        // Get once for all the locale index of DBC language (console/broadcasts) 
    986987 
     
    11611162    sLog.outString( "Loading Npc Text Id..." ); 
    11621163    objmgr.LoadNpcTextId();                                 // must be after load Creature and NpcText 
     1164     
     1165    sLog.outString( "Loading Npc Options..." ); 
     1166    objmgr.LoadNpcOptions(); 
    11631167 
    11641168    sLog.outString( "Loading vendors..." ); 
     
    24732477    ///- Delete kicked sessions at add new session 
    24742478    for (std::set<WorldSession*>::iterator itr = m_kicked_sessions.begin(); itr != m_kicked_sessions.end(); ++itr) 
     2479    {    
     2480        RemoveQueuedPlayer (*itr); 
    24752481        delete *itr; 
     2482    } 
    24762483    m_kicked_sessions.clear(); 
    24772484