Hi guys,
This problem has me stumped atm, trying to call ClickToMove on 2.4.3 WoW - I have dostring working from the mainthread.
When i tried to add CTM to my code I can no longer compile (injected dll)
Code:
typedef bool(__thiscall *CGPlayer_C__ClickToMove)(void*, ClickToMoveType, WGUID*, WoWPos*, float);
CGPlayer_C__ClickToMove originalClickToMove = reinterpret_cast<CGPlayer_C__ClickToMove>(0x612ad7);
The call
Code:
CGPlayer_C__ClickToMove((void*)0x00E29D28, 0x4, nullptr, nextPosition, 0);
I get this error
Code:
1 IntelliSense: expected a ')'
on the comma here
Code:
(void*)0x00E29D28->,<- 0x4
I'm aware the player base could be incorrect, even when replacing with a null pointer the error does not go away - so i cannot compile
Any help would be appreciated thanks