I've come a bit of a way with getting the MatchServer source code to work. However, I don't know how to deal with this error:
Here is the excerpt:Code:c:\Users\Administrator\Desktop\Gunz\Stable\MatchServer\UnitTest.cpp(48): error C2660: 'UnitTest::RunAllTests' : function does not take 3 arguments
Commenting it out is causing the MatchServer to crash. Apparently, it does not take 1,2,3,4 arguments. I must not know something.Code:bool RunUnitTest() { mlog("\n=============== UnitTest ===============\n"); std::ofstream f(TEST_XML_FILENAME); XmlAndStdTestReporter reporter(f); int failure_count = UnitTest::RunAllTests(reporter, UnitTest::Test::GetTestList(), NULL, 0); if (failure_count > 0) return false; return true; }
Edit:
It compiled if I gave the function 0 arguments. It is still crashing with the same mlog report:
I've also got the Dump file with a crash report:Code:=============== UnitTest =============== <the biggest tp gap match> Error!! - StringTable Initalize Failed [12/30/11 00:28:05] Open Formula Table FAILED
Code:// string table strFileName = m_strPath + FILENAME_STRING_TABLE; if (!m_StringTable.Initialize(strFileName.c_str(), nLangID, pfs)) { _ASSERT(0); mlog("Error!! - StringTable Initalize Failed\n"); return false; }


Reply With Quote

