Hello , i am using acis free source and i have a problem i can't fiind where to look for i am drowning :=\
Im asking you guys for any hint or maybe someone who got into same problem can help me.
Problem is that , when i try to use a skill that has reuse delay on, for example rapid shot , character stop moving , i have noticed that this thing is not happening when i try to use rapid shot and there is no delay on skill character will cast/use skill and continue moving where he was moving to before using skill. why is this not happening when skill has reuse delay ?
//edit: it should write skill is not ready or something like this , i don't get any msg also , also when no mp do same stop moving
//edit2: problem fixed
i moved this checks
if (getCurrentMp() < getStat().getMpConsume(skill) + getStat().getMpInitialConsume(skill))
{
// Send a System Message to the caster
sendPacket(SystemMessage.getSystemMessage(SystemMessageId.NOT_ENOUGH_MP));
abortCast();
// Send ActionFailed to the L2PcInstance
sendPacket(ActionFailed.STATIC_PACKET);
return;
}
if (skill == null || isSkillDisabled(skill))
{
// Send ActionFailed to the L2PcInstance
from checkDoCastConditions to begincast , only difference is now the return is not written as return false , but only return .. this is still a mistery to me , aa also added this getAI().notifyEvent(CtrlEvent.EVT_FINISH_CASTING);
Hey! It's been years since I tried this, just redownloaded everything for the nostalgia but I'm having the "mismatch" problem.
You were right, I used another system, not the one from the post! My bad!
Now I can't find the system that works with AuthGateD 🤣
I see you have found it and uploaded it but the link you provided no longer works. If you are still around, can you please reupload? Thank you!
Question
arm4729
Hello , i am using acis free source and i have a problem i can't fiind where to look for i am drowning :=\
Im asking you guys for any hint or maybe someone who got into same problem can help me.
Problem is that , when i try to use a skill that has reuse delay on, for example rapid shot , character stop moving , i have noticed that this thing is not happening when i try to use rapid shot and there is no delay on skill character will cast/use skill and continue moving where he was moving to before using skill. why is this not happening when skill has reuse delay ?
//edit: it should write skill is not ready or something like this , i don't get any msg also , also when no mp do same stop moving
//edit2: problem fixed
i moved this checks
if (getCurrentMp() < getStat().getMpConsume(skill) + getStat().getMpInitialConsume(skill))
{
// Send a System Message to the caster
sendPacket(SystemMessage.getSystemMessage(SystemMessageId.NOT_ENOUGH_MP));
abortCast();
// Send ActionFailed to the L2PcInstance
sendPacket(ActionFailed.STATIC_PACKET);
return;
}
if (skill == null || isSkillDisabled(skill))
{
// Send ActionFailed to the L2PcInstance
sendPacket(SystemMessage.getSystemMessage(SystemMessageId.S1_PREPARED_FOR_REUSE).addSkillName(skill));
abortCast();
return;
}
from checkDoCastConditions to begincast , only difference is now the return is not written as return false , but only return .. this is still a mistery to me , aa also added this getAI().notifyEvent(CtrlEvent.EVT_FINISH_CASTING);
Edited by arm47293 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now