L2JMobius

C4 Bug party (visual)

franchus22 · 16 · 6635

Offline franchus22

  • Heir
  • **
    • Posts: 14
when I restart the character the party is still showing

https://ibb.co/JRS03gF


Offline Pirsys

  • Knight
  • ***
    • Posts: 67
      // Set online status
      player.setOnlineStatus(true);
      player.leaveParty(); //removeparty (Bad Fix)?
      player.setRunning(); // running is default
      player.standUp(); // standing is default
      player.broadcastKarma(); // include UserInfo
      

  https://ibb.co/4m2Jq2f


Online Mobius

  • Distinguished King
  • *****
    • Posts: 16006

Offline Pirsys

  • Knight
  • ***
    • Posts: 67
no, the problem is not that I do not leave the party ... the line I add is useless


Online Mobius

  • Distinguished King
  • *****
    • Posts: 16006

Offline Pirsys

  • Knight
  • ***
    • Posts: 67

It would be an option, but it would not be the solution to the base problem, I think ...


Online Mobius

  • Distinguished King
  • *****
    • Posts: 16006
Try this.
Code: [Select]
Index: java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
===================================================================
--- java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java (revision 8275)
+++ java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java (working copy)
@@ -13461,6 +13461,9 @@
  }
  }
 
+ // Leave party.
+ leaveParty();
+
  // Remove from world regions zones
  if (getWorldRegion() != null)
  {


Offline Pirsys

  • Knight
  • ***
    • Posts: 67
mobius, let me explain ... the problem is not that it does not leave the party, but rather that when logging out and logging in again, even though it is not in the party, it continues to appear as if it was ... if you want I can pass you a video so that you can appreciate it better ...


Online Mobius

  • Distinguished King
  • *****
    • Posts: 16006
I understand.
With the change above I hope by leaving the party on logout the apropiate packets will be sent to client,
so that on login it wont show it.


Offline Pirsys

  • Knight
  • ***
    • Posts: 67
What you say is correct but look at the image that I leave you below ...


already compile again and replace the file "GameServer.jar" and the result is that ...


https://ibb.co/QkdL7nP


Offline Pirsys

  • Knight
  • ***
    • Posts: 67
and regarding the animation bug when unstuck is taken it still persists. I don't want to create another post because there is already one in the solved problems section


Online Mobius

  • Distinguished King
  • *****
    • Posts: 16006
and regarding the animation bug when unstuck is taken it still persists. I don't want to create another post because there is already one in the solved problems section

If it still persists make a post.


Online Mobius

  • Distinguished King
  • *****
    • Posts: 16006
Try this.
More like a tempfix, it should work.
Code: [Select]
Index: java/org/l2jmobius/gameserver/network/clientpackets/EnterWorld.java
===================================================================
--- java/org/l2jmobius/gameserver/network/clientpackets/EnterWorld.java (revision 8275)
+++ java/org/l2jmobius/gameserver/network/clientpackets/EnterWorld.java (working copy)
@@ -79,6 +79,7 @@
 import org.l2jmobius.gameserver.network.serverpackets.ItemList;
 import org.l2jmobius.gameserver.network.serverpackets.MagicSkillUse;
 import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
+import org.l2jmobius.gameserver.network.serverpackets.PartySmallWindowDeleteAll;
 import org.l2jmobius.gameserver.network.serverpackets.PlaySound;
 import org.l2jmobius.gameserver.network.serverpackets.PledgeShowMemberListAll;
 import org.l2jmobius.gameserver.network.serverpackets.PledgeShowMemberListUpdate;
@@ -478,6 +479,9 @@
  // Send all skills to char
  player.sendSkillList();
 
+ // Remain in party after logout fix.
+ player.sendPacket(new PartySmallWindowDeleteAll());
+
  // Close lock at login
  player.setLocked(false);
  }


Offline Pirsys

  • Knight
  • ***
    • Posts: 67
mobius, I have not tried it yet ... but the fact of wanting to solve the errors that may appear and the good predisposition for us speaks very well of you. :D :D