L2JMobius

CT0 Show hair2 accessories

Lenox102 · 1 · 182

Offline Lenox102

  • Heir
  • **
    • Posts: 18
/L2J_Mobius_CT_0_Interlude/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java

Quote
find this code

Code: [Select]
   public static final int PAPERDOLL_FACE = 14;
   public static final int PAPERDOLL_HAIR = 15;
   public static final int PAPERDOLL_HAIR2 = 16;

and replace it with this

Code: [Select]
   public static final int PAPERDOLL_HAIR = 14;
   public static final int PAPERDOLL_HAIR2 = 15;
   public static final int PAPERDOLL_HAIRALL = 16;

/L2J_Mobius_CT_0_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/GMViewCharacterInfo.java
Quote
find this code

Code: [Select]
      writeInt(_player.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_FACE));
      writeInt(_player.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_FACE));

and replace it with this

Code: [Select]
      writeInt(_player.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_HAIR2));
      writeInt(_player.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_HAIR2));


/L2J_Mobius_CT_0_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/UserInfo.java
Quote
find this code

Code: [Select]
      writeInt(_player.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_FACE));     
      writeInt(_player.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_FACE));

and replace it with this

Code: [Select]
      writeInt(_player.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_HAIR2));
      writeInt(_player.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_HAIR2));