Page 2 of 2 FirstFirst 12
Results 16 to 24 of 24
  1. #16
    BlackHaexGuns's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    14
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by ac1d_buRn View Post
    You dont even have a directx hook in there.

    Just go use gellins base liek every other noob has done.

    If you dont know how to fix gellins base, then you wont be able to even do this
    Where can I download it? I searched forums, can't find a download.
    And why are you guys so mean to coders? It's like you don't want anybody else to learn so your just an ass to everybody? All I am trying to do is fix my hack, I am being totally cool and trying my hardest but I haven't worked with DirectX before and all you guys say is "Go fix gellins base noob, you dont have d3d cho0b, LOL u don't know how to code idi0t i replace o with 0 cuz im so co0l".

    I'm just saying you guys are acting more stupid than me, do you really think telling me that I don't have something, or yelling at me because I don't know something is going to help?
    Last edited by BlackHaexGuns; 07-21-2010 at 06:22 PM.

  2. #17
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,406
    Reputation
    157
    Thanks
    3,991
    My Mood
    Flirty
    Quote Originally Posted by BlackHaexGuns View Post
    Where can I download it? I searched forums, can't find a download.
    And why are you guys so mean to coders? It's like you don't want anybody else to learn so your just an ass to everybody? All I am trying to do is fix my hack, I am being totally cool and trying my hardest but I haven't worked with DirectX before and all you guys say is "Go fix gellins base noob, you dont have d3d cho0b, LOL u don't know how to code idi0t i replace o with 0 cuz im so co0l".

    I'm just saying you guys are acting more stupid than me, do you really think telling me that I don't have something, or yelling at me because I don't know something is going to help?
    No your a fag.
    All the "coders" around here learn from that shit of a tutorial at the top of this section then go around say "i can c0dez"

    When they get an error, They spam this forum asking for a REAL coders help.

    I have some information for you, You are one of them. So why dont you do abit of research in C++/D3D and then mabye try some hacking, Because im guessing you dont know jack fucking shit about that code "you made"

  3. #18
    BlackHaexGuns's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    14
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by ac1d_buRn View Post
    No your a fag.
    All the "coders" around here learn from that shit of a tutorial at the top of this section then go around say "i can c0dez"

    When they get an error, They spam this forum asking for a REAL coders help.

    I have some information for you, You are one of them. So why dont you do abit of research in C++/D3D and then mabye try some hacking, Because im guessing you dont know jack fucking shit about that code "you made"
    Dude I can tell you I'm not one of them. I told you I have been coding in C++ for 3 weeks, I'm not that great at it and I decided to get into hacks. I read the tutorials up top and I make a perfectly fine hack. I don't ask for help the first sign I see of any fucking error. I spent 30 seconds trying to figure it out and concluded that it was because I hadn't downloaded a D3D / DirectX SDK package. The reason I posted was because I wanted others opinions / advice on help, I have been programming in HTML / PHP for 13 years. So before you go around accusing me at saying "i can c0dez" maybe you should grow the fuck up and look at what I have been saying, I know I can't code that well, that's why I look at tutorials on how to do it and if worse comes to worse, I ask for help, aka, what a normal person does when they can't figure something out. If you didn't want "noobs" going around and asking for help on YOUR tutorials, then don't fucking post them you dipshit.

  4. #19
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,406
    Reputation
    157
    Thanks
    3,991
    My Mood
    Flirty
    Quote Originally Posted by BlackHaexGuns View Post
    Dude I can tell you I'm not one of them. I told you I have been coding in C++ for 3 weeks, I'm not that great at it and I decided to get into hacks. I read the tutorials up top and I make a perfectly fine hack. I don't ask for help the first sign I see of any fucking error. I spent 30 seconds trying to figure it out and concluded that it was because I hadn't downloaded a D3D / DirectX SDK package. The reason I posted was because I wanted others opinions / advice on help, I have been programming in HTML / PHP for 13 years. So before you go around accusing me at saying "i can c0dez" maybe you should grow the fuck up and look at what I have been saying, I know I can't code that well, that's why I look at tutorials on how to do it and if worse comes to worse, I ask for help, aka, what a normal person does when they can't figure something out. If you didn't want "noobs" going around and asking for help on YOUR tutorials, then don't fucking post them you dipshit.
    Whatevz Bro.
    And i never posted no tutorial, I posted functions for people to use.
    Those functions are for people that actually know what there doing with C++. Not just looking and saying "i want these in my hack. letz MPGH coderz do it for me"

    Mabye if you actually had a google around, You would figure out how to draw text properly WITH the right hooks.

    That source you got there isnt going to do ANY D3D at all. You still need to hook Endscene/Present and Reset. So when you say "i knew what was wrong" i doubt very much you do. You also need to create the font, Im guessing you dont know how to do that too?

    You should just start out on Gellins or Hans base anyway. Hans base is more of a universal menu, But gellins base is made for Combat Arms. Get a feel of D3D9 and how text and stuff actually works before you make your own >.<

  5. #20
    BlackHaexGuns's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    14
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by ac1d_buRn View Post

    That source you got there isnt going to do ANY D3D at all. You still need to hook Endscene/Present and Reset. So when you say "i knew what was wrong" i doubt very much you do. You also need to create the font, Im guessing you dont know how to do that too?

    You should just start out on Gellins or Hans base anyway. Hans base is more of a universal menu, But gellins base is made for Combat Arms. Get a feel of D3D9 and how text and stuff actually works before you make your own >.<
    Aight, find me one place I acted like that saying "omg mpgh i can code but errors do it for me"
    ..Create a font:
    [php]D3DXCreateFont(pDevice, 15, 0, FW_BOLD, 1, 0, DEFAULT_CHARSET, OUT_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH | FF_DONTCARE, (LPCSTR)"Arial", &Directx.pFont);[/php]

    Took your advice and downloaded Gellins base, But I still get these errors on base.cpp:
    [php]
    IntelliSense: identifier "D3DXCreateFont" is undefined c:\users\main\desktop\cabase\cabase\base.cpp Line: 43
    IntelliSense: identifier "gr" is undefined c:\users\main\desktop\cabase\cabase\base.cpp Line: 223
    IntelliSense: identifier "bl" is undefined c:\users\main\desktop\cabase\cabase\base.cpp Line: 224
    [/php]

    [php]////////////////////////////////////////////////////
    // Credits
    //
    // Gellin08 aka Gellin( Tha Base )
    // tim0n and ****** (Getpointer and wait functions)
    // Ghoster ( pro )
    // Sinner ( Cdetour mods )
    // z0mbie ( ADE32 )
    // LanceVorigin ( original cdetour class )
    // Micro ( original menu )
    // (SEF)DEATH Update addy
    bool creditsBase=false;
    bool creditsMenu=false;
    #include "Base.h"
    #include "Menu.h"
    #include <d3d9.h>
    #include <d3d11.h>
    #include <d3d10.h>
    #include "DirectX.h"


    cBase Base;
    char* name = "CABase [v 1.0.5.9]";

    void __cdecl cBase::PushToConsole( const char* szCommand )
    {
    DWORD *LTClient = ( DWORD* )( 0x3778BFB0 );//0x37584F38 <== CA US //0x37577B30 <== Old
    void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );

    __asm
    {
    push szCommand;
    call CONoff;
    add esp, 4;
    }
    }

    //Every Frame
    void cBase::RenderFrame(LPDIRECT3DDEVICE9 pDevice)
    {
    if( !Base.bSet.bInit )
    {
    D3DXCreateFont(pDevice, 15, 0, FW_BOLD, 1, 0, DEFAULT_CHARSET, OUT_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH | FF_DONTCARE, (LPCSTR)"Arial", &Directx.pFont);
    Base.bSet.bInit = true;
    }

    if( Directx.pFont == NULL )
    Directx.pFont->OnLostDevice();
    else
    {
    Directx.DrawString(10, 20, D3DCOLOR_ARGB(255, 0, 0, 255), Directx.pFont, name);
    mainMenu.RenderMenu();//this actually renders all menus but oh well
    }
    char* pushCmd;
    pushCmd="PlayerGravity -800";
    this->PushToConsole( pushCmd );

    if( Menu1.mOpt[2].nopt > 0 ){//Fly Hack
    if( GetAsyncKeyState( VK_SPACE ) < 0 ){
    pushCmd="PlayerGravity 800";
    this->PushToConsole( pushCmd );
    }else if( Menu1.mOpt[6].nopt <= 0){
    pushCmd="PlayerGravity -800";
    this->PushToConsole( pushCmd );
    }
    }

    if( Menu1.mOpt[6].nopt > 0){//no grav
    pushCmd="PlayerGravity 0";
    this->PushToConsole( pushCmd );
    pushCmd="DropVelocity 0";
    this->PushToConsole( pushCmd );
    }
    delete pushCmd;

    }

    //4x Per Second
    void cBase::Update(void)
    {
    if(name == "CABase [v 1.0.5.9]")
    {
    while(1)
    {
    char* pushCmd;
    if( Menu1.mOpt[1].nopt > 0 ){//3D Box's
    pushCmd="ModelDebug_DrawBoxes 1";
    this->PushToConsole( pushCmd );
    }else{
    pushCmd="ModelDebug_DrawBoxes 0";
    this->PushToConsole( pushCmd );
    }

    if( Menu1.mOpt[3].nopt > 0 ){//No Fog
    pushCmd="FogEnable 0";
    this->PushToConsole( pushCmd );
    }else{
    pushCmd="FogEnable 1";
    this->PushToConsole( pushCmd );
    }

    Sleep(iRenderSpeed);

    if( Menu1.mOpt[4].nopt == 2 )//Speed Hack
    {
    this->PushToConsole("BaseMoveAccel 3000.000000");
    this->PushToConsole("StartAccel 1500.000000");
    this->PushToConsole("MaxAccel 3000.000000");
    this->PushToConsole("AccelInc 3000.000000");
    this->PushToConsole("WalkVel 210.000000");
    this->PushToConsole("FRunVel 855.000000");
    this->PushToConsole("BRunVel 855.000000");
    this->PushToConsole("SRunVel 855.000000");
    this->PushToConsole("JumpVel 990.000000");
    this->PushToConsole("DuckVel 150.000000");
    }else if( Menu1.mOpt[4].nopt == 1 ){
    this->PushToConsole("BaseMoveAccel 3000.000000");
    this->PushToConsole("StartAccel 1000.000000");
    this->PushToConsole("MaxAccel 3000.000000");
    this->PushToConsole("AccelInc 3000.000000");
    this->PushToConsole("WalkVel 140.000000");
    this->PushToConsole("FRunVel 570.000000");
    this->PushToConsole("BRunVel 570.000000");
    this->PushToConsole("SRunVel 570.000000");
    this->PushToConsole("JumpVel 660.000000");
    this->PushToConsole("DuckVel 100.000000");
    }else if( Menu1.mOpt[4].nopt <= 0 ){
    this->PushToConsole("BaseMoveAccel 3000.000000");
    this->PushToConsole("StartAccel 500.000000");
    this->PushToConsole("MaxAccel 3000.000000");
    this->PushToConsole("AccelInc 6000.000000");
    this->PushToConsole("WalkVel 70.000000");
    this->PushToConsole("FRunVel 285.000000");
    this->PushToConsole("BRunVel 285.000000");
    this->PushToConsole("SRunVel 285.000000");
    this->PushToConsole("JumpVel 330.000000");
    this->PushToConsole("DuckVel 50.000000");
    }

    Sleep(iRenderSpeed);

    if( Menu1.mOpt[5].nopt > 0 )//Less Spread
    {
    this->PushToConsole("PerturbRotationEffect 0.000000");
    this->PushToConsole("PerturbIncreaseSpeed 0.000000");
    this->PushToConsole("PerturbWalkPercent 0.000000");
    this->PushToConsole("PerturbFiringIncreaseSpeed 0.000000");
    }else{
    this->PushToConsole("PerturbRotationEffect 3.000000");
    this->PushToConsole("PerturbIncreaseSpeed 3.000000");
    this->PushToConsole("PerturbDecreaseSpeed 9.000000");
    this->PushToConsole("PerturbWalkPercent 0.500000");
    }

    Sleep(iRenderSpeed);

    switch ( Menu2.mOpt[1].nopt )//This Doesnt move your player pos it moves your Cam Pos
    {
    case 0://Defualt
    this->PushToConsole("CamMaxPosYOffset 200.000000");
    this->PushToConsole("DuckDownCamOffSet -13.000000");
    break;
    case 1://Up in the Air after u hit CNTRL
    this->PushToConsole("CamMaxPosYOffset 200.000000");
    this->PushToConsole("DuckDownCamOffSet 1000.000000");
    break;
    case 2://Under the Map after u hit CNTRL
    this->PushToConsole("CamMaxPosYOffset -1000.000000");
    this->PushToConsole("DuckDownCamOffSet -13.000000");
    break;
    }

    Sleep(iRenderSpeed);

    if( Menu2.mOpt[2].nopt > 0 )//Tracers
    this->PushToConsole( "ShowFirePath 1" );
    else
    this->PushToConsole( "ShowFirePath 0" );

    if( Menu2.mOpt[3].nopt > 0 )//Windowed Mode
    this->PushToConsole( "windowed 1" );
    else
    this->PushToConsole( "windowed 0" );

    if( Menu2.mOpt[4].nopt > 0 )//Fps
    this->PushToConsole( "ShowFps 1");
    else
    this->PushToConsole( "ShowFps 0");

    if( Menu2.mOpt[5].nopt > 0 )// Unlock Cursor
    this->PushToConsole( "CursorCenter 0");
    else
    this->PushToConsole( "CursorCenter 1");

    if( Menu2.mOpt[6].nopt > 0 ){//Duh Creditz
    mainMenu.creditsMenu=true;
    }else{
    mainMenu.creditsMenu=false;
    }

    if( Menu1.mOpt[7].nopt > 0){//Full bright
    pushCmd="FullBright 1";
    this->PushToConsole( pushCmd );
    } else {
    pushCmd="FullBright 0";
    this->PushToConsole( pushCmd );
    }
    if( Menu1.mOpt[8].nopt > 0){//NX Chams!
    pushCmd="SkelModelStencil 1";
    this->PushToConsole( pushCmd );
    }

    if(Menu2.mOpt[7].nopt>0){
    char rd[3], gr[3], bl[3];
    sprintf(rd, "FogR %d" , Menu2.mOpt[8].nopt);
    sprintf(gr, "FogG %d" , Menu2.mOpt[9].nopt);
    sprintf(bl, "FogB %d" , Menu2.mOpt[10].nopt);
    this->PushToConsole((const char *)rd);
    this->PushToConsole((const char *)gr);
    this->PushToConsole((const char *)bl);
    }else{
    this->PushToConsole("FogR 255");
    this->PushToConsole((const char *)gr);
    this->PushToConsole((const char *)bl);
    }

    Sleep(iRenderSpeed);
    delete pushCmd;
    }
    }
    }

    DWORD cBase::GetPointer(int index)
    {
    DWORD* devicePtr = ***(DWORD****)0x7E4CE0;

    if( devicePtr == NULL )
    return 0;

    return devicePtr[index];
    }

    bool cBase::IsGameReadyForHook(void)
    {
    if( GetModuleHandle( (LPCSTR)"d3d9.dll" ) != NULL
    && GetModuleHandle( (LPCSTR)"ClientFX.fxd" ) != NULL
    && GetModuleHandle( (LPCSTR)"CShell.dll" ) != NULL )
    return true;

    return false;
    }

    DWORD WINAPI dwMainThread(LPVOID)
    {
    while ( !Base.IsGameReadyForHook() )
    Sleep(iWaitTime);

    Directx.Hook();
    creditsMenu=creditsBase;//added
    Base.Update();//added

    return 0;
    }

    DWORD WINAPI dwHackThread(LPVOID)
    {
    while( !Base.IsGameReadyForHook() )
    Sleep(iWaitTime);
    creditsMenu=creditsBase;
    Base.Update();

    return 0;
    }

    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    DisableThreadLibraryCalls(hDll);

    if ( dwReason == DLL_PROCESS_ATTACH )
    {
    #ifdef LOG
    DeleteFile(LogPath);
    #endif

    CreateThread(NULL, NULL, dwMainThread, NULL, NULL, NULL);
    //CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
    }
    return TRUE;
    }
    [/php]

  6. #21
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,406
    Reputation
    157
    Thanks
    3,991
    My Mood
    Flirty
    Quote Originally Posted by BlackHaexGuns View Post
    Aight, find me one place I acted like that saying "omg mpgh i can code but errors do it for me"
    ..Create a font:
    [php]D3DXCreateFont(pDevice, 15, 0, FW_BOLD, 1, 0, DEFAULT_CHARSET, OUT_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH | FF_DONTCARE, (LPCSTR)"Arial", &Directx.pFont);[/php]

    Took your advice and downloaded Gellins base, But I still get these errors on base.cpp:
    [php]
    IntelliSense: identifier "D3DXCreateFont" is undefined c:\users\main\desktop\cabase\cabase\base.cpp Line: 43
    IntelliSense: identifier "gr" is undefined c:\users\main\desktop\cabase\cabase\base.cpp Line: 223
    IntelliSense: identifier "bl" is undefined c:\users\main\desktop\cabase\cabase\base.cpp Line: 224
    [/php]

    [php]////////////////////////////////////////////////////
    // Credits
    //
    // Gellin08 aka Gellin( Tha Base )
    // tim0n and ****** (Getpointer and wait functions)
    // Ghoster ( pro )
    // Sinner ( Cdetour mods )
    // z0mbie ( ADE32 )
    // LanceVorigin ( original cdetour class )
    // Micro ( original menu )
    // (SEF)DEATH Update addy
    bool creditsBase=false;
    bool creditsMenu=false;
    #include "Base.h"
    #include "Menu.h"
    #include <d3d9.h>
    #include <d3d11.h>
    #include <d3d10.h>
    #include "DirectX.h"


    cBase Base;
    char* name = "CABase [v 1.0.5.9]";

    void __cdecl cBase::PushToConsole( const char* szCommand )
    {
    DWORD *LTClient = ( DWORD* )( 0x3778BFB0 );//0x37584F38 <== CA US //0x37577B30 <== Old
    void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );

    __asm
    {
    push szCommand;
    call CONoff;
    add esp, 4;
    }
    }

    //Every Frame
    void cBase::RenderFrame(LPDIRECT3DDEVICE9 pDevice)
    {
    if( !Base.bSet.bInit )
    {
    D3DXCreateFont(pDevice, 15, 0, FW_BOLD, 1, 0, DEFAULT_CHARSET, OUT_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH | FF_DONTCARE, (LPCSTR)"Arial", &Directx.pFont);
    Base.bSet.bInit = true;
    }

    if( Directx.pFont == NULL )
    Directx.pFont->OnLostDevice();
    else
    {
    Directx.DrawString(10, 20, D3DCOLOR_ARGB(255, 0, 0, 255), Directx.pFont, name);
    mainMenu.RenderMenu();//this actually renders all menus but oh well
    }
    char* pushCmd;
    pushCmd="PlayerGravity -800";
    this->PushToConsole( pushCmd );

    if( Menu1.mOpt[2].nopt > 0 ){//Fly Hack
    if( GetAsyncKeyState( VK_SPACE ) < 0 ){
    pushCmd="PlayerGravity 800";
    this->PushToConsole( pushCmd );
    }else if( Menu1.mOpt[6].nopt <= 0){
    pushCmd="PlayerGravity -800";
    this->PushToConsole( pushCmd );
    }
    }

    if( Menu1.mOpt[6].nopt > 0){//no grav
    pushCmd="PlayerGravity 0";
    this->PushToConsole( pushCmd );
    pushCmd="DropVelocity 0";
    this->PushToConsole( pushCmd );
    }
    delete pushCmd;

    }

    //4x Per Second
    void cBase::Update(void)
    {
    if(name == "CABase [v 1.0.5.9]")
    {
    while(1)
    {
    char* pushCmd;
    if( Menu1.mOpt[1].nopt > 0 ){//3D Box's
    pushCmd="ModelDebug_DrawBoxes 1";
    this->PushToConsole( pushCmd );
    }else{
    pushCmd="ModelDebug_DrawBoxes 0";
    this->PushToConsole( pushCmd );
    }

    if( Menu1.mOpt[3].nopt > 0 ){//No Fog
    pushCmd="FogEnable 0";
    this->PushToConsole( pushCmd );
    }else{
    pushCmd="FogEnable 1";
    this->PushToConsole( pushCmd );
    }

    Sleep(iRenderSpeed);

    if( Menu1.mOpt[4].nopt == 2 )//Speed Hack
    {
    this->PushToConsole("BaseMoveAccel 3000.000000");
    this->PushToConsole("StartAccel 1500.000000");
    this->PushToConsole("MaxAccel 3000.000000");
    this->PushToConsole("AccelInc 3000.000000");
    this->PushToConsole("WalkVel 210.000000");
    this->PushToConsole("FRunVel 855.000000");
    this->PushToConsole("BRunVel 855.000000");
    this->PushToConsole("SRunVel 855.000000");
    this->PushToConsole("JumpVel 990.000000");
    this->PushToConsole("DuckVel 150.000000");
    }else if( Menu1.mOpt[4].nopt == 1 ){
    this->PushToConsole("BaseMoveAccel 3000.000000");
    this->PushToConsole("StartAccel 1000.000000");
    this->PushToConsole("MaxAccel 3000.000000");
    this->PushToConsole("AccelInc 3000.000000");
    this->PushToConsole("WalkVel 140.000000");
    this->PushToConsole("FRunVel 570.000000");
    this->PushToConsole("BRunVel 570.000000");
    this->PushToConsole("SRunVel 570.000000");
    this->PushToConsole("JumpVel 660.000000");
    this->PushToConsole("DuckVel 100.000000");
    }else if( Menu1.mOpt[4].nopt <= 0 ){
    this->PushToConsole("BaseMoveAccel 3000.000000");
    this->PushToConsole("StartAccel 500.000000");
    this->PushToConsole("MaxAccel 3000.000000");
    this->PushToConsole("AccelInc 6000.000000");
    this->PushToConsole("WalkVel 70.000000");
    this->PushToConsole("FRunVel 285.000000");
    this->PushToConsole("BRunVel 285.000000");
    this->PushToConsole("SRunVel 285.000000");
    this->PushToConsole("JumpVel 330.000000");
    this->PushToConsole("DuckVel 50.000000");
    }

    Sleep(iRenderSpeed);

    if( Menu1.mOpt[5].nopt > 0 )//Less Spread
    {
    this->PushToConsole("PerturbRotationEffect 0.000000");
    this->PushToConsole("PerturbIncreaseSpeed 0.000000");
    this->PushToConsole("PerturbWalkPercent 0.000000");
    this->PushToConsole("PerturbFiringIncreaseSpeed 0.000000");
    }else{
    this->PushToConsole("PerturbRotationEffect 3.000000");
    this->PushToConsole("PerturbIncreaseSpeed 3.000000");
    this->PushToConsole("PerturbDecreaseSpeed 9.000000");
    this->PushToConsole("PerturbWalkPercent 0.500000");
    }

    Sleep(iRenderSpeed);

    switch ( Menu2.mOpt[1].nopt )//This Doesnt move your player pos it moves your Cam Pos
    {
    case 0://Defualt
    this->PushToConsole("CamMaxPosYOffset 200.000000");
    this->PushToConsole("DuckDownCamOffSet -13.000000");
    break;
    case 1://Up in the Air after u hit CNTRL
    this->PushToConsole("CamMaxPosYOffset 200.000000");
    this->PushToConsole("DuckDownCamOffSet 1000.000000");
    break;
    case 2://Under the Map after u hit CNTRL
    this->PushToConsole("CamMaxPosYOffset -1000.000000");
    this->PushToConsole("DuckDownCamOffSet -13.000000");
    break;
    }

    Sleep(iRenderSpeed);

    if( Menu2.mOpt[2].nopt > 0 )//Tracers
    this->PushToConsole( "ShowFirePath 1" );
    else
    this->PushToConsole( "ShowFirePath 0" );

    if( Menu2.mOpt[3].nopt > 0 )//Windowed Mode
    this->PushToConsole( "windowed 1" );
    else
    this->PushToConsole( "windowed 0" );

    if( Menu2.mOpt[4].nopt > 0 )//Fps
    this->PushToConsole( "ShowFps 1");
    else
    this->PushToConsole( "ShowFps 0");

    if( Menu2.mOpt[5].nopt > 0 )// Unlock Cursor
    this->PushToConsole( "CursorCenter 0");
    else
    this->PushToConsole( "CursorCenter 1");

    if( Menu2.mOpt[6].nopt > 0 ){//Duh Creditz
    mainMenu.creditsMenu=true;
    }else{
    mainMenu.creditsMenu=false;
    }

    if( Menu1.mOpt[7].nopt > 0){//Full bright
    pushCmd="FullBright 1";
    this->PushToConsole( pushCmd );
    } else {
    pushCmd="FullBright 0";
    this->PushToConsole( pushCmd );
    }
    if( Menu1.mOpt[8].nopt > 0){//NX Chams!
    pushCmd="SkelModelStencil 1";
    this->PushToConsole( pushCmd );
    }

    if(Menu2.mOpt[7].nopt>0){
    char rd[3], gr[3], bl[3];
    sprintf(rd, "FogR %d" , Menu2.mOpt[8].nopt);
    sprintf(gr, "FogG %d" , Menu2.mOpt[9].nopt);
    sprintf(bl, "FogB %d" , Menu2.mOpt[10].nopt);
    this->PushToConsole((const char *)rd);
    this->PushToConsole((const char *)gr);
    this->PushToConsole((const char *)bl);
    }else{
    this->PushToConsole("FogR 255");
    this->PushToConsole((const char *)gr);
    this->PushToConsole((const char *)bl);
    }

    Sleep(iRenderSpeed);
    delete pushCmd;
    }
    }
    }

    DWORD cBase::GetPointer(int index)
    {
    DWORD* devicePtr = ***(DWORD****)0x7E4CE0;

    if( devicePtr == NULL )
    return 0;

    return devicePtr[index];
    }

    bool cBase::IsGameReadyForHook(void)
    {
    if( GetModuleHandle( (LPCSTR)"d3d9.dll" ) != NULL
    && GetModuleHandle( (LPCSTR)"ClientFX.fxd" ) != NULL
    && GetModuleHandle( (LPCSTR)"CShell.dll" ) != NULL )
    return true;

    return false;
    }

    DWORD WINAPI dwMainThread(LPVOID)
    {
    while ( !Base.IsGameReadyForHook() )
    Sleep(iWaitTime);

    Directx.Hook();
    creditsMenu=creditsBase;//added
    Base.Update();//added

    return 0;
    }

    DWORD WINAPI dwHackThread(LPVOID)
    {
    while( !Base.IsGameReadyForHook() )
    Sleep(iWaitTime);
    creditsMenu=creditsBase;
    Base.Update();

    return 0;
    }

    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    DisableThreadLibraryCalls(hDll);

    if ( dwReason == DLL_PROCESS_ATTACH )
    {
    #ifdef LOG
    DeleteFile(LogPath);
    #endif

    CreateThread(NULL, NULL, dwMainThread, NULL, NULL, NULL);
    //CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
    }
    return TRUE;
    }
    [/php]
    Now you need to add the directx SDK

  7. #22
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,170
    Reputation
    490
    Thanks
    2,252
    Lol told him that 2 pages ago

  8. #23
    BlackHaexGuns's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    14
    Reputation
    10
    Thanks
    0
    Yea I have been doing that the past 4 hours, slow internet, I'm at a hotel :\

  9. #24
    coryster2100's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    394
    Reputation
    13
    Thanks
    1,174
    Bro PM me an ill give you my msn info so i can TV you

Page 2 of 2 FirstFirst 12

Similar Threads

  1. [Solved] Just a small question about D3D
    By MightySaa0d in forum CrossFire Help
    Replies: 6
    Last Post: 10-08-2011, 09:57 AM
  2. Question about Text title change
    By | ∞ | in forum General
    Replies: 10
    Last Post: 06-10-2011, 02:38 PM
  3. [Help] Remove Draw text (D3D)
    By Lyoto Machida in forum C++/C Programming
    Replies: 4
    Last Post: 05-26-2011, 07:59 PM
  4. [Question] About Text Color...!~ [MPGH]
    By CheatCreatorzz in forum Suggestions, Requests & Help
    Replies: 5
    Last Post: 03-21-2011, 01:16 PM
  5. question about zoom
    By yocinfluence in forum WarRock - International Hacks
    Replies: 4
    Last Post: 01-26-2006, 11:12 PM