Jump to content

Recommended Posts

  • Honorable Member
This is the hidden content, please

Alternative download links →

This is the hidden content, please

 About

  • Logs are now timestamped and moved to a dedicated `/syserr` folder
  • Files older than 30 days are purged on run-time
  • Client now gathers `syserr` and `dxdiag` logs into `syserr/crash/` during a crash

Looking for CrashRpt Support?

  • CrashRpt v.1.4.3 r1645
  • Full support with Syserr Renewal
  • Preconfigured with automatic crash dump generation and stack trace support.
     
This is the hidden content, please

 

Alternative download links → 

This is the hidden content, please

 

This is the hidden content, please

  • Metin2 Dev 234
  • Eyes 1
  • Not Good 1
  • Scream 1
  • Good 34
  • muscle 1
  • Love 9
  • Love 71
Link to comment
https://metin2.dev/topic/29723-syserr-renewal-re/
Share on other sites

  • Honorable Member

Integrating CrashRpt into the Syserr Renewal is a practical improvement!

Quote

CrashRpt is a free open-source library designed for intercepting exceptions in your C++ program, collecting technical information about the crash and sending error reports over the Internet to software vendor.

When used with Syserr Renewal, crash logging becomes significantly more useful for debugging.
The generated report can include:

  • Stack trace
  • Function names
  • Module names
  • Source file names
  • Line numbers

This requires compiling with debug symbols enabled. These details can also be hidden through configuration options if needed.

For security reasons, encrypting the generated dump and report files is a good idea, especially if they are transmitted over the network.

Below is a simple crash simulation example:

PyObject* appExit(PyObject* poSelf, PyObject* poArgs)
{
	// TEST_CRASH
	assert("bug");
	*((char*)NULL) = 0;
	// END_TEST_CRASH

	CPythonApplication::Instance().Exit();
	return Py_BuildNone();
}

This forces an access violation and allows you to verify that CrashRpt correctly captures and reports the crash.
The goal is to provide clearer, more actionable crash reports for faster analysis and debugging.

Edited by Owsap
  • Metin2 Dev 8
  • Good 2
  • Love 4
Link to comment
https://metin2.dev/topic/29723-syserr-renewal-re/#findComment-152493
Share on other sites

  • 8 months later...
  • Premium

For MartySama source:

Change:
TCHAR* szModule = ""; 
To:
const TCHAR* szModule = "";

Change:
CreateProcess("C:\\Windows\\System32\\dxdiag.exe", "/dontskip /whql:off /t dxdiag_log.txt", NULL, NULL, FALSE, CREATE_NO_WINDOW, NULL, crash_path.c_str(), &si, &pi)
To:
CreateProcessA("C:\\Windows\\System32\\dxdiag.exe", const_cast<LPSTR>("/dontskip /whql:off /t dxdiag_log.txt"), NULL, NULL, FALSE, CREATE_NO_WINDOW, NULL, crash_path.c_str(), &si, &pi)

Also keep in mind the minidump

#if !defined(_EXTENDED_ERROR_LOG_)
#define ENABLE_CRASH_MINIDUMP
#endif

.png

Edited by DemOnJR
  • Love 1
Link to comment
https://metin2.dev/topic/29723-syserr-renewal-re/#findComment-158656
Share on other sites

  • 2 years later...
  • Honorable Member

This topic has been updated with the reverse engineered code of the syserr handling.

CrashRpt support remains included and improved.

  • Metin2 Dev 10
  • Good 2
  • muscle 1
  • Love 5
Link to comment
https://metin2.dev/topic/29723-syserr-renewal-re/#findComment-174523
Share on other sites

  • Honorable Member

About CrashRpt:

  • By default, the CrashSender.exe will require the c++ runtime libraries to be installed. It can be recompiled with CRASHRPT_LINK_CRT_AS_DLL=OFF to compile it as /MT.
  • This line can be used to include a screenshot of the player's client during the crash.
    	crAddScreenshot2(CR_AS_MAIN_WINDOW | CR_AS_USE_JPEG_FORMAT, 95);

     

  • Metin2 Dev 2
  • Good 1
  • Love 2
Link to comment
https://metin2.dev/topic/29723-syserr-renewal-re/#findComment-174541
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.