Skip to content

Instantly share code, notes, and snippets.

# ########## Project setup ##########
PROJECT(MMAP)
CMAKE_MINIMUM_REQUIRED(VERSION 2.4.5)
# ######### General setup ##########
INCLUDE_DIRECTORIES(${MMAP_SOURCE_DIR})
INCLUDE_DIRECTORIES(${MMAP_SOURCE_DIR}/Debug)
INCLUDE_DIRECTORIES(${MMAP_SOURCE_DIR}/../../../dep/include/g3dlite)
INCLUDE_DIRECTORIES(${MMAP_SOURCE_DIR}/../../../dep/include/zlib)
.../WCell.RealmServer/Handlers/CombatLogHandler.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Services/WCell.RealmServer/Handlers/CombatLogHandler.cs b/Services/WCell.RealmServer/Handlers/CombatLogHandler.cs
index 49c9467..429465c 100644
--- a/Services/WCell.RealmServer/Handlers/CombatLogHandler.cs
+++ b/Services/WCell.RealmServer/Handlers/CombatLogHandler.cs
@@ -266,9 +266,9 @@ namespace WCell.RealmServer.Handlers
packet.Write(spellId);
packet.Write(value);
win/VC100/shared.vcxproj.filters | 38 ++++++++++++++++++++++++++++++--------
1 files changed, 30 insertions(+), 8 deletions(-)
diff --git a/win/VC100/shared.vcxproj.filters b/win/VC100/shared.vcxproj.filters
index 590c3ca..02f5fde 100644
--- a/win/VC100/shared.vcxproj.filters
+++ b/win/VC100/shared.vcxproj.filters
@@ -108,10 +108,6 @@
<ClCompile Include="..\..\src\shared\Common.cpp" />
<ClCompile Include="..\..\src\shared\ServiceWin32.cpp" />
5ad40ed5dc17ab9a7797491bb4c8e7251ccde1a8
src/shared/pathfinding/Recast/Recast.cpp | 3 +-
src/shared/pathfinding/Recast/Recast.h | 29 +++++++++--
src/shared/pathfinding/Recast/RecastArea.cpp | 4 +-
.../pathfinding/Recast/RecastRasterization.cpp | 53 ++++++++++++++-----
src/shared/pathfinding/Recast/RecastRegion.cpp | 2 +-
5 files changed, 68 insertions(+), 23 deletions(-)
diff --git a/src/shared/pathfinding/Recast/Recast.cpp b/src/shared/pathfinding/Recast/Recast.cpp
index 9fed737..d492b3f 100644
contrib/mmap/src/generator.cpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/contrib/mmap/src/generator.cpp b/contrib/mmap/src/generator.cpp
index b02c5fc..8f66db9 100644
--- a/contrib/mmap/src/generator.cpp
+++ b/contrib/mmap/src/generator.cpp
@@ -14,21 +14,21 @@ bool checkDirectories(bool debugOutput)
{
vector<string> dirFiles;
class Record
{
public object[] Fields
{
get;
private set;
}
public Record(int fieldCount, BinaryReader input)
{
using System;
using System.IO;
using System.Text;
namespace wowtest
{
/// <summary>
/// Stores the fields of a dbc file's record
/// </summary>
diff --git a/src/game/AggressorAI.cpp b/src/game/AggressorAI.cpp
index a5fed3e..0579836 100644
--- a/src/game/AggressorAI.cpp
+++ b/src/game/AggressorAI.cpp
@@ -48,7 +48,7 @@ AggressorAI::MoveInLineOfSight(Unit *u)
return;
if (m_creature->CanInitiateAttack() && u->isTargetableForAttack() &&
- m_creature->IsHostileTo(u) && u->isInAccessablePlaceFor(m_creature))
+ m_creature->IsHostileTo(u) && u->isInAccessiblePlaceFor(m_creature))
diff --git a/contrib/mmap/src/generator.cpp b/contrib/mmap/src/generator.cpp
index 33f2686..4cc5e94 100644
--- a/contrib/mmap/src/generator.cpp
+++ b/contrib/mmap/src/generator.cpp
@@ -66,6 +66,12 @@ void handleArgs(int argc, char** argv,
if(strcmp(argv[i], "--maxAngle") == 0)
{
param = argv[++i];
+ if(!param)
+ {
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 8281729..da7e3e0 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -4230,7 +4230,10 @@ SpellCastResult Spell::CheckCast(bool strict)
// check global cooldown
if (strict && !m_IsTriggeredSpell && HasGlobalCooldown())
+ {
+ sLog.outDebug("GCD prevented cast of %u", m_spellInfo->Id);