I use folowing (C#):
Code:
uint power1 = wow.ReadUInt(wow.ReadUInt(playerbase + 8) + 0x19 * 4); // mana
uint power2 = wow.ReadUInt(wow.ReadUInt(playerbase + 8) + 0x1A * 4);// rage
uint power3 = wow.ReadUInt(wow.ReadUInt(playerbase + 8) + 0x1B * 4);
uint power4 = wow.ReadUInt(wow.ReadUInt(playerbase + 8) + 0x1C * 4);// energy
uint power5 = wow.ReadUInt(wow.ReadUInt(playerbase + 8) + 0x1D * 4);
uint power6 = wow.ReadUInt(wow.ReadUInt(playerbase + 8) + 0x1E * 4);
uint power7 = wow.ReadUInt(wow.ReadUInt(playerbase + 8) + 0x1F * 4);
You might find useful THIS LINK. Of corse, you need to update ofsets (i believe they should be somewhere in this forum )
Hope this helps