Auto_sell

  • Konuyu açan Konuyu açan enes turan
  • Açılış Tarihi Açılış Tarihi
  • Yanıt Yanıt 8
  • Gösterim Gösterim 735

enes turan

Gold Üye
Gold Üye
Yardımsever Üye
Usta Üye
Mesaj
1.110
Çözümler
79
Beğeni
1.667
Puan
1.339
Ticaret Puanı
0
Merhabalar
Eklenen itemleri txt üzerinde tutar sql felan kullanmaz basit ve kullanışlı.

sistemin çalışması için sistemin kurulu olması gerekli yada sizde satma ile alakalı bir sisteminiz varsa
Python:
Genişlet Daralt Kopyala
net.SendItemSellPacket(slotIndex, player.INVENTORY)
bu kısmı kendi sisteminize göre düzenleyin. yada konudaki sistemden 'SendItemSellPacket' yapısını sökün size kalmış.


Burayı görüntülemek için üye girişi yapmalı veya kayıt olmalısınız.



0905_224749.webp



SetBaseColor hatası alırsanız:
Genişlet Daralt Kopyala
#ui.py ara
class ThinBoardCircle(Window):
    
#müsait bir yere ekle
    def SetBaseColor(self, color):
        self.Base.SetColor(color)
 
Son düzenleme:

aynısı mı
 
Hayır bu SQL e kaydediyor ve grid kullanıyor. Grid de de sorun vardı diye hatırlıyorum. Tek benzer yanları gui
 
1765340497812.webp


Paylaşım için teşekkürler kanıt olarak eklenebilir.

Sıfırlaya bastıktan sonra eklenen item sayısı 0 a düşmüyor takılı kalıyor bunun için

ara :
def ResetItems(self):

en altına ekle:
self.SetCount(0)
 
0106 17:40:08315 :: Traceback (most recent call last):

0106 17:40:08316 :: File "networkModule.py", line 236, in SetGamePhase

0106 17:40:08316 :: File "game.py", line 110, in __init__

0106 17:40:08316 :: File "interfaceModule.py", line 624, in MakeInterface

0106 17:40:08316 :: File "interfaceModule.py", line 390, in __MakeWindows

0106 17:40:08316 :: File "uiInventory.py", line 1125, in __init__

0106 17:40:08316 :: File "uiInventory.py", line 1322, in __LoadWindow

0106 17:40:08316 :: File "uiInventory.py", line 1398, in SetInventoryPage

0106 17:40:08316 :: File "uiInventory.py", line 1586, in RefreshBagSlotWindow

0106 17:40:08316 :: File "uiInventory.py", line 1612, in CheckAutoSellItem

0106 17:40:08316 :: AttributeError
0106 17:40:08316 :: :
0106 17:40:08316 :: 'InventoryWindow' object has no attribute 'interface'
0106 17:40:08316 ::

0106 17:40:09071 :: Traceback (most recent call last):

0106 17:40:09071 :: File "game.py", line 2399, in BINARY_ServerCommand_Run

0106 17:40:09071 :: AttributeError
0106 17:40:09071 :: :
0106 17:40:09071 :: 'GameWindow' object has no attribute 'serverCommander'
0106 17:40:09071 ::

0106 17:40:09071 :: Traceback (most recent call last):

0106 17:40:09071 :: File "game.py", line 763, in RefreshStatus

0106 17:40:09071 :: File "game.py", line 757, in CheckGameButton

0106 17:40:09071 :: File "interfaceModule.py", line 1685, in CheckGameButton

0106 17:40:09071 :: AttributeError
0106 17:40:09071 :: :
0106 17:40:09071 :: 'Interface' object has no attribute 'wndGameButton'
0106 17:40:09071 ::

0106 17:40:09071 :: Traceback (most recent call last):

0106 17:40:09071 :: File "game.py", line 2399, in BINARY_ServerCommand_Run

0106 17:40:09071 :: AttributeError
0106 17:40:09071 :: :
0106 17:40:09071 :: 'GameWindow' object has no attribute 'serverCommander'
0106 17:40:09071 ::

0106 17:40:09071 :: Traceback (most recent call last):

0106 17:40:09071 :: File "game.py", line 763, in RefreshStatus

0106 17:40:09071 :: File "game.py", line 757, in CheckGameButton

0106 17:40:09071 :: File "interfaceModule.py", line 1685, in CheckGameButton

0106 17:40:09071 :: AttributeError
0106 17:40:09071 :: :
0106 17:40:09071 :: 'Interface' object has no attribute 'wndGameButton'
0106 17:40:09071 ::
 
Geri
Üst