Jump to content

Horse and Pet right click bug


Go to solution Solved by forum80,

Recommended Posts

hello, I have a problem. When I interact with the pet or horse with the right button, the selected effect does not appear and nothing can be done with either the left button or the right button. I wonder where is the problem? thanks and sorry for bad english

Edited by forum80
Link to comment
https://metin2.dev/topic/29264-horse-and-pet-right-click-bug/
Share on other sites

  • Solution
12 minutes ago, ASIKOO said:

How?

bool CInstanceBase::CanPickInstance() 
 { 
         if (!__IsInViewFrustum()) 
                 return false; 
  
         if (IsDoor()) 
         { 
                 if (IsDead()) 
                         return false; 
         } 
  
         if (IsPC()) 
         { 
                 if (IsAffect(AFFECT_EUNHYEONG)) 
                 { 
                         if (!__MainCanSeeHiddenThing()) 
                                 return false; 
                 } 
                 if (IsAffect(AFFECT_REVIVE_INVISIBILITY)) 
                         return false; 
                 if (IsAffect(AFFECT_INVISIBILITY)) 
                         return false; 
         } 
  /* i was add if (IsPet() || IsMount())
                   return false;
and i removed this code is working */
         if (IsDead()) 
                 return false; 
  
         return true; 
 }

 

Edited by forum80
  • Love 1

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.