L2JMobius

C4 Animation

franchus22 · 14 · 6337

Offline franchus22

  • Heir
  • **
    • Posts: 14
the problem occurs when using 2 accounts, I tried a different system and it happens anyway, any ideas?


Online Mobius

  • Distinguished King
  • *****
    • Posts: 16064
Quite strange, what if cast ends normally without escape?


Offline franchus22

  • Heir
  • **
    • Posts: 14
Also happens, I can't find the error, check absolutely everything from server / client side, it's too annoying. sorry for google translator


Online Mobius

  • Distinguished King
  • *****
    • Posts: 16064

Offline franchus22

  • Heir
  • **
    • Posts: 14
System, client and still happening. I did a test in the lisvus and l2jadmin pack, and it does not happen in these packs, the strange thing that does not always happen to me, I no longer know where to look, it would be nice if someone can try to reproduce it.


Online Mobius

  • Distinguished King
  • *****
    • Posts: 16064
After some testing I found out that it does not happen on C6.
This is definetly packet related, but I have time to debug what is different.


Offline franchus22

  • Heir
  • **
    • Posts: 14
userinfo? when the bug occurs with the other accounts I see it normal


Online Mobius

  • Distinguished King
  • *****
    • Posts: 16064
I tried many packet changes, nothing worked.


Offline franchus22

  • Heir
  • **
    • Posts: 14
I too, since the day I made the post I am looking for the solution and I can not find it, I really do not know what else to do



Online Mobius

  • Distinguished King
  • *****
    • Posts: 16064
Try this.
Code: [Select]
Index: java/org/l2jmobius/gameserver/handler/itemhandlers/ScrollOfEscape.java
===================================================================
--- java/org/l2jmobius/gameserver/handler/itemhandlers/ScrollOfEscape.java (revision 7754)
+++ java/org/l2jmobius/gameserver/handler/itemhandlers/ScrollOfEscape.java (working copy)
@@ -158,6 +158,12 @@
  return;
  }
 
+ if (player.isCastingNow())
+ {
+ player.sendMessage("You may not use this item while casting a skill.");
+ return;
+ }
+
  // Check if this is a blessed scroll, if it is then shorten the cast time.
  final int itemId = item.getItemId();
  final SystemMessage sm3 = new SystemMessage(SystemMessageId.USE_S1);
@@ -183,7 +189,6 @@
  // Abort combat.
  player.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
  player.abortAttack();
- player.abortCast(true);
  player.disableAllSkills();
 
  final Skill skill = SkillTable.getInstance().getSkill(escapeSkill, 1);


Offline franchus22

  • Heir
  • **
    • Posts: 14
apparently it works, I confirm later, thanks for your attention