Ekinox 20 Posted November 19, 2018 Share Posted November 19, 2018 (edited) Hi, I don't have buy price on item from all shop see : syss err client and server is empty Someone would have any idea ?? Thx Sorry for my bad English Edited September 3, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
iBeast 106 Posted November 19, 2018 Share Posted November 19, 2018 (edited) 5 hours ago, Ekinox said: Hi, I don't have buy price on item from all shop see : syss err client and server is empty Someone would have any idea ?? Thx Sorry for my bad English Hi. Maybe you are missing function "AppendPrice" in uiToolTip.py. Upload your uiToolTip.py. iBeast Edited September 3, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
Ekinox 20 Posted November 19, 2018 Author Share Posted November 19, 2018 Hi, Thanks for your reply My uiToolTip : This is the hidden content, please Sign In or Sign Up My problem can it come from the src ? 1 1 Link to comment Share on other sites More sharing options...
Solution iBeast 106 Posted November 19, 2018 Solution Share Posted November 19, 2018 1 hour ago, Ekinox said: Hi, Thanks for your reply My uiToolTip : This is the hidden content, please Sign In or Sign Up My problem can it come from the src ? I was right. There is solution (probably): 1. Find: def SetShopItem(self, slotIndex): 2. Add on the end of function this: self.AppendPrice(price) So it should be like that: def SetShopItem(self, slotIndex): itemVnum = shop.GetItemID(slotIndex) if 0 == itemVnum: return price = shop.GetItemPrice(slotIndex) self.ClearToolTip() self.isShopItem = TRUE metinSlot = [] for i in xrange(player.METIN_SOCKET_MAX_NUM): metinSlot.append(shop.GetItemMetinSocket(slotIndex, i)) attrSlot = [] for i in xrange(player.ATTRIBUTE_SLOT_MAX_NUM): attrSlot.append(shop.GetItemAttribute(slotIndex, i)) self.AddItemData(itemVnum, metinSlot, attrSlot) self.AppendPrice(price) iBeast Link to comment Share on other sites More sharing options...
Ekinox 20 Posted November 19, 2018 Author Share Posted November 19, 2018 il y a une heure, iBeast a dit : I was right. There is solution (probably): 1. Find: def SetShopItem(self, slotIndex): 2. Add on the end of function this: self.AppendPrice(price) So it should be like that: def SetShopItem(self, slotIndex): itemVnum = shop.GetItemID(slotIndex) if 0 == itemVnum: return price = shop.GetItemPrice(slotIndex) self.ClearToolTip() self.isShopItem = TRUE metinSlot = [] for i in xrange(player.METIN_SOCKET_MAX_NUM): metinSlot.append(shop.GetItemMetinSocket(slotIndex, i)) attrSlot = [] for i in xrange(player.ATTRIBUTE_SLOT_MAX_NUM): attrSlot.append(shop.GetItemAttribute(slotIndex, i)) self.AddItemData(itemVnum, metinSlot, attrSlot) self.AppendPrice(price) iBeast It's work for NPC shop really thanx, but i have the same problem for offline shop Link to comment Share on other sites More sharing options...
iBeast 106 Posted November 19, 2018 Share Posted November 19, 2018 2 minutes ago, Ekinox said: It's work for NPC shop really thanx, but i have the same problem for offline shop Then apply it for offline shops too... I do not have offline shops so I can not check which things you should modify, but it should be similar. Link to comment Share on other sites More sharing options...
Ekinox 20 Posted November 19, 2018 Author Share Posted November 19, 2018 Yeah i try and it's work for offline shop in this function def SetOfflineShopItem(self, slotIndex): Problem solved Thx iBeast Link to comment Share on other sites More sharing options...
iBeast 106 Posted November 19, 2018 Share Posted November 19, 2018 5 minutes ago, Ekinox said: Yeah i try and it's work for offline shop in this function def SetOfflineShopItem(self, slotIndex): Problem solved Thx iBeast You are welcome! 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