Here are small Sample for loot easily.
Is on vb.net
REQUIS >> Go in the menu of wow, Key Bindings > Targetings Function > and press key K in interacte with target.
Code:
Public Class Lib_Func_Wow
Public Shared Sub Interact(ByVal Object_Base_Adress As UInt64, ByVal Handle_Windows_WoW As IntPtr)
SelectTarget(Object_Base_Adress) 'Write Guid in TargetGuid Player
pressKey(Keys.K, Handle_Windows_WoW) ' Press key K
Wait(1000) ' Wait 1 sec
SelectTarget(0) ' Clean Target
End Sub
Public Shared Sub SelectTarget(ByVal TargetBase As Long)
Dim Guid As UInt64 = ReadUInt64(TargetBase + Adresse.ObjectOffsets.Guid)
WriteUInt64(Adresse.TargetGUID, Guid) 'Write Guid in TargetGuid Player
End Sub
<DllImport("kernel32", CharSet:=CharSet.Ansi, SetLastError:=True, ExactSpelling:=True)> _
Private Shared Function GetTickCount() As Integer
End Function
Public Shared Sub Wait(ByVal Milsec As Integer)
Dim num As Integer
num = (GetTickCount() + Milsec)
Do While (GetTickCount() < num)
Application.DoEvents()
Loop
End Sub
<DllImport("user32", EntryPoint:="PostMessageA", CharSet:=CharSet.Ansi, SetLastError:=True, ExactSpelling:=True)> _
Private Shared Function PostMessage(ByVal hwnd As IntPtr, ByVal wMsg As Integer, ByVal wParam As Integer, ByVal lParam As Integer) As Boolean
End Function
Public Shared Sub pressKey(ByVal Key As Keys, ByVal WindowHwnd As IntPtr)
PostMessage(WindowHwnd, &H100, CInt(Key), IntPtr.Zero)
PostMessage(WindowHwnd, &H101, CInt(Key), IntPtr.Zero)
End Sub
End Class
use:
Code:
Interact(Object_Base_Adress, Handle_Windows_WoW)
Example of use: > http://www.mmowned.com/forums/bots-p...w-3-1-3-a.html
> http://www.mmowned.com/forums/progra...te-server.html
Sorry for my bad english