Results 1 to 12 of 12
  1. #1
    -iFaDy..*'s Avatar
    Join Date
    Mar 2012
    Gender
    male
    Location
    C++/Mpgh.net/CF/devenv.exe
    Posts
    201
    Reputation
    22
    Thanks
    87
    My Mood
    Cool

    Talking CF 2D Boxes ESP Source Code ;)

    Hey all , i will Release 2D Boxes Source Code ( not mine - Credits other forum )

    Code:
    void CESP::Draw2DPlayerBox( CF_Player *pPlayer, DWORD drawColor )
    {
        if( !pPlayer )
            return;
    
        if( !pPlayer->Object )
            return;
    
        if( !g_Engine.GetClient() )
            return;
    
        LTVector vCenter, vFoot, vHead;
    
        //this is the centered position
        if( g_Engine.GetClient()->GetObjectPos( pPlayer->Object, &vCenter ) != LT_OK )
            return;
    
        //foot (bottom)
        if( g_Engine.GetClient()->GetObjectBoxMin( pPlayer->Object, vFoot ) != LT_OK )
            return;
    
        //head (top)
        if( g_Engine.GetClient()->GetObjectBoxMax( pPlayer->Object, vHead ) != LT_OK )
            return;
    
        //center the positions for 2d boxes
        vFoot.x = vCenter.x;
        vFoot.z = vCenter.z;
        vHead.x = vCenter.x;
        vHead.z = vCenter.z;
    
        LTVector vPlayerFootScreen, vPlayerHeadScreen;
    
        if( g_Engine.LTWorldToScreen( vFoot, vPlayerFootScreen ) && g_Engine.LTWorldToScreen( vHead, vPlayerHeadScreen ) )
        {
            float w = ( vPlayerFootScreen.y - vPlayerHeadScreen.y ) / 4;
    
            g_Engine.OutlineRGBA( vPlayerHeadScreen.x - w, vPlayerHeadScreen.y, w * 2, ( vPlayerFootScreen.y - vPlayerHeadScreen.y ), 1.0f,
                RED( drawColor ), GREEN( drawColor ), BLUE( drawColor ), ALPHA( drawColor ) );
        }
    }
    Edit : Credits : s0beit ( i Added just for @~FALLEN~
    Last edited by -iFaDy..*; 03-28-2012 at 02:41 PM.
    Need Any Help in C++/CrossFire? Just Pm me.

    My FB : Www.FaceBook.com/FaDiAtefAhlawy

    My Yahoo : Dodo_CrazyChat@yahoo.com

    My Hotmail : Dodo_CrazyChat@hotmail.com

  2. The Following User Says Thank You to -iFaDy..* For This Useful Post:

    Dead(H)ell (03-27-2012)

  3. #2
    Skrillex's Avatar
    Join Date
    May 2011
    Gender
    male
    Posts
    701
    Reputation
    103
    Thanks
    4,749
    My Mood
    Fine
    lol? it works easier

  4. #3
    f3nix's Avatar
    Join Date
    Mar 2012
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    0
    My Mood
    Yeehaw
    Ill be forever lost in this crap -,-

  5. #4
    -iFaDy..*'s Avatar
    Join Date
    Mar 2012
    Gender
    male
    Location
    C++/Mpgh.net/CF/devenv.exe
    Posts
    201
    Reputation
    22
    Thanks
    87
    My Mood
    Cool
    Quote Originally Posted by Skrillex View Post
    lol? it works easier
    Lol u Tried it ? /
    Need Any Help in C++/CrossFire? Just Pm me.

    My FB : Www.FaceBook.com/FaDiAtefAhlawy

    My Yahoo : Dodo_CrazyChat@yahoo.com

    My Hotmail : Dodo_CrazyChat@hotmail.com

  6. #5
    Swag's Avatar
    Join Date
    Jul 2011
    Gender
    male
    Location
    Netherlands
    Posts
    1,619
    Reputation
    19
    Thanks
    1,865
    My Mood
    Amused
    We have to make the class by ourselves^^

  7. #6
    Skrillex's Avatar
    Join Date
    May 2011
    Gender
    male
    Posts
    701
    Reputation
    103
    Thanks
    4,749
    My Mood
    Fine
    @-iFaDy..* no but i have the source..

  8. #7
    -iFaDy..*'s Avatar
    Join Date
    Mar 2012
    Gender
    male
    Location
    C++/Mpgh.net/CF/devenv.exe
    Posts
    201
    Reputation
    22
    Thanks
    87
    My Mood
    Cool
    Quote Originally Posted by Swag View Post
    We have to make the class by ourselves^^
    ^_^
    /msg2short
    Need Any Help in C++/CrossFire? Just Pm me.

    My FB : Www.FaceBook.com/FaDiAtefAhlawy

    My Yahoo : Dodo_CrazyChat@yahoo.com

    My Hotmail : Dodo_CrazyChat@hotmail.com

  9. #8
    ~FALLEN~'s Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    devenv.exe
    Posts
    529
    Reputation
    23
    Thanks
    328
    My Mood
    Inspired
    Quote Originally Posted by -iFaDy..* View Post
    Hey all , i will Release 2D Boxes Source Code ( not mine - Credits other forum )

    Code:
    void CESP::Draw2DPlayerBox( CF_Player *pPlayer, DWORD drawColor )
    {
        if( !pPlayer )
            return;
    
        if( !pPlayer->Object )
            return;
    
        if( !g_Engine.GetClient() )
            return;
    
        LTVector vCenter, vFoot, vHead;
    
        //this is the centered position
        if( g_Engine.GetClient()->GetObjectPos( pPlayer->Object, &vCenter ) != LT_OK )
            return;
    
        //foot (bottom)
        if( g_Engine.GetClient()->GetObjectBoxMin( pPlayer->Object, vFoot ) != LT_OK )
            return;
    
        //head (top)
        if( g_Engine.GetClient()->GetObjectBoxMax( pPlayer->Object, vHead ) != LT_OK )
            return;
    
        //center the positions for 2d boxes
        vFoot.x = vCenter.x;
        vFoot.z = vCenter.z;
        vHead.x = vCenter.x;
        vHead.z = vCenter.z;
    
        LTVector vPlayerFootScreen, vPlayerHeadScreen;
    
        if( g_Engine.LTWorldToScreen( vFoot, vPlayerFootScreen ) && g_Engine.LTWorldToScreen( vHead, vPlayerHeadScreen ) )
        {
            float w = ( vPlayerFootScreen.y - vPlayerHeadScreen.y ) / 4;
    
            g_Engine.OutlineRGBA( vPlayerHeadScreen.x - w, vPlayerHeadScreen.y, w * 2, ( vPlayerFootScreen.y - vPlayerHeadScreen.y ), 1.0f,
                RED( drawColor ), GREEN( drawColor ), BLUE( drawColor ), ALPHA( drawColor ) );
        }
    }
    That's s0beit's code, give credit where credit is due ffs. p.s you need engine functions / classes reversed for this

  10. #9
    CFhackerfree's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    Germany
    Posts
    801
    Reputation
    22
    Thanks
    4,417
    My Mood
    Happy
    it's even easier ^^
    i have a better methode

    LOL code is leeched already posted !
    https://www.mpgh.net/forum/242-crossf...t-box-esp.html
    Last edited by CFhackerfree; 03-28-2012 at 06:30 AM.

  11. #10
    kmanev073's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    Bulgaria
    Posts
    2,400
    Reputation
    97
    Thanks
    2,537
    My Mood
    Cool
    how to hook this with DIP ?

  12. #11
    -iFaDy..*'s Avatar
    Join Date
    Mar 2012
    Gender
    male
    Location
    C++/Mpgh.net/CF/devenv.exe
    Posts
    201
    Reputation
    22
    Thanks
    87
    My Mood
    Cool
    Quote Originally Posted by ~FALLEN~ View Post
    That's s0beit's code, give credit where credit is due ffs. p.s you need engine functions / classes reversed for this
    i Said its not mine and i got it from another site
    Need Any Help in C++/CrossFire? Just Pm me.

    My FB : Www.FaceBook.com/FaDiAtefAhlawy

    My Yahoo : Dodo_CrazyChat@yahoo.com

    My Hotmail : Dodo_CrazyChat@hotmail.com

  13. #12
    darkness99's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Location
    ASM Part
    Posts
    235
    Reputation
    10
    Thanks
    211
    i use memory way [ Find Pattern ]

  14. The Following User Says Thank You to darkness99 For This Useful Post:

    -iFaDy..* (03-28-2012)

Similar Threads

  1. [Help] I want box esp full code
    By s2s2dll in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 2
    Last Post: 03-20-2011, 07:50 AM
  2. My Source Code from Box Hack Generator
    By uzinato in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 13
    Last Post: 09-27-2010, 04:45 AM
  3. [Code] perfect box ESP
    By rob7601 in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 54
    Last Post: 08-01-2010, 02:31 AM
  4. [SOLVED] External Esp source code editing question
    By Demented420 in forum Call of Duty Modern Warfare 2 Help
    Replies: 6
    Last Post: 06-04-2010, 11:13 AM