SocketItemType Configuration

This configuration file lists the items that can carry seed sphere sockets and the maximum number of socket slots each one supports.

Any item type can be a socket item. There is no longer a fixed set of socketable categories - list any Section/Type here and it becomes socketable. The full table is sent to the client at login (game data sync), so the client recognizes exactly the items configured here for socket handling, drag-and-drop, and tooltips, with no client patch required.

File Location#

Data/Item/SocketItemType.xml

Dependencies#

Depends OnPurpose
Item.xmlItem definitions by Section/Type
Depended On ByPurpose
ItemOptionRate.xmlSocketOptions section picks the actual socket count on drop
SocketItemOption.xmlProvides seed, bonus, and package effects for sockets

How It Works#

  1. An item rolls a socket count from the SocketOptions table in ItemOptionRate.xml.
  2. If the item is listed in this file, up to MaxSocket slots are marked as empty (byte value 0xFE).
  3. Slots that are not created stay at 0xFF (no socket).
  4. Each created slot can later hold one seed sphere byte that encodes both the option index and the sphere level.

If the item is not listed here but is a Pentagram item (handled by the Pentagram system), socket slots are still created up to the engine limit of 5 without consulting this file.

Structure#

<SocketItemTypeList>
    <Item Section="0" Type="26" MaxSocket="3"/>
    <Item Section="0" Type="37" MaxSocket="5"/>
</SocketItemTypeList>

Attributes#

AttributeTypeRangeDescription
Sectionint0-15Item category
Typeint0-511Item type index within the category
MaxSocketint1-5Maximum number of sockets for this item

Item Index Calculation#

ItemIndex = Section * 512 + Type

Section Reference#

SectionCategory
0Swords
1Axes
2Maces / Scepters
3Spears
4Bows / Crossbows
5Staffs / Sticks
6Shields
7Helms
8Armor
9Pants
10Gloves
11Boots
12Wings / Orbs / Scrolls
13Misc (potions, pets, rings, pendants)
14Event / summon items
15Quest / misc items

Element Restriction by Section#

Socket element types are restricted by item section when seeds are generated:

Item SectionsAllowed Element Types
0-5 (weapons, staffs), excluding arrows/boltsFire (1), Ice (3), Lightning (5)
6-11 (shields, armor, pants, gloves, boots)Water (2), Wind (4), Earth (6)

See SocketItemOption.xml for the element numbering and per-type effects.

Examples#

<!-- Socket Swords -->
<Item Section="0" Type="26" MaxSocket="3"/>
<Item Section="0" Type="27" MaxSocket="3"/>
<Item Section="0" Type="28" MaxSocket="3"/>

<!-- Socket Staffs -->
<Item Section="5" Type="30" MaxSocket="3"/>
<Item Section="5" Type="31" MaxSocket="3"/>
<Item Section="5" Type="37" MaxSocket="5"/>

Important Behavior#

Common Issues#

Last updated July 2, 2026