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!

3D Fantasy MMORPG ybtx(佣兵天下) full source is released

Joined
Sep 24, 2012
Messages
404
Reaction score
63
H ,Please help fix the error

static void CreateCoreDumpAndTell(PEXCEPTION_POINTERS pExceptionInfo, const wchar_t* error_msg)
{
wchar_t szFileName[1024];
wchar_t szBaseName[100];
swprintf_s(szBaseName, _countof(szBaseName), L"RunModule_%u.dmp", (uint32)GetCurrentProcessId());
szBaseName[_countof(szBaseName) - 1] = L'\0';

swprintf_s(szFileName, _countof(szFileName), L"%s/../../var/%s", ls_CurPath, szBaseName);
szFileName[ _countof(szFileName) - 1 ] = L'\0';


HANDLE hReportFile = CreateFileW( szFileName, GENERIC_WRITE, 0, 0, OPEN_ALWAYS, FILE_FLAG_WRITE_THROUGH, 0 );
if( !hReportFile )
return;

_MINIDUMP_EXCEPTION_INFORMATION ExInfo;

ExInfo.ThreadId = ::GetCurrentThreadId();
ExInfo.ExceptionPointers = pExceptionInfo;
ExInfo.ClientPointers = NULL;

MiniDumpWriteDump( GetCurrentProcess(), GetCurrentProcessId(), hReportFile, MiniDumpNormal, &ExInfo, NULL, NULL );

CloseHandle( hReportFile );

wchar_t* wzError=L"·Ç³£Òź¶µØ֪ͨÄú£¬³ÌÐòÄÚ²¿·¢ÉúÁË´íÎ󣬵¼ÖÂÓÎÏ·ÎÞ·¨¼ÌÐøÔËÐС£";

MessageBoxW(NULL,wzError, L"ÌáʾÐÅÏ¢£º",MB_OK);
}


·Ç³£Òź¶µØ֪ͨÄú£¬³ÌÐòÄÚ²¿·¢ÉúÁË´íÎ󣬵¼ÖÂÓÎÏ·ÎÞ·¨¼ÌÐøÔËÐС£

i faund orginal file.

非常遗憾地通知您,程序内部发生了错误,导致游戏无法继续运行。

Translite eng

Very sorry to inform you that internal program error has occurred, resulting in the game can not continue.

plizz help error !
 
Back
Top