*Problemă/Întrebare:Sysser uiinvetory
Tipologie server:PvP
*Resursă folosită:Nimic
*ServerFiles utilizat:Cheice2
*Syserr:
1104 00:53:13202 :: CMapOutdoor::Load - LoadMonsterAreaInfo ERROR
104 00:54:27035 :: File "uiInventory.py", line 735, in OnUpdate
1104 00:54:27035 :: File "uiInventory.py", line 755, in RefreshBagSlotWindow
1104 00:54:27035 :: AttributeError
1104 00:54:27035 :: :
1104 00:54:27035 :: 'int' object has no attribute 'SetItemSlot'
1104 00:54:27035 ::
1104 00:54:27055 :: Traceback (most recent call last):
1104 00:54:27055 :: File "uiInventory.py", line 735, in OnUpdate
1104 00:54:27055 :: File "uiInventory.py", line 755, in RefreshBagSlotWindow
Poză:
*Detalii suplimentare:Nu am facut modificari + am luat uiinventory direct din clientul original si la fel .
Sysser
- SkyLine
-

- Mesaje: 2655
- Membru din: 12 Dec 2013, 23:37
- Server: Miraj2-Online
- Regat: Jinno
- Aprecieri: 520
- Mulţumiri: 987
- Discord: Copiază ID
- Contact:
Vezi daca ai functia asta in ui.py
Cod: Selectaţi tot
def SetItemSlot(self, renderingSlotNumber, ItemIndex, ItemCount = 0, diffuseColor = (1.0, 1.0, 1.0, 1.0),id=0):
if 0 == ItemIndex or None == ItemIndex:
wndMgr.ClearSlot(self.hWnd, renderingSlotNumber)
return
item.SelectItem(ItemIndex)
itemIcon = item.GetIconImage()
item.SelectItem(ItemIndex)
(width, height) = item.GetItemSize(1,2,3,4,5,6)
wndMgr.SetSlot(self.hWnd, renderingSlotNumber, ItemIndex, width, height, itemIcon, diffuseColor)
wndMgr.SetSlotCount(self.hWnd, renderingSlotNumber, ItemCount)
wndMgr.SetSlotID(self.hWnd, renderingSlotNumber, id)
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: sanducatalin1, Semrush [Bot] și 41 vizitatori

