Thanks for your reply. Now i got this error:
0614 14:14:46801 :: Traceback (most recent call last):
0614 14:14:46801 :: File "uiSkillBookCombination.py", line 224, in OnPressEscapeKey
0614 14:14:46801 :: File "uiSkillBookCombination.py", line 40, in Close
0614 14:14:46801 :: File "uiSkillBookCombination.py", line 174, in SetCanMouseEventSlot
0614 14:14:46801 :: AttributeError
0614 14:14:46801 :: :
0614 14:14:46801 :: 'NoneType' object has no attribute 'GetInventoryPageIndex'
0614 14:14:46801 ::
Line 174:
def SetCanMouseEventSlot(self, idx):
if not isinstance(idx, types.NoneType):
if app.WJ_SPLIT_INVENTORY_SYSTEM:
if self.inven or self.invenSpecial:
page = self.inven.GetInventoryPageIndex() # range 0 ~ 1
special_page = self.invenSpecial.GetInventoryPageIndex()
if (page * INVENTORY_PAGE_SIZE) <= idx < ((page + 1) * INVENTORY_PAGE_SIZE): # range 0 ~ 44, 45 ~ 89
idx = idx - (page * INVENTORY_PAGE_SIZE)
self.inven.wndItem.SetCanMouseEventSlot(idx)
elif self.invenSpecial.GetInventoryType() == 0:
if (item.SKILL_BOOK_INVENTORY_SLOT_START + (special_page * SPECIAL_INVENTORY_PAGE_SIZE)) <= idx < (item.SKILL_BOOK_INVENTORY_SLOT_START + (((special_page + 1) * SPECIAL_INVENTORY_PAGE_SIZE))):
idx = idx - (item.SKILL_BOOK_INVENTORY_SLOT_START + (special_page * SPECIAL_INVENTORY_PAGE_SIZE))
self.invenSpecial.wndItem.SetCanMouseEventSlot(idx)
If i make:
# if self.inven or self.invenSpecial:
if self.invenSpecial:
Than happen the previous bug: GIF