Jump to content

AntV

Members
  • Posts

    7
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

About AntV

Profile Information

  • Gender
    Not Telling

AntV's Achievements

Newbie

Newbie (1/16)

0

Reputation

  1. Sorry for Necro... Is there a chance you upload again, it is deleted.
  2. Ok, thanks. I have created the items and their skills to change to the new faces and hair (it also changes the color so there are no buggy colors) items: 40000-40099.xml Items skill: 30000-30099.xml Just through them in the following folders: game/data/items/custom & game/data/skills/custom And remember to allow Custom Skills and Items from the Database. I haven't included the client side, but you'll need to edit etcitemgrp.dat and itemname-e.dat I still have an issue with the faces on male D.Elf and Male Orc Fighter, here's a pic:
  3. Yes, it works now, but I found the following issues: Both faces are "broken" for Male D.Elf and Male Orc Fighter (face is miss-placed to say the least) Some hair accessories break some combinations (they don't break all the hair, just for some races) No other color apart from 0 works (I'm not quite sure if the last one is an issue or if it is intentional)
  4. I checked it and it is working for the faces, but not for the hair. I opened it in FileEdit and it is missing the new the hair values.
  5. I also need some help with encrypting chargrp.txt to .dat... Snifi can you maybe give some hints on what we should change to make the ddf recognize them, or give us encrypted chargrp.txt? Pleeeeeeaaaaase ? ::)
  6. Sorry for Necro, but can someone update this? I cannot apply patch to UserInfo and CharInfo. The following part codes not fit: Index: java/com/l2jserver/gameserver/network/serverpackets/CharInfo.java =================================================================== --- java/com/l2jserver/gameserver/network/serverpackets/CharInfo.java (revision 5563) +++ java/com/l2jserver/gameserver/network/serverpackets/CharInfo.java (working copy) @@ -19,6 +19,7 @@ import com.l2jserver.gameserver.instancemanager.CursedWeaponsManager; import com.l2jserver.gameserver.model.actor.L2Decoy; import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; +import com.l2jserver.gameserver.model.actor.instance.L2PcInstance.VisualArmors; import com.l2jserver.gameserver.model.actor.templates.L2NpcTemplate; import com.l2jserver.gameserver.model.effects.AbnormalEffect; import com.l2jserver.gameserver.model.itemcontainer.Inventory; @@ -196,15 +197,15 @@ writeD(_inv.getPaperdollItemDisplayId(Inventory.PAPERDOLL_UNDER)); writeD(_inv.getPaperdollItemDisplayId(Inventory.PAPERDOLL_HEAD)); + + writeD(_activeChar.getVisualArmor(VisualArmors.RHand, false) != null ? _activeChar.getVisualArmor(VisualArmors.RHand, false).getItemId() : 0x00); + writeD(_activeChar.getVisualArmor(VisualArmors.LHand, false) != null ? _activeChar.getVisualArmor(VisualArmors.LHand, false).getItemId() : 0x00); - writeD(_airShipHelm == 0 ? _inv.getPaperdollItemDisplayId(Inventory.PAPERDOLL_RHAND) : _airShipHelm); - writeD(_airShipHelm == 0 ? _inv.getPaperdollItemDisplayId(Inventory.PAPERDOLL_LHAND) : 0); - - writeD(_inv.getPaperdollItemDisplayId(Inventory.PAPERDOLL_GLOVES)); - writeD(_inv.getPaperdollItemDisplayId(Inventory.PAPERDOLL_CHEST)); - writeD(_inv.getPaperdollItemDisplayId(Inventory.PAPERDOLL_LEGS)); - writeD(_inv.getPaperdollItemDisplayId(Inventory.PAPERDOLL_FEET)); - writeD(_inv.getPaperdollItemDisplayId(Inventory.PAPERDOLL_CLOAK)); + writeD(_activeChar.getVisualArmor(VisualArmors.Gloves, false) != null ? _activeChar.getVisualArmor(VisualArmors.Gloves, false).getItemId() : 0x00); + writeD(_activeChar.getVisualArmor(VisualArmors.Armor, false) != null ? _activeChar.getVisualArmor(VisualArmors.Armor, false).getItemId() : 0x00); + writeD(_activeChar.getVisualArmor(VisualArmors.Legs, false) != null ? _activeChar.getVisualArmor(VisualArmors.Legs, false).getItemId() : 0x00); + writeD(_activeChar.getVisualArmor(VisualArmors.Feet, false) != null ? _activeChar.getVisualArmor(VisualArmors.Feet, false).getItemId() : 0x00); + writeD(_activeChar.getVisualArmor(VisualArmors.Cloak, false) != null ? _activeChar.getVisualArmor(VisualArmors.Cloak, false).getItemId() : 0x00); writeD(_inv.getPaperdollItemDisplayId(Inventory.PAPERDOLL_RHAND)); writeD(_inv.getPaperdollItemDisplayId(Inventory.PAPERDOLL_HAIR)); writeD(_inv.getPaperdollItemDisplayId(Inventory.PAPERDOLL_HAIR2)); Index: java/com/l2jserver/gameserver/network/serverpackets/UserInfo.java =================================================================== --- java/com/l2jserver/gameserver/network/serverpackets/UserInfo.java (revision 5563) +++ java/com/l2jserver/gameserver/network/serverpackets/UserInfo.java (working copy) @@ -21,6 +21,7 @@ import com.l2jserver.gameserver.instancemanager.TerritoryWarManager; import com.l2jserver.gameserver.model.Elementals; import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; +import com.l2jserver.gameserver.model.actor.instance.L2PcInstance.VisualArmors; import com.l2jserver.gameserver.model.actor.templates.L2NpcTemplate; import com.l2jserver.gameserver.model.effects.AbnormalEffect; import com.l2jserver.gameserver.model.itemcontainer.Inventory; @@ -143,15 +144,15 @@ writeD(_activeChar.getInventory().getPaperdollItemDisplayId(Inventory.PAPERDOLL_LFINGER)); writeD(_activeChar.getInventory().getPaperdollItemDisplayId(Inventory.PAPERDOLL_HEAD)); - writeD(_airShipHelm == 0 ? _activeChar.getInventory().getPaperdollItemDisplayId(Inventory.PAPERDOLL_RHAND) : 0); - writeD(_airShipHelm == 0 ? _activeChar.getInventory().getPaperdollItemDisplayId(Inventory.PAPERDOLL_LHAND) : 0); + writeD(_activeChar.getVisualArmor(VisualArmors.RHand, false) != null ? _activeChar.getVisualArmor(VisualArmors.RHand, false).getItemId() : 0x00); + writeD(_activeChar.getVisualArmor(VisualArmors.LHand, false) != null ? _activeChar.getVisualArmor(VisualArmors.LHand, false).getItemId() : 0x00); - writeD(_activeChar.getInventory().getPaperdollItemDisplayId(Inventory.PAPERDOLL_GLOVES)); - writeD(_activeChar.getInventory().getPaperdollItemDisplayId(Inventory.PAPERDOLL_CHEST)); - writeD(_activeChar.getInventory().getPaperdollItemDisplayId(Inventory.PAPERDOLL_LEGS)); - writeD(_activeChar.getInventory().getPaperdollItemDisplayId(Inventory.PAPERDOLL_FEET)); - writeD(_activeChar.getInventory().getPaperdollItemDisplayId(Inventory.PAPERDOLL_CLOAK)); - writeD(_activeChar.getInventory().getPaperdollItemDisplayId(Inventory.PAPERDOLL_RHAND)); + writeD(_activeChar.getVisualArmor(VisualArmors.Gloves, false) != null ? _activeChar.getVisualArmor(VisualArmors.Gloves, false).getItemId() : 0x00); + writeD(_activeChar.getVisualArmor(VisualArmors.Armor, false) != null ? _activeChar.getVisualArmor(VisualArmors.Armor, false).getItemId() : 0x00); + writeD(_activeChar.getVisualArmor(VisualArmors.Legs, false) != null ? _activeChar.getVisualArmor(VisualArmors.Legs, false).getItemId() : 0x00); + writeD(_activeChar.getVisualArmor(VisualArmors.Feet, false) != null ? _activeChar.getVisualArmor(VisualArmors.Feet, false).getItemId() : 0x00); + writeD(_activeChar.getVisualArmor(VisualArmors.Cloak, false) != null ? _activeChar.getVisualArmor(VisualArmors.Cloak, false).getItemId() : 0x00); + writeD(_activeChar.getVisualArmor(VisualArmors.RHand, false) != null ? _activeChar.getVisualArmor(VisualArmors.RHand, false).getItemId() : 0x00); writeD(_activeChar.getInventory().getPaperdollItemDisplayId(Inventory.PAPERDOLL_HAIR)); writeD(_activeChar.getInventory().getPaperdollItemDisplayId(Inventory.PAPERDOLL_HAIR2)); writeD(_activeChar.getInventory().getPaperdollItemDisplayId(Inventory.PAPERDOLL_RBRACELET)); It seems those two files are very different from what they were back when this was posted.
×
×
  • Create New...