Single Error in Source

Results 1 to 3 of 3
  1. #1
    Member Seoa is offline
    MemberRank
    Jun 2010 Join Date
    USALocation
    70Posts

    Single Error in Source

    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:

    Code:
    c:\Users\Administrator\Desktop\Gunz\Stable\MatchServer\UnitTest.cpp(48): error C2660: 'UnitTest::RunAllTests' : function does not take 3 arguments
    Here is the excerpt:
    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;
    }
    Commenting it out is causing the MatchServer to crash. Apparently, it does not take 1,2,3,4 arguments. I must not know something.

    Edit:
    It compiled if I gave the function 0 arguments. It is still crashing with the same mlog report:

    Code:
    =============== UnitTest ===============
    
    <the biggest tp gap match>
    Error!! - StringTable Initalize Failed
    [12/30/11 00:28:05] Open Formula Table FAILED
    I've also got the Dump file with a crash report:
    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;
    	}
    Last edited by Seoa; 30-12-11 at 07:48 AM.


  2. #2
    Novice kisk is offline
    MemberRank
    Jun 2015 Join Date
    1Posts

    Re: Single Error in Source

    Delete UnitTest

  3. #3
    Account Upgraded | Title Enabled! suhil1 is offline
    MemberRank
    Apr 2010 Join Date
    310Posts

    Re: Single Error in Source

    take Matchserver folder from jur13n source and build..



Advertisement