-
L2j aCis Toggle Movement Fix
I know many people have struggled with this specific issue and had trouble setting up the correct behavior for Toggle skills in aCis. By default, toggles interrupt the player's movement (retail-like), which often feels clunky to players who prefer a smoother, more modern experience. I've prepared a clean solution that eliminates this "freeze" and allows for fluid movement while toggling your auras. Below is the code on how to achieve this. Hope it helps! Changes in PlayerAI.java: Modified doActiveIntention to properly update the active state without stalling. Removed the forced stop() during toggle casting. Added a MoveToLocation broadcast to ensure other players see your movement correctly (prevents visual "teleporting" or desync). Best regards 😃 diff --git a/aCis_gameserver/java/net/sf/l2j/gameserver/model/actor/ai/type/PlayerAI.java b/aCis_gameserver/java/net/sf/l2j/gameserver/model/actor/ai/type/PlayerAI.java index ba0425a..1b2658d 100644 --- a/aCis_gameserver/java/net/sf/l2j/gameserver/model/actor/ai/type/PlayerAI.java +++ b/aCis_gameserver/java/net/sf/l2j/gameserver/model/actor/ai/type/PlayerAI.java @@ -28,6 +28,7 @@ import net.sf.l2j.gameserver.network.serverpackets.ActionFailed; import net.sf.l2j.gameserver.network.serverpackets.AutoAttackStart; import net.sf.l2j.gameserver.network.serverpackets.ChairSit; +import net.sf.l2j.gameserver.network.serverpackets.MoveToLocation; import net.sf.l2j.gameserver.network.serverpackets.MoveToLocationInVehicle; import net.sf.l2j.gameserver.network.serverpackets.MoveToPawn; import net.sf.l2j.gameserver.network.serverpackets.StopMove; @@ -159,7 +160,10 @@ @Override public synchronized void doActiveIntention() { - doIdleIntention(); + prepareIntention(); + _currentIntention.updateAsActive(); + if (!getActor().isMoving()) + thinkIdle(); } @Override @@ -280,8 +284,9 @@ if (skill.isToggle()) { - getActor().getMove().stop(); getActor().getCast().doToggleCast(skill, target); + if (getActor().isMoving()) + getActor().broadcastPacket(new MoveToLocation(getActor())); } else { https://pastebin.com/twZujZ3Y
-
Medson™ changed their profile photo
-
-
Interlude Patch/Skillgrp/Effects
What interface are you using? Is it available somewhere?
-
Agathions aCis 401, does not interfere with summons or pets
I Understand. Really well done modification just a few tweaks and it will be great 🙂
-
Agathions aCis 401, does not interfere with summons or pets
Thanks for sharing this modification. Everything works fine, but agathion should always fly from back of character, and when character is standing still, it doesn't move by itself.
-
Monster Race - The retail event of Lineage II
On my server's TO-DO list, I had a similar rework of monster race and fishing. I can now cross one thing off my list thanks to you. 👍
-
Buffs master, version 1.0!
Nicely made buffer thanks for sharing.
-
Ant Guard - Example of possible use (Polymorphing)
Ant Guard - Example of possible use (Polymorphing) Referring to the Ant Guard monster added yesterday, I would like to show you one of the possibilities how you can use these monsters on server. That is, the ability to transform the monster into a larger one when its life decreases to the set value. For the creative, it gives the opportunity to create a cool event on the server. Instruction (aCis files): Import to source this java code: AntGuardPolymorphing.java path: net.sf.l2j.gameserver.scripting.script.ai.group once you do that, add a line: <script path="script.ai.group.AntGuardPolymorphing"/> to the scripts.xml file and done. If you have any questions, my discord: Medson#9114
-
Ant Guard with sounds and four sizes
A monster in four sizes that you can add to your server at your discretion. For example, to a farm zone or as a special boss.
-
Ant Guard with sounds and four sizes
Ant Guard with sounds and four sizes I present to you a monster in four sizes. Adapted to the Interlude client and aCis server files (but I think no one will have a problem adapting to other chronicles). If you have any questions, please contact via discord: Medson#9114 Download: MEGA: Ant_Guard_by_Medson Example of possible use (Polymorphing) If you like it, I will publish more such monsters.
-
Zonename set for new zones
+1 i have the same problem how make new zone name 🤔
-
MaxCheaters® New Year Lottery Event(2023)
11
-
Unlock interface.xdat
Thank u very much Neo ❤️ Could you unlock this file for me? https://www54.zippyshare.com/v/rEoCHPWv/file.html I would be very grateful 😊
-
Unlock interface.xdat
Hey. Can someone decode this file for me? https://www16.zippyshare.com/v/UgnRYXeE/file.html I need to edit it for my server but it's encoded and can't be used with xDat Editor...
-
maverickbomber started following Medson™
-
[L2] Tools for client
Psygrammator has already update the link.
-
[L2] Tools for client
Link dead.