need interact/Mousover interact offsets
need interact/Mousover interact offsets
Last edited by halloman; 09-06-2009 at 04:03 AM.
new 3.2 unit tracking anyone?
Last edited by maltikism; 09-06-2009 at 08:27 AM.
Mouseover guid is at 0x1127760. Call 0x447C20 with the GUID as a parameter to interact. Will need to be in main thread(or TLS updated, though issues may occur).
0x4C72E0 takes the object base as a parameter and interacts. Looks pretty sexy imo.
Last edited by lanman92; 09-06-2009 at 01:36 PM.
Anyone have info on finding a unit's class? I looked at the lua code for it, but I'm a little confused. I realize I have to read from [descriptors + 0x41], but what to look for?
Code:private byte[] Bytes0 { get { return BitConverter.GetBytes(GetStorageField<uint>(UnitFields.UNIT_FIELD_BYTES_0)); } } public WoWClass Class { get { return (WoWClass)Bytes0[1]; } } public WoWRace Race { get { return (WoWRace)Bytes0[0]; } } public WoWPowerType PowerType { get { return (WoWPowerType)Bytes0[3]; } } public WoWGender Gender { get { return (WoWGender)Bytes0[2]; } }
Anyone knows the new NameStoreOffset?
This is to get the player name via local guid.
What's the enum for class then?
Code:public enum WoWPowerType { Mana, Rage, Focus, Energy, Happiness, RunicPower, Runes, Health = -2, UNKNOWN } public enum WoWClass : uint { None = 0, Warrior = 1, Paladin = 2, Hunter = 3, Rogue = 4, Priest = 5, DeathKnight = 6, Shaman = 7, Mage = 8, Warlock = 9, Druid = 11, } public enum WoWRace { Human = 1, Orc, Dwarf, NightElf, Undead, Tauren, Gnome, Troll, Goblin, BloodElf, Draenei, FelOrc, Naga, Broken, Skeleton = 15, } public enum WoWGender { Male, Female, Unknown }
Where did you get those from? Just recording each value on each class?
Originals were from ISXWoW/Mangos. I updated the required ones.
That's what I was thinking. Looks like the lua function for GetUnitClass() calls some sort of row read. Well, I guess that's obvious since it retrieves the text value for class...
Anyone know of a static pointer to IDirect3DDevice9?