Olá pessoal.Queria uma colaboração de voces
Me Digam Aonde eu acho os adress basicos na cshell.dll do combat arms.
e também me digam por favor,algum metódo para meu hacker não ser sempre detectado apos 10 minutos.
O Meu hacker tem 15 funções,Adress totalmente Atualizados sendo que apos 10 minutos esta dando DC,alguem poderia me ajudar.
E Muito serio,e obrigado pela colaboração de vocês
~~a soucer esta abaixo~~
Hacker.ccp
[Spoiler]#include "stdafx.h"
#include "Menu.h"
#include "Hook.h"
#define LTClientEXE 0x00485DD0
#define DeviceGame 0x0090AF20
#define LTClientDLL 0x377FE9F0
#define GameStatus 0x3780C6E8
#define PlayerPointer 0x37840F80
#define EspName1 0x3736996C
#define EspName2 0x37369A06
#define NoRecoil 0x3746136C
#define NoReload 0x374AD0D4
#define SuperBullets 0x374A7DD6
#define Invisible 0x378165F5
#define GlassWalls 0x005721CA
#define PlayerRandom 0x3783F360
#define PlayerOffSet 0x00066F34
#define WeaponRange1 0x374AD359
#define WeaponRange2 0x374AD5A9
//Menu
CHAR MenuTitle[25] = { "SnackShauS 1.0" }; // Titulo do hacker a ser Exibido
CHAR Timestruct[25] = { "hh':'mm':'ss tt" }; //Formato de hora a ser exibido
CHAR TimeString[25];
INT MenuSelection;
BOOL Menu = TRUE;
BOOL bFont;
//Hack Variables
INT f1 , f2, f3, f4, f5, f6, f7, f8, // isso ai e como se fosse o ID dos Hacker
f9, f10, f11, f12, f13, f14;
INT bf1, bf2, bf3, bf4, bf5, bf6, bf7, bf8,
bf9, bf10, bf11, bf12, bf13, bf14; //esse e o ID sendo que de outro tipo que representa cada função a ser Usada no hacker...
INT quantdehacks = 14; // aqui e a quantidade de hackers do menu //
typedef INT(__cdecl *RunConsoleCommand_t)(CHAR *cmd);
RunConsoleCommand_t pRunConsoleCommand = (RunConsoleCommand_t)LTClientEXE;
HRESULT WINAPI hkReset(LPDIRECT3DDEVICE9 pDevice, D3DPRESENT_PARAMETERS *a)
{
Directx_Font->OnLostDevice();
HRESULT hTorna = oReset(pDevice, a);
if(SUCCEEDED(hTorna))
Directx_Font->OnResetDevice();
return hTorna;
}
HRESULT WINAPI hkPresent(LPDIRECT3DDEVICE9 pDevice, CONST RECT *a, CONST RECT *b, HWND c, CONST RGNDATA *d)
{
if(Directx_Font) {
Directx_Font->Release();
Directx_Font = NULL;
bFont = FALSE;
}
if(!bFont) {
D3DXCreateFont(pDevice, 16, 0, FW_NORMAL, 1, 0, DEFAULT_CHARSET, OUT_DEFAULT_PRECIS, ANTIALIASED_QUALITY, DEFAULT_PITCH | FF_DONTCARE, "Comic Sans MS", &Directx_Font); //ESSA parte e o tipo de exibição de letra,A Palavra em VERMELHO e o tipo de letra a ser exibido no Menu do hacker ,e no começo tem um valor numerico que representa o tamanho da letra//
bFont = TRUE;
}
if(GetAsyncKeyState(VK_INSERT)&1) Menu = !Menu; //essa parte que tem dizendo "(VK_INSERT) & 1) essa e a tecla que sera digitada para amostrar o Menu e ao lado tem um valor 1 que será quantas vezes voce aperta-ra "INSERT" ai mostrara o menu...
if(Menu && Directx_Font) {
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
GetTimeFormat(NULL, NULL, NULL, NULL, Timestruct, 15);
DrawBox(pDevice, 20, 25, 32, 162, Green, Black);
DrawText(pDevice, 30, 35, Yellow, MenuTitle);
sprintf_s(TimeString, "%s", Timestruct);
DrawText(pDevice, 130, 35, Yellow, TimeString);
DrawBox(pDevice, 20, 70, 315, 162, Green, Black); //aqui neste dois ultimos numeros,tem o valor do tamanho do menu,Da draw Box,você pode alterar os valores,mas também ajusta-rá o tamanho.
/////////////// Menu Do Hacker /////////////////////////
DrawText(pDevice, 30, 80, White, "Chams Hacker");
if(f1 == 1) DrawText(pDevice, 150, 80, Green, "[On]"); //o 2º valor numeral nesta linha coloque como esta o 2º Numeral acima,exemplo,Emcima e 80 ai embaixo voce coloca também o mesmo valor 80.
if(f1 == 0) DrawText(pDevice, 150, 80, Blue, "[Off]");
DrawText(pDevice, 30, 100, White, "Speed Hacker");
if(f2 == 1) DrawText(pDevice, 150, 100, Green, "[On]");
if(f2 == 0) DrawText(pDevice, 150, 100, Blue, "[Off]");
DrawText(pDevice, 30, 120, White, "Super Pulo");
if(f3 == 1) DrawText(pDevice, 150, 120, Green, "[On]");
if(f3 == 0) DrawText(pDevice, 150, 120, Blue, "[Off]");
DrawText(pDevice, 30, 140, White, "Pick Up Hack");
if(f4 == 1) DrawText(pDevice, 150, 140, Green, "[On]");
if(f4 == 0) DrawText(pDevice, 150, 140, Blue, "[Off]");
DrawText(pDevice, 30, 160, White, "Voar [Espaço]");
if(f5 == 1) DrawText(pDevice, 150, 160, Green, "[On]");
if(f5 == 0) DrawText(pDevice, 150, 160, Blue, "[Off]");
DrawText(pDevice, 30, 180, White, "No Fog");
if(f6 == 1) DrawText(pDevice, 150, 180, Green, "[On]");
if(f6 == 0) DrawText(pDevice, 150, 180, Blue, "[Off]");
DrawText(pDevice, 30, 200, White, "Brilho [Calor]");
if(f7 == 1) DrawText(pDevice, 150, 200, Green, "[On]");
if(f7 == 0) DrawText(pDevice, 150, 200, Blue, "[Off]");
DrawText(pDevice, 30, 220, White, "Mira Central");
if(f8 == 1) DrawText(pDevice, 150, 220, Green, "[On]");
if(f8 == 0) DrawText(pDevice, 150, 220, Blue, "[Off]");
DrawText(pDevice, 30, 240, White, "Brilho [Calor]");
if(f9 == 1) DrawText(pDevice, 150, 240, Green, "[On]");
if(f9 == 0) DrawText(pDevice, 150, 240, Blue, "[Off]");
DrawText(pDevice, 30, 260, White, "Predição Hack");
if(f10 == 1) DrawText(pDevice, 150, 260, Green, "[On]");
if(f10 == 0) DrawText(pDevice, 150, 260, Blue, "[Off]");
DrawText(pDevice, 30, 280, White, "Brilho Total");
if(f11 == 1) DrawText(pDevice, 150, 280, Green, "[On]");
if(f11 == 0) DrawText(pDevice, 150, 280, Blue, "[Off]");
DrawText(pDevice, 30, 300, White, "Predication");
if(f12 == 1) DrawText(pDevice, 150, 300, Green, "[On]");
if(f12 == 0) DrawText(pDevice, 150, 300, Blue, "[Off]");
DrawText(pDevice, 30, 320, White, "Esqueleto Mode");
if(f13 == 1) DrawText(pDevice, 150, 320, Green, "[On]");
if(f13 == 0) DrawText(pDevice, 150, 320, Blue, "[Off]");
DrawText(pDevice, 30, 340, White, "Ocultar Arma");
if(f14 == 1) DrawText(pDevice, 150, 340, Green, "[On]");
if(f14 == 0) DrawText(pDevice, 150, 340, Blue, "[Off]");
///////////////////////// ** Fim Do Menu Do Hacker ** /////////////////////////
if(GetAsyncKeyState(VK_UP)&1) {
MenuSelection--;
if(MenuSelection < 0) MenuSelection = quantdehacks - 1;
}
if(GetAsyncKeyState(VK_DOWN)&1) {
MenuSelection++;
if(MenuSelection > quantdehacks - 1) MenuSelection = 0;
}
if(GetAsyncKeyState(VK_RIGHT)&1) {
switch(MenuSelection) {
case 0:
f1++; if(f1 > 1) f1 = 1; break;
case 1:
f2++; if(f2 > 1) f2 = 1; break;
case 2:
f3++; if(f3 > 1) f3 = 1; break;
case 3:
f4++; if(f4 > 1) f4 = 1; break;
case 4:
f5++; if(f5 > 1) f5 = 1; break;
case 5:
f6++; if(f6 > 1) f6 = 1; break;
case 6:
f7++; if(f7 > 1) f7 = 1; break;
case 7:
f8++; if(f8 > 1) f8 = 1; break;
case 8:
f9++; if(f9 > 1) f9 = 1; break;
case 9:
f10++; if(f10 > 1) f10 = 1; break;
case 10:
f11++; if(f11 > 1) f11 = 1; break;
case 11:
f12++; if(f12 > 1) f12 = 1; break;
case 12:
f13++; if(f13 > 1) f13 = 1; break;
case 13:
f14++; if(f14 > 1) f14 = 1; break;
case 14:
break;
}
}
if(GetAsyncKeyState(VK_LEFT)&1) {
switch(MenuSelection) {
case 0:
f1--; if(f1 < 0) f1 = 0; break;
case 1:
f2--; if(f2 < 0) f2 = 0; break;
case 2:
f3--; if(f3 < 0) f3 = 0; break;
case 3:
f4--; if(f4 < 0) f4 = 0; break;
case 4:
f5--; if(f5 < 0) f5 = 0; break;
case 5:
f6--; if(f6 < 0) f6 = 0; break;
case 6:
f7--; if(f7 < 0) f7 = 0; break;
case 7:
f8--; if(f8 < 0) f8 = 0; break;
case 8:
f9--; if(f9 < 0) f9 = 0; break;
case 9:
f10--; if(f10 < 0) f10 = 0; break;
case 10:
f11--; if(f11 < 0) f11 = 0; break;
case 11:
f12--; if(f12 < 0) f12 = 0; break;
case 12:
f13--; if(f13 < 0) f13 = 0; break;
case 13:
f14--; if(f14 < 0) f14 = 0; break;
case 14:
break;
}
}
for(INT x = 0; x < quantdehacks + 1; x++) {
if(MenuSelection == x)
CurrentOption(pDevice, 25, 80 + 20 * x, 15, 150, Cyan);
}
}
if(f1)
pRunConsoleCommand("SkelModelStencil 1");
else
pRunConsoleCommand("SkelModelStencil 0");
if(f2 && !bf2) {
pRunConsoleCommand("WalkVel 110.000000");
pRunConsoleCommand("FRunVel 300.000000");
pRunConsoleCommand("BRunVel 300.000000");
pRunConsoleCommand("SRunVel 300.000000");
pRunConsoleCommand("DuckVel 80.000000");
bf2 = 1;
} else if(!f2 && bf2) {
pRunConsoleCommand("WalkVel 70.000000");
pRunConsoleCommand("FRunVel 285.000000");
pRunConsoleCommand("BRunVel 285.000000");
pRunConsoleCommand("SRunVel 285.000000");
pRunConsoleCommand("DuckVel 50.000000");
bf2 = 0;
}
if(f3 && !bf3) {
pRunConsoleCommand("JumpVel 660.000000");
bf3 = 1;
} else if(!f3 && bf3) {
pRunConsoleCommand("JumpVel 330.000000");
bf3 = 0;
}
if(f4) {
pRunConsoleCommand("PlayerGravity -800");
if(GetAsyncKeyState(VK_SPACE) < 0)
pRunConsoleCommand("PlayerGravity 800");
}
if(f4 && !bf4) {
pRunConsoleCommand("PerturbRotationEffect 0.000000");
pRunConsoleCommand("PerturbIncreaseSpeed 0.000000");
pRunConsoleCommand("PerturbWalkPercent 0.000000");
pRunConsoleCommand("PerturbFiringIncreaseSpeed 0.000000");
pRunConsoleCommand("PerturbRecoil 0.000000");
pRunConsoleCommand("FireMovePerturb 0.000000");
pRunConsoleCommand("ZoomedFireMoveDuckPerturb 0.000000");
pRunConsoleCommand("ZoomedFireMovePerturb 0.000000");
pRunConsoleCommand("ZoomedFireDuckPerturb 0.000000");
bf4 = 1;
} else if(!f4 && bf4) {
pRunConsoleCommand("PerturbRotationEffect 3.000000");
pRunConsoleCommand("PerturbIncreaseSpeed 3.000000");
pRunConsoleCommand("PerturbDecreaseSpeed 9.000000");
pRunConsoleCommand("PerturbWalkPercent 0.500000");
pRunConsoleCommand("PerturbRecoil 9.000000");
pRunConsoleCommand("FireMovePerturb 9.000000");
pRunConsoleCommand("ZoomedFireMoveDuckPerturb 9.000000");
pRunConsoleCommand("ZoomedFireMovePerturb 9.000000");
pRunConsoleCommand("ZoomedFireDuckPerturb 9.000000");
bf4 = 0;
}
if(f5 && !bf5) {
pRunConsoleCommand("ActivationDistance 99999");
bf5 = 1;
} else if(!f5 && bf5) {
pRunConsoleCommand("ActivationDistance 100");
bf5 = 0;
}
if(f6)
pRunConsoleCommand("FogEnable 0");
else
pRunConsoleCommand("FogEnable 1");
if(f7 && !bf7) {
pRunConsoleCommand("ScreenGlowEnable 1");
bf7 = 1;
} else if(!f7 && bf7) {
pRunConsoleCommand("ScreenGlowEnable 0");
bf7 = 0;
}
if(f8) CrossHair(pDevice, Red);
if(f9 && !bf9) {
pRunConsoleCommand("FullBright 1");
bf9 = 1;
} else if(!f9 && bf9) {
pRunConsoleCommand("FullBright 0");
bf9= 0;
}
if(f10 && !bf10) {
pRunConsoleCommand("Prediction 0");
bf10 = 1;
} else if(!f10 && bf10) {
pRunConsoleCommand("Prediction 1");
bf10 = 0;
}
if(f11 && !bf11) {
pRunConsoleCommand("WeaponSway 0");
bf11 = 1;
} else if(!f11 && bf11) {
pRunConsoleCommand("WeaponSway 1");
bf11 = 0;
}
if(f12 && !bf12) {
pRunConsoleCommand("DrawVolumeEffects 0");
bf12 = 1;
} else if(!f12 && bf12) {
pRunConsoleCommand("DrawVolumeEffects 1");
bf12 = 0;
}
if(f13 && !bf13) {
pRunConsoleCommand("ModelDebug_DrawSkeleton 1");
bf13 = 1;
} else if(!f13 && bf13) {
pRunConsoleCommand("ModelDebug_DrawSkeleton 0");
bf13 = 0;
}
if(f14 && !bf14) {
pRunConsoleCommand("drawguns 0");
bf14 = 1;
} else if(!f14 && bf14) {
pRunConsoleCommand("drawguns 1");
bf14 = 0;
}
return oPresent(pDevice, a, b, c, d);
}
DWORD WINAPI Hook(LPVOID lpArgs)
{
DWORD dwD3D9 = 0;
while(!dwD3D9) {
Sleep(100);
dwD3D9 = (DWORD)GetModuleHandle("d3d9.dll");
}
DWORD dwVTable[1] = {0};
CreateDevice(dwVTable);
oReset = (tReset) Salta((PBYTE) dwVTable[0], (PBYTE) &hkReset, 5);
oPresent = (tPresent)Salta((PBYTE) dwVTable[1], (PBYTE) &hkPresent, 5);
return FALSE;
}
[/Spoiler]
Menu.h
[spoiler]#include "stdafx.h"
LPD3DXFONT Directx_Font;
CONST D3DCOLOR Red = D3DCOLOR_ARGB(155, 155, 000, 000);
CONST D3DCOLOR Green = D3DCOLOR_ARGB(255, 127, 255, 000);
CONST D3DCOLOR Orange = D3DCOLOR_ARGB(255, 255, 140, 000);
CONST D3DCOLOR Blue = D3DCOLOR_ARGB(255, 000, 000, 255);
CONST D3DCOLOR Yellow = D3DCOLOR_ARGB(255, 255, 255, 51);
CONST D3DCOLOR Black = D3DCOLOR_ARGB(255, 000, 000, 000);
CONST D3DCOLOR Grey = D3DCOLOR_ARGB(255, 112, 112, 112);
CONST D3DCOLOR Gold = D3DCOLOR_ARGB(255, 255, 215, 000);
CONST D3DCOLOR Pink = D3DCOLOR_ARGB(255, 255, 192, 203);
CONST D3DCOLOR Purple = D3DCOLOR_ARGB(255, 128, 000, 128);
CONST D3DCOLOR White = D3DCOLOR_ARGB(255, 255, 255, 249);
CONST D3DCOLOR Cyan = D3DCOLOR_ARGB(255, 000, 255, 255);
CONST D3DCOLOR Magenta = D3DCOLOR_ARGB(255, 255, 000, 255);
VOID DrawText(LPDIRECT3DDEVICE9 pDevice, INT x, INT y, DWORD color, CHAR *text)
{
RECT rect;
SetRect(&rect, x, y, x, y);
Directx_Font->DrawText(NULL, text, -1, &rect, DT_LEFT | DT_NOCLIP, color);
}
VOID DrawRect(LPDIRECT3DDEVICE9 pDevice, INT x, INT y, INT h, INT w, DWORD Color)
{
D3DRECT rec;
rec.x1 = x;
rec.x2 = x + w;
rec.y1 = y;
rec.y2 = y + h;
pDevice->Clear(1, &rec, D3DCLEAR_TARGET, Color, 0, 0);
}
VOID DrawBox(LPDIRECT3DDEVICE9 pDevice, INT x, INT y, INT h, INT w, D3DCOLOR Border, D3DCOLOR Fill)
{
DrawRect(pDevice, x, y, h , w, Fill);
DrawRect(pDevice, x, y, h, 1, Border);
DrawRect(pDevice, x + w, y, h, 1, Border);
DrawRect(pDevice, x, y, 1, w, Border);
DrawRect(pDevice, x, y + h, 1, w + 1, Border);
DrawRect(pDevice, x + 2, y + 2, h - 4, 2, Border);
DrawRect(pDevice, x + 2, y + 2, 2, w - 4, Border);
DrawRect(pDevice, x + w - 4, y + 2, h - 4, 2, Border);
DrawRect(pDevice, x + 2, y + h - 4, 2, w - 4, Border);
}
VOID FillBox(LPDIRECT3DDEVICE9 pDevice, INT x, INT y, INT h, INT w, D3DCOLOR Fill)
{
DrawRect(pDevice, x, y, h, w, Fill);
}
VOID CurrentOption(LPDIRECT3DDEVICE9 pDevice, INT x, INT y, INT h, INT w, D3DCOLOR Border)
{
DrawRect(pDevice, x, y, h, 6, Border);
DrawRect(pDevice, x + w, y, h, 2, Border);
DrawRect(pDevice, x, y, 2, w, Border);
DrawRect(pDevice, x, y + h, 2, w + 2, Border);
}
VOID CrossHair(LPDIRECT3DDEVICE9 pDevice, D3DCOLOR Color)
{
D3DVIEWPORT9 Viewport;
pDevice->GetViewport(&Viewport);
DWORD ScreenX = Viewport.Width / 2;
DWORD ScreenY = Viewport.Height / 2;
D3DRECT rec1 = { ScreenX - 15, ScreenY, ScreenX + 15, ScreenY + 2 };
D3DRECT rec2 = { ScreenX, ScreenY - 15, ScreenX + 2, ScreenY + 15 };
pDevice->Clear(1, &rec1, D3DCLEAR_TARGET, Color, 0, 0);
pDevice->Clear(1, &rec2, D3DCLEAR_TARGET, Color, 0, 0);
}
[/spoiler]