Hey guys...
converted my offsets from old to new.
but its giving me a massive headache trying to debug.
im using same method as i was using last patch, just updated offsets.
but nothing..
Old
Code:
if ( dword_DD606C == 4 )
{
_EAX = a2;
__asm
{
movss xmm2, dword_DD60E0
movss xmm0, dword ptr [eax+14h]
movss xmm1, dword ptr [eax+24h]
movss xmm3, dword_DD60E4
movss xmm4, dword_DD60DC
New offsets?
Code:
if ( dword_DD4A24 != 13 )
{
if ( dword_DD4A24 == 4 ) <------------- Push
{
_EAX = a2;
__asm
{
movss xmm2, dword_DD4A98
movss xmm0, dword ptr [eax+14h]
movss xmm1, dword ptr [eax+24h]
movss xmm3, dword_DD4A9C
movss xmm4, dword_DD4A94
Code:
internal static class ClickToMove
{
enum eClickToMove
{
DestinationX = 0xDD4A94, // 4.3.2.15211
DestinationY = DestinationX + 0x4, // 4.3.2.15211
DestinationZ = DestinationX + 0x8, // 4.3.2.15211
Push = 0xDD4A24, // 4.3.2.15211
}
enum eCTMActionType
{
FaceTarget = 0x1,
Stop = 0x3,
WalkTo = 0x4,
InteractNpc = 0x5,
Loot = 0x6,
InteractObject = 0x7,
Unknown1 = 0x8,
Unknown2 = 0x9,
AttackPos = 0xA,
AttackGuid = 0xB,
WalkAndRotate = 0xC
}
internal static void MoveTo(WoWPoint Location)
{
MoveTo(Location.X, Location.Y, Location.Z);
}
internal static void MoveTo(float X, float Y, float Z)
{
ObjectManager.Wow.Write<float>((uint)eClickToMove.DestinationX, X);
ObjectManager.Wow.Write<float>((uint)eClickToMove.DestinationY, Y);
ObjectManager.Wow.Write<float>((uint)eClickToMove.DestinationZ, Z);
ObjectManager.Wow.Write<int>((uint)eClickToMove.Push, (int)eCTMActionType.WalkTo);
}
}