-
Contributor
[Wow] [8.0.1.27404]
Code:
enum class Offsets
{
ObjectMgrPtr = 0x27E9E48,
NameCacheBase = 0x23E2488,
CooldownPtr = 0x25FAF88,
LastHardwareAction = 0x26FC568,
LocalPlayerGUID = 0x2C5FB10,
CameraBase = 0x2B75BE0,
ZoneID = 0x23F5AB4,
IsTexting = 0x272B6B4,
ActionBarFirstSlot = 0x2B948F0,
MouseOverGUID = 0x2B41B38,
ClickToMoveTrigger = 0x2786E8C,
GameVersion = 0x202ADAC,
GameBuild = 0x202ADB4,
GameReleaseDate = 0x202ADC0,
InGameFlag = 0x2B41B11,
IsLoadingOrConnecting = 0x26AACB8,
};
enum class FunctionOffsets
{
MoveTo = 0x9F26A0,
Interact = 0xEEBA50,
FrameScript_ExecuteBuffer = 0x301120,
FrameScript_GetLocalizedText = 0x9B9930,
FrameScript_GetText = 0x2FDE30,
Spell_GetSpellCooldown = 0x83EFB0,
Spell_HandleTerrainClick = 0x848CC0,
Spell_CheckInRange = 0x8597B0,
Unit_IsFriendly = 0x9CD550,
WorldFrame_Intersect = 0x15464A0,
};
Dumped with WoWOffsetDumper
-
Post Thanks / Like - 2 Thanks
fortiZ,
imzz (2 members gave Thanks to ejt for this useful post)
-
Contributor
I could need some help with the Interact function, I can't get it to work.
I'm defining it as
Code:
typedef __int64(__fastcall* t_Interact)(__int64 _this);
extern t_Interact Interact = (t_Interact)((__int64)GetModuleHandle("Wow.exe") + static_cast<unsigned __int64>(address));
And using is with
Code:
Interact(<ObjectAddressFromObjMgr>);
Tested both GameObject and Unit as input but none of them work, any ideas?
The parameter was GUID of the object, not object address.
Last edited by ejt; 08-21-2018 at 04:33 PM.
-
Member
Originally Posted by
ejt
The parameter was GUID of the object, not object address.
Do you have this address? TraceLine
-
Originally Posted by
Delaoros
Do you have this address? TraceLine
Should be the same thing...
Originally Posted by
ejt
WorldFrame_Intersect = 0x15464A0,
-
Member
Originally Posted by
DarkLinux
Should be the same thing...
Why does the execution client disappear?
-
Active Member
byte Traceline(Point end, Point start, Point result, float distance, uint flags, Point Optional);
x86:
//"push " + 0,
// "push " + (uint)hitFlags,
// "push " + distance,
// "push " + result,
// "push " + start,
// "push " + end,
// "call " + Traceline
Regarding the parameters of this function, is wow X64 still like this?
I have been testing 0 to return, I don't know what the problem is.
Code:
public enum CGWorldFrameHitFlags : uint
{
HitTestNothing = 0,
HitTestBoundingModels = 1,
HitTestWMO = 0x10,
HitTestUnknown = 0x40,
HitTestGround = 0x100,
HitTestAllButLiquid = 0x151,
HitTestAll = 0x30151,
HitTestLiquid = 0x10000,
HitTestUnknown2 = 0x80,
HitTestMovableObjects = 0x100000,
HitTestLOS = 0x100151,
HitTestGroundAndStructures = 0x111,
}
Does this enum change?
Last edited by imzz; 08-26-2018 at 10:48 AM.
回首向来萧瑟处,归去,也无风雨也无晴。