Jump to content

Recommended Posts

Posted

I HAVE TWO WEAPONS DUSK AND DAWN IF I EQUIP ONLY THE DAWN I CAN SEE IN MY CHAR THE WEAPON IF I PUT AND DUSK THE DAWN REMOVE IT FROM CHAR BUT I HAVE IT IN MY GEAR ANYONE HELP ME? thanks!!!! 

Posted
26 minutes ago, Varoufakhs said:

I HAVE TWO WEAPONS DUSK AND DAWN IF I EQUIP ONLY THE DAWN I CAN SEE IN MY CHAR THE WEAPON IF I PUT AND DUSK THE DAWN REMOVE IT FROM CHAR BUT I HAVE IT IN MY GEAR ANYONE HELP ME? thanks!!!! 

Hello. Do you have the opportunity to show us a video or gif or screen?

Posted (edited)
On 4/1/2020 at 10:12 PM, Varoufakhs said:

clan11111.gif

isn't problem of server or db ..is problem of your files.. if u copy the l2.ini into another server files .im sure you will able to see them both ..

Edited by scraw
Posted
3 hours ago, scraw said:

isn't problem of server or db ..is problem of your files.. if u copy the l2.ini into another server files .im sure you will able to see them both ..

Nope it's the same...

Posted (edited)

I haven't seen anybody else, except xdem & myself doing something about it.

Here it is from L2Finest. Replace the 9999(9) with the ID from Dawn.

Probably can be fixed on client side, but I never wasted my time on it.

This topic can be moved from client to l2j server.

 

Index: src/net/sf/l2j/gameserver/network/serverpackets/CharInfo.java
===================================================================
--- src/net/sf/l2j/gameserver/network/serverpackets/CharInfo.java	(revision 2)
+++ src/net/sf/l2j/gameserver/network/serverpackets/CharInfo.java	(working copy)
@@ -2,10 +2,10 @@
 import net.sf.l2j.gameserver.enums.skills.AbnormalEffect;
 import net.sf.l2j.gameserver.model.actor.Player;
 import net.sf.l2j.gameserver.model.actor.Summon;
+import net.sf.l2j.gameserver.model.item.instance.ItemInstance;
 import net.sf.l2j.gameserver.model.itemcontainer.Inventory;
 
 public class CharInfo extends L2GameServerPacket
@@ -51,7 +51,11 @@
 		writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_LEGS));
 		writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_FEET));
 		writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_BACK));
-		writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_RHAND));
+		final ItemInstance item = _player.getInventory().getItemByItemId(99999999999999999999999999999999999);
+		if (item != null && item.isEquipped())
+			writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_LRHAND));
+		else
+			writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_RHAND));
 		writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_HAIR));
 		writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_FACE));
 		
Index: src/net/sf/l2j/gameserver/network/serverpackets/UserInfo.java
===================================================================
--- src/net/sf/l2j/gameserver/network/serverpackets/UserInfo.java	(revision 2)
+++ src/net/sf/l2j/gameserver/network/serverpackets/UserInfo.java	(working copy)
@@ -3,10 +3,10 @@
 import net.sf.l2j.Config;
 import net.sf.l2j.gameserver.data.manager.CursedWeaponManager;
 import net.sf.l2j.gameserver.enums.PolyType;
-import net.sf.l2j.gameserver.enums.TeamType;
 import net.sf.l2j.gameserver.enums.skills.AbnormalEffect;
 import net.sf.l2j.gameserver.model.actor.Player;
 import net.sf.l2j.gameserver.model.actor.Summon;
+import net.sf.l2j.gameserver.model.item.instance.ItemInstance;
 import net.sf.l2j.gameserver.model.itemcontainer.Inventory;
 
 public class UserInfo extends L2GameServerPacket
@@ -70,10 +70,15 @@
 		writeD(_player.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_LEGS));
 		writeD(_player.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_FEET));
 		writeD(_player.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_BACK));
-		writeD(_player.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_RHAND));
+		
+		final ItemInstance item = _player.getInventory().getItemByItemId(99999999999999999999999999999999999);
+		if (item != null && item.isEquipped())
+			writeD(_player.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_LRHAND));
+		else
+			writeD(_player.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_RHAND));
+		
 		writeD(_player.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_HAIR));
 		writeD(_player.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_FACE));
-		
 		writeD(_player.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_HAIRALL));
 		writeD(_player.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_REAR));
 		writeD(_player.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_LEAR));
@@ -88,7 +93,12 @@
 		writeD(_player.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_LEGS));
 		writeD(_player.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_FEET));
 		writeD(_player.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_BACK));
-		writeD(_player.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_RHAND));
+		
+		if (item != null && item.isEquipped())
+			writeD(_player.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_LRHAND));
+		else
+			writeD(_player.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_RHAND));
+		
 		writeD(_player.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_HAIR));
 		writeD(_player.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_FACE));
 		

 

Edited by Trance

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock