Page 1 of 3 123 LastLast
Results 1 to 15 of 40
  1. #1
    firefox800's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Posts
    294
    Reputation
    10
    Thanks
    2,136
    My Mood
    Fine

    Thumbs up Soldier Front Chams (Numvertices & PrimitiveCount)

    How to use Numvertices and Primitives into chams?
    Every Characters have each correct modelrec inorder to chams,
    Example for PSU Character ModRec logged
    # Numvertices |# Primitives |
    87 | Arms |139| Arms |
    79 | Feet |105| Feet |
    126| Hands |172| Hands |
    370| Legs |740| Legs |
    499| Body |624| Body |
    523| Head |846| Head |
    -----------------------------
    1. Define each characters you want to chams for PSU
    Code:
    #define (Numvertices== 87 && Primitives == 139)//arms
    Numvertices== 79 && Primitives == 105 ||//feet
    Numvertices== 126 && Primitives ==172 ||//hands
    Numvertices== 370 && Primitives ==740 ||//legs
    Numvertices== 499 && Primitives ==624 ||//body
    Numvertices== 523 && Primitives ==846) //head
    2. Then, in Global
    Code:
    LPDIRECT3DTEXTURE9 Bue,Pink;
    bool Color = true;
    bool chams;
    int Primitives;
    int Numvertices;
    3.In EndScene: for the Color Texture of the character.
    Code:
    (Color)
    {
    if
    GenerateTexture(pDevice, &Pink, D3DCOLOR_ARGB (255,255,20 ,147));
    GenerateTexture(pDevice, &Blue, D3DCOLOR_ARGB (255,0 ,0 ,255));
    Color = false;
    }
    4. In DIP: for the color chams during in-game:
    Code:
    LPDIRECT3DVERTEXBUFFER9 Stream;
    UINT Offset;
    UINT Stride;
    if ( pDevice->GetStreamSource(0,&Stream,&Offset,&Stride) == D3D_OK )
    {
    Stream->Release();
    }
    if (chams)
    ...
    ...
    (PSU)
    ...
    ...
    {
    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
    pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
    pDevice->SetTexture(0,Blue);
    pDrawIndexedPrimitive(pDevice,Type,BaseIndex,MinIn dex,Numvertices,Startindex,Primitive);
    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
    pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_LESSEQUAL);
    pDevice->SetTexture(0,Pink);
    }
    5. Here's the actual Screeshots:


    Credits: FireFox, DarkAppalow, 11Swift11

  2. The Following 2 Users Say Thank You to firefox800 For This Useful Post:

    joered (01-06-2015),shfwkekd (09-04-2015)

  3. #2
    Wealth is in the mind not the pocket.
    Premium Member
    Bitset's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Location
    M.I.A
    Posts
    254
    Reputation
    93
    Thanks
    1,704
    My Mood
    Buzzed
    Nice tutorial but I like using _ReturnAddress() and _AddressOfReturnAddress() it's a lot easier :P

  4. #3
    firefox800's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Posts
    294
    Reputation
    10
    Thanks
    2,136
    My Mood
    Fine
    Quote Originally Posted by Ponzi<3 View Post
    Nice tutorial but I like using _ReturnAddress() and _AddressOfReturnAddress() it's a lot easier :P
    Hmmm...never try but i fond in logging the modelrec..thanks for the info brother

  5. #4
    gelopowzxc's Avatar
    Join Date
    Dec 2014
    Gender
    male
    Posts
    0
    Reputation
    10
    Thanks
    0
    Any Vid? :3

  6. #5
    David.'s Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    ก็็็็็็็็็็็็็&#
    Posts
    2,881
    Reputation
    556
    Thanks
    2,514
    My Mood
    Amazed
    Thanks For Source Code

  7. #6
    noone101's Avatar
    Join Date
    Nov 2014
    Gender
    male
    Posts
    247
    Reputation
    84
    Thanks
    70
    Quote Originally Posted by firefox800 View Post
    Hmmm...never try but i fond in logging the modelrec..thanks for the info brother
    can you just release it ?

  8. #7
    blackgamingthesecond's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    43
    Reputation
    10
    Thanks
    57
    Quote Originally Posted by Ponzi<3 View Post
    Nice tutorial but I like using _ReturnAddress() and _AddressOfReturnAddress() it's a lot easier :P
    I'm just wondering, what hook is undetected here in sf?

  9. #8
    Wealth is in the mind not the pocket.
    Premium Member
    Bitset's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Location
    M.I.A
    Posts
    254
    Reputation
    93
    Thanks
    1,704
    My Mood
    Buzzed
    Quote Originally Posted by blackgamingthesecond View Post
    I'm just wondering, what hook is undetected here in sf?
    I am using a Midfunction HWBP and works fine, make sure you don't use any detected API's and you should be fine.

  10. #9
    blackgamingthesecond's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    43
    Reputation
    10
    Thanks
    57
    Quote Originally Posted by Ponzi<3 View Post
    I am using a Midfunction HWBP and works fine, make sure you don't use any detected API's and you should be fine.
    Ohh cool, thanks

  11. #10
    Jov's Avatar
    Join Date
    Jan 2014
    Gender
    male
    Location
    WINNING
    Posts
    4,526
    Reputation
    4549
    Thanks
    17,403
    Nice tutorial. Thanks to guys like you this section is alive




    THE EYES OF THE DAVESTAPO ARE UPON YOU. ANY WRONG YOU DO WE ARE GONNA SEE, WHEN YOU'RE ON MPGH, LOOK BEHIND YOU, 'CAUSE THATS WHERE WE GONNA BE




  12. #11
    blackgamingthesecond's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    43
    Reputation
    10
    Thanks
    57
    @Ponzi<3 - Do yo still have older usf dump? year - 2013?

  13. #12
    joered's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Netherlands
    Posts
    345
    Reputation
    17
    Thanks
    332
    Quote Originally Posted by blackgamingthesecond View Post
    @Ponzi<3 - Do yo still have older usf dump? year - 2013?
    https://www.mpgh.net/forum/showthread.php?t=664859

    Here is a old dump from 2013. May i ask what you want to do with it since it is outdated?


    “Imagination, devotion, perseverance, together with divine grace, will assure your success.”

    ―Haile Selassie





    Work from back in the days:

    Soldierfront Public d3d - Detected since 2011

    Crossfire VIP:

  14. #13
    blackgamingthesecond's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    43
    Reputation
    10
    Thanks
    57
    Quote Originally Posted by joered View Post
    https://www.mpgh.net/forum/showthread.php?t=664859

    Here is a old dump from 2013. May i ask what you want to do with it since it is outdated?
    Are there any other dump that is older than this? ranging January - February ?

    I'm just updating my hack

  15. #14
    Trove's Avatar
    Join Date
    Jan 2015
    Gender
    male
    Posts
    108
    Reputation
    10
    Thanks
    1,376
    My Mood
    Angelic
    nice tutorial need fix bugs

  16. #15
    Jov's Avatar
    Join Date
    Jan 2014
    Gender
    male
    Location
    WINNING
    Posts
    4,526
    Reputation
    4549
    Thanks
    17,403
    Quote Originally Posted by Trove View Post
    nice tutorial need fix bugs
    What kind of bugs are you experiencing?




    THE EYES OF THE DAVESTAPO ARE UPON YOU. ANY WRONG YOU DO WE ARE GONNA SEE, WHEN YOU'RE ON MPGH, LOOK BEHIND YOU, 'CAUSE THATS WHERE WE GONNA BE




Page 1 of 3 123 LastLast

Similar Threads

  1. Soldier Front cham,aimbot
    By iowni1 in forum Hack Requests
    Replies: 0
    Last Post: 12-24-2008, 08:33 AM
  2. Soldier Front
    By tekmo in forum Hack Requests
    Replies: 6
    Last Post: 07-20-2008, 08:39 AM
  3. Fix Xfire Screenshot in Soldier Front
    By the1fear in forum Soldier Front General
    Replies: 10
    Last Post: 06-13-2008, 08:18 AM
  4. Need help in hacking "Soldier Front"
    By stingray001 in forum General Game Hacking
    Replies: 7
    Last Post: 03-03-2007, 10:27 PM
  5. Soldier Front(ijji)
    By vega in forum General Game Hacking
    Replies: 2
    Last Post: 01-10-2007, 11:17 PM

Tags for this Thread