Jump to content
  • 0

View "Remaining" on an item


Originale

Question

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

  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

2 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Activity

    1. 3

      Once upon a time...

    2. 1183

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

    3. 3

      Once upon a time...

    4. 3

      Once upon a time...

    5. 0

      problem ability

    6. 0

      Transmutation system error "unknow command server"

    7. 39

      Official Transmutation / Change Look

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