I solved it was a problem with definitions in locale_inc and service.h.Does the new offline store have its own file?
Example: uiofflineshop.py etc.
def OverInItem(self, slotIndex):
slotIndex = self.__GetRealIndex(slotIndex)
if mouseModule.mouseController.isAttached():
return
if 0 != self.tooltipItem:
if app.ENABLE_2TH_SHOPEX_SYSTEM:
coinType = shop.GetTabCoinType(self.tabIdx)
if shop.SHOP_COIN_TYPE_GOLD == coinType:
self.tooltipItem.SetShopItem(slotIndex)
else:
self.tooltipItem.SetShopItemBySecondaryCoin(slotIndex, coinType)
else:
if shop.SHOP_COIN_TYPE_GOLD == shop.GetTabCoinType(self.tabIdx):
self.tooltipItem.SetShopItem(slotIndex)
else:
self.tooltipItem.SetShopItemBySecondaryCoin(slotIndex)
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))
apply_random_list = []
if app.ENABLE_APPLY_RANDOM:
for i in xrange(player.APPLY_RANDOM_SLOT_MAX_NUM):
apply_random_list.append(shop.GetItemApplyRandom(slotIndex, i))
if app.ENABLE_REFINE_ELEMENT:
refineElement = shop.GetItemRefineElement(slotIndex)
self.AddItemData(itemVnum, metinSlot, attrSlot, refineElement = refineElement, apply_random_list = apply_random_list)
else:
self.AddItemData(itemVnum, metinSlot, attrSlot)
if app.BL_TRANSMUTATION_SYSTEM:
self.AppendChangeLookInfoShopWIndow(slotIndex)
if shop.IsOwner():
self.AppendOfflineShopPrice(price, cheque)
else:
if shop.IsYearRound():
self.AppendYearRound(price)
elif shop.IsChequeDeskNpc():
self.AppendLimitedCountChequeDesk(shop.GetLimitedPurchaseCount(slotIndex), shop.GetMyStok(slotIndex), cheque)
elif app.ENABLE_12ZI and shop.IsLimitedItemShop():
count = shop.GetLimitedCount(slotIndex)
if count != 0:
purchaseCount = shop.GetLimitedPurchaseCount(slotIndex)
self.AppendLimitedCount(count, purchaseCount, price)
else:
if app.ENABLE_CHEQUE_SYSTEM:
self.AppendPrice(price, cheque)
else:
self.AppendPrice(price)
if app.ENABLE_CHEQUE_SYSTEM:
def AppendPrice(self, price, cheque = 0):
self.AppendSpace(5)
self.AppendTextLine(localeInfo.CHEQUE_SYSTEM_SELL_PRICE, grp.GenerateColor(1.0, 0.9686, 0.3098, 1.0))
if cheque < 1 and price < 1:
self.AppendTextLine(localeInfo.UCRETSIZ, self.POSITIVE_COLOR)
else:
if cheque > 0:
self.AppendTextLine(localeInfo.CHEQUE_SYSTEM_WON % (str(cheque)), grp.GenerateColor(0.0, 0.8470, 1.0, 1.0))
if price > 0:
self.AppendTextLine(localeInfo.CHEQUE_SYSTEM_YANG % (localeInfo.NumberToMoneyString(price)), self.GetPriceColor(price))
else:
def AppendPrice(self, price):
self.AppendSpace(5)
self.AppendTextLine(localeInfo.TOOLTIP_BUYPRICE % (localeInfo.NumberToMoneyString(price)), self.GetPriceColor(price))
I solved it was a problem with definitions in locale_inc and service.h.Does the new offline store have its own file?
Example: uiofflineshop.py etc.
If I open offline store and put more than one item for sale per won, I can't cash them in until I sell everything or close the store, while yang can cash them inI solved it was a problem with definitions in locale_inc and service.h.
However, now I have another problem, should I make a separate post?