Jump to content
  • We need you!

    You must register to discover all the features of our community!

  • 0

TIMER_BASED_ON_WEAR, REAL_TIME Fix


TMP4
Go to solution Solved by 3bd0,

Question

Hi,

 

So if an item have TIMER_BASED_ON_WEAR (Only mounts in my case) or REAL_TIME (some etc junk item) the time does not show on npc shop or itemshop if we have python ingame itemshop.

 

I know there was a fix at least for the TIMER_BASED_ON_WEAR but i just can't find it. Maybe topic deleted, or other forum.

I think the problem is in uitooltip.py Def AppendTimerBasedOnWearLastTime

Can someone share the fix with me for any of them?

Link to post

2 answers to this question

Recommended Posts

  • 0
  • Solution

Hi,

 

The AppendTimerBasedOnWearLastTime function displays the time left based on socket 0 value, but if the item doesn't actually exist (in an npc_shop for example), the socket 0 value will be 0. A possible fix could be checking if the sokcet value is 0 and in that case display the limit value instead

Link to post
Guest
This topic is now closed to further replies.


  • Current Donation Goals

  • Activity

    1. 9

      [FIX] Great-Offshop MEMORY-LEAK

    2. 1

      acc system

    3. 9

      [FIX] Great-Offshop MEMORY-LEAK

    4. 3

      Where do i find Guild Chat in source?

    5. 3

      Where do i find Guild Chat in source?

    6. 0

      Extended DS Inventory

    7. 6

      Shadow devil tower.

    8. 9

      [FIX] Great-Offshop MEMORY-LEAK

    9. 22

      [FIX] Fixing Metin2 memory leaks

  • Recently Browsing

    No registered users viewing this page.

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