Results 1 to 10 of 10
  1. #1
    |-|3|_][({}PT3R12's Avatar
    Join Date
    Nov 2008
    Gender
    male
    Location
    UnkwOwnS
    Posts
    449
    Reputation
    12
    Thanks
    472
    My Mood
    Twisted

    W2S and DrawPrim Class

    I was using a standard World to Screen without the game's world it worked fine until someone shot their gun (Typical problem I see).

    Havn't updated my classes in awhile, does anyone know how outdated this is? I really only need new World offset if someone would like to help me out..
    Code:
    class CILTDrawPrim
    {
    public:
        virtual void function0(); //
        virtual void function1(); //
        virtual void function2(); //
        virtual void function3(); //
        virtual void function4(); //
        virtual void function5(); //
        virtual void function6(); //
        virtual void function7(); //
        virtual void function8(); //
        virtual void function9(); //
        virtual void function10(); //
        virtual void function11(); //
        virtual void function12(); //
        virtual void function13(); //
        virtual void function14(); //
        virtual void function15(); //
        virtual void function16(); //
        virtual void function17(); //
        virtual void function18(); //
        virtual void function19(); //
        virtual void function20(); //
        virtual void function21(); //
        virtual void function22(); //
        virtual void function23(); //
        virtual void function24(); //
        virtual void function25(); //
        virtual void function26(); //
        virtual void function27(); //
        virtual void function28(); //
        virtual void function29(); //
        virtual void function30(); //
        virtual void function31(); //
        virtual void function32(); //
        virtual void function33(); //
        virtual void function34(); //
        virtual void function35(); //
        virtual void function36(); //
        virtual void function37(); //
        virtual void function38(); //
        virtual void function39(); //
        virtual void function40(); //
        virtual void function41(); //
        virtual void function42(); //
        virtual void function43(); //
        virtual void function44(); //
        virtual void function45(); //
        virtual void function46(); //
        virtual void function47(); //
        virtual void function48(); //
        virtual void function49(); //
        virtual HRESULT Project( float x, float y, float z, D3DXVECTOR3* pProjectOut, D3DXVECTOR3* pTransformOut); //
        char unknown[17232]; //0x0004  
        D3DXMATRIX World; //0x4354  
        D3DXMATRIX View; //0x4394  
        D3DXMATRIX Projection; //0x43D4  
    };
    I was just getting everything normally:
    Code:
    mDevice->GetTransform(D3DTS_VIEW, &view); 
    mDevice->GetTransform(D3DTS_PROJECTION, &projection); 
    mDevice->GetTransform(D3DTS_WORLD, &world); 
    mDevice->GetViewport(&viewPort);
    Anyone know why exactly when you fire it causes the ESP to flicker? Just out of curiosity.
    Last edited by |-|3|_][({}PT3R12; 03-24-2014 at 03:11 PM.

  2. #2
    supercarz1991's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    North of Hell, South of Heaven
    Posts
    6,067
    Reputation
    323
    Thanks
    3,323
    My Mood
    Doh
    maybe this is just my stupid thinking, but what's the point in reversing a class if your gonna leave 90% of it as a function##();?

    commando: You're probably the best non-coder coder I know LOL


  3. #3
    |-|3|_][({}PT3R12's Avatar
    Join Date
    Nov 2008
    Gender
    male
    Location
    UnkwOwnS
    Posts
    449
    Reputation
    12
    Thanks
    472
    My Mood
    Twisted
    Its old, and I need nothing from it other than what is actually defined. Honestly it isn't even work using the class tbh I'd rather the offset.

  4. #4
    Flengo's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    Ontario, Canada
    Posts
    15,714
    Reputation
    3319
    Thanks
    11,144
    My Mood
    Happy
    Quote Originally Posted by supercarz1991 View Post
    maybe this is just my stupid thinking, but what's the point in reversing a class if your gonna leave 90% of it as a function##();?
    Because those functions may not be of relevance or need to you so why look that deep into them?

    If you wanna explore and reverse some more then sure go right ahead, it's good to do and fun. But if you're not gonna need or use it, or have any use from it, then why do it?
    I Read All Of My PM's & VM's
    If you need help with anything, just let me know.
     
     
    VM | PM

    Publicist Since 04.04.2015
    Middleman Since Unknown - Unknown
    Global Moderator Since 08.01.2013
    Donator Since 05.29.2013

    Minion+ Since 04.18.2013

    District 187 Minion Since 04.04.2013
    Steam Minion Since 02.26.2013
    WarRock Minion Since 02.19.2013
    A.V.A Minion Since 02.13.2013
    DayZ Minion Since 01.21.2013
    Combat Arms Minion Since 12.26.2012
    Contributor Since 11.16.2012
    Member Since 05.11.2010


  5. #5
    gibam761's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    99
    Reputation
    10
    Thanks
    49
    My Mood
    Drunk
    class CILTDrawPrim
    {
    public:
    char unknown1[16184]; //0x0000
    D3DVIEWPORT9 ViewPort; //0x3F38
    D3DXMATRIX World; //0x3F50
    D3DXMATRIX View; //0x3F90
    D3DXMATRIX Projection; //0x3FD0
    };//Size=0x4010



    CILTDrawPrim *pDrawPrim = *(CILTDrawPrim **)0x7C36AC;

  6. #6
    |-|3|_][({}PT3R12's Avatar
    Join Date
    Nov 2008
    Gender
    male
    Location
    UnkwOwnS
    Posts
    449
    Reputation
    12
    Thanks
    472
    My Mood
    Twisted
    Quote Originally Posted by gibam761 View Post
    class CILTDrawPrim
    {
    public:
    char unknown1[16184]; //0x0000
    D3DVIEWPORT9 ViewPort; //0x3F38
    D3DXMATRIX World; //0x3F50
    D3DXMATRIX View; //0x3F90
    D3DXMATRIX Projection; //0x3FD0
    };//Size=0x4010



    CILTDrawPrim *pDrawPrim = *(CILTDrawPrim **)0x7C36AC;
    I'm guessing 0x7C36AC isn't for NA?


    How did you go about further defining your class BTW? I'm not the best reverser and I'd like some tips/help here..

  7. #7
    gibam761's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    99
    Reputation
    10
    Thanks
    49
    My Mood
    Drunk
    CANA = DrawPrimitive 0x7BB06C


  8. The Following User Says Thank You to gibam761 For This Useful Post:

    |-|3|_][({}PT3R12 (03-24-2014)

  9. #8
    |-|3|_][({}PT3R12's Avatar
    Join Date
    Nov 2008
    Gender
    male
    Location
    UnkwOwnS
    Posts
    449
    Reputation
    12
    Thanks
    472
    My Mood
    Twisted
    Quote Originally Posted by gibam761 View Post
    CANA = DrawPrimitive 0x7BB06C

    Thought so.. Got it working, thanks for the help!

    BTW I tried using pDrawPrim->ViewPort and it didn't work, but its a simple fix(For anyone who needs):
    Code:
    // Get View
    pDevice->GetViewport(&viewPort);
    
    // Convert to matrix and transform
    D3DXVec3Project(Pos, &Target, &viewPort, &pPrim->Projection, &pPrim->View, &pPrim->World);

  10. The Following User Says Thank You to |-|3|_][({}PT3R12 For This Useful Post:

    [MPGH]Flengo (03-24-2014)

  11. #9
    supercarz1991's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    North of Hell, South of Heaven
    Posts
    6,067
    Reputation
    323
    Thanks
    3,323
    My Mood
    Doh
    Quote Originally Posted by Flengo View Post


    Because those functions may not be of relevance or need to you so why look that deep into them?

    If you wanna explore and reverse some more then sure go right ahead, it's good to do and fun. But if you're not gonna need or use it, or have any use from it, then why do it?
    makes sense

    commando: You're probably the best non-coder coder I know LOL


  12. #10
    Flengo's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    Ontario, Canada
    Posts
    15,714
    Reputation
    3319
    Thanks
    11,144
    My Mood
    Happy
    Thanks for not just saying you solved your own problem, but also posting the solution to your problem

    Solved & Closed.
    I Read All Of My PM's & VM's
    If you need help with anything, just let me know.
     
     
    VM | PM

    Publicist Since 04.04.2015
    Middleman Since Unknown - Unknown
    Global Moderator Since 08.01.2013
    Donator Since 05.29.2013

    Minion+ Since 04.18.2013

    District 187 Minion Since 04.04.2013
    Steam Minion Since 02.26.2013
    WarRock Minion Since 02.19.2013
    A.V.A Minion Since 02.13.2013
    DayZ Minion Since 01.21.2013
    Combat Arms Minion Since 12.26.2012
    Contributor Since 11.16.2012
    Member Since 05.11.2010


Similar Threads

  1. Selling account founder account (1st upholder) with guardian and starlord class
    By Sinneo in forum Adventure Quest Worlds (AQW) Hacks / Cheats / Trainers
    Replies: 13
    Last Post: 02-02-2013, 06:20 PM
  2. [Release] GunAttributes and KnifeAttributes classes
    By kmanev073 in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 20
    Last Post: 01-13-2013, 04:59 AM
  3. Selling level 45 account 2,250,000 credits evolved shaman and ranger class
    By thomasdterrible in forum Adventure Quest Worlds (AQW) Hacks / Cheats / Trainers
    Replies: 4
    Last Post: 05-11-2012, 11:04 PM
  4. Stealth And Tactical Classes
    By rage21424a in forum Call of Duty Modern Warfare 2 Help
    Replies: 6
    Last Post: 08-10-2010, 02:18 PM