Commit Graph

8 Commits

Author SHA1 Message Date
server
ba6af8115b Add pack runtime profiling hooks
Some checks failed
build / Windows Build (push) Has been cancelled
2026-04-15 16:22:10 +02:00
server
229c809b96 Add secure m2p loader with runtime key enforcement
Some checks failed
build / Windows Build (push) Has been cancelled
2026-04-14 12:12:41 +02:00
Koray
acb0ac0af5 fix missing resource exception handling
Unhandled exception at 0x00007FF9433E8B9C (KERNELBASE.dll) in metin2client__20260215_143044.dmp: 0xE06D7363: Microsoft C++ Exception (parameters: 0x0000000019930520, 0x0000001E1CF2CF80, 0x00007FF698014258, 0x00007FF696940000).

 	[External Code]
>	Metin2_Debug.exe!std::filesystem::_Throw_fs_error(const char * _Op, const std::error_code & _Error, const std::filesystem::path & _Path1) Line 1863	C++
 	Metin2_Debug.exe!std::filesystem::exists(const std::filesystem::path & _Target) Line 3463	C++
 	Metin2_Debug.exe!CPackManager::IsExist(std::basic_string_view<char,std::char_traits<char>> path) Line 95	C++
 	Metin2_Debug.exe!CResourceManager::IsFileExist(const char * c_szFileName) Line 498	C++
 	Metin2_Debug.exe!CArea::__SetObjectInstance_SetBuilding(CArea::SObjectInstance * pObjectInstance, const CArea::SObjectData * c_pData, CProperty * pProperty) Line 599	C++
 	Metin2_Debug.exe!CArea::__SetObjectInstance(CArea::SObjectInstance * pObjectInstance, const CArea::SObjectData * c_pData) Line 479	C++
 	Metin2_Debug.exe!CArea::__Load_BuildObjectInstances() Line 449	C++
 	Metin2_Debug.exe!CArea::Load(const char * c_szPathName) Line 750	C++
 	Metin2_Debug.exe!CMapOutdoor::LoadArea(unsigned short wAreaCoordX, unsigned short wAreaCoordY, unsigned short wCellCoordX, unsigned short wCellCoordY) Line 173	C++
 	Metin2_Debug.exe!CMapOutdoor::Update(float fX, float fY, float fZ) Line 103	C++
 	Metin2_Debug.exe!CMapOutdoor::Load(float x, float y, float z) Line 40	C++
 	Metin2_Debug.exe!CMapManager::LoadMap(const std::string & c_rstrMapName, float x, float y, float z) Line 124	C++
 	Metin2_Debug.exe!CPythonBackground::Warp(unsigned long dwX, unsigned long dwY) Line 744	C++
 	Metin2_Debug.exe!CPythonNetworkStream::Warp(long lGlobalX, long lGlobalY) Line 374	C++
 	Metin2_Debug.exe!netWarp(_object * poSelf, _object * poArgs) Line 81	C++
 	[External Code]
 	Metin2_Debug.exe!CPythonLauncher::RunFile(const char * c_szFileName) Line 319	C++
 	Metin2_Debug.exe!RunMainScript(CPythonLauncher & pyLauncher, const char * lpCmdLine) Line 246	C++
 	Metin2_Debug.exe!Main(HINSTANCE__ * hInstance, char * lpCmdLine) Line 302	C++
 	Metin2_Debug.exe!WinMain(HINSTANCE__ * hInstance, HINSTANCE__ * hPrevInstance, char * lpCmdLine, int nCmdShow) Line 329	C++
 	[External Code]

+		this	0x0000001e1cf2f6a0 {m_load_from_pack=true m_entries={ size=50983 } m_pBufferPool=0x0000001e1d03b350 {...} ...}	const CPackManager *
		buf	<Unable to read memory>
+		path	"d:/ymir work/zone/b/obj/general_obj_stone19_lod_01.gr2"	std::basic_string_view<char,std::char_traits<char>>
2026-02-15 14:33:59 +03:00
rtw1x1
b04f360612 fix: BGM failed to load 2026-01-21 12:39:38 +00:00
savis
d5624a8cdd Add parallel race/motion loading and thread-safe Pack/Pool managers 2026-01-04 17:27:32 +01:00
savis
e55fc4db17 Optimize pack file loading
- Add thread-local ZSTD decompression context reuse
- Integrate BufferPool for temporary buffers
- PackManager auto-uses BufferPool for all GetFile calls
- Thread-safe pack loading with mutex
2026-01-03 20:37:32 +01:00
d1str4ught
81c61692f1 LoadImageFromFile for CImageBox 2025-09-22 01:43:01 +02:00
d1str4ught
5b1d3c6bce new pack system 2025-09-21 05:28:55 +02:00