Example of how you would do a health bot

On viernes, 3 de septiembre de 2010 0 comentarios

int iHealth;
BYTE* pYOURHEALTH = (BYTE*)0x66666666;

void Thread1(void)
{
while(1) // loop
{
iHealth = *(BYTE*)pYOURHEALTH; // get health

if( iHealth > 0 && iHealth < 100 )
{
*(BYTE*)pYOURHEALTH = 100;//set health
MySendMessage(hWnd, WM_KEYDOWN,VK_F5,0); // or press a key or click the mouse...
MySendMessage(hWnd, WM_KEYUP,VK_F5,0);
}
Sleep(200);
}
}

0 comentarios:

Publicar un comentario