Jump to content

Recommended Posts

I just implemented decimal target hp and when I click on a mob and then on a character the icon of (?) of the mob target system appears.

The only thing that appears on sysser:

SYSERR: Nov 24 16:10:53 :: OnClick: Lycan.OnClickFailure(Suager) - target is PC
SYSERR: Nov 24 16:10:58 :: OnClick: Suager.OnClickFailure(Lycan) - target is PC
SYSERR: Nov 24 16:11:47 :: OnClick: Suager.OnClickFailure(Lycan) - target is PC

 

IMAGE:

 

Spoiler

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 1
Link to comment
https://metin2.dev/topic/24946-decimal-target-hp-and-mob-target-info-bug/
Share on other sites

  • 3 years later...

SOLVING

In the file: root/uitarget.py

search for:
    def SetEnemyVID(self, vid):
        self.SetTargetVID(vid)

Here you will find:

        if app.ENABLE_SEND_TARGET_INFO:
            (textWidth, textHeight) = self.name.GetTextSize()

Replace with this:

       if app.ENABLE_SEND_TARGET_INFO:
            if vnum >= 101:
                (textWidth, textHeight) = self.name.GetTextSize()
Edited by NXS

NXS

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.