i say that i pass all the values correctly but no hit no nothingThat's the code:
DWORD baseaddr =(DWORD)GetModuleHandleW(NULL);
DWORD GetTargetVID = (*(DWORD*)(baseaddr+0x2B1540)+(0x17FCC));
DWORD mode = 0x0;
DWORD network =(DWORD)(baseaddr + 0x2AE584);
void SendAttackPacket(void* pthis, const DWORD mode, const DWORD vid)
{
typedef char(__thiscall* tSendAttackPacket)(void* pthis, DWORD uMotAttack, DWORD dwVIDVictim);
tSendAttackPacket SendAttackPacket = (tSendAttackPacket)(baseaddr+0xA7F80);
}
void Main()
{
while (true)
{
//Here i check the values of the target and CNetworkInstance to see if it matches with values from cheat engine
if (GetAsyncKeyState(VK_NUMPAD1))
{
cout << "target: " << *(DWORD*)GetTargetVID << endl;
cout << "network: " << *(DWORD*)network << endl;
Sleep(1000);
}
SendAttackPacket((void*)(*(DWORD*)network), mode, (*(DWORD*)GetTargetVID));
Sleep(100);
I'm happy to hear your suggestions






