Jump to content

Recommended Posts

I implemented this offline shop 

This is the hidden content, please
.

At first If i hide them and clicked on a position where they are, the shop will open.

I made this change in PythonPlayerInput.cpp void CPythonPlayer::__OnClickActor(CInstanceBase& rkInstMain, DWORD dwPickedActorID, bool isAuto):

if (rkInstVictim.IsNPC())
{
#ifdef ENABLE_HIDE_SHOPS
if ((rkInstVictim.GetRace() == 30000 || rkInstVictim.GetRace() == 30001) && CPythonSystem::Instance().IsHideShops())
return;
#endif
__SendClickActorPacket(rkInstVictim);
}

Now only if I click it quickly near me and they are shops, they will open. So it partially fix the problem. Anyone know how to fully fix it?

  • Metin2 Dev 7
Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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.