Jump to content

Recommended Posts

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

UserInterface/PythonNetworkStreamModule.cpp

 

Search: 

#include "AbstractPlayer.h"

add after

#ifdef ENABLE_FIX_D_YMIR_WORK
#include <windows.h>
#include <string>
bool WrongPathYmir(const std::string& dirName_in)
{
	DWORD type = GetFileAttributesA(dirName_in.c_str());

	if (type == INVALID_FILE_ATTRIBUTES)
		return false;

	if (type & FILE_ATTRIBUTE_DIRECTORY)
		return true;

	return false;
}
#endif

search:

PyObject* netSetLoginInfo(PyObject* poSelf, PyObject* poArgs)
{

before  char* szName; add:

#ifdef ENABLE_FIX_D_YMIR_WORK
	std::string moduleFake = "**D:\\ymir work\\**";
	if (WrongPathYmir(std::string("D") + std::string(":\\") + std::string("ymir") + std::string(" work\\")))
	{
		TraceError("D:\\ymir work folder detected.");
		::Sleep(500);
		exit(0);
	}
#endif

 

It's not made by me

This checks the folder when you login in game.

 

Link to comment
https://metin2.dev/topic/18481-solution/#findComment-100929
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.