Page 1 of 1

Trying to replicate retail bug.

Posted: Thu Jul 04, 2013 10:11 pm
by nacho692
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number: 6090
L2JDP Revision Number: 9843


There's a bug in retail (there was at least till high five) in which if you /useskillforce (be it with macro or typing it), you can recast the skill a second before the cooldown finishes, before the skill clock thingy completes the cooldown cycle. (Maybe a bit sooner). It's always a static time.
This bug allows to get 0 cooldown on several skills with enough reuse buffs, because it applies the -1 second cooldown after the reuse multiplication.
Any idea how can I start looking into this?

Re: Trying to replicate retail bug.

Posted: Thu Jul 04, 2013 11:18 pm
by JMD
sometimes something like this happens to me when summoning cp pots.

Re: Trying to replicate retail bug.

Posted: Fri Jul 05, 2013 12:12 am
by nacho692
Does the client also check for reuse? Maybe useskillforce bypasses client check.
When editing the delay on L2Character.java

Code: Select all

 public void disableSkill(L2Skill skill, long delay)    {        if (skill == null)        {            return;        }                if (_disabledSkills == null)        {            _disabledSkills = new L2TIntObjectHashMap<>();        }                _disabledSkills.put(Integer.valueOf(skill.getReuseHashCode()), delay > 10 ? System.currentTimeMillis() + delay : Long.MAX_VALUE);    } 
Setting delay to 100ms and using useskillforce would let me spam skills, but just clicking on them wouldn't let me.