Trying to replicate retail bug.

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
nacho692
Posts: 28
Joined: Mon May 10, 2010 4:15 pm

Trying to replicate retail bug.

Post 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?
JMD
Advanced User
Advanced User
Posts: 1440
Joined: Wed Apr 15, 2009 10:07 am

Re: Trying to replicate retail bug.

Post by JMD »

sometimes something like this happens to me when summoning cp pots.
nacho692
Posts: 28
Joined: Mon May 10, 2010 4:15 pm

Re: Trying to replicate retail bug.

Post 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.
Post Reply