Thread: Rank Esp Class

Page 1 of 2 12 LastLast
Results 1 to 15 of 28
  1. #1
    Stewie_Griffin's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    Quahog
    Posts
    241
    Reputation
    82
    Thanks
    41
    My Mood
    Tired

    Rank Esp Class

    Code:
    struct RankList_t
    {
        char LongName[30];
        char ShortName[5];
        DWORD dwMinEXP;
    };
    
    RankList_t g_pRankList[56] = { 
        {"Trainee", "TRN", 0}, {"Recruit", "RCT", 550}, {"Private", "PVT", 1200}, {"Pvt. 1st Class", "PFC", 2500}, {"Corporal", "CPL", 5000},
        {"Sergeant", "SGT", 8700}, {"Staff Sgt. I", "SSG1", 15000}, {"Staff Sgt. II", "SSG2", 22000}, {"Staff Sgt. III", "SSG3", 30500},
        {"Sgt. 1st Class I", "SFC1", 40500}, {"Sgt. 1st Class II", "SFC2", 52000}, {"Sgt. 1st Class III", "SFC3", 65000},
        {"Master Sgt. I", "MSG1", 81000}, {"Master Sgt. II", "MSG2", 99000}, {"Master Sgt. III", "MSG3", 119000},
        {"Master Sgt. IV", "MSG4", 141000}, {"Command Sgt. Major I", "CSM1", 166000}, {"Command Sgt. Major II", "CSM2", 194000},
        {"Command Sgt. Major III", "CSM3", 225000}, {"Command Sgt. Major IV", "CSM4", 259000}, {"Command Sgt. Major V", "CSM5", 296000},
        {"2nd Lieutenant I", "2LT1", 336000}, {"2nd Lieutenant II", "2LT2", 379000}, {"2nd Lieutenant III", "2LT3", 425000},
        {"2nd Lieutenant IV", "2LT4", 474000}, {"2nd Lieutenant V", "2LT5", 526000}, {"1st Lieutenant I", "1LT1", 580000},
        {"1st Lieutenant II", "1LT2", 638000}, {"1st Lieutenant III", "1LT3", 699000}, {"1st Lieutenant IV", "1LT4", 763000},
        {"1st Lieutenant V", "1LT5", 830000}, {"Captain I", "CPT1", 900000}, {"Captain II", "CPT2", 983000}, {"Captain III", "CPT3", 1074000},
        {"Captain IV", "CPT4", 1173000}, {"Captain V", "CPT5", 1280000}, {"Major I", "MAJ1", 1400000}, {"Major II", "MAJ2", 1533000},
        {"Major III", "MAJ3", 1679000}, {"Major IV", "MAJ4", 1838000}, {"Major V", "MAJ5", 2010000}, {"Lt. Colonel I", "LTC1", 2200000},
        {"Lt. Colonel II", "LTC2", 2408000}, {"Lt. Colonel III", "LTC3", 2634000}, {"Lt. Colonel IV", "LTC4", 2878000}, 
        {"Lt. Colonel V", "LTC5", 3140000}, {"Colonel I", "COL1", 3420000}, {"Colonel II", "COL2", 3718000}, {"Colonel III", "COL3", 4034000},
        {"Colonel IV", "COL4", 4308000}, {"Colonel V", "COL5", 4720000}, {"Brigadier General", "BG", 5100000}, {"Major General", "MG", 5500000},
        {"Lieutenant General", "LTG", 6000000}, {"General", "GEN", 6800000}, {"General of the Army", "GOA", 8000000}
    };
    
    char *cEngine::GetRankNameByIndex( int index, bool longname )
    {
        if( index > 55 )
            return "Unknown LVL";
        return ( longname ) ? g_pRankList[ index ].LongName : g_pRankList[ index ].ShortName;
    }

    Credits to NeoIII

  2. The Following User Says Thank You to Stewie_Griffin For This Useful Post:

    rassrass (05-30-2011)

  3. #2
    ++PashaAmd++'s Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    229
    Reputation
    11
    Thanks
    37
    did you do any of this yourself? *-*

  4. The Following User Says Thank You to ++PashaAmd++ For This Useful Post:

    rassrass (05-30-2011)

  5. #3
    Stewie_Griffin's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    Quahog
    Posts
    241
    Reputation
    82
    Thanks
    41
    My Mood
    Tired
    Quote Originally Posted by ++PashaAmd++ View Post
    did you do any of this yourself? *-*
    What do you think?
    And let me tell you Whatever you think is Correct

  6. The Following User Says Thank You to Stewie_Griffin For This Useful Post:

    rassrass (05-30-2011)

  7. #4
    wolffang0000's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    here
    Posts
    597
    Reputation
    1
    Thanks
    165
    My Mood
    Relaxed
    Quote Originally Posted by Stewie_Griffin View Post
    Code:
    struct RankList_t
    {
        char LongName[30];
        char ShortName[5];
        DWORD dwMinEXP;
    };
    
    RankList_t g_pRankList[56] = { 
        {"Trainee", "TRN", 0}, {"Recruit", "RCT", 550}, {"Private", "PVT", 1200}, {"Pvt. 1st Class", "PFC", 2500}, {"Corporal", "CPL", 5000},
        {"Sergeant", "SGT", 8700}, {"Staff Sgt. I", "SSG1", 15000}, {"Staff Sgt. II", "SSG2", 22000}, {"Staff Sgt. III", "SSG3", 30500},
        {"Sgt. 1st Class I", "SFC1", 40500}, {"Sgt. 1st Class II", "SFC2", 52000}, {"Sgt. 1st Class III", "SFC3", 65000},
        {"Master Sgt. I", "MSG1", 81000}, {"Master Sgt. II", "MSG2", 99000}, {"Master Sgt. III", "MSG3", 119000},
        {"Master Sgt. IV", "MSG4", 141000}, {"Command Sgt. Major I", "CSM1", 166000}, {"Command Sgt. Major II", "CSM2", 194000},
        {"Command Sgt. Major III", "CSM3", 225000}, {"Command Sgt. Major IV", "CSM4", 259000}, {"Command Sgt. Major V", "CSM5", 296000},
        {"2nd Lieutenant I", "2LT1", 336000}, {"2nd Lieutenant II", "2LT2", 379000}, {"2nd Lieutenant III", "2LT3", 425000},
        {"2nd Lieutenant IV", "2LT4", 474000}, {"2nd Lieutenant V", "2LT5", 526000}, {"1st Lieutenant I", "1LT1", 580000},
        {"1st Lieutenant II", "1LT2", 638000}, {"1st Lieutenant III", "1LT3", 699000}, {"1st Lieutenant IV", "1LT4", 763000},
        {"1st Lieutenant V", "1LT5", 830000}, {"Captain I", "CPT1", 900000}, {"Captain II", "CPT2", 983000}, {"Captain III", "CPT3", 1074000},
        {"Captain IV", "CPT4", 1173000}, {"Captain V", "CPT5", 1280000}, {"Major I", "MAJ1", 1400000}, {"Major II", "MAJ2", 1533000},
        {"Major III", "MAJ3", 1679000}, {"Major IV", "MAJ4", 1838000}, {"Major V", "MAJ5", 2010000}, {"Lt. Colonel I", "LTC1", 2200000},
        {"Lt. Colonel II", "LTC2", 2408000}, {"Lt. Colonel III", "LTC3", 2634000}, {"Lt. Colonel IV", "LTC4", 2878000}, 
        {"Lt. Colonel V", "LTC5", 3140000}, {"Colonel I", "COL1", 3420000}, {"Colonel II", "COL2", 3718000}, {"Colonel III", "COL3", 4034000},
        {"Colonel IV", "COL4", 4308000}, {"Colonel V", "COL5", 4720000}, {"Brigadier General", "BG", 5100000}, {"Major General", "MG", 5500000},
        {"Lieutenant General", "LTG", 6000000}, {"General", "GEN", 6800000}, {"General of the Army", "GOA", 8000000}
    };
    
    char *cEngine::GetRankNameByIndex( int index, bool longname )
    {
        if( index > 55 )
            return "Unknown LVL";
        return ( longname ) ? g_pRankList[ index ].LongName : g_pRankList[ index ].ShortName;
    }

    Credits to NeoIII
    i use this except with sprites for pics of the actual rank

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

    rassrass (05-30-2011)

  9. #5
    EliteHakz's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    In your gf's mind ;)
    Posts
    417
    Reputation
    7
    Thanks
    55
    My Mood
    Amazed
    What is this?

  10. The Following User Says Thank You to EliteHakz For This Useful Post:

    rassrass (05-30-2011)

  11. #6
    S0aD's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    2,250
    Reputation
    5
    Thanks
    589
    Quote Originally Posted by Stewie_Griffin View Post
    Code:
    struct RankList_t
    {
        char LongName[30];
        char ShortName[5];
        DWORD dwMinEXP;
    };
    
    RankList_t g_pRankList[56] = { 
        {"Trainee", "TRN", 0}, {"Recruit", "RCT", 550}, {"Private", "PVT", 1200}, {"Pvt. 1st Class", "PFC", 2500}, {"Corporal", "CPL", 5000},
        {"Sergeant", "SGT", 8700}, {"Staff Sgt. I", "SSG1", 15000}, {"Staff Sgt. II", "SSG2", 22000}, {"Staff Sgt. III", "SSG3", 30500},
        {"Sgt. 1st Class I", "SFC1", 40500}, {"Sgt. 1st Class II", "SFC2", 52000}, {"Sgt. 1st Class III", "SFC3", 65000},
        {"Master Sgt. I", "MSG1", 81000}, {"Master Sgt. II", "MSG2", 99000}, {"Master Sgt. III", "MSG3", 119000},
        {"Master Sgt. IV", "MSG4", 141000}, {"Command Sgt. Major I", "CSM1", 166000}, {"Command Sgt. Major II", "CSM2", 194000},
        {"Command Sgt. Major III", "CSM3", 225000}, {"Command Sgt. Major IV", "CSM4", 259000}, {"Command Sgt. Major V", "CSM5", 296000},
        {"2nd Lieutenant I", "2LT1", 336000}, {"2nd Lieutenant II", "2LT2", 379000}, {"2nd Lieutenant III", "2LT3", 425000},
        {"2nd Lieutenant IV", "2LT4", 474000}, {"2nd Lieutenant V", "2LT5", 526000}, {"1st Lieutenant I", "1LT1", 580000},
        {"1st Lieutenant II", "1LT2", 638000}, {"1st Lieutenant III", "1LT3", 699000}, {"1st Lieutenant IV", "1LT4", 763000},
        {"1st Lieutenant V", "1LT5", 830000}, {"Captain I", "CPT1", 900000}, {"Captain II", "CPT2", 983000}, {"Captain III", "CPT3", 1074000},
        {"Captain IV", "CPT4", 1173000}, {"Captain V", "CPT5", 1280000}, {"Major I", "MAJ1", 1400000}, {"Major II", "MAJ2", 1533000},
        {"Major III", "MAJ3", 1679000}, {"Major IV", "MAJ4", 1838000}, {"Major V", "MAJ5", 2010000}, {"Lt. Colonel I", "LTC1", 2200000},
        {"Lt. Colonel II", "LTC2", 2408000}, {"Lt. Colonel III", "LTC3", 2634000}, {"Lt. Colonel IV", "LTC4", 2878000}, 
        {"Lt. Colonel V", "LTC5", 3140000}, {"Colonel I", "COL1", 3420000}, {"Colonel II", "COL2", 3718000}, {"Colonel III", "COL3", 4034000},
        {"Colonel IV", "COL4", 4308000}, {"Colonel V", "COL5", 4720000}, {"Brigadier General", "BG", 5100000}, {"Major General", "MG", 5500000},
        {"Lieutenant General", "LTG", 6000000}, {"General", "GEN", 6800000}, {"General of the Army", "GOA", 8000000}
    };
    
    char *cEngine::GetRankNameByIndex( int index, bool longname )
    {
        if( index > 55 )
            return "Unknown LVL";
        return ( longname ) ? g_pRankList[ index ].LongName : g_pRankList[ index ].ShortName;
    }

    Credits to NeoIII
    Nice C+P...

  12. The Following User Says Thank You to S0aD For This Useful Post:

    NOOBJr (05-30-2011)

  13. #7
    rassrass's Avatar
    Join Date
    May 2011
    Gender
    male
    Posts
    16
    Reputation
    10
    Thanks
    5
    My Mood
    Relaxed
    Did you do it alone?

  14. #8
    S0aD's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    2,250
    Reputation
    5
    Thanks
    589
    Quote Originally Posted by rassrass View Post
    Did you do it alone?
    Credits to NeoIII

  15. #9
    swatfx's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Posts
    661
    Reputation
    20
    Thanks
    108
    My Mood
    Mellow
    Quote Originally Posted by wolffang0000 View Post
    i use this except with sprites for pics of the actual rank
    sure, just like you use No Fall damage.

  16. The Following 3 Users Say Thank You to swatfx For This Useful Post:

    ++PashaAmd++ (05-30-2011),markoj (06-03-2011),NOOBJr (05-30-2011)

  17. #10
    wolffang0000's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    here
    Posts
    597
    Reputation
    1
    Thanks
    165
    My Mood
    Relaxed
    Quote Originally Posted by swatfx View Post
    sure, just like you use No Fall damage.
    i kindof gave up on that becuase of the variables in different parts of the map on every map

  18. #11
    ++PashaAmd++'s Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    229
    Reputation
    11
    Thanks
    37
    Quote Originally Posted by wolffang0000 View Post
    i kindof gave up on that becuase of the variables in different parts of the map on every map
    i thought your vip hack had everything?

  19. #12
    CAFlames's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Where ever my imagination takes me
    Posts
    3,014
    Reputation
    202
    Thanks
    2,934
    My Mood
    Twisted
    Quote Originally Posted by wolffang0000 View Post
    i use this except with sprites for pics of the actual rank
    Which is actually not that hard but it is a pain in the arse to convert all that to bytes lol

    Current Works:
    ---Horror Game






    Special thanks to drgnforce9 for my sig picture

    Quote Originally Posted by m_t_h View Post

    CAflames is one epic coder.

    Rep and thanks him.. or you're perma banned.

  20. #13
    Crash's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    JAville
    Posts
    2,889
    Reputation
    163
    Thanks
    3,289
    My Mood
    Sleepy
    Quote Originally Posted by ++PashaAmd++ View Post
    i thought your vip hack had everything?
    Regenerate Health-100%

  21. The Following User Says Thank You to Crash For This Useful Post:

    markoj (06-03-2011)

  22. #14
    NOOB's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    3,863
    Reputation
    425
    Thanks
    8,598
    Quote Originally Posted by Crash View Post
    Regenerate Health-100%
    Real Glitch Key-89%

    hai guise liek i did 89% an nowi just gutta do da last 11% u kno when i gert de updaed addressing.

  23. #15
    Crash's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    JAville
    Posts
    2,889
    Reputation
    163
    Thanks
    3,289
    My Mood
    Sleepy
    Quote Originally Posted by NOOB View Post


    Real Glitch Key-89%

    hai guise liek i did 89% an nowi just gutta do da last 11% u kno when i gert de updaed addressing.
    Real GM mode - 99%
    \jus waiting for update addies for m my aldres finer 11111111111

  24. The Following User Says Thank You to Crash For This Useful Post:

    markoj (06-03-2011)

Page 1 of 2 12 LastLast