• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

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

Joined
Sep 24, 2012
Messages
405
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 !