Thread: Ajuda

Page 1 of 2 12 LastLast
Results 1 to 15 of 22
  1. #1
    Joaoemariana's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Location
    Brasil
    Posts
    59
    Reputation
    10
    Thanks
    14

    Angry Ajuda

    Queia saber se mudar os Numeros disso aqui Pode Ocasionar o DC no hack , Pq o hack pega ai dps de 3 min da DC . Ja encryptei as strings .

    Code:
    {
    	while( !GetModuleHandleA( "ClientFX.fxd" ) )
    		Sleep( 100 );
    
    	DWORD *Device = ***( DWORD **** ) DeviceGaming;	
    	pReset   = ( oReset )   DetourCreate( ( BYTE * ) Device[16] , ( BYTE *)  Reset, 16);
    	pPresent = ( oPresent ) DetourCreate( ( BYTE * ) Device[17] , ( BYTE *) Present, 10);
    }
    Se não For isso , Alguem poderia me dizer oq poderia tar causando o DC . // Não é a Detour pq ela ta att .

  2. #2
    Fєηix's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Location
    Brαzil
    Posts
    1,178
    Reputation
    114
    Thanks
    6,895
    My Mood
    Sleepy
    Quote Originally Posted by Joaoemariana View Post
    Queia saber se mudar os Numeros disso aqui Pode Ocasionar o DC no hack , Pq o hack pega ai dps de 3 min da DC . Ja encryptei as strings .

    Code:
    {
    	while( !GetModuleHandleA( "ClientFX.fxd" ) )
    		Sleep( 100 );
    
    	DWORD *Device = ***( DWORD **** ) DeviceGaming;	
    	pReset   = ( oReset )   DetourCreate( ( BYTE * ) Device[16] , ( BYTE *)  Reset, 16);
    	pPresent = ( oPresent ) DetourCreate( ( BYTE * ) Device[17] , ( BYTE *) Present, 10);
    }
    Se não For isso , Alguem poderia me dizer oq poderia tar causando o DC . // Não é a Detour pq ela ta att .
    Se Voce Alterar Creio Eu Que Nem vai Abri o Jogo... Que Funçoes vc Esta usando Em Sua Base ?

  3. #3
    Joaoemariana's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Location
    Brasil
    Posts
    59
    Reputation
    10
    Thanks
    14
    Quote Originally Posted by --Fenix-- View Post
    Se Voce Alterar Creio Eu Que Nem vai Abri o Jogo... Que Funçoes vc Esta usando Em Sua Base ?
    Eu não tinha Colocado Funções ainda ! Estava testando na Base "Menu Selection V5 " e na Whit ..

  4. #4
    albarella's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Location
    Redtu
    Posts
    65
    Reputation
    10
    Thanks
    397
    My Mood
    Amazed
    Acho que sao suas Detours que estao Sendo detectadas

  5. #5
    Joaoemariana's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Location
    Brasil
    Posts
    59
    Reputation
    10
    Thanks
    14
    Quote Originally Posted by albarella View Post
    Acho que sao suas Detours que estao Sendo detectadas
    Não é a Detour pq ela esta pegando em hotkey.

  6. #6
    Coder.DiasII's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Location
    In My World
    Posts
    1,515
    Reputation
    156
    Thanks
    6,469
    qual e a base se for whit coloca
    a Directx.cpp aki
    se for selection coloca a
    Hack.cpp
    • Registered - February 03, 2012
    • Contributor since August 05, 2014



    CombatArms Brasil


    PointBlank Brasil


  7. #7
    _Debug_'s Avatar
    Join Date
    Jan 2013
    Gender
    male
    Location
    Hueco Mundo
    Posts
    437
    Reputation
    20
    Thanks
    173
    My Mood
    Angelic
    Quote Originally Posted by Coder.DiasII View Post
    qual e a base se for whit coloca
    a Directx.cpp aki
    se for selection coloca a
    Hack.cpp
    E se num for nenhuma das duas? :v

  8. #8
    Coder.DiasII's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Location
    In My World
    Posts
    1,515
    Reputation
    156
    Thanks
    6,469
    Quote Originally Posted by _Debug_ View Post
    E se num for nenhuma das duas? :v
    ele se fode
    • Registered - February 03, 2012
    • Contributor since August 05, 2014



    CombatArms Brasil


    PointBlank Brasil


  9. #9
    Joaoemariana's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Location
    Brasil
    Posts
    59
    Reputation
    10
    Thanks
    14
    Quote Originally Posted by Coder.DiasII View Post
    qual e a base se for whit coloca
    a Directx.cpp aki
    se for selection coloca a
    Hack.cpp
    Whit

    Code:
    #include "DirectX.h"
    #include "Menu.h"
    
    bool Font = false;
    
    oReset pReset;
    oPresent pPresent;
    
    cDirectx Directx;
    
    VOID cDirectx::DrawTri(LPDIRECT3DDEVICE9 dev, INT x, INT y, INT w, INT h, DWORD Color)
    {																			
    	D3DRECT BarRect = {x, y, x + w, y + h}; 
    	dev->Clear(1, &BarRect, D3DCLEAR_TARGET | D3DCLEAR_ZBUFFER, Color, 0, 0); 
    }
    
    VOID cDirectx::Texto(INT x, INT y, DWORD color, DWORD Flags, LPD3DXFONT g_pFont, CONST CHAR *fmt, ...)
    {
    	RECT FontPos = { x, y, x, y };
    	CHAR buf[256] = {'\0'};
    	va_list va_alist;
    
    	va_start(va_alist, fmt);
    	vsprintf_s(buf, fmt, va_alist);
    	va_end(va_alist);
    
    	g_pFont->DrawText(NULL, buf, -1, &FontPos, Flags, color);
    }
    
    HRESULT WINAPI Reset(LPDIRECT3DDEVICE9 pDevice, D3DPRESENT_PARAMETERS *pPresentationParameters)
    {
    	__asm NOP;
    	Directx.pFont->OnLostDevice();
    	Directx.WarningFont->OnLostDevice();
    	HRESULT hRet = pReset(pDevice, pPresentationParameters);
    	if(SUCCEEDED(hRet))
    	{
    		Directx.pFont->OnResetDevice();
    		Directx.WarningFont->OnResetDevice();
    	}
    
    	return hRet;
    }
    
    HRESULT WINAPI Present(LPDIRECT3DDEVICE9 pDevice, CONST RECT *pSourceRect, CONST RECT *pDestRect, HWND hDestWindowOverride, CONST RGNDATA *pDirtyRegion)
    {
    	__asm PUSHAD;
    	if(Directx.pFont) 
    	{
    		Directx.pFont->Release();
    		Directx.pFont = 0;
    		Directx.WarningFont->Release();
    		Directx.WarningFont = 0;
    		Font = false;
    	}
    
    	if(!Font) 
    	{
    		D3DXCreateFont(pDevice, 15, 0, 350, 0, 0, DEFAULT_CHARSET, OUT_TT_ONLY_PRECIS, PROOF_QUALITY, DEFAULT_PITCH | FF_DONTCARE, "Arial", &Directx.pFont);
    		D3DXCreateFont(pDevice, 30, 0, 350, 0, 0, DEFAULT_CHARSET, OUT_TT_ONLY_PRECIS, PROOF_QUALITY, DEFAULT_PITCH | FF_DONTCARE, "Arial", &Directx.WarningFont);
    		Font = true;
    	}
    
    	Base.RenderFrame(pDevice);
    	Base.Funcoes(pDevice);
    
    	__asm POPAD;
    	return pPresent(pDevice, pSourceRect, pDestRect, hDestWindowOverride, pDirtyRegion);
    }
    
    VOID cDirectx::Hook(VOID)
    {
    	while( !GetModuleHandleA( "ClientFX.fxd" ) )
    		Sleep( 100 );
    
    	DWORD *Device = ***( DWORD **** ) DeviceGaming;	
    	pReset   = ( oReset )   DetourCreate( ( BYTE * ) Device[16] , ( BYTE *)  Reset, 16);
    	pPresent = ( oPresent ) DetourCreate( ( BYTE * ) Device[17] , ( BYTE *) Present, 10);
    }
    Base.CPP

    Code:
    #include "Files.h"
    #include "Base.h"
    #include "Menu.h"
    #include "DirectX.h"
    #include "Itens.h"
    
    INT frame;
    
    //Posição do Menu.
    INT menux = 50;
    INT menuy = 45;
    
    
    VOID cBase::RenderFrame(LPDIRECT3DDEVICE9 pDevice)
    {	
    	if(Mvisible) 
    	{
    		if(colorborder == 0) 
    		{
    			cBase::DrawBox(menux, menuy, Mxofs + 20, 20, TBlack, Red, pDevice);
    			cBase::DrawBox(menux, menuy + 25, Mxofs + 20, frame, TBlack, Red, pDevice);
    		} else if(colorborder == 1) {
    			cBase::DrawBox(menux, menuy, Mxofs + 20, 20, TBlack, Green, pDevice);
    			cBase::DrawBox(menux, menuy + 25, Mxofs + 20, frame, TBlack, Green, pDevice);
    		} else if(colorborder == 2) {
    			cBase::DrawBox(menux, menuy, Mxofs + 20, 20, TBlack, Blue, pDevice);
    			cBase::DrawBox(menux, menuy + 25, Mxofs + 20, frame, TBlack, Blue, pDevice);
    		} else if(colorborder == 3) {
    			cBase::DrawBox(menux, menuy, Mxofs + 20, 20, TBlack, Black, pDevice);
    			cBase::DrawBox(menux, menuy + 25, Mxofs + 20, frame, TBlack, Black, pDevice);
    		}
    		Directx.Texto(menux + ((Mxofs + 20) / 2), menuy + 3, Green, TCenter, Directx.pFont, "Test");
    
    	}
    
    	Menu.MenuShow(menux + 10, menuy + 35, Directx.pFont);
    	Menu.MenuNav();
    
    	if(Mmax == 0)
    		Menu.RenderMenu();
    
    	Base.MoveMenu(pDevice);
    }
    
    
    VOID cBase::FillRGB(INT x, INT y, INT w, INT h, D3DCOLOR color, LPDIRECT3DDEVICE9 pDevice)
    {
    	D3DRECT rec = {x, y, x + w, y + h};
    	pDevice->Clear(1, &rec, D3DCLEAR_TARGET, color, 0, 0);
    }
    
    VOID cBase::DrawLine(INT x1, INT y1, INT x2, INT y2, D3DCOLOR color, LPDIRECT3DDEVICE9 pDevice)
    {
    	CONST DWORD D3D_FVF = D3DFVF_XYZRHW | D3DFVF_DIFFUSE;
    
    	struct Vertex
    	{
    		FLOAT x, y, z, rhw;
    		DWORD dwColor;
    		FLOAT u, v;
    	} V[2] = {
    		{(FLOAT)(x1), (FLOAT)(y1), 0.0f, 1.0f, color, 0.0f, 0.0f},
    		{(FLOAT)(x2), (FLOAT)(y2), 0.0f, 1.0f, color, 0.0f, 0.0f},
    	};
    
    	pDevice->SetFVF(D3D_FVF);
    	pDevice->SetTexture(0, NULL);
    	pDevice->DrawPrimitiveUP(D3DPT_LINESTRIP, 2, V, sizeof(Vertex));
    }
    
    VOID cBase::DrawBorder(INT x, INT y, INT w, INT h, INT px, D3DCOLOR BorderColor, LPDIRECT3DDEVICE9 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 cBase::DrawBox(INT X, INT Y, INT W, INT H, D3DCOLOR Color, D3DCOLOR BorderColor, LPDIRECT3DDEVICE9 pDevice) {
    	
    	DrawBorder(X, Y, W, H, 2, BorderColor, pDevice);
    	
    	CONST DWORD D3D_FVF = D3DFVF_XYZRHW | D3DFVF_DIFFUSE;
    	struct Vertex 
    	{
    		FLOAT X, Y, W, H;
    		D3DCOLOR Color;
    	} V[4] = {
    		{(FLOAT)X, (FLOAT)(Y + H), 0.0F, 0.0F, Color}, 
    		{(FLOAT)X, (FLOAT)Y, 0.0F, 0.0F, Color}, 
    		{(FLOAT)(X + W), (FLOAT)(Y + H), 0.0F, 0.0F, Color}, 
    		{(FLOAT)(X + W), (FLOAT)Y, 0.0F, 0.0F, Color}
    	};
    
    	pDevice->SetRenderState(D3DRS_ALPHABLENDENABLE, D3DZB_TRUE);
    	pDevice->SetRenderState(D3DRS_DESTBLEND, D3DBLEND_INVSRCALPHA);
    	pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
    	pDevice->SetRenderState(D3DRS_FOGENABLE, D3DZB_FALSE);
    
    	pDevice->SetFVF(D3D_FVF);
    	pDevice->SetTexture(0, NULL);
    	pDevice->DrawPrimitiveUP(D3DPT_TRIANGLESTRIP, 2, V, sizeof(Vertex));
    }
    
    VOID cBase::MoveMenu(LPDIRECT3DDEVICE9 pDevice)
    {
    	if(movemenu)
    	{
    		POINT myCursor; 
    		GetCursorPos(&myCursor);
    		menux = myCursor.x; 
    		menuy = myCursor.y; 
    	}
    }
    
    VOID cBase::CrossHair(LPDIRECT3DDEVICE9 pDevice, D3DCOLOR Color)
    {
    	D3DVIEWPORT9 Viewport;
    	pDevice->GetViewport(&Viewport);
    	DWORD ScreenX = Viewport.Width / 2 - 1;
    	DWORD ScreenY = Viewport.Height / 2 - 1;
    	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);
    }
    
    
    
    bool cBase::IsGameReadyForHook(VOID)
    {
    	if ((GetModuleHandleA(/*d3d9.dll*/Descriptografa("‘`‘f[‘™™"))) &&
    		(GetModuleHandleA(/*ClientFX.fxd*/Descriptografa("p™–’›¡s…[“¥‘"))) &&
    		(GetModuleHandleA(/*CShell.dll*/Descriptografa("p€•’™™[‘™™"))))
    		return true;
    
    	return false;
    }
    
    
    
    DWORD WINAPI dwMainThread(LPVOID)
    {
    	while(!Base.IsGameReadyForHook())
    		Sleep(100);
    
    	Directx.Hook();
    
    	return 0;
    }
    
    INT WINAPI DllMain(HMODULE hDll, DWORD dwReason, LPVOID lpReserved)
    {
    	DisableThreadLibraryCalls(hDll);
    
    	if(dwReason == DLL_PROCESS_ATTACH) 
    	{
    	CreateThread( 0, 0, ( LPTHREAD_START_ROUTINE )dwMainThread, 0, 0, 0 );
    	}
    
    	return 1;
    }
    Last edited by Joaoemariana; 01-03-2014 at 10:32 AM.

  10. #10
    Joaoemariana's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Location
    Brasil
    Posts
    59
    Reputation
    10
    Thanks
    14
    Menu Selection

    Code:
    #define WIN32_LEAN_AND_MEAN
    #include <windows.h>
    #include <stdio.h>
    #include <d3d9.h>
    #include <d3dx9.h>
    
    #pragma comment(lib, "d3d9.lib")
    #pragma comment(lib, "d3dx9.lib")
    
    #include "Main.h"
    #include "Hook.h"
    
    
    cMenu *iMenu;
    
    //Variaveis
    INT MoverMenu, Satelite;
    bool bSatelite;
    //Folders Menu
    INT Folder[100];
    
    //Chaves Do Menu
    CHAR* Opt_Opções [] = { "No", "Yes" };
    CHAR* Opt_Menu [] = { "+", "-" };
    
    //Titulo do Hacker
    #define Titulo "Nome"
    
    HRESULT WINAPI HookPresent(LPDIRECT3DDEVICE9 pDevice, const RECT *a, const RECT *b, HWND c, const RGNDATA *d)
    {
    	__asm PUSHAD;
    
    	if (pFont) {
    		pFont->Release();
    		pFont = NULL;
    		bFont = false;
    	}
    
    	if (!bFont) {
    		D3DXCreateFont(pDevice, 14, 0, 400, 1, 0, 1, 0, 4, 0 | (0 << 4), "Myriad Pro", &pFont);
    		bFont = true;
    	}
    
    	if (GetAsyncKeyState(VK_INSERT) & 1) Menu = !Menu;
    
    	if (Menu && pFont) {
    		pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
    		iMenu->DrawBox(PosX - 10, PosY - 22, 180, 20, TBlack, Red, pDevice);//Draw box do Titulo.
    		iMenu->DrawText(pDevice, PosX + 38, PosY - 20, Yellow, Titulo);//Titulo
    		iMenu->DrawBox(PosX - 10, PosY, 180, (Current * 15), TBlack, Red, pDevice);//DrawBox
    		iMenu->DrawBorder(PosX - 10, Posy + 2 + (MenuSelection * 15), 180, 13, 1, White, pDevice);//Seleção
    		Current = 1;
    
    		if (GetAsyncKeyState(VK_UP) & 1)
    			MenuSelection--;
    
    		if (GetAsyncKeyState(VK_DOWN) & 1)
    			MenuSelection++;
    
    		//Itens Do Menu
    		iMenu->Additem("Visual",	1,  Folder[0],	 0,	Opt_Menu,	pDevice);
    		if (Folder[0]) {
    		}
    		iMenu->Additem("Outros", 1, Folder[1], 0, Opt_Menu,	pDevice);
    		if (Folder[1]) {
    			iMenu->Additem("Move Menu", 1, MoverMenu, 0, Opt_Opções, pDevice);
    		}
    			if (MenuSelection >= Current)
    				MenuSelection = 1;
    
    			if (MenuSelection < 1)
    				MenuSelection = Current - 1;
    			}
    	//Funções
    	
    		if (MoverMenu) {
    			POINT MyCursor;
    			GetCursorPos(&MyCursor);
    			PosX = MyCursor.x;
    			PosY = MyCursor.y;
    			Posy = MyCursor.y - 10;
    		}
    
    		__asm POPAD;
    		return oPresent(pDevice, a, b, c, d);
    }
    
    DWORD WINAPI dwThread( LPVOID )
    {
    	while( !GetModuleHandleA( "ClientFX.fxd" ) )
    		Sleep( 100 );
    
    	DWORD *Device = ***( DWORD **** )ADDR_DEVICEGAME;	
    	oPresent = ( tPresent )CreateDetour( ( BYTE * )Device[17], ( BYTE * )&HookPresent, 10);
    	
    	return 0;
    }
    
    INT WINAPI DllMain( HMODULE hModule, DWORD dwReason, LPVOID lpReserved )
    {
    	DisableThreadLibraryCalls( hModule );
    	
    	if( dwReason == DLL_PROCESS_ATTACH )
    		CreateThread( 0, 0, ( LPTHREAD_START_ROUTINE )dwThread, 0, 0, 0 );
    
    	return 1;
    }

  11. #11
    Coder.DiasII's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Location
    In My World
    Posts
    1,515
    Reputation
    156
    Thanks
    6,469
    pode me add no skype: DiasBlackD
    • Registered - February 03, 2012
    • Contributor since August 05, 2014



    CombatArms Brasil


    PointBlank Brasil


  12. #12
    Joaoemariana's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Location
    Brasil
    Posts
    59
    Reputation
    10
    Thanks
    14
    Quote Originally Posted by Coder.DiasII View Post
    pode me add no skype: DiasBlackD
    Esta bem ...........

  13. #13
    The Vector's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Posts
    48
    Reputation
    10
    Thanks
    45
    My Mood
    Amazed
    GetModuleHandleA( "ClientFX.fxd" )

    GetModuleHandleA( "d3d9.dll" )





    Vector - USS Alpha Team


    Want Talk to Me ?

    email: the_vector@live.com
    Skype: TheVectoor

  14. #14
    _Debug_'s Avatar
    Join Date
    Jan 2013
    Gender
    male
    Location
    Hueco Mundo
    Posts
    437
    Reputation
    20
    Thanks
    173
    My Mood
    Angelic
    Quote Originally Posted by The Vector View Post
    GetModuleHandleA( "ClientFX.fxd" )

    GetModuleHandleA( "d3d9.dll" )

    Esse povo que nem pensa que uma coisa simples pode ferrar com tudo e já pensam que o problema já esta em algo mais avançado :v

  15. #15
    pDevice's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Location
    d3d9.h
    Posts
    1,306
    Reputation
    15
    Thanks
    421
    My Mood
    Stressed
    Quote Originally Posted by _Debug_ View Post
    Esse povo que nem pensa que uma coisa simples pode ferrar com tudo e já pensam que o problema já esta em algo mais avançado :v
    Bah






















    lão ???????



Page 1 of 2 12 LastLast

Similar Threads

  1. Ajuda com hack's
    By sinehd in forum Combat Arms Help
    Replies: 2
    Last Post: 09-25-2010, 06:31 PM
  2. Alguem me ajuda ? Help me ?
    By mapjonathan in forum Blackshot Hacks & Cheats
    Replies: 11
    Last Post: 07-19-2010, 07:47 AM
  3. ajuda ? hack windows xp para AVA
    By play4000 in forum Alliance of Valiant Arms (AVA) Discussions
    Replies: 11
    Last Post: 06-19-2010, 09:19 PM
  4. Alguem me Ajuda ? Someone help me?
    By mapjonathan in forum Blackshot Help
    Replies: 0
    Last Post: 03-03-2010, 11:17 PM
  5. ajuda aqui please help
    By mapjonathan in forum Blackshot Hacks & Cheats
    Replies: 1
    Last Post: 07-22-2009, 07:55 PM