Tipologie server: 40k
*Resursă folosită: http://just4metin.ro/sursa/special-stor ... 63858.html
*ServerFiles utilizat: Propriu
*Syserr:
Cod: Selectaţi tot
0102 15:10:28314 :: Traceback (most recent call last):
0102 15:10:28314 :: File "ui.py", line 1853, in OnSelectEmptySlot
0102 15:10:28314 :: File "ui.py", line 88, in __call__
0102 15:10:28314 :: File "ui.py", line 79, in __call__
0102 15:10:28314 :: File "uiShop.py", line 301, in SelectEmptySlot
0102 15:10:28314 :: File "uiShop.py", line 203, in SellAttachedItem
0102 15:10:28314 :: NameError
0102 15:10:28314 :: :
0102 15:10:28314 :: global name 'attachedItemIndex' is not defined
0102 15:10:28314 :: *Detalii suplimentare:
Am rezolvat aia:
Lipsea:
attachedItemIndex = mouseModule.mouseController.GetAttachedItemIndex()
Acum am:
Cod: Selectaţi tot
0102 16:31:38691 :: Traceback (most recent call last):
0102 16:31:38691 :: File "ui.py", line 1378, in CallEvent
0102 16:31:38691 :: File "uiShop.py", line 227, in <lambda>
0102 16:31:38691 :: TypeError
0102 16:31:38691 :: :
0102 16:31:38691 :: OnSellItem() takes exactly 3 arguments (4 given)
0102 16:31:38691 :: Cod: Selectaţi tot
def OnSellItem(self, slotPos, count):
net.SendShopSellPacketNew(slotPos, count)
snd.PlaySound("sound/ui/money.wav")
self.OnCloseQuestionDialog()Cod: Selectaţi tot
questionDialog.SetAcceptEvent(lambda arg1=attachedSlotPos, arg2=attachedCount, arg3=itemtype, arg4=attachedItemIndex: self.OnSellItem(arg1, arg2, arg3, arg4))Cod: Selectaţi tot
def OnSellItem(self, slotPos, count, itemtype, ItemIndex):
net.SendShopSellPacketNew(slotPos, count, itemtype, ItemIndex)
snd.PlaySound("sound/ui/money.wav")
self.OnCloseQuestionDialog()

