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);
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.
2 clients:
StyleA: Original client
test1: Unity client
Monster kills are displayed correctly on both clients. Soon it will be possible to kill mobs in a party on 2 different clients
I apologize for my incompetence. The ability to trade is limited only for builder 1. Ordinary characters can trade with each other, and this has nothing to do with auto loot.)
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
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.