Feel The Beast Gaming
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Feel The Beast Gaming

More Tutorials More Hacking
 
HomeHome  PortalPortal  Latest imagesLatest images  RegisterRegister  Log inLog in  
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Statistics
We have 934 registered users
The newest registered user is chickas4513

Our users have posted a total of 344 messages in 84 subjects
Ads

    No ads available.



     

     PCF Source Code

    Go down 
    2 posters
    AuthorMessage
    ThaBot
    Pro
    Pro
    ThaBot


    Posts : 63
    AP : 2147528257
    Join date : 04/09/2012

    PCF Source Code Empty
    PostSubject: PCF Source Code   PCF Source Code Icon_minitimeSat Oct 27, 2012 9:57 am

    Code:
    #include "stdafx.h"
    #include <windows.h>
    #include <process.h>

    //WE11ington reversed this simple hack of other site.
    //Credits for the origin hack: UnknOwnPK

    #define ADDRESSWallHack 0x6D4A1F
    #define ADDRESSWeapon  0x309FF4
    #define ADDRESSConsole  0xFBD29

    #define defFastKnife  ( x ==  20 || x ==  140 || x ==  296 || x ==  480 || x ==  528 || \
                            x ==  704 || x ==  708 || x ==  712 || x ==  728 || x ==  756 || \
                            x ==  780 || x ==  784 || x ==  788 || x ==  792 || x ==  796 || \
                            x ==  892 || x ==  896 || x ==  900 || x ==  904 || x ==  908 || \
                            x ==  912 || x ==  956 || x ==  976 || x == 1044 || x == 1076 || \
                            x == 1080 || x == 1084 || x == 1208 || x == 1212 || x == 1216 || \
                            x == 1220 || x == 1224 || x == 1228 || x == 1380 || x == 1384 || \
                            x == 1488 || x == 1504 || x == 1524 || x == 1616 || x == 1620 || \
                            x == 1624 || x == 1628 || x == 1632 || x == 1636 || x == 1668 || \
                            x == 1748 || x == 1820 || x == 1824 || x == 1828 || x == 1952 || \
                            x == 2068 || x == 2072 || x == 2160 || x == 2164 || x == 2192 || \
                            x == 2244 || x == 2304 || x == 2336 || x == 2348 || x == 2480 || \
                            x == 2588 || x == 2772 || x == 2800 || x == 2872 || x == 2876 )

    INT Wallhack, FastKnife, SmallCrosshair, WhitePlayer, WhiteWalls, NoWorld;

    VOID WINAPIV sub_FastKnife(HMODULE gmhwCShell)
    {
        if ( FastKnife )
            FastKnife = 0;
        else
        {
            FastKnife = 1;
            INT x = 0;
            do
            {           
                if ( *(DWORD *)(x + *((DWORD *)gmhwCShell + ADDRESSWeapon)) )
                {
                    INT y = 2740;
                    do
                    {
                        if ( defFastKnife )
                        {
                            *(FLOAT *)(*(DWORD *)(x + *((DWORD *)gmhwCShell + ADDRESSWeapon)) + y - 0x48) = 2.4f;
                            *(FLOAT *)(y + *(DWORD *)(x + *((DWORD *)gmhwCShell + ADDRESSWeapon))) = 2.4f;
                        }
                        y += 4;
                    }
                    while ( y < 0xAD8 );
                }
                x += 4;
            }
            while ( x < 0xAF0 );
        }
    }

    VOID WINAPIV sub_SmallCrosshair(HMODULE gmhwCShell)
    {
        if ( SmallCrosshair )
        {
            SmallCrosshair = 0;
            goto LABEL_1;
        }
        CHAR a = *((DWORD *)gmhwCShell + ADDRESSWeapon) == 0;
        SmallCrosshair = 1;
        if ( a )
        {
            LABEL_1:
            return;
        }
        INT x = 12;
        do
        {
            INT v1 = *(DWORD *)(x + *((DWORD *)gmhwCShell + ADDRESSWeapon) - 0xC);
            if ( v1 )
                *(FLOAT *)(v1 + 0x3B80) = 0.0f;
            INT v2 = *(DWORD *)(x + *((DWORD *)gmhwCShell + ADDRESSWeapon) - 0x8);
            if ( v2 )
                *(FLOAT *)(v2 + 0x3B80) = 0.0f;
            INT v3 = *(DWORD *)(x + *((DWORD *)gmhwCShell + ADDRESSWeapon) - 0x4);
            if ( v3 )
                *(FLOAT *)(v3 + 0x3B80) = 0.0f;
            INT v4 = *(DWORD *)(x + *((DWORD *)gmhwCShell + ADDRESSWeapon));
            if ( v4 )
                *(FLOAT *)(v4 + 0x3B80) = 0.0f;
            INT v5 = *(DWORD *)(x + *((DWORD *)gmhwCShell + ADDRESSWeapon) + 0x4);
            if ( v5 )
                *(FLOAT *)(v5 + 0x3B80) = 0.0f;
            x += 20;
        }
        while ( x < 0x700 );
    }

    BOOL CheckModule(VOID)
    {
        if ( GetModuleHandleW(L"CShell.dll") )
            return 1;
        return 0;
    }

    UINT WINAPI StartRoutine(VOID *)
    {
        while ( !CheckModule() );
            Sleep(100);
        while ( 1 )
        {
            HMODULE gmhwCShell = GetModuleHandleW(L"CShell.dll");
            if ( GetAsyncKeyState(VK_NUMPAD1) &1 )
            {
                Wallhack = !Wallhack;
                switch ( Wallhack )
                {
                case 0:
                    *(BYTE *)ADDRESSWallHack = 1; break;
                case 1:
                    *(BYTE *)ADDRESSWallHack = 0; break;
                }
            }
            if ( GetAsyncKeyState(VK_NUMPAD2) &1 )
                sub_FastKnife(gmhwCShell);
            if ( GetAsyncKeyState(VK_NUMPAD3) &1 )
                sub_SmallCrosshair(gmhwCShell);
            if ( GetAsyncKeyState(VK_NUMPAD4) &1 )
            {
                if ( WhitePlayer )
                {
                    WhitePlayer = 0;
                    (*(VOID (WINAPIV **)(CHAR *))(*((DWORD *)gmhwCShell + ADDRESSConsole) + 0x200))("TextureModels 1");
                }
                else
                {
                    WhitePlayer = 1;
                    (*(VOID (WINAPIV **)(CHAR *))(*((DWORD *)gmhwCShell + ADDRESSConsole) + 0x200))("TextureModels 0");
                }
            }
            if ( GetAsyncKeyState(VK_NUMPAD5) &1 )
            {
                if ( WhiteWalls )
                {
                    WhiteWalls = 0;
                    (*(VOID (WINAPIV **)(CHAR *))(*((DWORD *)gmhwCShell + ADDRESSConsole) + 0x200))("DrawFlat 0");
                }
                else
                {
                    WhiteWalls = 1;
                    (*(VOID (WINAPIV **)(CHAR *))(*((DWORD *)gmhwCShell + ADDRESSConsole) + 0x200))("DrawFlat 1");
                }
            }
            if ( GetAsyncKeyState(VK_NUMPAD6) &1 )
            {
                if ( NoWorld )
                {
                    NoWorld = 0;
                    (*(VOID (WINAPIV **)(CHAR *))(*((DWORD *)gmhwCShell + ADDRESSConsole) + 0x200))("DrawWorld 1");
                }
                else
                {
                    NoWorld = 1;
                    (*(VOID (WINAPIV **)(CHAR *))(*((DWORD *)gmhwCShell + ADDRESSConsole) + 0x200))("DrawWorld 0");
                }
            }
            Sleep(100);
        }
    }

    BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
    {
        if ( fdwReason == 1 )
        {
            DisableThreadLibraryCalls(hinstDLL);
            MessageBoxA(0,
                        "Coded by UnknownPK ",
                        "FTBGaMING",
                        0);
            system("start http://www.FTBGAMING.TK");
            _beginthreadex(0, 0, StartRoutine, 0, 0, 0);
        }
        return 1;
    }


    Delete The DLLMAIN

    UNKNOWNPK
    Back to top Go down
    cLue
    Legendary
    Legendary
    cLue


    Posts : 52
    AP : 2147528467
    Join date : 14/08/2012

    PCF Source Code Empty
    PostSubject:    PCF Source Code Icon_minitimeSat Oct 27, 2012 10:10 am

    Detected ! affraid
    Back to top Go down
     
    PCF Source Code
    Back to top 
    Page 1 of 1
     Similar topics
    -
    » SpecialForce DFI D3D Hack Source Code
    » APi Bypass (Tool/Source)
    » PSF x2 hack Code
    » CabalPH EP9 Trainer Code
    » Cabal PH Old Bypass Code

    Permissions in this forum:You cannot reply to topics in this forum
    Feel The Beast Gaming :: MMO FPS Games :: CrossFire (Tools,Tutorials,SourceCode)-
    Jump to: