Veneno 6 Posted November 29, 2015 Share Posted November 29, 2015 Hello guys I just "activated" ring slots and ITEM_RING in my server and everything goes on smoothly except one thing: when my "ring" items had "UNIQUE" type their remaining time was visible. Once I turned them into rings the remaining time was gone. My REAL_TIME and it's value in item_proto is correct. So are there any suggestions to this problem? Link to comment Share on other sites More sharing options...
Denis 1474 Posted November 30, 2015 Share Posted November 30, 2015 You should edit uitooltip too Link to comment Share on other sites More sharing options...
Veneno 6 Posted November 30, 2015 Author Share Posted November 30, 2015 Thanks for the tip Can you give me an example of what needs to be edited? I made it thanks anyway For those who see this and have the same problem search for "ITEM_TYPE_UNIQUE" and copy all that function. Paste it in "ITEM_TYPE_RING" and you are done . Here is the function for those who have a little eye problem: Spoiler if 0 != metinSlot: bHasRealtimeFlag = 0 for i in xrange(item.LIMIT_MAX_NUM): (limitType, limitValue) = item.GetLimit(i) if item.LIMIT_REAL_TIME == limitType: bHasRealtimeFlag = 1 if 1 == bHasRealtimeFlag: self.AppendMallItemLastTime(metinSlot[0]) else: time = metinSlot[player.METIN_SOCKET_MAX_NUM-1] if 1 == item.GetValue(2): ## 실시간 이용 Flag / 장착 안해도 준다 self.AppendMallItemLastTime(time) else: self.AppendUniqueItemLastTime(time) Link to comment Share on other sites More sharing options...
Premium Kameyu 167 Posted May 10, 2018 Premium Share Posted May 10, 2018 Le 30/11/2015 à 01:23, Veneno a dit : Thanks for the tip Can you give me an example of what needs to be edited? I made it thanks anyway For those who see this and have the same problem search for "ITEM_TYPE_UNIQUE" and copy all that function. Paste it in "ITEM_TYPE_RING" and you are done . Here is the function for those who have a little eye problem: Révéler le contenu masqué if 0 != metinSlot: bHasRealtimeFlag = 0 for i in xrange(item.LIMIT_MAX_NUM): (limitType, limitValue) = item.GetLimit(i) if item.LIMIT_REAL_TIME == limitType: bHasRealtimeFlag = 1 if 1 == bHasRealtimeFlag: self.AppendMallItemLastTime(metinSlot[0]) else: time = metinSlot[player.METIN_SOCKET_MAX_NUM-1] if 1 == item.GetValue(2): ## 실시간 이용 Flag / 장착 안해도 준다 self.AppendMallItemLastTime(time) else: self.AppendUniqueItemLastTime(time) Why bother copy/pasting the function when you can just add one condition: Révélation Replace: elif itemType == item.ITEM_TYPE_UNIQUE: By: elif itemType == item.ITEM_TYPE_UNIQUE or itemType == item.ITEM_TYPE_RING: Done. As simple as that. Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4870 Posted February 16, 2021 Bot Share Posted February 16, 2021 Where i can change this ? Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now