HelpGet Ranks externally?

Posts 1–6 of 6 · Page 1 of 1
Get Ranks externally?
So I have seen some hacks in the release section which have features that display enemy ranks. One of them is internal, and the other one is also internal (I believe). Is it possible in external? I would love this feature in my own hack. Thanks.
Quote Originally Posted by troyedanish View Post
Yes it is possible.
DT_CSPlayerResource -> m_iCompetitiveRanking: __ 0x00001A44
I assume it is this offset? But it returns an integer, so is it like 1 = silver 1, 5 = silver elite, 7 = gn1?
Code:
const char* CompRanks[ 19 ]  = 
{
        "Unranked",
        "Silver I",
        "Silver II",
        "Silver III",
        "Silver IV",
        "Silver Elite",
        "Silver Elite Master",        
        "Gold Nova I",
        "Gold Nova II",
        "Gold Nova III",
        "Gold Nova Master",
        "Master Guardian I",
        "Master Guardian II", 
        "Master Guardian Elite",
        "Distinguished Master Guardian",
        "Legendary Eagle",
        "Legendary Eagle Master",
        "Supreme Master First Class",
        "The Global Elite"
};

const char* GetRank( PlayerIndex )
{
        DWORD PlayerResource = Mem.Read< DWORD >( ClientDll + dwPlayerResource );
        return CompRanks[ Mem.Read< int >( PlayerResource + m_iCompetitiveRanking + Index * 4 ) ];
}

int GetWins( PlayerIndex )
{
        DWORD PlayerResource = Mem.Read< DWORD >( ClientDll + dwPlayerResource );
        return Mem.Read< int >( PlayerResource + m_iCompetitiveWins + Index * 4 );
}
Quote Originally Posted by WasserEsser View Post
Code:
const char* CompRanks[ 19 ]  = 
{
        "Unranked",
        "Silver I",
        "Silver II",
        "Silver III",
        "Silver IV",
        "Silver Elite",
        "Silver Elite Master",        
        "Gold Nova I",
        "Gold Nova II",
        "Gold Nova III",
        "Gold Nova Master",
        "Master Guardian I",
        "Master Guardian II", 
        "Master Guardian Elite",
        "Distinguished Master Guardian",
        "Legendary Eagle",
        "Legendary Eagle Master",
        "Supreme Master First Class",
        "The Global Elite"
};

const char* GetRank( PlayerIndex )
{
        DWORD PlayerResource = Mem.Read< DWORD >( ClientDll + dwPlayerResource );
        return CompRanks[ Mem.Read< int >( PlayerResource + m_iCompetitiveRanking + Index * 4 ) ];
}

int GetWins( PlayerIndex )
{
        DWORD PlayerResource = Mem.Read< DWORD >( ClientDll + dwPlayerResource );
        return Mem.Read< int >( PlayerResource + m_iCompetitiveWins + Index * 4 );
}
Thank you, I had already found a source by Merccy2 but this looks easier. Solved and closed.
/Solved & closed.
Posts 1–6 of 6 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us