Yardım Inventory marking eklerken sorun.

  • Konuyu açan Konuyu açan exploytadam
  • Açılış Tarihi Açılış Tarihi
  • Yanıt Yanıt 0
  • Gösterim Gösterim 259
Konu sahibi bu konuda soru soruyor. Sorusu ile ilgili bilgisi olanların yanıtlamasını bekliyor.

exploytadam

Üye
Üye
Mesaj
89
Çözümler
5
Beğeni
21
Puan
459
Ticaret Puanı
0
Oyuna giriş yaparken loading screen doluyor , girerken şu syserr'i alıyorum.


Syserr:
Genişlet Daralt Kopyala
1205 15:48:22794 ::   File "networkModule.py", line 239, in SetGamePhase

1205 15:48:22795 ::   File "game.py", line 101, in __init__

1205 15:48:22795 ::   File "interfaceModule.py", line 336, in MakeInterface

1205 15:48:22795 ::   File "interfaceModule.py", line 277, in __MakeDialogs

1205 15:48:22796 ::   File "uiRefine.py", line 468, in SetInven

1205 15:48:22796 :: TypeError
1205 15:48:22796 :: :
1205 15:48:22797 :: cannot create weak reference to 'weakproxy' object
1205 15:48:22797 ::



uirefine.py:
Genişlet Daralt Kopyala
    if app.WJ_ENABLE_TRADABLE_ICON:
        def SetCanMouseEventSlot(self, slotIndex):
            try:
                itemInvenPage = slotIndex / player.INVENTORY_PAGE_SIZE
                localSlotPos = slotIndex - (itemInvenPage * player.INVENTORY_PAGE_SIZE)
                self.lockedItem = (-1, -1)

                if itemInvenPage == self.wndInventory.GetInventoryPageIndex():
                    self.wndInventory.wndItem.SetCanMouseEventSlot(localSlotPos)
            except Exception as e:
                pass

        def SetCantMouseEventSlot(self, slotIndex):
            itemInvenPage = slotIndex / player.INVENTORY_PAGE_SIZE
            localSlotPos = slotIndex - (itemInvenPage * player.INVENTORY_PAGE_SIZE)
            self.lockedItem = (itemInvenPage, localSlotPos)

            if itemInvenPage == self.wndInventory.GetInventoryPageIndex():
                self.wndInventory.wndItem.SetCantMouseEventSlot(localSlotPos)

        def SetInven(self, wndInventory):
            from _weakref import proxy
            self.wndInventory = proxy(wndInventory)

        def RefreshLockedSlot(self):
            if self.wndInventory:
                itemInvenPage, itemSlotPos = self.lockedItem
                if self.wndInventory.GetInventoryPageIndex() == itemInvenPage:
                    self.wndInventory.wndItem.SetCantMouseEventSlot(itemSlotPos)

                self.wndInventory.wndItem.RefreshSlot()


Kullandığım files martysamanın 5.4 versiyonu. Yardımcı olabilirseniz çok sevinirim.
 
Üst