Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: DLL Auto POT PARA VERSÃO SEASON 2 1.02R  (Visto 266 veces)

0 Miembros and 1 Guest are viewing this topic.

Offline Vazamento Posteado: April 16, 2024, 09:18:48 PM | Modificado: April 17, 2024, 03:38:53 AM by ZabiinoOo

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 27
  • Gracias recibida: 418
  • br
DLL Auto Pot Season 2 1.02 R

F5 ATIVA E DESATIVA



Code: [Select]
#include "stdafx.h"
#include "AutoPot.h"


CAutoClick gAutoClick;

CAutoClick::CAutoClick()
{
this->m_Theread = NULL;

//this->CreateAutoClick();
}

CAutoClick::~CAutoClick()
{
if (this->m_Theread != NULL)
{
TerminateThread(this->m_Theread, 0);
CloseHandle(this->m_Theread);
this->m_Theread = NULL;
}
}

void CAutoClick::CreateAutoClick()
{

GetCursorPos(&this->CursorCoords);

if (this->m_Theread == NULL)
{
this->m_Theread = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)this->AutoClickWorker, this, 0, 0);
}
}

DWORD WINAPI CAutoClick::AutoClickWorker(CAutoClick* AutoClick)
{
while (1)
{
Sleep(20);

if (AutoClick->m_ClickRight == 1 || AutoClick->m_ClickLeft == 1)
{
if (AutoClick->m_ClickRight == 1)
{
keybd_event('Q', 0, 0, 0);
Sleep(30);
keybd_event('Q', 0, KEYEVENTF_KEYUP, 0);
Sleep(30);
keybd_event('W', 0, 0, 0);
Sleep(30);
keybd_event('W', 0, KEYEVENTF_KEYUP, 0);
Sleep(30);
keybd_event('E', 0, 0, 0);
Sleep(30);
keybd_event('E', 0, KEYEVENTF_KEYUP, 0);
Sleep(30);
}

if (AutoClick->m_ClickLeft == 1)
{
SendMessage(g_hWnd, WM_LBUTTONDOWN, MK_LBUTTON,0);
Sleep(30);
SendMessage(g_hWnd, WM_LBUTTONUP, MK_LBUTTON,0);
Sleep(30);
}
}
}

return 1;
}


Download :

Creditos: João Vithor


Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
0 Replies
1407 Views
Last post October 17, 2018, 03:14:33 PM
by socolas
7 Replies
1753 Views
Last post July 28, 2020, 10:56:26 PM
by Zerek
3 Replies
731 Views
Last post September 22, 2020, 01:11:00 PM
by nixonk5
20 Replies
3432 Views
Last post May 13, 2021, 06:01:04 PM
by legacy101
1 Replies
334 Views
Last post June 12, 2021, 05:20:48 PM
by DaiveSN