Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

How to Create MD5 Hash for TCD Protection

Newbie Spellweaver
Joined
May 28, 2018
Messages
14
Reaction score
0
Hello, I would like to know how I can create an md5 hash of a tcd for example tskill.tcd to by in the tcd protection already tried in several ways but all failed. Who can help me thank you from now thank you!
 
Initiate Mage
Joined
Aug 6, 2018
Messages
3
Reaction score
0
TClientWnd.cpp

Code for md5 hash result code
Code:
    ifstream file(".\\Tcd\\TSkill.tcd"); // your tcd file
        MD5 context(file); //md5 checksum
    
        char* pstr = context.hex_digest();
        CString strRESULT( pstr );
        delete [] pstr;
        if (strRESULT != "f6c16f69f4b274a88241e87d58f6d1d7")
        {
            AfxMessageBox("Tcd Hack!" + strRESULT, MB_OK, NULL); //put the hash key of your tcd file in messagebox
            exit(0);
        }

code for protection
Code:
    ifstream file(".\\Tcd\\TSkill.tcd"); // your tcd file
        MD5 context(file); //md5 checksum
    
        char* pstr = context.hex_digest();
        CString strRESULT( pstr );
        delete [] pstr;
        if (strRESULT != "f6c16f69f4b274a88241e87d58f6d1d7")
        {
            AfxMessageBox("Tcd Hack!"/* + strRESULT*/, MB_OK, NULL); //put the hash key of your tcd file in messagebox
            exit(0);
        }
 
Upvote 0
Newbie Spellweaver
Joined
May 28, 2018
Messages
14
Reaction score
0
I want to know how I generate this hash f6c16f69f4b274a88241e87d58f6d1d7
 
Upvote 0
Initiate Mage
Joined
Aug 6, 2018
Messages
3
Reaction score
0
Use this is code for generate hash
Code:
ifstream file(".\\Tcd\\TSkill.tcd"); // your tcd file
        MD5 context(file); //md5 checksum
    
        char* pstr = context.hex_digest();
        CString strRESULT( pstr );
        delete [] pstr;
        if (strRESULT != "f6c16f69f4b274a88241e87d58f6d1d7")
        {
            AfxMessageBox("Tcd Hack!" + strRESULT, MB_OK, NULL); //put the hash key of your tcd file in messagebox
            exit(0);
        }

after delete strRESULT in string
Code:
AfxMessageBox("Tcd Hack!"/*+ strRESULT*/, MB_OK, NULL); //put the hash key of your tcd file in messagebox
            exit(0);
 
Upvote 0
Back
Top