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.



  • Posts

    • You always find a way to lower the bar. Consistency matters. I admire your dedication to being completely unaware of how little you matter.     at least you are not entirely useless you can always serve as a bad example
    • hahahahahahahahahahahaha this says more about MaxCheaters than about me xD
    • I already finished my panel for change name and gender, anyway need restart, im used schema  $stmt = $conn->prepare("EXEC lin_ChangeCharacterName2 ?, ?, ?"); for change name... also for change gender i used if ($race == 5) // Kamael race ID; modify this value as per your database { $error = "Gender change is not allowed for Kamael race characters."; } else { $stmt = $conn->prepare(" UPDATE user_data SET gender = ?, face_index = 0, hair_shape_index = 0, hair_color_index = 0 WHERE char_id = ? AND account_name = ? "); Sorry no idea how to add cached update in myext64 about, not have any  solution for this yet compatible to myext64 code. This is my panel make in php http://177.73.143.43:8080/account/ Cool panel for me, without experience in any code. Without help from any people here 🙄
    • Базы данных от прямых источников!                                  Холодка                 Реги                 Депы                 Богатые физики                                  Много актуальных гео!                 Замена брака!                 Гарант+                                  Контакты                 ТГ - @yashkatsigun    
    • Don't listen to that idiot @Nightw0lf — he doesn't know or understand anything... he just talks nonsense. Here's the solution, just to prove that they're the useless ones giving you meaningless and useless answers.   function disableCharacter($charId){ $buf = pack("cVV", 0x14, $charId, 1); return $this->Send($buf); } function enableCharacter($charId, $accountId){ $buf = pack("cVV", 0x15, $charId, $accountId); return $this->Send($buf); } function kickCharacter($charId) { $buf = pack("cV", 0x05, $charId); $tmp = $this->Send($buf); sleep(2); return $tmp; } //-------------------------------------------------------------------------------- if ($func==7)//DESHABILITAR PERSONAJE { $char_id = $var1; $CACHED->kickCharacter($char_id); $respuesta = $CACHED->disableCharacter($char_id); RegistrarActividad("disableCharacter",$respuesta,GetCharNameByCharId($char_id)."(".$char_id.")",0,0,0,0); } else if ($func==8)//HABILITAR PERSONAJE { $char_id = $var1; $account_id = $var2; $CACHED->kickCharacter($char_id); $respuesta = $CACHED->enableCharacter($char_id,$account_id); RegistrarActividad("enableCharacter",$respuesta,GetCharNameByCharId($char_id)."(".$char_id.")",$account_id,0,0,0); } //-------------------------------------------------------------------------------- $CACHED->disableCharacter($char_id); $tabla = sqlsrv_query($conexion_lin2world, "UPDATE user_data SET xxxxxxxxxxxx WHERE char_id=".$char_id.""); $CACHED->enableCharacter($char_id,$account_id); Now just compare the stupidity said by that imbecile @Nightw0lf with the answer I gave you... Thanks to people like this, MaxCheaters is in the state it's in... They keep following useless people who are good for nothing 😉  
  • Topics

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