Hi
Maybe someone can help me, i searched with ida for the new Spell_C__HandleTerrainClick offset 0x247284, but it will not work,
here is my function, which i use, is this function still okay?
uint DoStringArg_Codecave = GV.WoWHook.Memory.AllocateMemory(20);
uint Spell_C__HandleTerrainClick = (uint)GV.WoWBase + GF.Spell_C__HandleTerrainClick;
GV.WoWHook.Memory.WriteFloat(DoStringArg_Codecave, 0);
GV.WoWHook.Memory.WriteFloat(DoStringArg_Codecave + 4, 0);
GV.WoWHook.Memory.WriteFloat(DoStringArg_Codecave + 8, X);
GV.WoWHook.Memory.WriteFloat(DoStringArg_Codecave + 12, Y);
GV.WoWHook.Memory.WriteFloat(DoStringArg_Codecave + 16, Z);
String[] asm = new String[]
{
"nop",
"nop",
"mov eax, " + DoStringArg_Codecave,
"push eax",
"mov eax, " + (uint)Spell_C__HandleTerrainClick, //
"call eax",
"add esp, 0x4",
"retn",
};
Thx Mike