Results 1 to 4 of 4
  1. #1
    SmartGold's Avatar
    Join Date
    Sep 2008
    Gender
    male
    Posts
    78
    Reputation
    10
    Thanks
    8
    My Mood
    Busy

    how can i put extra hacks in?

    Hey guys right now, i am working on my public hack. There is only one problem. I can't really tell what is what. Well what i mean is where can i put extra hacks in. this is my example hack:

    bool boxes = true;
    for(;;) {
    __asm pushad;
    if(GetAsyncKeyState(VK_NUMPAD1)&1) {
    boxes = !boxes;
    }
    if (boxes) {
    PushToConsole("ModelDebug_DrawBoxes 1");
    }
    else {
    PushToConsole("ModelDebug_DrawBoxes 0");
    }
    The only thing i get confused is that i want to add this 1 hit kill code in and i don't know how to add it in! Can you help me?!?!

    for(int i=0 ; i<445 ; i++)
    *(float*)( (*(DWORD*)((*(DWORD*)(CShellBase+0x0090A4B8))+(4*i ))) + 0x0754) = FLT_MAX ;

  2. #2
    Swiftdude's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    Illinois.
    Posts
    12,572
    Reputation
    1130
    Thanks
    2,995
    My Mood
    Cynical
    well lets start here. your first code is PTC. PTC for the most part is patched. your 2nd code is D3D. you only have a very very small portion of a D3D Hack.
    Still love you Giggletron

  3. #3
    SmartGold's Avatar
    Join Date
    Sep 2008
    Gender
    male
    Posts
    78
    Reputation
    10
    Thanks
    8
    My Mood
    Busy
    Quote Originally Posted by Swiftdude View Post
    well lets start here. your first code is PTC. PTC for the most part is patched. your 2nd code is D3D. you only have a very very small portion of a D3D Hack.
    alright then i need to know to make the structure of the D3D code before i can make my public hack, right?

  4. #4
    CrossRaiders's Avatar
    Join Date
    May 2009
    Gender
    male
    Posts
    1,586
    Reputation
    29
    Thanks
    1,214
    Quote Originally Posted by SmartGold View Post
    alright then i need to know to make the structure of the D3D code before i can make my public hack, right?
    Yes, go learn C++ and when your done, come back...

    P.S. after c++, go and learn simple D3D hacking then move on to bigger games like crossfire.