I have just modified that file, and it works perfectly.
Attachment 170197
if you also have the problem,
try
Code:
BOOL LOAD_PARAM2( const TCHAR *szRootPath, bool isServer )
{
// std::string strParamFile(szRootPath);
// strParamFile += "\\RANLogs\\param2.ini";
// std::ifstream param2(strParamFile.c_str());
std::string strDefaultHash = "asj385jgk69glfmvu5kfotkvitkvotkv";
SETSERVERHASH(strDefaultHash);
SETCLIENTHASH(strDefaultHash);
return TRUE;
//if (param2.is_open())
//{
// std::string log;
// while (getline (param2, log)) {
// if(!isServer)SETCLIENTHASH(log);
// // else SETSERVERHASH(log);
// }
// param2.close();
// std::ofstream param2Edit (strParamFile.c_str());
// if(param2Edit.is_open)
// {
// param2Edit << strDefaultHash;
// param2Edit.close();
// return TRUE;
// }
// return FALSE;
// }
// else
// {
// SETCLIENTHASH("");
// return FALSE;
// }
}
However, this way will disable the hash checking func.