Jump to content

Recommended Posts

Hello OG

Here I am trying to locate another item is to display "Remaining: 500" to use such an item 500x
I saw that this was possible on some item:
Compass for Metin // id 27989
Compass for Metin // id 76006
Thor ring //  id 50004

hese items on its displays the remaining number
so I can watch a how it was done on his key proto.txt python c ++ in my opinion
all first giving a VNUM I took the item: 40003
I change
40003 토르 의 반지 ITEM_QUEST NONE NONE NONE 0 NONE 1 0 0 0 0 0 0 LIMIT_NONE LIMIT_NONE APPLY_NONE 0 0 0 APPLY_NONE APPLY_NONE 0 0 0 0 0 0 0 0 0 0

then in the python client files I watch and would be in the uitooltip.py
I can look for and as such an item of quest I put them in there
elif item.ITEM_TYPE_QUEST == itemType:
 
40003 == if itemVnum:
if 0 = metinSlot!:
UseCount = int (metinSlot [0])

self.AppendSpace (5)
self.AppendTextLine (localeInfo.TOOLTIP_REST_USABLE_COUNT% (500 - UseCount) self.NORMAL_COLOR)

its shows well the remaining number "Remaining: 500" but its not count
these so that I come to you by the I dry

Link to comment
https://metin2.dev/topic/11780-view-remaining-on-an-item/
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

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.