i solved in this way
uitooltip.py
def SetShopItem(self, slotIndex):
itemVnum = shop.GetItemID(slotIndex)
if 0 == itemVnum:
return
price = shop.GetItemPrice(slotIndex)
if app.ENABLE_CHEQUE_SYSTEM:
cheque = shop.GetItemCheque(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)
if not app.ENABLE_RENEWAL_SHOPEX:
if app.ENABLE_CHEQUE_SYSTEM:
self.AppendSpace(5)
self.AppendTextLine(localeInfo.CHEQUE_SYSTEM_SELL_PRICE, grp.GenerateColor(1.0, 0.9686, 0.3098, 1.0))
self.AppendCheque(cheque)
self.AppendPrice(price)
else:
self.AppendPrice(price)
else:
self.AppendPrice(price)