Welcome To DSX Gaming


    [Source] [UCF] No Grenade Damage & No Weapon Weight

    Share
    avatar
    dave
    Admin/Coder
    Admin/Coder

    Posts : 26
    Points : 381
    Join date : 2010-09-23

    [Source] [UCF] No Grenade Damage & No Weapon Weight

    Post  dave on Wed Jan 19, 2011 7:03 am

    Here are two Sources For Crossfire, No Grenade Damage & No Weapon Weight.
    If you don't know how to use it, then don't ask, learn C++.

    No Grenade Damage:
    Code:

    //No Grenade Damage by DSXGaming
    DWORD pWeaponsPtr = *(DWORD*)(hShell + 0x90A4B8);
                    if (pWeaponsPtr)
                    {
                            for (int i = 0; i < 512; i++)
                            {
                                    DWORD pWeapon = *(DWORD*)(pWeaponsPtr + i * 4);
                                    if (pWeapon)
                                            continue;

                                    *(float*)(pWeapon + 0x754) = 0.0f;
                            }
                    }

    No Weapon Weight:
    Code:

    //No Weapon Weight by DSXGaming
    DWORD pWeaponsPtr = *(DWORD*)(hShell + 0x90A4B8);
                    if (pWeaponsPtr)
                    {
                            for (int i = 0; i < 512; i++)
                            {
                                    DWORD pWeapon = *(DWORD*)(pWeaponsPtr + i * 4);
                                    if (pWeapon)
                                            continue;

                                    *(float*)(pWeapon + 0x1F88) = 0.0f;
                            }
                    }

    Hope this will help Wink

      Current date/time is Wed Dec 12, 2018 1:50 pm