Player base any 1?
Player base any 1?
0x127F13C + 0x30 +28
Forgot the credits..-.- Credits to arigity
Last edited by Cursed; 02-12-2009 at 09:21 AM.
ThxFiller
Thanks luciferc, +reps.
Current Target GUID: 0x10A68E0
Updated RawrSnarl/Sillyboy's out of process getplayername function for 3.0.9. Refer to http://www.mmowned.com/forums/wow-me...rawrsnarl.html for the original.
Disclaimer: may or may not work, updated offsets but not tested.
2nd Disclaimer: Call it ugly, it's not mine
Code:Public Function GetPlayerName(ByVal playerGUID As Int64) Dim nameStorePtr = &H11AF470 + &H8 Dim nameMaskOffset = &H24 Dim nameBaseOffset = &H1C Dim nameStringOffset = &H20 Dim GUID = playerGUID Dim mask = WoW.ReadUInt(nameStorePtr + nameMaskOffset) Dim base = WoW.ReadUInt(nameStorePtr + nameBaseOffset) Dim shortGUID = (GUID And &HFFFFFFFF) If mask = &HFFFFFFFF Then Return "" End If Dim offset = 12 * (mask And shortGUID) Dim current = WoW.ReadUInt(base + offset + 8) offset = WoW.ReadUInt(base + offset) If current = 0 Or (current And &H1) Then Return "" End If Dim testGUID = WoW.ReadInt(current) While testGUID <> shortGUID current = WoW.ReadUInt(current + offset + 4) If current = 0 Or (current And &H1) Then Return "" End If testGUID = WoW.ReadInt(current) End While Return WoW.ReadASCIIString(current + nameStringOffset, 12) End Function
Last edited by Gamer; 02-13-2009 at 03:04 AM.
hi guys,
I looked everywhere in this thread and i couldn't find the ClientConnection pointer and ClientConnectionOffset.
Maybe someone can point me to some tutorial how to get it myself from other descriptors?
Cheers,
Seb.
Thanks ... but... already tried that adress.
Tried it and i can't get valid objects.
If i start object parsing from playerBase i get valid objects though. But i miss all objects stored before playerObjects, means, my code seems good, but still i may not get the object Data base well.
I'm going to check again if i get the 1st object corretly from s_CurMng.
EDIT : Dumb me, forgot to add firstObjectOffset to objectBase... sorry.
Thanks for answering.
Cheers,
Seb
Last edited by sebdoingbot; 02-15-2009 at 05:11 AM.
For get the player name, i just use 11CB348 (static)
Y_name + 0x200 = Your Mother's Name.
Y_name + 0x300 = Your Faher's Name.
Y_name + 0x400 = My Name.
These adresses work but i still cannot find player's rotation angle.
[[[0x127F13C] + 0x30] + 0x28] = player base
X : player base + 0x7D0
Y : player base + 0x7D4
Z : player base + 0x7D8
reading player base + 0x7DC i get a value that changes when i rotate but it's not an angle and it doesnt exist for some angles.
has anyone an idea?
For rotation i use
X : PBase + 2000 ( decimal ) , 0
Y : PBase + 2000 ( decimal ) , 4
Z : PBase + 2000 ( decimal ) , 8
R : PBase + 2000 ( decimal ) , 12
Those are the exact same numbers as i use, the issue is that for R, i get a value that i have to multiply by 56 to make it between 0 and 360.
The value doesnt exist when my angle is between 359° and 1°
I read it as a float and i dont understand why i have this problem.