Jump to content
Welcome, Guest
Existing user? Sign In

Sign In



Sign Up
The MatriX
  • Welcome To Ghbsys
  • CS GO Streaming Version is released. Have fun streaming while cheating!
  • Have a Payment Issue? Send us a Support ticket.
  • Make a thread if you need support or join our discord for live support.
  • Have Suggestions? Make a thread and you'll earn Ghbsys Points for implemented suggestions.
  • Join our discord to stay well connected! Don't forget to integrate your discord to the site
  • Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum

    Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of [GHB] - GAmEhAcKbAsTaRdS Forum by signing in or creating an account.
    • Start new topics and reply to others
    • Subscribe to topics and forums to get email updates
    • Get your own profile page and make new friends
    • Send personal messages to other members.

    D3D tutorial


    sombra
     Share

    Recommended Posts

    D3D Tutorial:

    u need:

    SDK 2004 Summer

    Visual Studio 2003 .net

    Clean Source ~ You realy need This!

    __________________________________________________

    Install the files!

     

    Lets Start :

    Start VS2003 and open the source > go to tools > options > open folder Project and click on C++ directory's.

    Now you will see this :

     

    hslfuqzh.png

     

     

    Click on the show derectorys for include.

    now click on create new line, browse and find your SDK 2004 folder.

    open the directory include and press open.

    do the same with libary and source.

     

    after doing that click OK and double click on d3d8dev.cpp.

     

    Adding Addies

    now i gonna explain how u add a'n addie.

    go to : ///////////////////////////////////////////////// Addies Here!

    u will see a'n example :

     

     

    CODE

    #define yourcheat_Addie 0x000000

     

     

    Lets add No Respawn wait :

     

     

    CODE

    #define yourcheat_Addie 0x259182D

    #define yourcheat_Addie 0x12D8FAC

     

     

    now go to the bool system.

    Lets bool spawn :

     

     

    CODE

    bool spawn = false;

     

     

    now below the bool system u will see highlight[2] = {1,0}

    if you add a string you will need to change the [2] to [3] and the {1,0,0} to {1,0,0}

     

    Lets add a spawnstring :

     

     

    CODE

    char spawnstring[20] = {NULL};

     

     

    were done at this part. take your scrollbutton to the middle.

    you will see this in the CH_menu:

     

     

    CODE

    sprintf(chamsstring, "Chams %s",(CH_chams ? "ON" : "OFF"));

     

     

    just copy it and edit the chamsstring to your spawnstring and the CH_chams to your bool ( spawn ).

    Example :

     

    CODE

    sprintf(Spawnstring, "Spawn %s",(spawn ? "ON" : "OFF"));

     

     

    now below the sprintf's u see :

     

     

    CODE

    if(highlight[1]==1)

    m_pFont_INFO->DrawText(15.0f, 30.0f, textRed, chamsstring);

    else

    m_pFont_INFO->DrawText(15.0f,30.0f, textPurple, chamsstring);

     

     

    Just copy it and paste it again , change the [1] to [2] and the 2x 30's to 40.

    Example :

     

     

    CODE

    if(highlight[2]==1)

    m_pFont_INFO->DrawText(15.0f, 40.0f, textRed, spawnstring);

    else

    m_pFont_INFO->DrawText(15.0f,40.0f, textPurple, spawnstring);

     

     

    scroll a bit down and you will see :

     

     

    CODE

    if(GetAsyncKeyState(VK_UP)&1)

    {

    for(int i=0; i < 2; i++) /////add +1 to menu here ,change the 2

    {

    if (highlight == 1)

    {

    int a = i-1;

     

    if(a < 0)

    break;

     

    else

    {

    highlight[a]=1;

    highlight=0;

    break;

    }

    }

    }

    }

     

    if(GetAsyncKeyState(VK_DOWN)&1)

    {

    for(int i=0; i < 2; i++) //////same here change the 3 to +1 of menu

    {

    if (highlight == 1)

    {

    int a = i+1;

     

    if(a > 1) ////amount in the menu goes here ,change the 2

    break;

     

    else

    {

    highlight[a]=1;

    highlight=0;

    break;

    }

    }

    }

    }

     

     

    Everytime you add a cheat you need to change the :

     

    CODE

    for(int i=0; i < 2; i++)

    to

    CODE

    for(int i=0; i < 3; i++)

     

    you need to do this twice!

     

    and :

     

    CODE

    if(a > 1)

    to

    CODE

    if(a > 2)

     

     

     

    now scroll down untill u see Activate cheats on/off here.

     

    copy :

     

    CODE

    if(highlight[1] == 1 && (GetAsyncKeyState(VK_RIGHT)&1))

    CH_Chams = !CH_Chams;

     

     

    and paste it again + change the CH_chams to your bool ( spawn ) + change the [1] to [2]

    Example :

     

     

    CODE

    if(highlight[2] == 1 && (GetAsyncKeyState(VK_RIGHT)&1))

    Spawn = !Spawn;

     

     

    Your menu is done now!, now add the code to make the cheat working

    Scroll down untill u see Make the cheat working!

     

    Add :

     

    CODE

    ;if (tSpawn);

    {

    long t=0;

    unsigned long Protection;

    VirtualProtect((void*)Spawn_Addie1, sizeof(t), PAGE_READWRITE, &Protection);

    memcpy((void*)Spawn_Addie1, &t , sizeof(t));

    VirtualProtect((void*)Spawn_Addie1, sizeof(t), Protection, 0);

     

    VirtualProtect((void*)Spawn_Addie2, sizeof(t), PAGE_READWRITE, &Protection);

    memcpy((void*)Spawn_Addie2, &t , sizeof(t));

    VirtualProtect((void*)Spawn_Addie2, sizeof(t), Protection, 0);

    }

     

     

    long = WriteAlong ( memory )

    t=0; = the value

    _____________________

     

    ADDIES NEED TO BY UPDATED BY USELF

    _____________________

     

    credit:

     

    me (sombra)

    justhin10

     

     

    plz give the thx

    post-113058-1235771682_thumb.png

    Edited by sombra
    Link to comment
    Share on other sites

    -.-

     

    Spam?

    ...And: why do you Post that Into gfx Tutorials... There ist an extra section for coding...

    Link to comment
    Share on other sites

    • 2 weeks later...
    • 2 months later...
    Guest
    This topic is now closed to further replies.
     Share

    • Recently Browsing   0 members

      • No registered users viewing this page.
    ×
    ×
    • Create New...