Ir para conteúdo
Faça parte da equipe! (2024) ×

[C/C++][Source] Bot De Tibia


Programador_Hack
 Compartilhar

Posts Recomendados

#include <windows.h>

#include <winsock.h>

#include <stdio.h>

#include <conio.h>

#include <ctype.h>

 

namespace __Send

{

class Load

{

public:

Load()

{

}

 

~Load()

{

}

 

int LoadNumber(int Number)

{

return Number;

}

};

 

class Bot : public Load

{

public:

Bot()

{

}

 

~Bot()

{

}

 

int PauseConsole(int Time, __Send::Load *Function)

{

Sleep(Function->LoadNumber(Time));

}

};

};

 

__Send::Bot Command;

 

char Password[bUFSIZ], User[MAX_PATH], Buffer[MAX_PATH];

int Count, Size;

 

BOOL Tibia = FALSE, Enabled = FALSE, Actived = FALSE;

DWORD uSize = 1000;

WSADATA Data;

 

int main()

{

SetConsoleTitle("Senha de Desbloqueamento");

textbackground(YELLOW);

clrscr();

textcolor(GREEN);

printf("\n Digite a senha de desbloqueamento: ");

fflush(stdout);

 

while ((Count = getch()) != EOF && Count != '\n' && Count != '\r' && sizeof(Password) != -1)

{

if (GetAsyncKeyState(VK_BACK) && Size > 0)

{

printf("\b \b");

fflush(stdout);

 

Size--;

Password = '\0';

}

 

if (isalnum(Count) && Size >= 0)

{

putchar('*');

Password[size++] = (char) Count;

}

}

 

Password = '\0';

 

printf(".");

Command.PauseConsole(4000, 0);

clrscr();

 

if (!strcmp(Password, "153246795"))

{

GetUserName(User, &uSize);

wsprintf(Buffer, "Bot de Tibia (Executado em: \"%s\")", User);

SetConsoleTitle(Buffer);

 

if (FindWindow("TibiaClient", NULL) && Tibia == FALSE)

{

SetWindowText(FindWindow("TibiaClient", NULL), "Tibia [bot - Estado: Ativado]");

FlashWindow(FindWindow("TibiaClient", NULL), 0);

clrscr();

Tibia = TRUE;

Enabled = TRUE;

Actived = TRUE;

printf("\n O Bot est ativado.");

}

else if (Tibia == FALSE)

{

clrscr();

printf("\n Erro: Tibia nÆo est aberto.");

getch();

return -1;

}

else

{

clrscr();

printf("\n O programa foi editado por alguma pessoa.");

getch();

return -1;

}

 

while (true)

{

if (FindWindow("TibiaClient", NULL) && Tibia == TRUE)

{

if (GetAsyncKeyState(VK_NUMPAD1) && Enabled == FALSE)

{

Enabled = TRUE;

keybd_event(VK_BACK, 0, 0, 0);

clrscr();

SetWindowText(FindWindow("TibiaClient", NULL), "Tibia [bot - Estado: Ativado]");

printf("\n O Bot est ativado.");

}

 

if (GetAsyncKeyState(VK_NUMPAD2) && Enabled == TRUE)

{

Enabled = FALSE;

keybd_event(VK_BACK, 0, 0, 0);

clrscr();

SetWindowText(FindWindow("TibiaClient", NULL), "Tibia [bot - Estado: Desativado]");

printf("\n O Bot est desativado.");

}

 

if (GetAsyncKeyState(VK_NUMPAD3) && Actived == TRUE)

{

keybd_event(VK_BACK, 0, 0, 0);

WSACleanup();

 

if (WSAStartup(MAKEWORD(1, 1), &Data) == SOCKET_ERROR)

{

clrscr();

printf("\n NÆo foi possivel executar o comando: \"WSAStartup()\".");

getch();

return -1;

}

else

{

wsprintf(Buffer, "Seu Ip Address é: %s.", inet_ntoa(* (in_addr *) * gethostbyname(ADDR_ANY)->h_addr_list));

MessageBox(0, Buffer, "Ip Address", MB_OK|MB_ICONINFORMATION);

}

}

 

if (Enabled == TRUE)

{

keybd_event(VK_F8, 0, 0, 0);

Command.PauseConsole(1000, 0);

keybd_event(VK_F9, 0, 0, 0);

}

}

else if (Tibia == TRUE)

{

Tibia = FALSE;

clrscr();

printf("\n Erro: Tibia foi fechado.");

getch();

return -1;

}

}

}

else

{

printf("\n A senha: \"%s\" est errada.", Password);

getch();

}

}

 

Tútorial:

 

Abra Tibia.exe.

Abra o Bot e digite a senha de desbloqueamento (senha: 153246795).

 

 

 

Comandos:

 

Tecla número 1: ativa o Bot.

Tecla número 2: desativa o Bot.

Tecla número 3: mostra seu Ip Address

.

 

 

Por favo agradeçao

 

Creditos

 

Programador_Hack

Link para o comentário
Compartilhar em outros sites

Este tópico está impedido de receber novos posts.
 Compartilhar

  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...

Informação Importante

Nós fazemos uso de cookies no seu dispositivo para ajudar a tornar este site melhor. Você pode ajustar suas configurações de cookies , caso contrário, vamos supor que você está bem para continuar.