Jump to content

Decimal Target HP and Mob Target Info BUG


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
Share on other sites

  • 3 years later...
Posted (edited)

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
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • 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.