Port to WoW client 12.0.7 (build 68453)
Adapt CypherCore from 11.2.5.63796 to 12.0.7.68453 using TrinityCore as byte-exact reference. - Fase 1: build gate 68453 (build_info + build_auth_key SQL, keys from TC) - Fase 2: Opcodes.cs remapped by name to 12.0.7 values - Fase 3: 32 DB2 structs + HotfixDatabase.cs SELECTs realigned; fixed ReputationManager/SpellInfo refs - Fase 4: UpdateFields ported (GameObject/Conversation/AreaTrigger/Player/ Unit/ActivePlayer + nested VisibleItem/QuestLog/BitVectors/CraftingOrderItem/ SkillInfo) - Critical protocol fixes: CreateObject header +3 bits (Room/Decor/MeshObject); EntityFragment enum renumbered to 12.0.7 (was 11.2.5 values, breaking every object packet) - New-entity foundation: TypeId/TypeMask/HighGuid.MeshObject, fragment tags - MeshObject entity scaffold (Midnight features are wire-format only) Builds clean (dotnet build -c Release, 0 errors). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -19,7 +19,8 @@ namespace Framework.Constants
|
||||
AreaTrigger = 11,
|
||||
SceneObject = 12,
|
||||
Conversation = 13,
|
||||
Max = 14
|
||||
MeshObject = 14, // 12.0.7
|
||||
Max = 15
|
||||
}
|
||||
|
||||
public enum TypeMask
|
||||
@@ -38,9 +39,10 @@ namespace Framework.Constants
|
||||
AreaTrigger = 0x800,
|
||||
SceneObject = 0x1000,
|
||||
Conversation = 0x2000,
|
||||
MeshObject = 0x4000, // 12.0.7
|
||||
|
||||
Seer = Unit | Player | DynamicObject,
|
||||
WorldObject = Unit | GameObject | DynamicObject | Corpse | AreaTrigger | SceneObject | Conversation
|
||||
WorldObject = Unit | GameObject | DynamicObject | Corpse | AreaTrigger | SceneObject | Conversation | MeshObject
|
||||
}
|
||||
|
||||
public enum HighGuid
|
||||
@@ -100,6 +102,9 @@ namespace Framework.Constants
|
||||
ArenaTeam = 52,
|
||||
LMMParty = 53,
|
||||
LMMLobby = 54,
|
||||
Housing = 55, // 12.0.7
|
||||
MeshObject = 56, // 12.0.7
|
||||
Entity = 57, // 12.0.7
|
||||
|
||||
Count
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user