No success/fail info
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 19
- Joined: Sat Nov 06, 2010 1:03 pm
No success/fail info
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:4425
L2JDP Revision Number:7669
Hi,
first of all i want to 10x to l2j devs for the job that they are doing.
My problem is that when character use any kind of debuff skill there is no info about success or fail of used skill.
I mean there is no way to know did your atack(debuf) is landed or no(only way is to see animation: stars when stun is successfull). If some one can help me it will be gread.
I dont think it is bug that is why i post here. May be is a little think but...
» Find Revision
L2J Revision Number:4425
L2JDP Revision Number:7669
Hi,
first of all i want to 10x to l2j devs for the job that they are doing.
My problem is that when character use any kind of debuff skill there is no info about success or fail of used skill.
I mean there is no way to know did your atack(debuf) is landed or no(only way is to see animation: stars when stun is successfull). If some one can help me it will be gread.
I dont think it is bug that is why i post here. May be is a little think but...
-
- Posts: 173
- Joined: Fri Nov 06, 2009 6:32 am
- Location: Argentina
Re: No success/fail info
It is client side problem.. change the system
Someone once told me: "The easiest way of doing things, making them the hard way" 

- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: No success/fail info
no it's not, it's calculated serverside, client only shows the appropriate animation.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Posts: 19
- Joined: Sat Nov 06, 2010 1:03 pm
Re: No success/fail info
yes show anymation and effect is done (when skill success) but no sign at all about success or fail.jurchiks wrote:no it's not, it's calculated serverside, client only shows the appropriate animation.
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: No success/fail info
data/scripts/handlers/skillhandlers/Disablers.java:
As you can see, if the skill is resisted, a system message is sent to the player. It's pretty much the same for all debuffs.
But I can't find a success message anywhere...
Code: Select all
case ROOT: case DISARM: case STUN: { if (Formulas.calcSkillReflect(target, skill) == Formulas.SKILL_REFLECT_SUCCEED) target = activeChar; if (Formulas.calcSkillSuccess(activeChar, target, skill, shld, ss, sps, bss)) skill.getEffects(activeChar, target, new Env(shld, ss, sps, bss)); else { if (activeChar instanceof L2PcInstance) { SystemMessage sm = new SystemMessage(SystemMessageId.C1_RESISTED_YOUR_S2); sm.addCharName(target); sm.addSkillName(skill); activeChar.sendPacket(sm); } } break; }
But I can't find a success message anywhere...
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Posts: 19
- Joined: Sat Nov 06, 2010 1:03 pm
Re: No success/fail info
Can be easily made with success msg coz for me is a little bit not good to have message only for fail. Can be made a massage % for success landing skill/debuff?
P.S. i am not sure did i have to make other topic for % success landing skill/debuff, if have to pls tell i will made.
P.S. i am not sure did i have to make other topic for % success landing skill/debuff, if have to pls tell i will made.
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: No success/fail info
well, it should work like this:
Edit: dunno what you mean by that % success...
Code: Select all
if (Formulas.calcSkillSuccess(activeChar, target, skill, shld, ss, sps, bss)) { skill.getEffects(activeChar, target, new Env(shld, ss, sps, bss)); SystemMessage sm = new SystemMessage(SystemMessageId.S1_SUCCEEDED); sm.addSkillName(skill); activeChar.sendPacket(sm); } else if (activeChar instanceof L2PcInstance) { SystemMessage sm = new SystemMessage(SystemMessageId.C1_RESISTED_YOUR_S2); sm.addCharName(target); sm.addSkillName(skill); activeChar.sendPacket(sm); }
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
- Natla
- Posts: 26
- Joined: Thu Nov 11, 2010 12:46 am
- Location: Venezuela
Re: No success/fail info
hummm maybe he wants a colored system? 

-
- Posts: 173
- Joined: Fri Nov 06, 2009 6:32 am
- Location: Argentina
Re: No success/fail info
Client sideNatla wrote:hummm maybe he wants a colored system?
Someone once told me: "The easiest way of doing things, making them the hard way" 

-
- Posts: 19
- Joined: Sat Nov 06, 2010 1:03 pm
Re: No success/fail info
I have seen that on some russion servers. There is shown your chance of landing skill/debuff.jurchiks wrote: Edit: dunno what you mean by that % success...
I cant remember exactly but there is writen something like this:
You use stun
Stun chance 95%
Stun failed
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: No success/fail info
meh, I won't bother with that.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- L2j Veteran
- Posts: 3437
- Joined: Wed Apr 30, 2008 8:53 am
- Location: Russia
Re: No success/fail info
Use .debug voice command (enabled in l2jmods) or //debug admin command. Require some knowledge.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
public static final int PI = 3.1415926535897932384626433832795;