Jump to content

Recommended Posts

  • 6 months later...
  • Forum Moderator
24 minutes ago, Cunoo said:

Problem is in char_item.cpp!


Best regards
Raylee

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 2
44 minutes ago, Raylee said:

Problem is in char_item.cpp!


Best regards
Raylee

I look on 2 paper 

i should 

open char_item.cpp and search 

INVENTORY_MAX_NUM / 2

replace all

INVENTORY_MAX_NUM / 4

 

But i try and  doesnt work

 

  • 3 months later...
  • 1 year later...
  • 11 months later...

@ASIKOO 

This is the hidden content, please

  • Metin2 Dev 42
  • Dislove 1
  • Good 14
  • Love 17

KH.jpg

Nicks: Nazox™ Krone™ Nagato™ Yahiko™ Yakiro™
Proyecto: Trabajando en el.
Compañeros & firma: DreamHQ  - 2009-2015 [Nostalgia]

  • 1 year later...
  • 3 weeks later...

Hi!
Somebody pls can help me?
I try to make 4 inventory but i get those error.
Any solution? 

Quote

networkModule.py(line:208) SetSelectCharacterPhase
system.py(line:130) __pack_import
system.py(line:110) _process_result
introSelect.py(line:30) <module>
system.py(line:130) __pack_import
system.py(line:110) _process_result
interfaceModule.py(line:12) <module>
system.py(line:130) __pack_import

networkModule.SetSelectCharacterPhase - <type 'exceptions.IndentationError'>:unindent does not match any outer indentation level (uiInventory.py, line 313)

uiInventory.py: (300-350)

 

Quote

        try:
            wndItem = self.GetChild("ItemSlot")
            wndEquip = self.GetChild("EquipmentSlot")
            self.GetChild("TitleBar").SetCloseEvent(ui.__mem_func__(self.Close))
            self.wndMoney = self.GetChild("Money")
            self.wndMoneySlot = self.GetChild("Money_Slot")
            self.mallButton = self.GetChild2("MallButton")
            self.DSSButton = self.GetChild2("DSSButton")
            self.costumeButton = self.GetChild2("CostumeButton")
            
            self.inventoryTab = []
            self.inventoryTab.append(self.GetChild("Inventory_Tab_01"))
            self.inventoryTab.append(self.GetChild("Inventory_Tab_02"))
            self.inventoryTab.append(self.GetChild("Inventory_Tab_03"))
            self.inventoryTab.append(self.GetChild("Inventory_Tab_04"))

            self.equipmentTab = []
            self.equipmentTab.append(self.GetChild("Equipment_Tab_01"))
            self.equipmentTab.append(self.GetChild("Equipment_Tab_02"))

            if self.costumeButton and not app.ENABLE_COSTUME_SYSTEM:
                self.costumeButton.Hide()
                self.costumeButton.Destroy()
                self.costumeButton = 0

            # Belt Inventory Window
            self.wndBelt = None
            
            if app.ENABLE_NEW_EQUIPMENT_SYSTEM:
                self.wndBelt = BeltInventoryWindow(self)
            
        except:
            import exception
            exception.Abort("InventoryWindow.LoadWindow.BindObject")

        ## Item
        wndItem.SetSelectEmptySlotEvent(ui.__mem_func__(self.SelectEmptySlot))
        wndItem.SetSelectItemSlotEvent(ui.__mem_func__(self.SelectItemSlot))
        wndItem.SetUnselectItemSlotEvent(ui.__mem_func__(self.UseItemSlot))
        wndItem.SetUseSlotEvent(ui.__mem_func__(self.UseItemSlot))
        wndItem.SetOverInItemEvent(ui.__mem_func__(self.OverInItem))
        wndItem.SetOverOutItemEvent(ui.__mem_func__(self.OverOutItem))

        ## Equipment
        wndEquip.SetSelectEmptySlotEvent(ui.__mem_func__(self.SelectEmptySlot))
        wndEquip.SetSelectItemSlotEvent(ui.__mem_func__(self.SelectItemSlot))
        wndEquip.SetUnselectItemSlotEvent(ui.__mem_func__(self.UseItemSlot))
        wndEquip.SetUseSlotEvent(ui.__mem_func__(self.UseItemSlot))
        wndEquip.SetOverInItemEvent(ui.__mem_func__(self.OverInItem))
        wndEquip.SetOverOutItemEvent(ui.__mem_func__(self.OverOutItem))
 

 

Edited by SeraphimHU
Missing information
  • 4 months later...

Someone help me please

This is my problem
 

0607 21:15:50559 :: 
uiInventory.py(line:313) __LoadWindow
ui.py(line:2704) GetChild

InventoryWindow.LoadWindow.BindObject - <type 'exceptions.KeyError'>:'Inventory_Tab_03'

0607 21:15:50560 :: ============================================================================================================
0607 21:15:50560 :: Abort!!!!

8 hours ago, supra said:

Someone help me please

This is my problem
 

0607 21:15:50559 :: 
uiInventory.py(line:313) __LoadWindow
ui.py(line:2704) GetChild

InventoryWindow.LoadWindow.BindObject - <type 'exceptions.KeyError'>:'Inventory_Tab_03'

0607 21:15:50560 :: ============================================================================================================
0607 21:15:50560 :: Abort!!!!

You forgot to implement the locale/xx/ui/inventroywindow.py part.

  • Metin2 Dev 1
  • Good 1
16 hours ago, covfefe said:

You forgot to implement the locale/xx/ui/inventroywindow.py part.

now this the problem
 

0608 22:38:17630 :: Traceback (most recent call last):

0608 22:38:17630 ::   File "networkModule.py", line 247, in SetGamePhase

0608 22:38:17630 ::   File "game.py", line 98, in __init__

0608 22:38:17630 ::   File "interfaceModule.py", line 286, in MakeInterface

0608 22:38:17630 ::   File "interfaceModule.py", line 170, in __MakeWindows

0608 22:38:17631 ::   File "uiInventory.py", line 262, in __init__

0608 22:38:17631 ::   File "uiInventory.py", line 399, in __LoadWindow

0608 22:38:17631 ::   File "uiInventory.py", line 464, in SetInventoryPage

0608 22:38:17631 :: AttributeError
0608 22:38:17631 :: : 
0608 22:38:17631 :: 'InventoryWindow' object has no attribute 'inventoryPageIndex'
0608 22:38:17631 :: 

  • 3 weeks later...

Hello. Im new to this stuff so if you could help i would really appreciate! I have this problem:

https://metin2.download/picture/GIJ1rKas4zgBxa131bZmQ1hn22NKVe5p/.png

Thanks!

Edited by Metin2 Dev
Core X - External 2 Internal
  • 4 months later...

Maybe someone already answered to my problem but i can't find it.
I sucesfully implemented everything. It works finally even the belt slot etc. I can put everything in all 4 inventory pages but can't equip items only from page 1.
(Update: can equip from them but can't swap them if i got an item already equipped)

Edited by Crazor
  • 2 years later...

I know i'm kinda late on this one, BUT, if you have the syserr:

InventoryWindow.LoadWindow.BindObject - <type 'exceptions.KeyError'>:'Inventory_Tab_03'

You are probably editing the wrong inventorywindow.py because there are 2.

One is used when MALL is deactivated and another when MALL is active.
See: (uiiventory.py)
 

if ITEM_MALL_BUTTON_ENABLE:
    pyScrLoader.LoadScriptFile(self, uiScriptLocale.LOCALE_UISCRIPT_PATH + "InventoryWindow.py")
else:
    pyScrLoader.LoadScriptFile(self, "UIScript/InventoryWindow.py")

By Default, ITEM_MALL is True (See at top of the uiinventory.py) you need to edit inventorywindow.py in locale_xx/locale/xx/ui

If ITEM_MALL is False, he will use inventorywindow.py in uiscript.

I found this out because it happened to me and i was actually editing the wrong file.

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.