Jump to content

Recommended Posts

  • Premium

Hi,

A few days ago I observed that horse level is missing from client. You are able to see the level only when you advance your horse or when you take with a command (for GMs). I don't know if somebody else have this bug, but I will post the little fix I found because you never know.

 

In input_login.cpp, inside the function

void CInputLogin::Entergame(LPDESC d, const char * data)

look for

if (ch->GetHorseLevel() > 0)
{
	DWORD pid = ch->GetPlayerID();

	if (pid != 0 && CHorseNameManager::instance().GetHorseName(pid) == NULL)
		db_clientdesc->DBPacket(HEADER_GD_REQ_HORSE_NAME, 0, &pid, sizeof(DWORD));
}

And replace that check with this one

if (ch->GetHorseLevel() > 0)
{
	DWORD pid = ch->GetPlayerID();

	if (pid != 0 && CHorseNameManager::instance().GetHorseName(pid) == NULL)
		db_clientdesc->DBPacket(HEADER_GD_REQ_HORSE_NAME, 0, &pid, sizeof(DWORD));

	ch->SetHorseLevel(ch->GetHorseLevel());
	ch->SkillLevelPacket();
}

That's it. Enjoy.

  • Love 10
Link to comment
https://metin2.dev/topic/5666-horse-level-bug/
Share on other sites

  • 3 months later...

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.