Hi, i want to do a waithack for p-servers but i dont know what to search for it, i dont know if i need the player pointer to take the attack range and mob pointer to kill them if they are in the range of player.
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:
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);
}
}