Hello,
Somebody would know offsets, for 3.1.3, of the life/max life, and strenght, agility, intellect, stamina and spirit?
I think it's Playerbase+offset, but i haven't 3.1.3 (under 3.0.9 only) and I can't search offset for 3.1.3.
Thx.
Hello,
Somebody would know offsets, for 3.1.3, of the life/max life, and strenght, agility, intellect, stamina and spirit?
I think it's Playerbase+offset, but i haven't 3.1.3 (under 3.0.9 only) and I can't search offset for 3.1.3.
Thx.
Yes somebody knows...
Seriously... http://www.mmowned.com/forums/wow-me...ion-rules.html
It's getting very silly lately...
"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
"I cried a little earlier when I had to poop" - Sku
I'd already search in http://www.mmowned.com/forums/wow-me...info-dump.html and with the "forum search", but nor result.
It's a mistake when I write "would know", but this means "I need" for me, I'm french and I've very bad marks in english test><
Last edited by ValouFR; 06-13-2009 at 12:22 PM.
Really? Nor result?
First, you need to find your player base address, which is provided for you here.
Then, you need to read from playerbase + 0x08 to get the pointer to your player's object descriptors, which include:
All of this is provided in that post and all of the methods for understanding how to read an object's descriptors (ESPECIALLY those of your local player) have been detailed in other threads in this forum.Code:UNIT_FIELD_HEALTH=0x17 UNIT_FIELD_POWER1=0x18 UNIT_FIELD_POWER2=0x19 UNIT_FIELD_POWER3=0x1A UNIT_FIELD_POWER4=0x1B UNIT_FIELD_POWER5=0x1C UNIT_FIELD_POWER6=0x1D UNIT_FIELD_POWER7=0x1E UNIT_FIELD_MAXHEALTH=0x1F UNIT_FIELD_MAXPOWER1=0x20 UNIT_FIELD_MAXPOWER2=0x21 UNIT_FIELD_MAXPOWER3=0x22 UNIT_FIELD_MAXPOWER4=0x23 UNIT_FIELD_MAXPOWER5=0x24 UNIT_FIELD_MAXPOWER6=0x25 UNIT_FIELD_MAXPOWER7=0x26
Seriously, people, when Robske says "It's getting very silly lately" he really means that it's getting ****ing stupid lately. Read the forums; it's all there for you. Most of you are not so unique that your problems will not have already been encountered by countless other people and previously resolved and posted here.
Mmmh, okay, I read in diagonal as usual, thank you, the next time I would avoid the human stupidity...
Why doesn't anyone ever actually say what the unit_power fields are? Just curious. I know this is the way they are displayed in IDA, but it would be great to show the actual type of power(rage, rp, mana, etc...).
I'm very sure those have been posted before >.>
Runic power & happiness can go to hell:
Code:/// <summary> /// The current amount of mana of this unit /// </summary> public uint Mana { get { return GetKnownField<uint>(eUnitFields.UNIT_FIELD_POWER1); } } /// <summary> /// The base mana amount of this unit /// </summary> public uint BaseMana { get { return GetKnownField<uint>(eUnitFields.UNIT_FIELD_BASE_MANA); } } /// <summary> /// The maximum mana amount of this unit /// </summary> public uint MaxMana { get { return GetKnownField<uint>(eUnitFields.UNIT_FIELD_MAXPOWER1); } } /// <summary> /// The current rage amount of this unit /// </summary> public uint Rage { get { return GetKnownField<uint>(eUnitFields.UNIT_FIELD_POWER2); } } /// <summary> /// The maximum rage amount of this unit /// </summary> public uint MaxRage { get { return GetKnownField<uint>(eUnitFields.UNIT_FIELD_MAXPOWER2); } } /// <summary> /// The current energy amount of this unit /// </summary> public uint Energy { get { return GetKnownField<uint>(eUnitFields.UNIT_FIELD_POWER3); } } /// <summary> /// The maximum energy amount of this unit /// </summary> public uint MaxEnergy { get { return GetKnownField<uint>(eUnitFields.UNIT_FIELD_MAXPOWER3); } }
"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
"I cried a little earlier when I had to poop" - Sku
Haha, you didn't have to post code. I just never understood why no one posted the types. Not really hard to figure them out :P
Valou tu m'aurais demander je te les aurais donner ^^