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

Discuss Fb::clientsupplysphereentity

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

  1. KozmoK

    KozmoK Hacker Cracker Staff Member Admin

    This is my ClientSupplySphereEntity class. It's primarily used to find the location of MedicBoxes/Bags and AmmoBags and to be able to tell the differences between them.

    class SupplySphereData
        char _0x0000[0x178];
        fb::String sName;
    class ClientSupplySphereEntity
        virtual TypeInfo* GetType(); //
        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 GetAABB(TransformAndAabb* mataabb); //credits stevemk14ebr and jd62 
        virtual void getTransform(LinearTransform &mTransform);
        char _0x0000[0x28];
        SupplySphereData *m_data;

    You can do something like this:

    std::string getSupplyName(char * tmp)
        string sTmp = "NA";
            sTmp = "AmmoBag";
            sTmp = "MedicBag";
        return sTmp;
    std::string tmpStr;
    if (pSupply->m_data)
        tmpStr = getSupplyName(pSupply->m_data->sName.m_chars);
    Some people don't like using the std::string's I find them easy to use, and don't really care what other people think.
    Last edited: Dec 3, 2014
    ninjasnip3r likes this.

Share This Page