Challenge Quest wasn't implemented yet when the source was leaked.
Change your Locale.xml to this
Code:
<?xml version="1.0" encoding="UTF-8"?>
<XML>
<LOCALE>
<COUNTRY>KOR</COUNTRY>
<LANGUAGE>KOR</LANGUAGE>
<MAXPLAYERS>16</MAXPLAYERS>
</LOCALE>
</XML>
And build in KOR_Release_publish. That will fix the .MEF thingy.
As for XTRAP, I've done countless number of edits.. But I'll post the ones that come in my way.
main.cpp
Code:
bool CheckXTrapIsGetTestCode() // add sgk 0621
{
char szBuf[256] = "";
FILE* fp = fopen("XTrapTest.txt", "rt");
if (fp)
{
fgets(szBuf, 256, fp);
mlog("XTrapTest.txt : \n");
mlog(szBuf);
mlog("\n");
fclose(fp);
if (stricmp(szBuf, "RUN_XTRAP_TEST_CODE") == 0)
{
return true;
}
else
{
return false;
}
}
else
{
return true;
}
}
main.cpp
Code:
#ifdef _XTRAP // update sgk 0702 start
// mlog("XTRAP Start\n");
char szTemp[256] = {0,};
bool bPatchSkip = true;
bool bIsXtrapTest = CheckXTrapIsGetTestCode();
/*if (bIsXtrapTest)
{
// XTRAP Å×½ºÆ®¿ë ÆÄÀϰæ·Î·Î ½ÇÇàµÈ´Ù. //
OnGetXTrapTestCodeArgv(szTemp, &bPatchSkip);
}
else
{
// XTRAP ¸®¾ó ¼¹ö¿ë ÆÄÀϰæ·Î·Î ½ÇÇàµÈ´Ù. //
OnGetXTrapRealCodeArgv(szTemp, &bPatchSkip);
}*/
if (!bPatchSkip)
{
XTrap_L_Patch(szTemp, szModuleFileName, 60);
}
// XTrap_C_Start(szTemp, NULL);
// XTrap_C_KeepAlive();
// mlog("XTRAP End\n");
#endif