public enum DirectX //4.0.3.13287
{
DX_DEVICE = 0x97E7F4,
DX_DEVICE_IDX = 0x27C4,
ENDSCENE_IDX = 0xA8,
}
Thx, it works now, with the new DX_Device_IDX it works. At least I was right about something !
"What can be asserted without proof can be dismissed without proof." --- Christopher Hitchens
Nope,
Not yet, at this point, I will have to learn some IDA to learn how to replicate the lua dostring in ASM. Cypher I think, said that to find Dostring in IDA you has to look at the last function of Runscript, I've looked at runscript, no success yet. If anyone has pointers to help me learn how to find lua dostring in IDA, I'm all ears, I want to learn stuff so one day, like 1 year, I can post my first contribution....
fukmeimbroken, if you figure something out, pm me ! I'll do the same.
"What can be asserted without proof can be dismissed without proof." --- Christopher Hitchens
Try looking over my examples from back when I used ahook.
"What can be asserted without proof can be dismissed without proof." --- Christopher Hitchens
Yes, it's 100% copypasta, I not know of this 'IDA' you speak.
- Read this and then look at the call sites of FrameScript__Execute. Like lua_RunScript ...
- Yes, it can change from patch to patch
I can not understand where I have committed an error, like have changed all offsets an.d have added BaseAddress but all the same doesn't work.
Main:
Offsets DirectX:Code:static void Main(string[] args) { Process[] Processes = Process.GetProcessesByName("Wow"); ProcessModule pm = Processes[0].MainModule; Console.WriteLine(pm.BaseAddress); if (Processes.Length > 0) { Console.WriteLine("Select wow process " + Processes[0].Id); BaseAddress = (uint)pm.BaseAddress; MyHook = new Hook((uint)Processes[0].Id, BaseAddress); Console.WriteLine("Hook statut: " + MyHook.threadHooked); if (MyHook.threadHooked) { LuaDoString("DoEmote(\"Dance\")"); Console.WriteLine("INJECT LuaDoString(\"DoEmote(\"Dance\")\")"); MyHook.DisposeHooking(); Console.WriteLine("Dispose Hooking"); } } else Console.WriteLine("WoW process no found."); Console.ReadKey(); }
Other offsets:Code://4.0.3.13287 uint DX_DEVICE = 0x97E7F4+BaseAddress; uint DX_DEVICE_IDX = 0x27C4; uint ENDSCENE_IDX = 0xA8;
Doesn't dance. Help me plz....Code:FrameScript__Execute = 0x39D7F0;
Do you get it hooked ?
"What can be asserted without proof can be dismissed without proof." --- Christopher Hitchens