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 8
  • Good 1
Link to comment
https://metin2.dev/topic/22984-hide-shop-problem/
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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.