mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[12100] Finalize Outdoor PvP Implementation
Implementation by Xfurry and stfx Thanks to all original Outdoor PvP authors - especially Balrok Thanks to X-Savior for the proper data Thanks to crackm for help with database And thanks to all people who contributed and/or posted bug reports Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
59c3a02eb6
commit
088ed3ff69
2 changed files with 7 additions and 1 deletions
|
|
@ -50,6 +50,7 @@
|
||||||
#include "CreatureAIRegistry.h"
|
#include "CreatureAIRegistry.h"
|
||||||
#include "Policies/SingletonImp.h"
|
#include "Policies/SingletonImp.h"
|
||||||
#include "BattleGroundMgr.h"
|
#include "BattleGroundMgr.h"
|
||||||
|
#include "OutdoorPvP/OutdoorPvP.h"
|
||||||
#include "TemporarySummon.h"
|
#include "TemporarySummon.h"
|
||||||
#include "VMapFactory.h"
|
#include "VMapFactory.h"
|
||||||
#include "MoveMap.h"
|
#include "MoveMap.h"
|
||||||
|
|
@ -1370,6 +1371,10 @@ void World::SetInitialWorldSettings()
|
||||||
sBattleGroundMgr.CreateInitialBattleGrounds();
|
sBattleGroundMgr.CreateInitialBattleGrounds();
|
||||||
sBattleGroundMgr.InitAutomaticArenaPointDistribution();
|
sBattleGroundMgr.InitAutomaticArenaPointDistribution();
|
||||||
|
|
||||||
|
///- Initialize Outdoor PvP
|
||||||
|
sLog.outString("Starting Outdoor PvP System");
|
||||||
|
sOutdoorPvPMgr.InitOutdoorPvP();
|
||||||
|
|
||||||
// Not sure if this can be moved up in the sequence (with static data loading) as it uses MapManager
|
// Not sure if this can be moved up in the sequence (with static data loading) as it uses MapManager
|
||||||
sLog.outString("Loading Transports...");
|
sLog.outString("Loading Transports...");
|
||||||
sMapMgr.LoadTransports();
|
sMapMgr.LoadTransports();
|
||||||
|
|
@ -1538,6 +1543,7 @@ void World::Update(uint32 diff)
|
||||||
///- Update objects (maps, transport, creatures,...)
|
///- Update objects (maps, transport, creatures,...)
|
||||||
sMapMgr.Update(diff);
|
sMapMgr.Update(diff);
|
||||||
sBattleGroundMgr.Update(diff);
|
sBattleGroundMgr.Update(diff);
|
||||||
|
sOutdoorPvPMgr.Update(diff);
|
||||||
|
|
||||||
///- Delete all characters which have been deleted X days before
|
///- Delete all characters which have been deleted X days before
|
||||||
if (m_timers[WUPDATE_DELETECHARS].Passed())
|
if (m_timers[WUPDATE_DELETECHARS].Passed())
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "12099"
|
#define REVISION_NR "12100"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue