Bem-vindo ao Fórum!

Registre-se agora mesmo e fique por dentro da maior comunidade de Cheats do Brasil!

Sign in to follow this  
xXSMOKE.

Menu GameBan - Especialistas em banimentos

Recommended Posts

unknown.png

Hoje estarei compartilhando com vocês uma base 100% da minha autoria

usem e abusem

caso não tenha a font instalada só jogar no google

Garantimos o banimento imediato da sua conta, basta injetar x)

U5EO1f6MTPiuU9_zytbfzQ.png

[spoiler=merd4.cpp]

//40m fazendo isso aqui, 100% da minha autoria
//usem e abusem
//caso não tenha a font instalada só jogar no google
//Garantimos o banimento imediato da sua conta, basta injetar x)
#define WIN32_LEAN_AND_MEAN
#include <Windows.h>
#include <process.h>
#include <stdio.h>
#include <time.h>
#include <TlHelp32.h>
#include <math.h>

#include <d3d9.h>
#include <d3dx9.h>

#pragma comment(lib, "d3d9.lib")
#pragma comment(lib, "d3dx9.lib")
#pragma comment(lib, "detours.lib")

#define TMenu DT_LEFT | DT_NOCLIP
#define TESP DT_NOCLIP | DT_CENTER

#pragma warning(disable : 4244 4996)
LPD3DXFONT pFont;

typedef HRESULT(WINAPI* tEndScene)(IDirect3DDevice9* pDevice);
tEndScene oEndScene;

VOID CreateDevice(DWORD *dwVTable)
{
   LPDIRECT3D9 pD3d9;
   LPDIRECT3DDEVICE9 pD3DDevice;
   pD3d9 = Direct3DCreate9(D3D_SDK_VERSION);

   if (pD3d9 == NULL)
       return;

   D3DPRESENT_PARAMETERS pPresentParms;
   ZeroMemory(&pPresentParms, sizeof(pPresentParms));
   pPresentParms.Windowed = TRUE;
   pPresentParms.BackBufferFormat = D3DFMT_UNKNOWN;
   pPresentParms.SwapEffect = D3DSWAPEFFECT_DISCARD;

   if (FAILED(pD3d9->CreateDevice(D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, GetDesktopWindow(), D3DCREATE_SOFTWARE_VERTEXPROCESSING, &pPresentParms, &pD3DDevice)))
       return;

   DWORD *dwTable = (DWORD *)pD3DDevice;
   dwTable = (DWORD *)dwTable[0];

   dwVTable[0] = dwTable[16];
   dwVTable[1] = dwTable[42];
}

extern "C"
{
   PBYTE WINAPI DetourFunction(PBYTE pbTargetFunction, PBYTE pbDetourFunction);
}

void FillRGB(int x, int y, int w, int h, D3DCOLOR color, IDirect3DDevice9* pDevice)
{
   D3DRECT rec = { x, y, x + w, y + h };
   pDevice->Clear(1, &rec, D3DCLEAR_TARGET, color, 0, 0);
}

void DrawBorder(int x, int y, int w, int h, int px, D3DCOLOR BorderColor, IDirect3DDevice9* pDevice)
{
   FillRGB(x, (y + h - px), w, px, BorderColor, pDevice);
   FillRGB(x, y, px, h, BorderColor, pDevice);
   FillRGB(x, y, w, px, BorderColor, pDevice);
   FillRGB((x + w - px), y, px, h, BorderColor, pDevice);
}

void DrawBox(int x, int y, int w, int h, D3DCOLOR BoxColor, D3DCOLOR BorderColor, IDirect3DDevice9* pDevice)
{
   FillRGB(x, y, w, h, BoxColor, pDevice);
   DrawBorder(x, y, w, h, 1, BorderColor, pDevice);
}

struct Vertex
{
   FLOAT x, y, z, w;
   DWORD Color;
};

void GradientBox(int x, int y, int width, int height, D3DCOLOR colour, D3DCOLOR color2, bool vertical, IDirect3DDevice9* pDevice) {
   Vertex pVertex[4] = { { x, y, 0.0f, 1.0f, colour }, { x + width, y, 0.0f, 1.0f, vertical ? colour : color2 }, { x, y + height, 0.0f, 1.0f, vertical ? color2 : colour }, { x + width, y + height, 0.0f, 1.0f, color2 } };
   pDevice->SetFVF(D3DFVF_XYZRHW | D3DFVF_DIFFUSE);
   pDevice->DrawPrimitiveUP(D3DPT_TRIANGLESTRIP, 2, pVertex, sizeof(Vertex));
}

void Text(int x, int y, D3DCOLOR fontColor, char *text, ...)
{
   RECT rct;
   rct.left = x - 1;
   rct.right = x + 1;
   rct.top = y - 1;
   rct.bottom = y + 1;

   if (!text) { return; }
   va_list va_alist;
   char logbuf[256] = { 0 };
   va_start(va_alist, text);
   _vsnprintf(logbuf + strlen(logbuf), sizeof(logbuf) - strlen(logbuf), text, va_alist);
   va_end(va_alist);
   RECT FontRect = { x, y, x, y };
   pFont->DrawTextA(NULL, logbuf, -1, &rct, DT_NOCLIP, fontColor);
}

void BordedText(int x, int y, D3DCOLOR fontColor, D3DCOLOR borderc, char *text, ...)
{
   //Text(x - 1, y, borderc, text);//gambiarra msm
   Text(x + 1, y, borderc, text);
   //Text(x, y- 1, borderc, text);
   Text(x, y+1, borderc, text);
   Text(x, y, fontColor, text);
}

int CalcTSize(char* text)
{
   RECT Rect = { NULL, NULL, NULL, NULL };
   pFont->DrawTextA(NULL, text, -1, &Rect, DT_CALCRECT, NULL);
   return Rect.right;
}

bool IsInBox(int x, int y, int w, int h)
{
   POINT MousePosition;
   GetCursorPos(&MousePosition);
   ScreenToClient(GetForegroundWindow(), &MousePosition);
   return (MousePosition.x >= x && MousePosition.x <= x + w && MousePosition.y >= y && MousePosition.y <= y + h);
}
int tabs[5];

int Tab(int x, int y, int&vtab, char* text, IDirect3DDevice9* pDevice)
{
   if (IsInBox(x, y, 75, 20) && GetAsyncKeyState(VK_LBUTTON) & 1){
       for (int i = 0; i < 5; i++)
           tabs[i] = 0;
       vtab = !vtab;
   }

   if (vtab){
       DrawBox(x, y - 4, 75, 24, D3DCOLOR_XRGB(65, 68, 65), D3DCOLOR_XRGB(255, 129, 0), pDevice);
       Text(x + 78 / 2 - CalcTSize(text) / 2, y + 2, D3DCOLOR_XRGB(255, 255, 255), text);
       FillRGB(x + 1, y + 18, 73, 2, D3DCOLOR_XRGB(65, 68, 65), pDevice);
   }
   else{
       DrawBox(x, y, 75, 20, D3DCOLOR_XRGB(24, 24, 24), D3DCOLOR_XRGB(255, 129, 0), pDevice);
       Text(x + 78 / 2 - CalcTSize(text) / 2, y + 4, D3DCOLOR_XRGB(172, 170, 172), text);
   }

   return x + 77;
}

VOID DrawCheck(DWORD Color, INT X, INT Y, IDirect3DDevice9* pDevice)
{
   FillRGB(X, Y, 1, 3, Color, pDevice);
   FillRGB(X + 1, Y + 1, 1, 3, Color, pDevice);
   FillRGB(X + 2, Y + 2, 1, 3, Color, pDevice);
   FillRGB(X + 3, Y + 1, 1, 3, Color, pDevice);
   FillRGB(X + 4, Y, 1, 3, Color, pDevice);
   FillRGB(X + 5, Y - 1, 1, 3, Color, pDevice);
   FillRGB(X + 6, Y - 2, 1, 3, Color, pDevice);
   FillRGB(X + 7, Y - 3, 1, 3, Color, pDevice);
}

void CheckBox(int x, int y, int&var, char* text, IDirect3DDevice9* pDevice)
{
   D3DCOLOR cu;

   if (IsInBox(x, y, 10, 10) && GetAsyncKeyState(VK_LBUTTON) & 1){
       var = !var;
   }

   DrawBox(x, y, 10, 10, D3DCOLOR_XRGB(255, 129, 0), D3DCOLOR_XRGB(0, 0, 0), pDevice);

   if (var){
       cu = D3DCOLOR_XRGB(255, 255, 255);
       DrawCheck(D3DCOLOR_XRGB(255, 255, 255), x+1, y+4, pDevice);
   }
   else{
       cu = D3DCOLOR_XRGB(213, 213, 213);
   }
   BordedText(x + 15, y - 1, cu, D3DCOLOR_XRGB(0,0,0), text);
}

VOID GroupBox(INT X, INT Y, INT W, INT H, DWORD Color, CHAR* Text, LPDIRECT3DDEVICE9 pDevice)
{
   INT Soma = 10;

   FillRGB(X, Y, Soma, 1, Color, pDevice);
   FillRGB(X + Soma + CalcTSize(Text) + 8, Y, W - CalcTSize(Text) - Soma, 1, Color, pDevice);
   FillRGB(X, Y, 1, H, Color, pDevice);

   FillRGB(X, Y + H, W + 9, 1, Color, pDevice);
   FillRGB(X + Soma + CalcTSize(Text) + 8 + W - CalcTSize(Text) - Soma, Y, 1, H, Color, pDevice);

   BordedText(X + Soma + 5, Y - 6, Color, D3DCOLOR_XRGB(0,0,0), Text);
}

bool temresetn;

int tabspos[5];
int vsca[100];

#define shit_title "Especialistas Em Banimentos CA BR"

void InitVar()
{
   tabs[0] = 1;
}

#define JumpBan  0x37C238B8

HRESULT WINAPI Hook_EndScene(LPDIRECT3DDEVICE9 pDevice)
{
   __asm PUSHAD;
   pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);

   if (!temresetn){
       InitVar();
       D3DXCreateFont(pDevice, 13, 0, FW_NORMAL, 1, 0, DEFAULT_CHARSET, OUT_DEFAULT_PRECIS, ANTIALIASED_QUALITY, DEFAULT_PITCH | FF_DONTCARE, "FORCED SQUARE", &pFont);
       temresetn = true;
   }

   DrawBox(5, 5, 525, 400, D3DCOLOR_XRGB(8, 12, 8), D3DCOLOR_XRGB(255, 129, 0), pDevice);
   GradientBox(5, 5, 525, 25, D3DCOLOR_XRGB(238, 80, 8), D3DCOLOR_XRGB(172, 48, 0), true, pDevice);
   DrawBorder(5, 5, 525, 400, 1, D3DCOLOR_XRGB(255, 129, 0), pDevice);
   BordedText(5 + 525 / 2 - CalcTSize(shit_title) / 2, 12, D3DCOLOR_XRGB(238, 238, 238), D3DCOLOR_XRGB(0, 0, 0), shit_title);

   DrawBox(15, 67, 505, 327, D3DCOLOR_XRGB(65, 68, 65), D3DCOLOR_XRGB(255, 129, 0), pDevice);
   tabspos[0] = Tab(15, 67 - 19, tabs[0], "Aimban", pDevice);
   if (tabs[0]){
       CheckBox(25, 77, vsca[0], "Ativar Ban", pDevice);

       GroupBox(25, 97, 240, 57, D3DCOLOR_XRGB(255, 129, 0), "Opções de Ban", pDevice);
       CheckBox(35, 107, vsca[1], "Puxar Ban", pDevice);
       CheckBox(35, 122, vsca[2], "Ban Fantasma", pDevice);
       CheckBox(35, 137, vsca[3], "Ban Remoto", pDevice);

       GroupBox(25 + 258, 77, 219, 220, D3DCOLOR_XRGB(255, 129, 0), "Configurações do Ban", pDevice);
       CheckBox(35 + 258, 87, vsca[4], "Banir Automaticamente", pDevice);
       CheckBox(35 + 258, 102, vsca[5], "Predição do Ban", pDevice);
       CheckBox(35 + 258, 117, vsca[6], "Marcar Ban", pDevice);
       CheckBox(35 + 258, 132, vsca[7], "Mostrar Ban", pDevice);
       CheckBox(35 + 258, 147, vsca[8], "Ban Suave", pDevice);
   }
   tabspos[1] = Tab(tabspos[0], 67 - 19, tabs[1], "Jogador", pDevice);
   tabspos[2] = Tab(tabspos[1], 67 - 19, tabs[2], "ESP's", pDevice);
   tabspos[3] = Tab(tabspos[2], 67 - 19, tabs[3], "Visuais", pDevice);
   tabspos[4] = Tab(tabspos[3], 67 - 19, tabs[4], "Config", pDevice);

   if (vsca[0])
       *(DWORD*)JumpBan = 600;

   BordedText(5 + 525 / 2 - CalcTSize("Tempo restante para o próximo banimento: 00h 03m 12s") / 2, 377, D3DCOLOR_XRGB(255, 255, 255), D3DCOLOR_XRGB(0,0,0),"Tempo restante para o próximo banimento: 00h 03m 12s");

   pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
   __asm POPAD;
   return oEndScene(pDevice);
}

UINT WINAPI MainThread(VOID *)
{
   DWORD dwVTable[2] = { 0 };
   CreateDevice(dwVTable);

   oEndScene = (tEndScene)DetourFunction((PBYTE)dwVTable[1], (PBYTE)Hook_EndScene);

   return NULL;
}

BOOL APIENTRY DllMain(HMODULE hModule, DWORD dwReason, LPVOID lpReserved)
{
   if (dwReason == DLL_PROCESS_ATTACH)
   {
       DisableThreadLibraryCalls(hModule);

       _beginthreadex(NULL, NULL, &MainThread, NULL, NULL, NULL);
   }
   return TRUE;
}

 

 

  • Like 5

Share this post


Link to post
Share on other sites

go ta dando ban? ahushuashuahu

Share this post


Link to post
Share on other sites

Cadê o download '-'


QUE TIRO FOI ESSE ?

Share this post


Link to post
Share on other sites

Pra que caralhos vou querer banir minha conta? '-'

Share this post


Link to post
Share on other sites
bs0lut' date=' post: 9642325, member: 4675327"']Cadê o download '-'

A source tá no spoiler.

Pra que caralhos vou querer banir minha conta? '-'

Foi uma webpiadinha, o intuito do tópico é só compartilhar a source do menu, não tem função de banir nada.

  • Like 3

серафими многоꙮчитїи

k7OeJm8.png

Share this post


Link to post
Share on other sites

"Vai ficar on nunca" KKKKKKKK, Bom trabalho smoiik


5EX6N7o.jpg

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this