fabian
Members-
Posts
66 -
Joined
-
Last visited
-
Donations
0.00 GBP
fabian's Achievements
Advanced Member (3/3)
0
Reputation
-
fabian joined the community
-
CMSG_AUTH_SESSION from 4.0.3 should be // 0x880A, 34826 - 4.0.3.13329 struct CMSG_AUTH_SESSION { byte unk; byte hash16; uint16 clientBuild; byte hash6; byte unk1; uint64 unk2; byte hash14; byte hash11; byte hash2; uint32 unk3; byte hash13; byte hash5; byte hash19; byte hash9; uint32 unk4; byte hash12; byte hash10; byte hash3; uint32 unk5; byte hash7; byte hash17; uint32 clientSeed; uint32 unk6; byte hash; byte hash8; byte hash1; byte hash4; byte hash18; byte hash15; string accountName; uint32 AddonSize; uint32 AddonLengthUncompressed; uint8 AddonLengthCompressed[AddonSize -4]; }
-
Waht about this errors? I get these erros while extracting the mmaps with some mapids
-
I would move one commentar in PathFinder.h and there is a little typo: NODE must be NOTE: diff --git a/src/game/PathFinder.h b/src/game/PathFinder.h index 8340cd5..01d1875 100644 --- a/src/game/PathFinder.h +++ b/src/game/PathFinder.h @@ -109,8 +109,9 @@ class PathInfo bool isPointInPolyBounds(float x, float y, float z, float &distance, dtPolyRef polyRef); void BuildFreshPath(); + + // NOTE: startPos, endPos is in Y, Z, X format! void BuildPath(dtPolyRef startPoly, float* startPos, dtPolyRef endPoly, float* endPos); - // NODE: startPos, endPos is in Y,Z,X format! void updateNextPosition(); void shortcut();
-
mangos should work more on new features and not only on old things.
-
but it works, and mangos DON'T have only blizzlike things
-
with this patch, somethign works fine, but I can't Enter on a vehicle for example in ulduar. only multimounts are working.
-
I have 3 merge conflicts with the latest mangos and than one compile error diff --git a/src/game/MoveMap.cpp b/src/game/MoveMap.cpp index 9994f23..c337bf7 100644 --- a/src/game/MoveMap.cpp +++ b/src/game/MoveMap.cpp @@ -1,7 +1,7 @@ #include "Map.h" #include "Log.h" -#include "Utilities/UnorderedMap.h" +#include "Utilities/UnorderedMapSet.h" #include "World.h" inline uint32 packTileID(uint32 tileX, uint32 tileY) { return tileX<<16 | tileY; } and the other things arefixes for the compile warnings
-
Compile error fix for latest mangos rev: diff --git a/src/game/MoveMap.cpp b/src/game/MoveMap.cpp index 9994f23..c337bf7 100644 --- a/src/game/MoveMap.cpp +++ b/src/game/MoveMap.cpp @@ -1,7 +1,7 @@ #include "Map.h" #include "Log.h" -#include "Utilities/UnorderedMap.h" +#include "Utilities/UnorderedMapSet.h" #include "World.h" inline uint32 packTileID(uint32 tileX, uint32 tileY) { return tileX<<16 | tileY; } and maybe we can drop this not used variable and fix some warnings: --- a/src/game/PathFinder.cpp +++ b/src/game/PathFinder.cpp @@ -50,10 +50,8 @@ dtPolyRef PathInfo::getPathPolyByPosition(float x, float y, float z) bool PathInfo::isPointInPolyBounds(float x, float y, float z, float &distance, dtPolyRef polyRef) { float point[3] = {y, z, x}; - int polyindex; - const dtMeshTile* tile; - const dtPoly* poly; + if(!m_navMesh->getTileAndPolyByRef(polyRef, &tile, &poly)) return false; // m_pathPolyRefs[i] is invalid diff --git a/src/game/PathFinder.h b/src/game/PathFinder.h index 0144ab4..cc53c00 100644 --- a/src/game/PathFinder.h +++ b/src/game/PathFinder.h @@ -65,6 +65,8 @@ class PathInfo dtNavMeshQuery* m_navMeshQuery; // the nav mesh query used to find the path PathType m_type; // tells what kind of path this is + const dtPoly* poly; + private: inline void clear() { diff --git a/src/game/debugcmds.cpp b/src/game/debugcmds.cpp index cf0353d..df1d777 100644 --- a/src/game/debugcmds.cpp +++ b/src/game/debugcmds.cpp @@ -366,7 +366,6 @@ bool ChatHandler::HandleDebugMoveMapCommand(const char* args) // navmesh poly -> navmesh tile location dtPolyRef polyRef = query->findNearestPoly(location, extents, &(dtQueryFilter()), NULL); const dtMeshTile* tile; - const dtPoly* poly; if(!poly) PSendSysMessage("Dt [??,??] (invalid poly, probably no tile loaded)"); diff --git a/src/game/Chat.h b/src/game/Chat.h index bdb12ce..b86e225 100644 --- a/src/game/Chat.h +++ b/src/game/Chat.h @@ -651,6 +658,8 @@ class ChatHandler void HandleCharacterDeletedRestoreHelper(DeletedInfo const& delInfo); void SetSentErrorMessage(bool val){ sentErrorMessage = val;}; + + const dtPoly* poly; private: WorldSession * m_session; // != NULL for chat command call and NULL for CLI command
-
should work with 10131
-
oh damn it was read from dbc files. /closed
-
it's wrong please delete
-
but it works
-
maybe you can use my patch?
Contact Us
To contact us
click here
You can also email us at [email protected]
Privacy Policy | Terms & Conditions
You can also email us at [email protected]
Privacy Policy | Terms & Conditions
Copyright © getMaNGOS. All rights Reserved.
This website is in no way associated with or endorsed by Blizzard Entertainment®
This website is in no way associated with or endorsed by Blizzard Entertainment®