thx for this. Can you explain from witch function did you find it?BattlegroundFinished = 0x01129344 (1=true, 0=false)
BattlegroundWinner = 0x01129348 (0=horde, 1=alliance)
BattlegroundStatus = 0x01129278 (0=none, 1=queued, 2=confirm, 3=active)
BattlegroundStartTime = 0x01129334 (in ms)
thx.
I'm trying to reverse lua_GetComboPoints for 2 hours and I can't find where I can read my target combo points.
Someone can help me plz.
I'm pretty sure you could just get combo points from either the local player structure or the target structure. Probably target structure.
hi,
I want to read the targets hp..but I dont get it
can someone help me ?
1) You need to know how to find wows object manager, get player guid and all objects (plenty of tutorials here)
2) Iterate through objects and find player
3) Read guid at [ [ player + 0xd0 ] + 0xc * 4 ] - thats target guid
4) Iterate through all objects again and find target
5) Read int at [ [ target + 0xd0 ] + 0x11 * 4 ]
6) Profit
note:
- 0xd0 = FIELDS offset
ok thx
@Cypher
dont understand you sentence :P
But now i stuck in reading from target..I can read all from the Char but not from target
($playerbase+0xd0,$handle, "dword")+0x44,$handle,"dword")
this is my playerbase read thing^^ as you see in autoit
but how I read from target now?
Last edited by halloman; 09-18-2009 at 10:26 AM.
Fields = [ playerBase + 0xd0 ] DWORD
TargetGuid = [ Fields + 0xc * 4 ] QWORD
Loop through all objects in object manager and find the one with TargetGuid ( I assume you know how to do that, if you dont, read one of gazillion topics in this forums )
TargetFields = [ targetBase + 0xd0 ] DWORD
TargetHealth = [ TargetFields + 0x11 * 4] DWORD
WIN!
Dunno how to explain it better.
CGPlayer_C__ClickToMove (name taken from Apoc's functions list)
as of 3.2.0a function address: 0x0069E580
bool CGPlayer_C__ClickToMove(ctmAction action, WGUID *targetGUID, Point *position, float facing).
this is class instance call so ECX must point to user object (obviously "player").
Is it possible to read object's names without calling virtual methods? Something like baseAddress + nameOffset?
Viano
For Object type 5 it's : name = (ObjectBase + 0x1A4) + 0x90)