When my bot Interacts it checks via Guid and then Interacts with it.
The problem is that wow sometimes crashes with no error what so ever on an interact.
Log #1
NoMorePasting.com
Log #2
NoMorePasting.com
So Basically it will Display when it finds a mine and what BaseAddr it Interacts W/.
Ex:
###### mine is an interact
Code:
/// <summary>
/// Interact with a object
/// </summary>
/// <param name="obj">object to interact with</param>
public void Interact(uint obj)
{
Process.EnterDebugMode();
//get the adress of the call for vmt 36 (Interact)
uint VMT36 = wow.ReadUInt((wow.ReadUInt(obj) + (36 * 4)));
wow.Asm.AddLine("fs mov eax, [0x2C]");
wow.Asm.AddLine("mov eax, [eax]");
wow.Asm.AddLine("add eax, 8");
wow.Asm.AddLine("mov dword [eax], {0}", ObjectManager.s_curMgr);
wow.Asm.AddLine("mov ecx, {0}", obj);
wow.Asm.AddLine("call {0}", VMT36); //read pointer to Interact method
wow.Asm.AddLine("retn");
wow.Asm.InjectAndExecute(codeCave);
wow.Asm.Clear();
//wow.FreeMemory(codeCave); ''Uses the Same Memory Alloc for all ASM Code''
Main_Window.logAddLine(obj + " mine");
}