Fix build with scripts included
This commit is contained in:
@@ -69,7 +69,7 @@ public:
|
||||
break;
|
||||
case GOSSIP_ACTION_INFO_DEF:
|
||||
ai->Debug = !ai->Debug;
|
||||
sLog->OutDebug(LOG_FILTER_TSCR, "TSCR: HyjalAI - Debug mode has been toggled");
|
||||
sLog->outDebug(LOG_FILTER_TSCR, "TSCR: HyjalAI - Debug mode has been toggled");
|
||||
break;
|
||||
}
|
||||
return true;
|
||||
@@ -148,7 +148,7 @@ public:
|
||||
break;
|
||||
case GOSSIP_ACTION_INFO_DEF:
|
||||
ai->Debug = !ai->Debug;
|
||||
sLog->OutDebug(LOG_FILTER_TSCR, "TSCR: HyjalAI - Debug mode has been toggled");
|
||||
sLog->outDebug(LOG_FILTER_TSCR, "TSCR: HyjalAI - Debug mode has been toggled");
|
||||
break;
|
||||
}
|
||||
return true;
|
||||
|
||||
@@ -563,7 +563,7 @@ void hyjalAI::SummonNextWave(const Wave wave[18], uint32 Count, float Base[4][3]
|
||||
else
|
||||
{
|
||||
NextWaveTimer = 15000;
|
||||
sLog->OutDebug(LOG_FILTER_TSCR, "TSCR: HyjalAI: debug mode is enabled. Next Wave in 15 seconds");
|
||||
sLog->outDebug(LOG_FILTER_TSCR, "TSCR: HyjalAI: debug mode is enabled. Next Wave in 15 seconds");
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
@@ -260,7 +260,7 @@ public:
|
||||
break;
|
||||
}
|
||||
|
||||
sLog->OutDebug(LOG_FILTER_TSCR, "TSCR: Instance Hyjal: Instance data updated for event %u (Data=%u)",type,data);
|
||||
sLog->outDebug(LOG_FILTER_TSCR, "TSCR: Instance Hyjal: Instance data updated for event %u (Data=%u)",type,data);
|
||||
|
||||
if (data == DONE)
|
||||
{
|
||||
|
||||
@@ -325,7 +325,7 @@ public:
|
||||
mRiftWaveCount = 0;
|
||||
|
||||
entry = PortalWaves[mWaveId].PortalMob[mRiftWaveCount];
|
||||
sLog->OutDebug(LOG_FILTER_TSCR, "TSCR: npc_time_rift: summoning wave Creature (Wave %u, Entry %u).",mRiftWaveCount,entry);
|
||||
sLog->outDebug(LOG_FILTER_TSCR, "TSCR: npc_time_rift: summoning wave Creature (Wave %u, Entry %u).",mRiftWaveCount,entry);
|
||||
|
||||
++mRiftWaveCount;
|
||||
|
||||
@@ -350,7 +350,7 @@ public:
|
||||
if (me->IsNonMeleeSpellCasted(false))
|
||||
return;
|
||||
|
||||
sLog->OutDebug(LOG_FILTER_TSCR, "TSCR: npc_time_rift: not casting anylonger, i need to die.");
|
||||
sLog->outDebug(LOG_FILTER_TSCR, "TSCR: npc_time_rift: not casting anylonger, i need to die.");
|
||||
me->setDeathState(JUST_DIED);
|
||||
|
||||
if (pInstance->GetData(TYPE_RIFT) == IN_PROGRESS)
|
||||
|
||||
@@ -194,7 +194,7 @@ public:
|
||||
{
|
||||
if (data == IN_PROGRESS)
|
||||
{
|
||||
sLog->OutDebug(LOG_FILTER_TSCR, "TSCR: Instance Dark Portal: Starting event.");
|
||||
sLog->outDebug(LOG_FILTER_TSCR, "TSCR: Instance Dark Portal: Starting event.");
|
||||
InitWorldState();
|
||||
m_auiEncounter[1] = IN_PROGRESS;
|
||||
NextPortal_Timer = 15000;
|
||||
@@ -203,7 +203,7 @@ public:
|
||||
if (data == DONE)
|
||||
{
|
||||
//this may be completed further out in the post-event
|
||||
sLog->OutDebug(LOG_FILTER_TSCR, "TSCR: Instance Dark Portal: Event completed.");
|
||||
sLog->outDebug(LOG_FILTER_TSCR, "TSCR: Instance Dark Portal: Event completed.");
|
||||
Map::PlayerList const& players = instance->GetPlayers();
|
||||
|
||||
if (!players.isEmpty())
|
||||
@@ -268,7 +268,7 @@ public:
|
||||
if (entry == RIFT_BOSS)
|
||||
entry = RandRiftBoss();
|
||||
|
||||
sLog->OutDebug(LOG_FILTER_TSCR, "TSCR: Instance Dark Portal: Summoning rift boss entry %u.",entry);
|
||||
sLog->outDebug(LOG_FILTER_TSCR, "TSCR: Instance Dark Portal: Summoning rift boss entry %u.",entry);
|
||||
|
||||
Position pos;
|
||||
me->GetRandomNearPosition(pos, 10.0f);
|
||||
@@ -279,7 +279,7 @@ public:
|
||||
if (Creature* summon = me->SummonCreature(entry, pos, TEMPSUMMON_TIMED_OR_DEAD_DESPAWN, 600000))
|
||||
return summon;
|
||||
|
||||
sLog->OutDebug(LOG_FILTER_TSCR, "TSCR: Instance Dark Portal: What just happened there? No boss, no loot, no fun...");
|
||||
sLog->outDebug(LOG_FILTER_TSCR, "TSCR: Instance Dark Portal: What just happened there? No boss, no loot, no fun...");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@@ -292,7 +292,7 @@ public:
|
||||
if (tmp >= CurrentRiftId)
|
||||
++tmp;
|
||||
|
||||
sLog->OutDebug(LOG_FILTER_TSCR, "TSCR: Instance Dark Portal: Creating Time Rift at locationId %i (old locationId was %u).",tmp,CurrentRiftId);
|
||||
sLog->outDebug(LOG_FILTER_TSCR, "TSCR: Instance Dark Portal: Creating Time Rift at locationId %i (old locationId was %u).",tmp,CurrentRiftId);
|
||||
|
||||
CurrentRiftId = tmp;
|
||||
|
||||
|
||||
+10
-10
@@ -83,7 +83,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
sLog->OutDebug(LOG_FILTER_TSCR, "TSCR: Instance Old Hillsbrad: GetPlayerInMap, but PlayerList is empty!");
|
||||
sLog->outDebug(LOG_FILTER_TSCR, "TSCR: Instance Old Hillsbrad: GetPlayerInMap, but PlayerList is empty!");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@@ -123,7 +123,7 @@ public:
|
||||
|
||||
if (!pPlayer)
|
||||
{
|
||||
sLog->OutDebug(LOG_FILTER_TSCR, "TSCR: Instance Old Hillsbrad: SetData (Type: %u Data %u) cannot find any player.", type, data);
|
||||
sLog->outDebug(LOG_FILTER_TSCR, "TSCR: Instance Old Hillsbrad: SetData (Type: %u Data %u) cannot find any player.", type, data);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -139,7 +139,7 @@ public:
|
||||
++mBarrelCount;
|
||||
DoUpdateWorldState(WORLD_STATE_OH, mBarrelCount);
|
||||
|
||||
sLog->OutDebug(LOG_FILTER_TSCR, "TSCR: Instance Old Hillsbrad: go_barrel_old_hillsbrad count %u",mBarrelCount);
|
||||
sLog->outDebug(LOG_FILTER_TSCR, "TSCR: Instance Old Hillsbrad: go_barrel_old_hillsbrad count %u",mBarrelCount);
|
||||
|
||||
m_auiEncounter[0] = IN_PROGRESS;
|
||||
|
||||
@@ -160,7 +160,7 @@ public:
|
||||
{
|
||||
++mThrallEventCount;
|
||||
m_auiEncounter[1] = NOT_STARTED;
|
||||
sLog->OutDebug(LOG_FILTER_TSCR, "TSCR: Instance Old Hillsbrad: Thrall event failed %u times. Resetting all sub-events.",mThrallEventCount);
|
||||
sLog->outDebug(LOG_FILTER_TSCR, "TSCR: Instance Old Hillsbrad: Thrall event failed %u times. Resetting all sub-events.",mThrallEventCount);
|
||||
m_auiEncounter[2] = NOT_STARTED;
|
||||
m_auiEncounter[3] = NOT_STARTED;
|
||||
m_auiEncounter[4] = NOT_STARTED;
|
||||
@@ -173,29 +173,29 @@ public:
|
||||
m_auiEncounter[3] = data;
|
||||
m_auiEncounter[4] = data;
|
||||
m_auiEncounter[5] = data;
|
||||
sLog->OutDebug(LOG_FILTER_TSCR, "TSCR: Instance Old Hillsbrad: Thrall event failed %u times. Resetting all sub-events.",mThrallEventCount);
|
||||
sLog->outDebug(LOG_FILTER_TSCR, "TSCR: Instance Old Hillsbrad: Thrall event failed %u times. Resetting all sub-events.",mThrallEventCount);
|
||||
}
|
||||
}
|
||||
else
|
||||
m_auiEncounter[1] = data;
|
||||
sLog->OutDebug(LOG_FILTER_TSCR, "TSCR: Instance Old Hillsbrad: Thrall escort event adjusted to data %u.",data);
|
||||
sLog->outDebug(LOG_FILTER_TSCR, "TSCR: Instance Old Hillsbrad: Thrall escort event adjusted to data %u.",data);
|
||||
break;
|
||||
}
|
||||
case TYPE_THRALL_PART1:
|
||||
m_auiEncounter[2] = data;
|
||||
sLog->OutDebug(LOG_FILTER_TSCR, "TSCR: Instance Old Hillsbrad: Thrall event part I adjusted to data %u.",data);
|
||||
sLog->outDebug(LOG_FILTER_TSCR, "TSCR: Instance Old Hillsbrad: Thrall event part I adjusted to data %u.",data);
|
||||
break;
|
||||
case TYPE_THRALL_PART2:
|
||||
m_auiEncounter[3] = data;
|
||||
sLog->OutDebug(LOG_FILTER_TSCR, "TSCR: Instance Old Hillsbrad: Thrall event part II adjusted to data %u.",data);
|
||||
sLog->outDebug(LOG_FILTER_TSCR, "TSCR: Instance Old Hillsbrad: Thrall event part II adjusted to data %u.",data);
|
||||
break;
|
||||
case TYPE_THRALL_PART3:
|
||||
m_auiEncounter[4] = data;
|
||||
sLog->OutDebug(LOG_FILTER_TSCR, "TSCR: Instance Old Hillsbrad: Thrall event part III adjusted to data %u.",data);
|
||||
sLog->outDebug(LOG_FILTER_TSCR, "TSCR: Instance Old Hillsbrad: Thrall event part III adjusted to data %u.",data);
|
||||
break;
|
||||
case TYPE_THRALL_PART4:
|
||||
m_auiEncounter[5] = data;
|
||||
sLog->OutDebug(LOG_FILTER_TSCR, "TSCR: Instance Old Hillsbrad: Thrall event part IV adjusted to data %u.",data);
|
||||
sLog->outDebug(LOG_FILTER_TSCR, "TSCR: Instance Old Hillsbrad: Thrall event part IV adjusted to data %u.",data);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ public:
|
||||
return plr;
|
||||
}
|
||||
}
|
||||
sLog->OutDebug(LOG_FILTER_TSCR, "TSCR: Instance Razorfen Kraul: GetPlayerInMap, but PlayerList is empty!");
|
||||
sLog->outDebug(LOG_FILTER_TSCR, "TSCR: Instance Razorfen Kraul: GetPlayerInMap, but PlayerList is empty!");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user