B 1
berione65
sen272 1
sen272
Mt2Hizmet 1
Mt2Hizmet
C 1
chengdu
xranzei 1
xranzei
zendor2 1
zendor2
Bvural41 1
Bvural41
Hikaye Ekle
Reklam vermek için turkmmo@gmail.com

[Python] Depo<=>Envanter

ROHAN2 WORLD 1-120 TR TİPİ OFFICIAL YOHARA, BALATHOR VE AMON! 80. GÜNÜNDE! +10.000 ONLİNE! HİLE VE BOT %100 ENGELLİ HEMEN TIKLA!

someone help?
 
ustadım depodan envantere geliyor lakin envanterden depoya gitmiyor ne yapmam lazım self.pagecount ile pageCount değiştim olmadı

1230 18:00:31555 :: Traceback (most recent call last):

1230 18:00:31555 :: File "ui.py", line 2307, in OnUnselectItemSlot

1230 18:00:31555 :: File "ui.py", line 103, in __call__

1230 18:00:31555 :: File "ui.py", line 94, in __call__

1230 18:00:31556 :: File "uiInventory.py", line 3188, in UseItemSlot

1230 18:00:31556 :: File "uiInventory.py", line 3242, in __UseItem

1230 18:00:31556 :: File "interfaceModule.py", line 2439, in AttachInvenItemToOtherWindowSlot

1230 18:00:31556 :: File "uiSafebox.py", line 796, in AttachItemFromInventory

1230 18:00:31557 :: File "uiSafebox.py", line 757, in __GetCurrentItemGrid

1230 18:00:31557 :: AttributeError
1230 18:00:31567 :: :
1230 18:00:31567 :: 'SafeboxWindow' object has no attribute 'pageCount'
1230 18:00:31567 ::
Aynı hatayı bende almaktayım.
 
self.pageCount hatası için;
uisafebox.py:
Ara: def __GetCurrentItemGrid
içinde bul : self.pageCount
Değiştir: pageCount
itemGrid = [[False for cell in xrange(safebox.SAFEBOX_PAGE_SIZE)] for page in xrange(pageCount)] satırının üstüne ekle:
pageCount = 1
Ara: for page in xrange(self.pageCount)
Değiştir: for page in xrange(pageCount)

Ara: def __FindEmptyCellForSize(self, itemGrid, size)
Bir satır altına ekle: pageCount = 1

Tab ayarlına dikkat edin. Konuya sabitlerseniz Sevinirim. Hata alan özelden yazabilir.
Edit: pageCount = 1 değişkeni yalnızca Deposu tek sayfa olanlar içindir. Deposunda 1 den fazla sayfa olan kişiler deposunun sayfa sayısına göre sayıyı arttırsınlar. Kesin çalışır demiyorum. Lakin tek sayfalı depoda çalışıyor.
 
self.pageCount hatası için;
uisafebox.py:
Ara: def __GetCurrentItemGrid
içinde bul : self.pageCount
Değiştir: pageCount
itemGrid = [[False for cell in xrange(safebox.SAFEBOX_PAGE_SIZE)] for page in xrange(pageCount)] satırının üstüne ekle:
pageCount = 1
Ara: for page in xrange(self.pageCount)
Değiştir: for page in xrange(pageCount)

Ara: def __FindEmptyCellForSize(self, itemGrid, size)
Bir satır altına ekle: pageCount = 1

Tab ayarlına dikkat edin. Konuya sabitlerseniz Sevinirim. Hata alan özelden yazabilir.
Edit: pageCount = 1 değişkeni yalnızca Deposu tek sayfa olanlar içindir. Deposunda 1 den fazla sayfa olan kişiler deposunun sayfa sayısına göre sayıyı arttırsınlar. Kesin çalışır demiyorum. Lakin tek sayfalı depoda çalışıyor.
Thanks, now work, ^^ if you don't understand how put the fix of @AlanoraNorca i give you a photo.
 

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst