I made a send attack to target and it works but i need this one too, if someone could help with some ideas
Here's the send attack to target code:
Code:
bool status = false;
bool SendAtackPacket(int vId)
{
if (status == true)
{
DWORD NetPointer = *(DWORD*)0x00750A04;
DWORD SendBattle = 0x004AE050;
_asm
{
mov ecx, NetPointer
push vId
push 0
call SendBattle
}
return 0;
}
}
void Main()
{
while (true)
{
if (GetAsyncKeyState(VK_NUMPAD7))
{
status = false;
}
else if(GetAsyncKeyState(VK_NUMPAD9))
{
status = true;
}
DWORD GetTargetVID = (*(DWORD*)(*(DWORD*)0x0078AE54 + 0x00010434));
SendAtackPacket(GetTargetVID);
Sleep(10);
}
}






