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.

    Operation 7 Full Chams


    paTTax
     Share

    Recommended Posts

    Hi, this is for all who have problems finding all Player NumVertices. I this method is very easy!

     

    #include <intrin.h>
    extern "C" void *_ReturnAddress(void);
    #pragma intrinsic(_ReturnAddress)
    void *_ReturnAddress(void);
    
    
    
    if ((_ReturnAddress() >= (void*)0x516800) && (_ReturnAddress() <= (void*)0x528CCA))
        {
    		DWORD dwOldZEnable = D3DZB_TRUE;
    		pTxdevice->SetTexture(0, texRed);
    		pTxdevice->GetRenderState(D3DRS_ZENABLE, &dwOldZEnable);
    		pTxdevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
    		pTxdevice->DrawIndexedPrimitive(Type, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
    		pTxdevice->SetRenderState(D3DRS_ZENABLE, dwOldZEnable);
    		pTxdevice->SetTexture(0, texGreen);
        }
    

     

    It's very easy and you dont have to find out all the NumVertices, have fun!

    Link to comment
    Share on other sites

    • 3 weeks later...

    not realy, just thinking, same way works on every other game if you know how ;)

    Link to comment
    Share on other sites

    Guest
    This topic is now closed to further replies.
     Share

    • Recently Browsing   0 members

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