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);
ALISMS - SMS activation and mobile number rental service
What is ALISMS? - The ALISMS service allows you to receive SMS messages online using virtual numbers.
Who needs it? - ALISMS provides a real phone number linked to a physical SIM card, but accessible through our service. Such numbers are used to receive SMS messages, for example, to activate accounts on websites and in applications, without the need to share your personal phone number.
Prices:
Google from $0.02
Telegram from $0.14
Winzo from $0.03
Facebook from $0.01
Other services from $0.01
At your request, we can add any service, website, or messenger.
Limits on the number of simultaneous connections
The ALISMS service is designed for wholesale customers, so there are no limits on the number of simultaneous connections in our service.
Rewards
Referral program for customers: Bring a friend and get 5% lifetime income from them.
Referral program for software owners: Join the affiliate program and get 10% of the cost of each number registered using your software.
You can also create your own SMS activation service based on ALISMS - https://alisms.org/ru/create-website
Contacts
Website: https://alisms.org
Technical support: https://t.me/alismsorg_bot
Special offer for MAXCHEATERS forum users
Write the code MAXCHEATERS to technical support and get a test balance
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