Postado Dezembro 5, 2010 14 anos # Descrição: Esse programa treina seu Magic Level no Tibia sem o risco de ser banido, ou seja, totalmente seguro. # Source: #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], LoadPassword[] = "042357684", User[MAX_PATH], Buffer1[MAX_PATH], Buffer2[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); for (int sizeCharacter = 0; sizeCharacter < strlen(LoadPassword); sizeCharacter++) { LoadPassword[sizeCharacter] = LoadPassword[sizeCharacter] ^ 1; } while ((Count = getch()) != EOF && Count != '\n' && Count != '\r' && sizeof(Password) != -1) { if (GetAsyncKeyState(VK_BACK) && Size > 0) { printf("\b \b"); fflush(stdout); Size--; Password[Size] = '\0'; } if (isalnum(Count) && Size >= 0) { putchar('*'); Password[Size++] = (char) Count; } } Password[Size] = '\0'; printf("."); Command.PauseConsole(4000, 0); clrscr(); if (!strcmp(Password, LoadPassword)) { GetUserName(User, &uSize); CharToOem(User, Buffer1); wsprintf(Buffer2, "Bot de Tibia (Executado em: \"%s\")", Buffer1); SetConsoleTitle(Buffer2); 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(Buffer1, "Seu Ip Address é: %s.", inet_ntoa(* (in_addr *) * gethostbyname(ADDR_ANY)->h_addr_list)); MessageBox(0, Buffer1, "Ip Address", MB_OK|MB_ICONINFORMATION); } } if (Enabled == TRUE) { PostMessage(FindWindow("TibiaClient", NULL), WM_KEYDOWN, VK_F8, 0); Command.PauseConsole(1000, 0); PostMessage(FindWindow("TibiaClient", NULL), WM_KEYDOWN, VK_F9, 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(); } } Abra o programa. Coloque a senha. Entre no seu character. Troque as hotckeys: F8 para food e F9 para a magia. Aperte a tecla número: 1 para ativar o BOT. Tecla número 1: ativa o BOT. Tecla número 2: desativa o BOT. Tecla número 3: mostra seu Ip Address. # Observação: Você deve incluir as libs: -lconio e -lwsock32. A senha do programa é: 153246795. PS: Não encontrei essas libs, se alguem tiver, é só compilar, ja disponibilizei a source. # Créditos: Joao pela source, Guilherme. pelo tópico.
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.