Jump to content

[talisman] can't equip


Recommended Posts

Good evening guys, 

 

I use this system from @Rakancito

The implementation was easy but I have a problem I can't equip the talisman I have tryed 3 ways 

 

Here a archive with all files for equip 

This is the hidden content, please

 

 

When you need more informations or files I can upload too 

 

 

I use only the value 10060

Here pictures from my item_proto client side

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

 

MySQL :

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

 

I hope anyone can help me 

 

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 8
  • Not Good 1
  • Good 4
  • Love 1
  • Love 2
Link to comment
Share on other sites

  • 9 months later...
  • 6 months later...
  • 9 months later...

length.h:

Spoiler

enum EWearPositions
{
    WEAR_BODY,        // 0
    WEAR_HEAD,        // 1
    WEAR_FOOTS,        // 2
    WEAR_WRIST,        // 3
    WEAR_WEAPON,    // 4
    WEAR_NECK,        // 5
    WEAR_EAR,        // 6
    WEAR_UNIQUE1,    // 7
    WEAR_UNIQUE2,    // 8
    WEAR_ARROW,        // 9
    WEAR_SHIELD,    // 10
    WEAR_ABILITY1,  // 11
    WEAR_ABILITY2,  // 12
    WEAR_ABILITY3,  // 13
    WEAR_ABILITY4,  // 14
    WEAR_ABILITY5,  // 15
    WEAR_ABILITY6,  // 16
    WEAR_ABILITY7,  // 17
    WEAR_ABILITY8,  // 18
    WEAR_COSTUME_BODY,    // 19
    WEAR_COSTUME_HAIR,    // 20
#ifdef __SASH_SYSTEM__
    WEAR_COSTUME_SASH,    //21
#endif
#ifdef __WEAPON_COSTUME_SYSTEM__
    WEAR_COSTUME_WEAPON,    //22
#endif
#ifdef ITEM_TALISMAN_EQUIPMENT
    WEAR_PENDANT, // 23
#endif
#ifdef __MOUNT_COSTUME_SYSTEM__
    WEAR_COSTUME_MOUNT,    // 24
#endif
#ifdef WJ_EXTENDED_PET_SYSTEM
    WEAR_PET,            // 25
#endif
#ifdef ENABLE_RING_SYSTEM
    WEAR_RING3,            // 26
    WEAR_RING4,            // 27
#endif    

    WEAR_RING1,            // 28    : 신규 반지슬롯1 (왼쪽)
    WEAR_RING2,            // 29    : 신규 반지슬롯2 (오른쪽)

    WEAR_BELT,            // 30    : 신규 벨트슬롯
    


    WEAR_MAX = 32    // 
};

GameType.h:

Spoiler

#ifdef ENABLE_COSTUME_SYSTEM
    const DWORD c_Costume_Slot_Start    = c_Equipment_Start + 19;    // [ÁÖŔÇ] ĽýŔÚ(19) ÇϵĺÄÚµů ÁÖŔÇ. ÇöŔç Ľ­ąöżˇĽ­ ÄÚ˝şĂő ˝˝·ÔŔş 19şÎĹÍŔÓ. Ľ­ąö common/length.h ĆÄŔĎŔÇ EWearPositions ż­°ĹÇü Âü°í.
    const DWORD    c_Costume_Slot_Body        = c_Costume_Slot_Start + 0;
    const DWORD    c_Costume_Slot_Hair        = c_Costume_Slot_Start + 1;
#ifdef ENABLE_SASH_SYSTEM
    const DWORD    c_Costume_Slot_Sash = c_Costume_Slot_Start + 2;
#endif
#ifdef ENABLE_COSTUME_WEAPON_SYSTEM
    const DWORD c_Costume_Slot_Weapon = c_Costume_Slot_Start + 3;
#endif
#ifdef ITEM_TALISMAN_EQUIPMENT
    const DWORD c_Equipment_Pendant = c_Costume_Slot_Start + 4;
#endif
    const DWORD    c_Costume_Slot_Mount = c_Costume_Slot_Start + 5;

#ifdef WJ_EXTENDED_PET_SYSTEM
    const DWORD c_Equipment_Pet = c_Costume_Slot_Start + 6;
#ifdef ENABLE_RING_SYSTEM
    const DWORD c_Equipment_Ring3 = c_Costume_Slot_Start + 7;
    const DWORD c_Equipment_Ring4 = c_Costume_Slot_Start + 8;
#endif
#endif


#ifdef ITEM_TALISMAN_EQUIPMENT
    const DWORD c_Costume_Slot_Count = 9;
#else
    const DWORD c_Costume_Slot_Count = 4;

#ifdef ENABLE_SASH_SYSTEM
    const DWORD c_Costume_Slot_Count = 4;
#else
    const DWORD c_Costume_Slot_Count = 2;
#endif
#endif
    const DWORD c_Costume_Slot_End        = c_Costume_Slot_Start + c_Costume_Slot_Count;
#endif

ItemData.h:

Spoiler

        enum EWearPositions
        {
            WEAR_BODY,        // 0
            WEAR_HEAD,        // 1
            WEAR_FOOTS,        // 2
            WEAR_WRIST,        // 3
            WEAR_WEAPON,    // 4
            WEAR_NECK,        // 5
            WEAR_EAR,        // 6
            WEAR_UNIQUE1,    // 7
            WEAR_UNIQUE2,    // 8
            WEAR_ARROW,        // 9
            WEAR_SHIELD,    // 10
            WEAR_ABILITY1,  // 11
            WEAR_ABILITY2,  // 12
            WEAR_ABILITY3,  // 13
            WEAR_ABILITY4,  // 14
            WEAR_ABILITY5,  // 15
            WEAR_ABILITY6,  // 16
            WEAR_ABILITY7,  // 17
            WEAR_ABILITY8,  // 18
            WEAR_COSTUME_BODY,    // 19
            WEAR_COSTUME_HAIR,    // 20
#ifdef ENABLE_SASH_SYSTEM
            WEAR_COSTUME_SASH,    //21
#endif
#ifdef ENABLE_COSTUME_WEAPON_SYSTEM
            WEAR_COSTUME_WEAPON,    //22
#endif
#ifdef ITEM_TALISMAN_EQUIPMENT
            WEAR_PENDANT, // 23
#endif
#ifdef ENABLE_MOUNT_COSTUME_SYSTEM
            WEAR_COSTUME_MOUNT,    // 24
#endif
#ifdef WJ_EXTENDED_PET_SYSTEM
            WEAR_PET,            // 25
#endif

#ifdef ENABLE_RING_SYSTEM
            WEAR_RING3,            // 26
            WEAR_RING4,            // 27
#endif    

            WEAR_RING1,            // 28    : 신규 반지슬롯1 (왼쪽)
            WEAR_RING2,            // 29    : 신규 반지슬롯2 (오른쪽)

            WEAR_BELT,            // 30    : 신규 벨트슬롯

            WEAR_MAX_NUM,
        };

 

Edited by Andris
  • Good 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



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