I could find node's position from GAMEOBJECT_POS_X,GAMEOBJECT_POS_Y,GAMEOBJECT_POS_Z in the node's DescriptorOffset before wow 3.12.
but i can't find the Descriptors in wow 3.2,how can i find the node's position??
somebody help me?
I could find node's position from GAMEOBJECT_POS_X,GAMEOBJECT_POS_Y,GAMEOBJECT_POS_Z in the node's DescriptorOffset before wow 3.12.
but i can't find the Descriptors in wow 3.2,how can i find the node's position??
somebody help me?
Last edited by xtor; 08-12-2009 at 11:47 PM.
public enum Position : uint
{
XOffset = 0x798,
YOffset = 0x79C,
ZOffset = 0x7A0,
RotationOffset = 0x7A8
}
i find the offset!It's not same with the player!!!
node:
00684450 /. 55 push ebp
00684451 |. 8BEC mov ebp, esp
00684453 |. 8B49 04 mov ecx, dword ptr [ecx+0x4] ;
00684456 |. 56 push esi ;ecx is the baseaddress of node
00684457 |. 8B75 08 mov esi, dword ptr [ebp+0x8]
0068445A |. 81C1 D8000000 add ecx, 0xD8
00684460 |. 8D41 10 lea eax, dword ptr [ecx+0x10] ; eax's the x position
00684463 |. 50 push eax ; /Arg2
00684464 |. 56 push esi ; |Arg1
00684465 |. E8 660EE1FF call 004952D0 ; \Wow3_2.004952D0
0068446A |. 8BC6 mov eax, esi
0068446C |. 5E pop esi
0068446D |. 5D pop ebp
0068446E \. C2 0400 retn 0x4
player:
0065E790 /. 55 push ebp
0065E791 |. 8BEC mov ebp, esp
0065E793 |. 8B89 D8000000 mov ecx, dword ptr [ecx+0xD8] ; ecx's the baseaddress of player
0065E799 |. 56 push esi ; ecx's the offset of baseaddress
0065E79A |. 8B75 08 mov esi, dword ptr [ebp+0x8]
0065E79D |. 8D41 10 lea eax, dword ptr [ecx+0x10] ; eax's the x position
0065E7A0 |. 50 push eax ; /Arg2
0065E7A1 |. 56 push esi ; |Arg1
0065E7A2 |. E8 296BE3FF call 004952D0 ; \Wow3_2.004952D0
0065E7A7 |. 8BC6 mov eax, esi
0065E7A9 |. 5E pop esi
0065E7AA |. 5D pop ebp
0065E7AB \. C2 0400 retn 0x4
oh yea I must have not been paying attention.
Objects have these offsets. Player has the ones I posted earlier
Code:RotationOffset = 0x7A8, OBJECT_LOCATION_X = 0xE8, OBJECT_LOCATION_Y = 0xEC, OBJECT_LOCATION_Z = 0xF0,
/never mind, stupid me...
Last edited by Cromon; 08-14-2009 at 07:38 AM.