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.
Unlock Unlimited Access with GoProxy's Residential Proxies!
Experience seamless, secure, and unrestricted connectivity worldwide with GoProxy's Unlimited Residential Proxies.
Our service offers access to a global network of rotating residential IPs, ensuring top performance for your large-scale data collection, streaming, and more.
✔️Unlimited Traffic & IPs: Enjoy unrestricted access with our rotating residential proxies, delivering high performance through a vast global IP pool.
✔️High Success Rate: Achieve a 99.96% success rate with a rapid 0.6-second response time, ensuring efficient and reliable operations.
✔️Flexible Sessions: Customize IP rotation to fit your project needs, with options for automatic rotation and sticky sessions lasting up to 60 minutes.
✔️Global Coverage: Access IPs from over 120 countries, making it ideal for businesses requiring high bandwidth without region-specific constraints.
All plans include unlimited traffic and IPs, unlimited concurrent requests, and access to real residential IP addresses.
Elevate your online operations with GoProxy's Unlimited Residential Proxies—your smart choice for large-scale projects.
👉 Learn more and get started today: GoProxy Unlimited Proxies
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.