Murder Cheats Inc - BF2 Hacks - BF2142 Hacks - Counter-Strike Source Hacks - CoD4 Hacks - CoD WaW Hacks
All times are GMT -7. The time now is 10:59 AM.  

Welcome to the 187ci BF2 Hacks CoD4 Hacks BF2142 Hacks CoD WaW Hacks CSS Hacks forums.

We Have the Best Hacks, the Best Service, and the Best Game Hacking Community around. If you want to get access to our hacks, all you have to do is purchase our V.I.P. package. By doing this you will be supporting our site, our work, and this community. Your contribution will be much appreciated. You can Sign-Up Here.

If you have any problems with the registration process or your account login, please contact us. We look forward to seeing you in the forums!!

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-18-2007, 12:49 PM
flyingtoretilas's Avatar
Very 1337
 
Join Date: Jun 2006
Posts: 1,530
flyingtoretilas is on a distinguished road
iTrader: (1)
Source Codes for BF2/2142

Note : You have to know C++ because none of these are not coded completely.

[D3D]Displaying Time

Pending : Works on all D3D9 Games?

Credits to Unknowncheats.com

Code:
#include <time.h>

float fFps = 0.0f;
float fLastTickCount = 0.0f;
float fCurrentTickCount;
char cFrameRate[50] = {0};


HRESULT APIENTRY IDirect3DDevice9::EndScene()
{

  fCurrentTickCount = clock() * 0.001f;
  ++fFps;

  if((fCurrentTickCount - fLastTickCount) > 1.0f)
  {
    fLastTickCount = fCurrentTickCount;
    sprintf(cFrameRate, "[ FPS: %d ]", int(fFps));
    fFps = 0;
  }

  return Device->EndScene();

}
Or

[D3D]Displaying Time and Date

Pending : Works on all D3D9 Games?

Credits to Unknowncheats.com

Code:
#include <time.h>

char cTimeAndDate[80];
time_t tValue;


HRESULT APIENTRY IDirect3DDevice9::EndScene()
{

  tValue = time(NULL);
  strftime(cTimeAndDate, sizeof(cTimeAndDate), "[ %a - %b %d - %i:%m %p ]", localtime(&tValue));

  return Device->EndScene();

}
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Join 187ci's official ventrilo server now!
Quote:
(6:08:11 AM) T2x Industries: so jus leave me to myself i know ill neva be as smart as my massa flyingtorts

Last edited by flyingtoretilas; 06-25-2007 at 03:47 PM.
Reply With Quote
  #2 (permalink)  
Old 03-18-2007, 12:59 PM
flyingtoretilas's Avatar
Very 1337
 
Join Date: Jun 2006
Posts: 1,530
flyingtoretilas is on a distinguished road
iTrader: (1)
[D3D]Red Dot Crosshair

Code:
BOOL ForceDMA;
BOOL CrossIsOn;


DWORD dwCrosshairBase;
DWORD dwCrosshair;
DWORD dwBytesread;

BYTE Cross[1]     = {0x35};
BYTE NoCross[1] = {0};

-------Part of Mukoh´s Template---------------------------------------------------------------
if(IsHackOn==TRUE)                
        {
                 ....
            ForceDMA=TRUE;
        IsHackOn=FALSE;
        }
                else
        {
                 ....
        ForceDMA=FALSE; 
        IsHackOn =TRUE;
        }
-----------------------------------------------------------------------------------------------------
...

if(GetAsyncKeyState(VK_F5))        
            {
            if(CrossIsOn==TRUE)
            {
                  WriteProcessMemory(hand, (void*)(dwCrosshair + 0x170),&NoCross, sizeof(&NoCross),&dwBytesread);
                   CrossIsOn=FALSE;
            }
            else
            {
                    CrossIsOn=TRUE;
            }
            }
...

if(ForceDMA==TRUE)                    
    {        
        if (CrossIsOn==TRUE)        
        {    
        ReadProcessMemory(hand,(void*)(0x9E0970), &dwCrosshairBase, sizeof(&dwCrosshairBase),&dwBytesread);
        ReadProcessMemory(hand,(void*)(dwCrosshairBase + 0x130), &dwCrosshair, sizeof(&dwCrosshair),&dwBytesread);
        WriteProcessMemory(hand,(void*)(dwCrosshair + 0x170),&Cross, sizeof(&Cross),&dwBytesread);
        }
        }
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Join 187ci's official ventrilo server now!
Quote:
(6:08:11 AM) T2x Industries: so jus leave me to myself i know ill neva be as smart as my massa flyingtorts

Last edited by flyingtoretilas; 06-23-2007 at 06:37 PM.
Reply With Quote
  #3 (permalink)  
Old 03-18-2007, 01:27 PM
flyingtoretilas's Avatar
Very 1337
 
Join Date: Jun 2006
Posts: 1,530
flyingtoretilas is on a distinguished road
iTrader: (1)
[D3D]Wallhack & Chamz

Pending BF2 Only

Note: If your using the starterkit then you will need to change "pIDirect3DDevice9" and "pDevice" to match, Maybe a few function parameters aswell.

Starter kit : http://www.ucdownloads.com/downloads...=1381&act=down

Credits to UnknowCheats.com

Code:
unsigned int uiStride;
bool bTex = false, bCham = false;

LPDIRECT3DTEXTURE9 pTexture[2];

const BYTE bRed[60] = { 0x42, 0x4D, 0x3C, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x36, 0x00, 0x00, 
0x00, 0x28, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 
0x01,0x00, 0x00, 0x00, 0x01, 0x00, 0x20, 0x00, 0x00, 
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x12, 0x0B, 
0x00, 0x00, 0x12, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x00, 
0x00, 0x01 };

const BYTE bYellow[60] = { 0x42, 0x4D, 0x3C, 0x00, 
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x36, 0x00, 0x00, 
0x00, 0x28, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 
0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x20, 0x00, 0x00, 
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x12, 0x0B, 
0x00, 0x00, 0x12, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x00, 
0x00, 0x01 };


HRESULT APIENTRY pIDirect3DDevice9::BeginScene() 
{

  if(bTex == false)
  {

    D3DXCreateTextureFromFileInMemory(pDevice, (LPCVOID)&bRed, sizeof(bRed), 
    &pTexture[0]);
    D3DXCreateTextureFromFileInMemory(pDevice, (LPCVOID)&bYellow, sizeof(bYellow), 
    &pTexture[1]);

    bTex = true;

  }

  return pDevice->BeginScene();

}


HRESULT APIENTRY pIDirect3DDevice9::DrawIndexedPrimitive(D3DPRIMITIVETYPE PrimitiveType,
INT BaseVertexIndex, UINT MinVertexIndex, UINT NumVertices, UINT startIndex, 
UINT primCount)
{

  if(GetAsyncKeyState(VK_F1)&1)
  bCham = !bCham;

  if(bCham == true && uiStride == 52)
  {

        pDevice->SetRenderState(D3DRS_ZENABLE, false);      
    
    pDevice->SetTexture(0, pTexture[0]);

    pDevice->DrawIndexedPrimitive(PrimitiveType, BaseVertexIndex,
        MinVertexIndex, NumVertices, startIndex, primCount); 

    pDevice->SetRenderState(D3DRS_ZENABLE, true);

        pDevice->SetTexture(0, pTexture[1]);

        return pDevice->DrawIndexedPrimitive(PrimitiveType, BaseVertexIndex,
        MinVertexIndex, NumVertices, startIndex, primCount);

  }

  return pDevice->DrawIndexedPrimitive(PrimitiveType, BaseVertexIndex,
  MinVertexIndex, NumVertices, startIndex, primCount);

}


HRESULT APIENTRY pIDirect3DDevice9::SetStreamSource(UINT StreamNumber,
IDirect3DVertexBuffer9* pStreamData, UINT OffsetInBytes, UINT Stride) 
{

  if(StreamNumber == 0)
  uiStride = Stride;
    
  return pDevice->SetStreamSource(StreamNumber, pStreamData, OffsetInBytes, 
  Stride);

}
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Join 187ci's official ventrilo server now!
Quote:
(6:08:11 AM) T2x Industries: so jus leave me to myself i know ill neva be as smart as my massa flyingtorts

Last edited by flyingtoretilas; 03-18-2007 at 04:14 PM.
Reply With Quote
  #4 (permalink)  
Old 03-18-2007, 01:31 PM
flyingtoretilas's Avatar
Very 1337
 
Join Date: Jun 2006
Posts: 1,530
flyingtoretilas is on a distinguished road
iTrader: (1)
[CODE]Commander hack

"Ghetto ass commander hack"

Pending : BF2


Code:
#ifdef BF_NEW
    DWORD g_dwCommanderBase = 0xB2B688; // 2142
#else
    DWORD g_dwCommanderBase = 0x9E0970; // BF2
#endif

bool g_bMustPrompteSelf = false;

void GetCommandingBase( void )// call after imports
{
    g_dwCommanderBase = ( DWORD ) &g_pHudManager;
}

#ifdef BF_NEW

void CommanderHack( void )
{
    MakeCommanderAvailable();
    if ( g_pCVars->CommanderHack->bIsOn() ) // 0076BCAB   . 8B0D 88B6B200  MOV ECX,DWORD PTR DS:[B2B688]
    {
        if ( g_pInputManager->IsKeyDown( VK_F1 ) ) // EMP
        {
            if ( g_pRandStream->iGetRand() % 2 )
                g_pLocalPlayer->FlipTeams();

            _asm MOV ECX,DWORD PTR DS:[ g_dwCommanderBase ];
            _asm MOV ECX,[ ECX ];
            _asm MOV EAX,DWORD PTR DS:[ ECX ];
            _asm CALL DWORD PTR DS:[ EAX + 0x348 ];
        }
        else if ( g_pInputManager->IsKeyDown( VK_F2 ) ) // orbital
        {
            if ( g_pRandStream->iGetRand() % 2 )
                g_pLocalPlayer->FlipTeams();

            _asm MOV ECX,DWORD PTR DS:[ g_dwCommanderBase ];
            _asm MOV ECX,[ ECX ];
            _asm MOV EAX,DWORD PTR DS:[ ECX ];
            _asm CALL DWORD PTR DS:[ EAX + 0x32C ];
        }
        else if ( g_pInputManager->IsKeyDown( VK_F3 ) )// supplies
        {
            if ( g_pRandStream->iGetRand() % 2 )
                g_pLocalPlayer->FlipTeams();

            _asm MOV ECX,DWORD PTR DS:[ g_dwCommanderBase ];
            _asm MOV ECX,[ ECX ];
            _asm MOV EAX,DWORD PTR DS:[ ECX ];
            _asm MOV EBX, g_flUnknown;
            _asm PUSH EBX;
            _asm PUSH 0;
            _asm CALL DWORD PTR DS:[ EAX + 0x35C ];
        }
        else if ( g_pInputManager->IsKeyDown( VK_F4 ) ) // UAV
        {
            if ( g_pRandStream->iGetRand() % 2 )
                g_pLocalPlayer->FlipTeams();

            _asm MOV ECX,DWORD PTR DS:[ g_dwCommanderBase ];
            _asm MOV ECX,[ ECX ];
            _asm MOV EAX,DWORD PTR DS:[ ECX ];
            _asm MOV EBX, g_flUnknown;
            _asm PUSH EBX;
            _asm PUSH 0;
            _asm CALL DWORD PTR DS:[ EAX + 0x360 ];
        }

        g_pLocalPlayer->FlipTeamsBack();

        if ( g_bMustPrompteSelf )
        {
            _asm MOV ECX,DWORD PTR DS:[ g_dwCommanderBase ];
            _asm MOV ECX,[ ECX ];
            _asm MOV EAX,DWORD PTR DS:[ ECX ];
            _asm CALL DWORD PTR DS:[ EAX + 0x324 ]; // resign the old commander

            _asm MOV ECX,DWORD PTR DS:[ g_dwCommanderBase ];
            _asm MOV ECX,[ ECX ];
            _asm MOV EAX,DWORD PTR DS:[ ECX ];
            _asm CALL DWORD PTR DS:[ EAX + 0x30C ]; // apply self

            _asm MOV ECX,DWORD PTR DS:[ g_dwCommanderBase ];
            _asm MOV ECX,[ ECX ];
            _asm MOV EAX,DWORD PTR DS:[ ECX ];
            _asm CALL DWORD PTR DS:[ EAX + 0x37C ]; // accept self
            g_bMustPrompteSelf = false;
        }
        else
        {
            g_pLocalPlayer->SetCommander( 1 );
        }
    }
    else
    {
        g_bMustPrompteSelf = true;
    }
}
#else

void MakeCommanderAvailable( void )
{
    _asm MOV ECX,DWORD PTR DS:[ g_dwCommanderBase ];
    _asm MOV ECX,[ ECX ];
    _asm MOV EAX,DWORD PTR DS:[ ECX + 0x15C ];
    _asm MOV [ EAX + 0x44 ], 0; // Artillery
    _asm MOV [ EAX + 0x5C ], 0; // Supplies
    _asm MOV [ EAX + 0x64 ], 0; // Vehicles
    _asm MOV [ EAX + 0x30 ], 0; // UAV
}

void CommanderHack( void )
{
    MakeCommanderAvailable();

    if ( g_pCVars->CommanderHack->bIsOn() )
    {
        if ( g_pInputManager->IsKeyDown( VK_F1 ) ) // Artillery
        {
            if ( g_pRandStream->iGetRand() % 2 )
                g_pLocalPlayer->FlipTeams();

            _asm MOV ECX,DWORD PTR DS:[ g_dwCommanderBase ];
            _asm MOV ECX,[ ECX ];
            _asm MOV EAX,DWORD PTR DS:[ ECX ];
            _asm CALL DWORD PTR [ EAX + 0x2C8 ];
        }
        else if ( g_pInputManager->IsKeyDown( VK_F2 ) ) // Jeeps or cars or wahtever the fuck they are
        {
            if ( g_pRandStream->iGetRand() % 2 )
                g_pLocalPlayer->FlipTeams();

            _asm MOV ECX,DWORD PTR DS:[ g_dwCommanderBase ];
            _asm MOV ECX,[ ECX ];
            _asm MOV EAX,DWORD PTR DS:[ ECX ];
            _asm CALL DWORD PTR DS:[ EAX + 0x2D8 ];
        }
        else if ( g_pInputManager->IsKeyDown( VK_F3 ) )// supplies
        {
            if ( g_pRandStream->iGetRand() % 2 )
                g_pLocalPlayer->FlipTeams();

            _asm MOV ECX,DWORD PTR DS:[ g_dwCommanderBase ];
            _asm MOV ECX,[ ECX ];
            _asm MOV EAX,DWORD PTR DS:[ ECX ];
            _asm MOV EBX, g_flUnknown;
            _asm PUSH 0;// log to console?
            _asm CALL DWORD PTR DS:[ EAX + 0x2D4 ];
        }
        else if ( g_pInputManager->IsKeyDown( VK_F4 ) ) // UAV
        {
            if ( g_pRandStream->iGetRand() % 2 )
                g_pLocalPlayer->FlipTeams();

            _asm MOV ECX,DWORD PTR DS:[ g_dwCommanderBase ];
            _asm MOV ECX,[ ECX ];
            _asm MOV EAX,DWORD PTR DS:[ ECX ];
            _asm MOV EBX, g_flUnknown;
            _asm PUSH 0; // log to console?
            _asm CALL DWORD PTR DS:[ EAX + 0x2DC ];
        }

        g_pLocalPlayer->FlipTeamsBack();

        if ( g_bMustPrompteSelf )
        {
            _asm MOV ECX,DWORD PTR DS:[ g_dwCommanderBase ];
            _asm MOV ECX,[ ECX ];
            _asm MOV EAX,DWORD PTR DS:[ ECX ];
            _asm CALL DWORD PTR DS:[ EAX + 0x2C0 ]; // resign the old commander
            g_bMustPrompteSelf = false;
        }
        else
        {
            g_pLocalPlayer->SetCommander( 1 );
        }
    }
    else
    {
        g_bMustPrompteSelf = true;
    }
}
#endif
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Join 187ci's official ventrilo server now!
Quote:
(6:08:11 AM) T2x Industries: so jus leave me to myself i know ill neva be as smart as my massa flyingtorts

Last edited by flyingtoretilas; 03-18-2007 at 01:43 PM.
Reply With Quote
  #5 (permalink)  
Old 03-18-2007, 01:32 PM
flyingtoretilas's Avatar
Very 1337
 
Join Date: Jun 2006
Posts: 1,530
flyingtoretilas is on a distinguished road
iTrader: (1)
[D3D]Drawing a colored square

Pending : Could work for BF2 or BF2142


Code:
void FillRgb(float x, float y, float w, int h, int r, int g, int b)
{
    if(!IsBadReadPtr(pLine, sizeof(ID3DXLine)))
    {
        D3DXVECTOR2 vLine[2];

        pLine->SetWidth( w );
        pLine->SetAntialias( false );  
        pLine->SetGLLines( false );

        vLine[0].x = x + w/2;
        vLine[0].y = y;
        vLine[1].x = x + w/2;
        vLine[1].y = y + h;

        pLine->Begin( );
        pLine->Draw( vLine, 2, D3DCOLOR_XRGB( r, g, b ) );
        pLine->End( );
    }
}

void DrawRectangle(float x, float y, float w, int h, float t, int r, int g, int b)
{
    if(!IsBadReadPtr(pLine, sizeof(ID3DXLine)))
    {
        D3DXVECTOR2 vLine1[2];
        D3DXVECTOR2 vLine2[2];
        D3DXVECTOR2 vLine3[2];
        D3DXVECTOR2 vLine4[2];
        
        pLine->SetWidth( t );
        pLine->SetAntialias( false );  
        pLine->SetGLLines( false );

        vLine1[0].x = x;
        vLine1[0].y = y;
        vLine1[1].x = x;
        vLine1[1].y = y+h;

        vLine2[0].x = x+w;
        vLine2[0].y = y;
        vLine2[1].x = x+w;
        vLine2[1].y = y+h;

        vLine3[0].x = x;
        vLine3[0].y = y;
        vLine3[1].x = x+w;
        vLine3[1].y = y;

        vLine4[0].x = x;
        vLine4[0].y = y+h;
        vLine4[1].x = x+w;
        vLine4[1].y = y+h;

        pLine->Begin( );
        pLine->Draw( vLine1, 2, D3DCOLOR_XRGB( r, g, b ) );
        pLine->Draw( vLine2, 2, D3DCOLOR_XRGB( r, g, b ) );
        pLine->Draw( vLine3, 2, D3DCOLOR_XRGB( r, g, b ) );
        pLine->Draw( vLine4, 2, D3DCOLOR_XRGB( r, g, b ) );
        pLine->End( );
    }
}
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Join 187ci's official ventrilo server now!
Quote:
(6:08:11 AM) T2x Industries: so jus leave me to myself i know ill neva be as smart as my massa flyingtorts

Last edited by flyingtoretilas; 03-18-2007 at 01:42 PM.
Reply With Quote
  #6 (permalink)  
Old 03-18-2007, 01:34 PM
flyingtoretilas's Avatar
Very 1337
 
Join Date: Jun 2006
Posts: 1,530
flyingtoretilas is on a distinguished road
iTrader: (1)
[D3D]Zoom Hack

Pending : Could work for BF2 or BF2142

Code:
if(GetAsyncKeyState(VK_F7))
{
        if(ZoomIsOn==TRUE)
        {
            ReadProcessMemory(hand, (void*)(0xA838F8), &dwPreZoom, sizeof(&dwPreZoom),&dwBytesread);
            ReadProcessMemory(hand, (void*)(dwPreZoom + 0x6C),&dwZoomBase,sizeof(&dwZoomBase),&dwBytesread);
            ReadProcessMemory(hand,(void*)(dwZoomBase + 0xC4),&ZoomOut, sizeof(&ZoomOut) ,&dwBytesread);
            WriteProcessMemory(hand,(void*)(dwZoomBase + 0xC4),&ZoomIn, sizeof(&ZoomIn) ,&dwBytesread);
            WriteProcessMemory(hand,(void*)(dwZoomBase + 0xC8),&LockZoom, sizeof(&LockZoom) ,&dwBytesread);
            ZoomIsOn=TRUE;
        }
        else
        {
            WriteProcessMemory(hand,(void*)(dwZoomBase + 0xC4),&ZoomOut, sizeof(&ZoomOut) ,&dwBytesread);
            ZoomIsOn=FALSE;
        }
}
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Join 187ci's official ventrilo server now!
Quote:
(6:08:11 AM) T2x Industries: so jus leave me to myself i know ill neva be as smart as my massa flyingtorts

Last edited by flyingtoretilas; 03-18-2007 at 01:41 PM.
Reply With Quote
  #7 (permalink)  
Old 03-18-2007, 01:36 PM
flyingtoretilas's Avatar
Very 1337
 
Join Date: Jun 2006
Posts: 1,530
flyingtoretilas is on a distinguished road
iTrader: (1)
[CODE]Unlimited Vehicals DMA

BF2

Credits to Dubbls, Patrick, and Haxing4Life

Code:
DWORD dwComBase;
DWORD dwComToys;
static BYTE zero[1] = {0x00};
static BYTE one[1] = {0x01};
const float vehicle = 1.0000000f;

void timerCall(){
     ...
     ...
     ...

     if(GetAsyncKeyState(VK_NUMPAD1)){    
        if(IsHack1On==FALSE){
                ReadProcessMemory(hand, (void*)(0x9E0970), &dwComBase, sizeof(dwComBase), &bytes);
                ReadProcessMemory(hand, (void*)(dwComBase + 0x15C), &dwComToys, sizeof(dwComBase), &bytes);
                IsHack1On=TRUE;
                IsHack2On=TRUE;
        }
        else{
                IsHack1On=FALSE;
                IsHack2On=FALSE;
                WriteProcessMemory(hand, (void*)(&dwComToys + 0x64), &one, 1, &bytes); // Jeep DMA
        }  
    }
    if(IsHack2On==TRUE){
                WriteProcessMemory(hand, (void*)(&dwComBase + 0x2F0), &vehicle, sizeof(vehicle), &bytes); // Unlimmited Cars
                WriteProcessMemory(hand, (void*)(&dwComToys + 0x64), &zero, 1, &bytes); // Jeep DMA
    }
}
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Join 187ci's official ventrilo server now!
Quote:
(6:08:11 AM) T2x Industries: so jus leave me to myself i know ill neva be as smart as my massa flyingtorts

Last edited by flyingtoretilas; 03-18-2007 at 04:24 PM.
Reply With Quote
  #8 (permalink)  
Old 03-19-2007, 05:32 AM
flyingtoretilas's Avatar
Very 1337
 
Join Date: Jun 2006
Posts: 1,530
flyingtoretilas is on a distinguished road
iTrader: (1)
"CrossHairs"

These are all the "Crosshairs" for Bf2, in other words... just the things that show you where you're aiming at. These codes could be handy to a few people.
0x04 regular (+)
0x35 red dot
0x18 AH1Z Pilot HUD
0x1a AH1Z Gunner minigun
0x1c MI28 Pilot HUD
0x24 MI28 Gunner minigun
0x1d TV GUIDE (the black frame with buttons, this is from Mi28 => the only difference is the text. In US it says "MissileCameraFeed", in Mi its russian ("fuel")
0x1f Su24
0x12 F18
0x32 F35B
0x2c J10
0x27 Z10 Pilot HUD
0x28 z10 gunner minigun
0x09 SHOTGUNS (engeneer)
0x17 Chineese AntiAir
0x22 USMC AntiAir
0x21 MEC APC
0x07 T90
0x23 US AA Vehicle
0x0f US APC
0x0e US TANK (m1 abrams?)
0x3b TOW

Credit to ÅĞËŇŦ «N47» at Battleapps.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Join 187ci's official ventrilo server now!
Quote:
(6:08:11 AM) T2x Industries: so jus leave me to myself i know ill neva be as smart as my massa flyingtorts
Reply With Quote
  #9 (permalink)  
Old 03-19-2007, 05:35 AM
flyingtoretilas's Avatar
Very 1337
 
Join Date: Jun 2006
Posts: 1,530
flyingtoretilas is on a distinguished road
iTrader: (1)
[CODE]Commander Hack

Confirmed : Bf2142 only

Credits to Patrick & Dubbls

BF2 Commander hack code here : http://www.187ci.com/source-codes/52...nder-hack.html

Code:
DWORD dwCommanderBase;
DWORD dwCommander;
DWORD dwCommander1;
DWORD dwCommander2;

DWORD dwViewdistance;

DWORD dwPreZoom;
DWORD dwZoomBase;

BYTE commanderon = 1;
BYTE commanderoff = 0;

BYTE commander1on = 1;
BYTE commander1off = 0;

BYTE commander2on;

BYTE emp;
BYTE strike;
BYTE suply;

DWORD dwPreZoom;
DWORD dwZoomBase;
DWORD dwBytesread;

DWORD dwTeamBase;
DWORD dwTeam;
DWORD dwSwitch;
BYTE Team1= 1;
BYTE Team2 = 2;



float viewdistanceread;
float viewdistance200 = 2.0f;
float ZoomIn = 0.05f; // 0.01 bis 0.19
float NoZoom = 1.1000000f;
float LockZoom = 0.0000000f;


................................................................................
....................................................................


if(GetAsyncKeyState(VK_F1))
    {    
        if(IsHack1On==FALSE)
        {
            ReadProcessMemory(hand, (void*)(0xA838F8), &dwCommanderBase, sizeof(dwCommanderBase), &bytes);
            ReadProcessMemory(hand, (void*)(dwCommanderBase + 0x6C), &dwCommander, sizeof(dwCommander), &bytes);
            IsHack1On=TRUE;
            IsHack2On=TRUE;
        }
        else
        {
            IsHack1On=FALSE;
            IsHack2On=FALSE;
            WriteProcessMemory(hand, (void*)(dwCommander + 0x10C), &commanderoff, sizeof(commanderoff), &bytes);
        }
    }

if(IsHack2On==TRUE)
        {
            WriteProcessMemory(hand, (void*)(dwCommander + 0x10C), &commanderon, sizeof(commanderon), &bytes);

        }

if(GetAsyncKeyState(VK_F2))
    {    
        if(IsHack3On==FALSE)
        {
            ReadProcessMemory(hand, (void*)(0xA838F8), &dwCommanderBase, sizeof(dwCommanderBase), &bytes);
            ReadProcessMemory(hand, (void*)(dwCommanderBase + 0x6C), &dwCommander1, sizeof(dwCommander1), &bytes);
            IsHack3On=TRUE;
            IsHack4On=TRUE;
        }
        else
        {
            IsHack3On=FALSE;
            IsHack4On=FALSE;
            WriteProcessMemory(hand, (void*)(dwCommander1 + 0x10D), &commander1off, sizeof(commander1off), &bytes);
        }
    }

if(IsHack4On==TRUE)
        {
            WriteProcessMemory(hand, (void*)(dwCommander1 + 0x10D), &commander1on, sizeof(commander1on), &bytes);
        }

if(GetAsyncKeyState(VK_F3))
    {    
        if(IsHack3On==FALSE)
        {
            ReadProcessMemory(hand, (void*)(0xB2B688), &dwCommanderBase, sizeof(dwCommanderBase), &bytes);
            ReadProcessMemory(hand, (void*)(dwCommanderBase + 0x100), &dwCommander2, sizeof(dwCommander2), &bytes);
            IsHack3On=TRUE;
            IsHack4On=TRUE;
        }
        else
        {
            IsHack3On=FALSE;
            IsHack4On=FALSE;
            WriteProcessMemory(hand, (void*)(dwCommander2 + 0x8C), &emp, sizeof(emp), &bytes);
            WriteProcessMemory(hand, (void*)(dwCommander2 + 0x44), &strike, sizeof(strike), &bytes);
            WriteProcessMemory(hand, (void*)(dwCommander2 + 0x5C), &suply, sizeof(suply), &bytes);
        }
    }

if(IsHack4On==TRUE)
        {
            WriteProcessMemory(hand, (void*)(dwCommander2 + 0x8C), &emp, sizeof(emp), &bytes);
            WriteProcessMemory(hand, (void*)(dwCommander2 + 0x44), &strike, sizeof(strike), &bytes);
            WriteProcessMemory(hand, (void*)(dwCommander2 + 0x5C), &suply, sizeof(suply), &bytes);
        }

if(GetAsyncKeyState(VK_F4))
    {    
        if(IsHack2On==FALSE)
        {
            RendDx9Base = GetModuleBaseAddress(pid, "RendDX9.dll");
            ReadProcessMemory(hand, (void*)(RendDx9Base + 0x224EA0), &dwViewdistance, sizeof(dwViewdistance), &bytes);
            ReadProcessMemory(hand, (void*)(dwViewdistance + 0x4EC), &viewdistanceread, sizeof(viewdistanceread), &bytes);
            WriteProcessMemory(hand, (void*)(dwViewdistance + 0x4EC), &viewdistance200, sizeof(viewdistance200), &bytes);
            IsHack2On=TRUE;
        }
        else
        {
            IsHack2On=FALSE;
            WriteProcessMemory(hand, (void*)(dwViewdistance + 0x4EC), &viewdistanceread, sizeof(viewdistanceread), &bytes);
        }

    }
if(GetAsyncKeyState(VK_F6))//FORCE TEAMS
    {    
        ReadProcessMemory(hand, (void*)(0xA838F8), &dwTeamBase, sizeof(dwTeamBase), &dwBytesread);
        ReadProcessMemory(hand, (void*)(dwTeamBase+0x6C), &dwTeam, sizeof(dwTeam), &dwBytesread);
        ReadProcessMemory(hand, (void*)(dwTeam+0xD8), &dwSwitch, sizeof(dwSwitch), &dwBytesread);
        
        if (dwSwitch == 1)
        {    
            WriteProcessMemory(hand, (void*) (dwTeam+0xD8), &Team2,1,&dwBytesread);
        }
        
        else if (dwSwitch == 2)
        {    
            WriteProcessMemory(hand, (void*) (dwTeam+0xD8), &Team1,1,&dwBytesread);
        }
    }

if(GetAsyncKeyState(VK_F7)) // F6
{
       if(ZoomIsOn==TRUE)
       {
            ReadProcessMemory(hand, (void*)(0xA838F8), &dwPreZoom, sizeof(&dwPreZoom),&dwBytesread);
            ReadProcessMemory(hand, (void*)(dwPreZoom + 0x6C),&dwZoomBase,sizeof(&dwZoomBase),&dwBytesread);
    WriteProcessMemory(hand,(void*)(dwZoomBase + 0xC4),&NoZoom, sizeof(&NoZoom) ,&dwBytesread);
    WriteProcessMemory(hand,(void*)(dwZoomBase + 0xC8),&LockZoom, sizeof(&LockZoom) ,&dwBytesread);

            ZoomIsOn=FALSE;
        }
        else
        {
    ReadProcessMemory(hand, (void*)(0xA838F8), &dwPreZoom, sizeof(&dwPreZoom),&dwBytesread);
            ReadProcessMemory(hand, (void*)(dwPreZoom + 0x6C),&dwZoomBase,sizeof(&dwZoomBase),&dwBytesread);
    WriteProcessMemory(hand,(void*)(dwZoomBase + 0xC4),&ZoomIn, sizeof(&ZoomIn) ,&dwBytesread);
    WriteProcessMemory(hand,(void*)(dwZoomBase + 0xC8),&LockZoom, sizeof(&LockZoom) ,&dwBytesread);
            
            ZoomIsOn=TRUE;
        }
}
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Join 187ci's official ventrilo server now!
Quote:
(6:08:11 AM) T2x Industries: so jus leave me to myself i know ill neva be as smart as my massa flyingtorts

Last edited by flyingtoretilas; 03-19-2007 at 05:43 AM.
Reply With Quote
  #10 (permalink)  
Old 03-19-2007, 05:51 AM
flyingtoretilas's Avatar
Very 1337
 
Join Date: Jun 2006
Posts: 1,530
flyingtoretilas is on a distinguished road
iTrader: (1)
[OFFSETS]KitIcons

Confirmed : Bf2 Only

Thanks to Lady Croft @ Battleapps

Code:
KitIcons1 = RendDx9Base + 0x12CD1A Medic
KitIcons2 = RendDx9Base + 0x12CD61 Engineer
KitIcons3 = RendDx9Base + 0x12CD80 Support Unit
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Join 187ci's official ventrilo server now!
Quote:
(6:08:11 AM) T2x Industries: so jus leave me to myself i know ill neva be as smart as my massa flyingtorts
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Arabic Bulgarian Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch Finnish French German Greek Hebrew Hungarian Italian Japanese Korean Norwegian Polish Portuguese Romanian Russian Serbian Slovak Spanish Swedish Thai Turkish

Total Page Views: 33,274,770, Page Views Today: 32,933
Page generated in 0.13074207 seconds (92.85% PHP - 7.15% MySQL) with 14 queries
All times are GMT -7. The time now is 10:59 AM.