论坛

Metin2 memory leaks FIX

开始于 Claim Metin2Server · 0 回复
已发布: 4 d
1. Server
Open the file game/main.cpp

Search this function:

int main(int argc, char **argv)
{


After this add the following code:

return 0;

Now open the file db/Main.cpp.

Search this function:

int main()
{


After this add the following code:

return 0;


2. Client

Open the file UserInterface/UserInterface.cpp

Search this function:

int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{


After this add the following code:

return 0;
在我的时间轴上分享