Jump to content

Zimo2014

Member
  • Posts

    25
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Zimo2014

  1. On 6/1/2022 at 2:32 AM, Marcos17 said:

    Help Plies...

     

    0531 21:15:17998 :: 
    uiShop.py(line:73) LoadDialog
    ui.py(line:2768) GetChild

    ShopDialog.LoadDialog.BindObject - <type 'exceptions.KeyError'>:'MiddleTab1'

    0531 21:15:17998 :: ============================================================================================================
    0531 21:15:17998 :: Abort!!!!

    Just add it in shopdialog.py

    • Metin2 Dev 1
  2. 48 minutes ago, V0lvox said:

    The source is not the problem.
    It depends on your skills to adapt this system.
    First you have to know the subtypes. 
    Is there one subtype for all weapons or is there a subtype for every type ?

     

    elif itemSubType == 2: #weapon	
    	if player.GetRace() != 7 and player.GetRace() != 3:
    		self.__ModelPreview(itemVnum, 3, player.GetRace(),slotIndex)
    	if player.GetRace() == 5 or player.GetRace() == 1:
    		self.__ModelPreview(itemVnum, 3, player.GetRace(),slotIndex)
    	if player.GetRace() == 0 or player.GetRace() == 4:
    		self.__ModelPreview(itemVnum, 3, player.GetRace(),slotIndex)		
    	if player.GetRace() == 7 or player.GetRace() == 3:
    		self.__ModelPreview(itemVnum, 3, player.GetRace(),slotIndex)
    
    OR
    
    elif itemSubType in CustumWeaponSubTypeArray:
    ...

     

    i tested this and it doesn't work

     

×
×
  • 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.