1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. FYI - Your missing Content - your only seeing non-registered Guest Information... Quickly register and sign on to see more! (Shoutbox, current activity etc, more forums)
    Dismiss Notice
  3. Hi There Guest! If your not sure about buying from us at HackersAdvantage, or unsure of our Detection Rates - Please Register and make a post asking! Our Staff and Members will reply to every question! We have the longest non-detection streaks in the industry! We offer a 3 day refund on hacks that you can not get to work on your PC. NO OTHER SITE DOES THIS!
    Dismiss Notice

Info Advanced Warfare Weapon Names

Discussion in 'Hack Coding Section' started by KozmoK, Dec 7, 2014.

  1. KozmoK
    Offline

    KozmoK Hacker Cracker Staff Member Admin

    Here is a code sniplet to get weapon names from the Call of Duty Advanced Warfare Game:

    Code:
    
    COD::CWeaponInfo * tmpWeapon = GetWeaponData(pLocalPlayer->WeaponID);
    
    COD::CWeaponInfo* GetWeaponData(int bWeaponID)
    {
        return (COD::CWeaponInfo*)(0x140FB8380 + ((bWeaponID & 0x1FF) * 0x8));
    }
    Here are the classes needed:

    class CWeapon
    {
    public:
    PAD(0x8)
    char *name;
    };

    class CWeaponInfo
    {
    public:
    CWeapon* pWeapon; //0x0000
    };
     
    ninjasnip3r likes this.

Share This Page