Jump to content

Recommended Posts

  • Honorable Member

sqrt((targetX-yourX)^2 + (targetY-yourY)^2)

992404397646696589.png
Former C++ Developer at Gameloft on DML
Join my Discord: Distraught Labs

Link to comment
https://metin2.dev/topic/16631-shop-range-showing-distance/#findComment-91868
Share on other sites

16 minutes ago, Distraught said:

sqrt((targetX-yourX)^2 + (targetY-yourY)^2)

Thank you, I know this formula, but the market does not come back when the name closes again.

I met this video on the internet. But I can not access the web site of the video owner. : /

 

uiprivateshop OnUpdate;

if systemSetting.GetShopDistance() < player.GetCharacterDistance(self.vid):
    self.Show()
    x, y = chr.GetProjectPosition(self.vid, 220)
    self.SetPosition(x - self.GetWidth()/2, y - self.GetHeight()/2)
else:
	self.Hide()

 

Link to comment
https://metin2.dev/topic/16631-shop-range-showing-distance/#findComment-91870
Share on other sites

40 minutes ago, MDevelopers said:

I hope i have helped you, pw of files: Cyber-Gamers

Shop names with range Enjoy.zip

Thank you, 

I'm getting this error;

The page you are trying to access is not available for your account.

  • Metin2 Dev 1
Link to comment
https://metin2.dev/topic/16631-shop-range-showing-distance/#findComment-91873
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
  • Current Donation Goals

    • Raised 23.00 EUR of 65.00 EUR target
×
×
  • 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.