フォーラム

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;
タイムラインで共有