Thread: m_gravity

Results 1 to 2 of 2
  1. #1
    AraaasH's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Location
    Where you want me to be
    Posts
    160
    Reputation
    12
    Thanks
    82
    My Mood
    Inspired

    m_gravity

    K so here's what I've thrown down a couple of months ago for my basic thingy.
    Does anyone have an up to date list of offsets and addresses? OllyDBG is trolling me.

    I'm trying to get m_gravity.

    Code:
    class ProjectileEntityData
            : public GamePhysicsEntityData                // 0x00
        {
        public:
            PAD(0xC);                                    // 0x64
            INT m_hitReactionWeaponType;                // 0x70
            FLOAT m_initialSpeed;                        // 0x74
            FLOAT m_timeToLive;                            // 0x78
            FLOAT m_initMeshHideTime;                    // 0x7C
            FLOAT m_visualConvergeDistance;                // 0x80
            FLOAT m_unknown;                            // 0x84
            MaterialContainerPair* m_materialPair;        // 0x88
            DataContainer* m_explosion;                    // 0x8C
            WeaponSuppressionData* m_suppressionData;    // 0x90
            String m_ammunitionType;                    // 0x94
            CHAR m_serverProjectileDisabled;            // 0x98
            CHAR m_detonateOnTimeout;                    // 0x99
            PAD(0x32);                                    // 0x9A
            FLOAT m_gravity;
        }; // 0x9C
    And yes I made it positive.

    Code:
    float m_grav = pWepFire->m_data->m_primaryFire->m_shot.m_projectileData->m_gravity;
    m_grav = m_grav * -1.f;
    But it doesn't seem to work.

    And is 0x2343A80 the current offset for input? Maybe that's the problem.
    Last edited by AraaasH; 06-16-2013 at 05:13 PM.
    FUCK LIFE I'M OUT

    Press "Thanks" if I helped you bitch.


  2. #2
    HXD_FTW's Avatar
    Join Date
    May 2013
    Gender
    male
    Posts
    46
    Reputation
    24
    Thanks
    12
    My Mood
    Cynical
    SAME thing it does to me when I am looking for bullet drop, or gravity. It either does that, or I cannot locate anything that writes to an address. I get an immediate error. I wish someone could also get by the crashes. I am getting those very frequently, every time I attach OllyDBG to BF3.
    Last edited by HXD_FTW; 06-17-2013 at 09:11 AM.
    "Quantity has a quality, all of itself" (Vladimir Lenin)