[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!

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 ::
 
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
 
uisafeboxda bu modülü bulamıyor ITEM_ANTIFLAG_SAFEBOX
 

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