quickxd 1
quickxd
noisiv 1
noisiv
Manwe Work 1
Manwe Work
Scarlet 1
Scarlet
Bvural41 1
Bvural41
mavzermete 1
mavzermete
Hikaye Ekle

[Python] Depo<=>Envanter

HERAKLES Otomatik Avlı kalıcı sunucu. 19 Haziran'da açılıyor. Atius & Wizard güvencesiyle hemen kayıt ol, ön kayıt ödülleri aktif. HEMEN TIKLA!

help
Kod:
0418 09:31:38129 :: Traceback (most recent call last):

0418 09:31:38129 ::   File "ui.py", line 1539, in OnUnselectItemSlot

0418 09:31:38130 ::   File "ui.py", line 135, in __call__

0418 09:31:38130 ::   File "ui.py", line 126, in __call__

0418 09:31:38131 ::   File "uiInventory.py", line 1775, in UseItemSlot

0418 09:31:38131 ::   File "uiInventory.py", line 1780, in __UseItem

0418 09:31:38131 ::   File "interfaceModule.py", line 851, in AttachInvenItemToOtherWindowSlot

0418 09:31:38131 ::   File "uiSafebox.py", line 501, in AttachItemFromInventory

0418 09:31:38132 :: NameError
0418 09:31:38132 :: :
0418 09:31:38132 :: global name 'item' is not defined
0418 09:31:38132 ::
uisafebox.py

import item # add
 
uisafebox.py

import item # add
thanks
next problem
Kod:
0418 09:42:40969 ::   File "ui.py", line 1539, in OnUnselectItemSlot

0418 09:42:40969 ::   File "ui.py", line 135, in __call__

0418 09:42:40969 ::   File "ui.py", line 126, in __call__

0418 09:42:40970 ::   File "uiInventory.py", line 1775, in UseItemSlot

0418 09:42:40970 ::   File "uiInventory.py", line 1780, in __UseItem

0418 09:42:40970 ::   File "interfaceModule.py", line 851, in AttachInvenItemToOtherWindowSlot

0418 09:42:40970 ::   File "uiSafebox.py", line 502, in AttachItemFromInventory

0418 09:42:40971 :: AttributeError
0418 09:42:40971 :: : 
0418 09:42:40971 :: 'module' object has no attribute 'ITEM_ANTIFLAG_SAFEBOX'
0418 09:42:40971 ::
 
thanks
next problem
Kod:
0418 09:42:40969 ::   File "ui.py", line 1539, in OnUnselectItemSlot

0418 09:42:40969 ::   File "ui.py", line 135, in __call__

0418 09:42:40969 ::   File "ui.py", line 126, in __call__

0418 09:42:40970 ::   File "uiInventory.py", line 1775, in UseItemSlot

0418 09:42:40970 ::   File "uiInventory.py", line 1780, in __UseItem

0418 09:42:40970 ::   File "interfaceModule.py", line 851, in AttachInvenItemToOtherWindowSlot

0418 09:42:40970 ::   File "uiSafebox.py", line 502, in AttachItemFromInventory

0418 09:42:40971 :: AttributeError
0418 09:42:40971 :: :
0418 09:42:40971 :: 'module' object has no attribute 'ITEM_ANTIFLAG_SAFEBOX'
0418 09:42:40971 ::
ClientSrc

Client/GameLib/ItemData.h

ITEM_ANTIFLAG_FEMALE = (1 << 0), // search

ITEM_ANTIFLAG_SAFEBOX = (1 << 17), // add

Client/UserInterface/PythonItemModule.cpp

PyModule_AddIntConstant(poModule, "ITEM_ANTIFLAG_MYSHOP", CItemData::ITEM_ANTIFLAG_MYSHOP); // Search

PyModule_AddIntConstant(poModule, "ITEM_ANTIFLAG_SAFEBOX", CItemData::ITEM_ANTIFLAG_SAFEBOX); // add
 
Hata veriyor.

Kod:
0418 17:20:12853 ::   File "ui.py", line 1859, in OnUnselectItemSlot

0418 17:20:12853 ::   File "ui.py", line 87, in __call__

0418 17:20:12853 ::   File "ui.py", line 78, in __call__

0418 17:20:12853 ::   File "uiInventory.py", line 2011, in UseItemSlot

0418 17:20:12853 ::   File "uiInventory.py", line 2062, in __UseItem

0418 17:20:12853 ::   File "interfaceModule.py", line 2392, in AttachInvenItemToOtherWindowSlot

0418 17:20:12853 ::   File "uiSafebox.py", line 501, in AttachItemFromInventory

0418 17:20:12853 :: AttributeError
0418 17:20:12853 :: :
0418 17:20:12853 :: 'module' object has no attribute 'ITEM_ANTIFLAG_SAFEBOX'
0418 17:20:12853 ::

0418 17:20:13426 :: Traceback (most recent call last):

0418 17:20:13426 ::   File "ui.py", line 1859, in OnUnselectItemSlot

0418 17:20:13427 ::   File "ui.py", line 87, in __call__

0418 17:20:13427 ::   File "ui.py", line 78, in __call__

0418 17:20:13427 ::   File "uiInventory.py", line 2011, in UseItemSlot

0418 17:20:13427 ::   File "uiInventory.py", line 2062, in __UseItem

0418 17:20:13427 ::   File "interfaceModule.py", line 2392, in AttachInvenItemToOtherWindowSlot
 
Hata veriyor.

Kod:
0418 17:20:12853 ::   File "ui.py", line 1859, in OnUnselectItemSlot

0418 17:20:12853 ::   File "ui.py", line 87, in __call__

0418 17:20:12853 ::   File "ui.py", line 78, in __call__

0418 17:20:12853 ::   File "uiInventory.py", line 2011, in UseItemSlot

0418 17:20:12853 ::   File "uiInventory.py", line 2062, in __UseItem

0418 17:20:12853 ::   File "interfaceModule.py", line 2392, in AttachInvenItemToOtherWindowSlot

0418 17:20:12853 ::   File "uiSafebox.py", line 501, in AttachItemFromInventory

0418 17:20:12853 :: AttributeError
0418 17:20:12853 :: :
0418 17:20:12853 :: 'module' object has no attribute 'ITEM_ANTIFLAG_SAFEBOX'
0418 17:20:12853 ::

0418 17:20:13426 :: Traceback (most recent call last):

0418 17:20:13426 ::   File "ui.py", line 1859, in OnUnselectItemSlot

0418 17:20:13427 ::   File "ui.py", line 87, in __call__

0418 17:20:13427 ::   File "ui.py", line 78, in __call__

0418 17:20:13427 ::   File "uiInventory.py", line 2011, in UseItemSlot

0418 17:20:13427 ::   File "uiInventory.py", line 2062, in __UseItem

0418 17:20:13427 ::   File "interfaceModule.py", line 2392, in AttachInvenItemToOtherWindowSlot
uisafeboxda bu modülü bulamıyor ITEM_ANTIFLAG_SAFEBOX
 

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

Geri
Üst