Skip to content

Auto Attack Lockin

RiotRiot Reinboom··1 votes·80,365 views

Hello everyone!

We’ve been testing a kind-of quiet change on the PBE for awhile that we would like to bring forth very soon, and we’d like to bring it to your attentions: Attack lockin frames.

This change is intended to primarily make the last frames of attacking a bit more predictable, especially within slightly laggy environments. This helps smooth out experiences when your input frame timing mismatches from the server slightly.

#tl;dr There are 2 server frames right at the peak of an attack where your movement doesn’t interrupt that attack.

#Details The game server has a set frame tick rate. Each action takes a number of frames, depending on the action, to perform. It basically goes like this:

  1. Input happens.
  2. The attack spends some frames winding up. If you do any input at this time, the attack is canceled.
  3. The attack fires.
  4. The attack spends some frames winding down. If you do any input at this time, the attack still went off and you just get to move around. (This is essential for kiting!)

That’s the state as it is right now. On PBE it’s changed slightly:

  1. Input happens.
  2. The attack spends some frames winding up. If you do any input at this time, the attack is canceled.
  3. For 1 frame, any movement input is held on to.
  4. The attack fires.
  5. For 1 frame, any movement input is continued to be held on to. Then your queued movement is processed.
  6. The attack spends some frames winding down. If you do any input at this time, the attack still went off and you just get to move around. (This is essential for kiting!)

#In picture form O means “You can cancel the animation” and X means “Your movement is delayed until the next O” Each image represents 1 server frame (the server ticks at 30 fps)

http://i.imgur.com/hRXMgNz.png

http://i.imgur.com/qspgP5L.png

http://i.imgur.com/d5rcpww.png

http://i.imgur.com/oVwKWve.png

http://i.imgur.com/3g90vkF.png

http://i.imgur.com/DWw6Uik.png

92 Comments

mason water3 votes

FeelsBadMan

TotalJerk2 votes

I have one. Never use it, lol.

q4rc5daz2e7o2 votes

if you give it to me you will have a free cookie !

TotalJerk2 votes

it seems really cool at first but then you realize that playing on the PBE is more of a chore than it is actually fun for numerous reasons.

Medre2 votes

[{quoted}](name=Deep Terror Nami,realm=NA,application-id=A7LBtoKc,discussion-id=gERRx9dV,comment-id=0005,timestamp=2016-09-23T19:57:03.997+0000)

http://i.imgur.com/3gpiOVR.png[/img]

THIS !!! Playing since S3 and trying to get into PBE since S4 I wish Riot would actually give out some accounts to people that dont already have one.

MrBuffington1 votes

Honestly, I don't think I'd be able to test this; PBE is always so laggy for me I can't even tell if what I'm experiencing is a bug or just lag. I usually just give gameplay feedback

Ben R4mZ1 votes

[{quoted}](name=Deep Terror Nami,realm=NA,application-id=A7LBtoKc,discussion-id=gERRx9dV,comment-id=0005,timestamp=2016-09-23T19:57:03.997+0000)

http://i.imgur.com/3gpiOVR.png[/img]

Same dude. Although I am testing the Alpha Client...... so I shouldn't really complain.... If only it had custom games and bots I'd be happier.... not worrying about a crash in a real game and all.....

ltmetal1 votes

Too real ;_;

kayakninja18 votes

Will this fix the issue where you can get the sound and projectile without an attack actually going off?

RiotRiot Reinboom7 votes

That issue is caused from a client/server desync of sorts, and this change will help it. But it's not a 100% fix, especially if you experience high variable latency or packet loss.

AlistarMilking1 votes

What about the bug where your autoattack goes off but doesn't deal any damage on impact? It's really annoying when that happens while trying to CS

RiotRiot Reinboom5 votes

That's the same issue KayakNinja just described

Roit Gums5 votes

Thanks! , finally no more boosted attack cancelling

Draven Wun Trick5 votes

not sure if i like it. i'll have to see it and test it

JayHog19924 votes

I once cancelled an auto attack as Kled and the W passive triggered, forcing it to go on cooldown. (As in, he never used any of those 4 autos)

Was that intended or a bug? If it's the latter, should I report it?

Firestorm2 votes

I guess the cooldown starts during autoattack windup, not when the autoattack damage actually goes off.

cobra07981 votes

{quoted}

I once cancelled an auto attack as Kled and the W passive triggered, forcing it to go on cooldown. (As in, he never used any of those 4 autos)

Was that intended or a bug? If it's the latter, should I report it?

I was having this issue several times on live too and it is very irritating. I don't see a reason why they would intentionally put that in.

JayHog19921 votes

I mean, attack speed only matters between shots, not before the first shot. Having 2.5 and 0.5 attack speed doesn't matter before the first shot, only on the following shots.

I'm saying shots, because I was thinking of Cait, so bear with me.

Masala Chai3 votes

This won't affect Kalista as she can't cancel her AA animation right?

RiotRiot Reinboom3 votes

That's correct.

InTheory2 votes

[deleted]

RiotRiot Reinboom10 votes

Likely, yes, but from what we've seen not something that many people will attribute to this change specifically.

CS has improved slightly in the time it's been on the PBE and there's been reports of "attacks feel smoother" when asked blindly. For the most part, though, this impact players with slightly variable or high latency the most.

None Shall Pass2 votes

I would like to test it with Jax Jax .. I have never played a champion where I cancelled so many auto attacks. Unfortunately I don't have a PBE account.. I mean it affects me with Jax every game.. I would really like to test it and give you some feedback.

Seto Kaiba2 votes

But will this fix Mordekaiser Auto attacks not dealing any damage even if you dont interrupt them?

Poluact2 votes

Slightly off-topic but I'm wondering if there are any plans on fixing another network/sync issue where sometimes two mutually exclusive events happen like root+flash (if root hit a player first he shouldn't be able to flash and if flash came off first then root shouldn't hit a player)? It's not like this happens often but when it happens I get a feeling that the game is broken and it feels bad. :(

SlashStriker1 votes

MasterYi Udyr I am not sure if I like that as it might disturb my movement macros

What if i need to use ability for instance Alpha Strike to dodge enemy damage?

I REALLY HOPE there will be option that i can disable this because its much better to move and cancel auto attack rather than stand still attacking and being hit by CC. 1 CC = death and it doesn't matter how much tenacity you have because chain CC will definitely follow

standing still can be deadly for melee carries

and btw Udyr when i switch stances some times Udyr cancels his auto attacks and his auto attack goes on cooldown not being able to hit his enemy

RiotRiot Reinboom4 votes

No, there won't be an option to disable it. However, spells interrupt the queue still. Only movement is fired.

Also, the reason it's 2 frames total is that is the buffer time we identified a few high skill one-tricks and pro players were executing their movements for safely kiting or training (notable on Melees) at the most extreme end. Most did 3-4 frames. There's not a lot of "standing around" for the 2 frames here that doesn't already occur, even at the highest end of play.

Also for reference, 2 frames is 0.06666¯ seconds.

Diggi Fetti Aiär3 votes

[{quoted}](name=Riot Reinboom,realm=NA,application-id=A7LBtoKc,discussion-id=gERRx9dV,comment-id=00090000,timestamp=2016-09-23T21:43:00.996+0000)

No, there won't be an option to disable it. However, spells interrupt the queue still. Only movement is fired.

Also, the reason it's 2 frames total is that is the buffer time we identified a few high skill one-tricks and pro players were executing their movements for safely kiting or training (notable on Melees) at the most extreme end. Most did 3-4 frames. There's not a lot of "standing around" for the 2 frames here that doesn't already occur, even at the highest end of play.

Also for reference, 2 frames is 0.06666¯ seconds.

For reference, 2 frames is 66'660μs. 66 TOUSAND MICRO SECONDS!!!!!

See what I did there? You're an engineer, please use relatable units. Everyone knows what a milli second is because people know pings. So writing 0.066666 seconds is just trying to make it look small. But when you write 66.6ms it kinda looks big when you compare it to ping and how people jerk off to "hurr durr Korea 8ms ping so gud". One is honest, the other isn't.

TauntyArmordillo1 votes

[deleted]

Diggi Fetti Aiär1 votes

{quoted}

The server runs at 30 Ticks per Second. It's 2 frames of 30 Ticks per Second.

30 ticks per second = 33.333 milli seconds per tick.

2 ticks of locking = 66.6666 milliseconds of locking.

what exactly do you wanna say with your comment? did you even understand what I wrote? all I was on about is how you present numbers. reinboom used 0.0666 seconds because that looks like a small number and I used 66666 micro seconds because that looks like a large number to show that 66.6 milli seconds is the best way to write it as people can directly relate it to the ping they see ingame. reinboom is an engineer and every engineer learns to write numbers in a way to make them readable as good as possible. there is a reason why ms us etc. are used.

TauntyArmordillo2 votes

Usually engineers keep an open mind and not turn openly hostile at first sight of a difference in opinion. Only basement-dwelling engineers act like that, the variety who is not worth discussing anything with.

TauntyArmordillo2 votes

I have one very small QoL change to ask:

**Allow confirmation of attack-move (A-click) command on release of MB1 in addition to on click. **

This makes it consistent with how normal-cast spells currently work -- right now you can preemptively hold down MB1, press the spell, then release MB1 to confirm. Or, a more realistic scenario is that you are spamming every single spell with normal-cast, in which case you clearly cannot afford the extra cognitive load of having to precisely time MB1.

This emulates simultaneous input by decoupling the timing of your two presses, i.e. you don't need to worry about the mistake of pressing MB1 before Q/W/E/R and resulting in the command never going off.

It would be nice to also get this feature on the A command.


Alternatively, an even better option: allow us to hold down MB1 to change from normal cast to quick cast, similar to the effect of binding L Shift=[Button 1], but still retaining the function of MB1 without wholly turning into a modifierEvent.

You already have the technology-- "Target Champion Only" is a cursor-state modifying command that uses a functional key rather than a modifier event.


Finally, any chance of giving us an "Attack Move Click with Indicators" option? Heroes of the Storm has it, and I feel this should be consistent with the current paradigm of defaulting to "Quickcast with Indicator" for new players. It is indeed a very beginner-friendly mode of input, shame that it is presently not available to attack-move for beginners to learn ADC

Also, do you know of any platforms for making technical suggestions? Like this one here.

Dead Mans Chest1 votes

[{quoted}](name=Riot Reinboom,realm=NA,application-id=A7LBtoKc,discussion-id=gERRx9dV,comment-id=00090000,timestamp=2016-09-23T21:43:00.996+0000)

No, there won't be an option to disable it. However, spells interrupt the queue still. Only movement is fired.

Also, the reason it's 2 frames total is that is the buffer time we identified a few high skill one-tricks and pro players were executing their movements for safely kiting or training (notable on Melees) at the most extreme end. Most did 3-4 frames. There's not a lot of "standing around" for the 2 frames here that doesn't already occur, even at the highest end of play.

Also for reference, 2 frames is 0.06666¯ seconds.

So the people that have taken the time to play at that level of play and master their champions, literally like no one else has (riven main here), are punished due to other players not even coming close to the same mechanical level. Like why do we keep dumbing down the complexity of things within League? just screen shot this comment and save it for a few years, Riot is doing what Jagex did... you're constantly changing things that aren't broken and changing the game in all these micro fashions that is eventually going to lead to an absolute new macro and you will lose your player base. try expanding content and complexity rather than revisiting stuff that doesn't need it...

For example championship riven... i got this new trash skin when everyone else that hadn't had it before got my original skin. i have over 2k games with the traditional cs riven skin and then u change it instead of just coming out with a new one (for that money grab of course).

Quinn DP1 votes

You discuss times in "server frames" alone, any chance for a time estimate (i.e. How many ms, or 1/x seconds) per frames

Edit: just read through other replies to find the 2 frames come in at around ~0.06666 seconds. Fairly hefty, I would assume noticeable.

Skia Asteri2 votes

[{quoted}](name=Quinn DP,realm=EUW,application-id=A7LBtoKc,discussion-id=gERRx9dV,comment-id=0016,timestamp=2016-09-24T07:11:22.922+0000)

Edit: just read through other replies to find the 2 frames come in at around ~0.06666 seconds. Fairly hefty, I would assume noticeable.

For reference the standard cast time for abilities is 0.25 seconds during which movement commands are ignored.

Poot1 votes

Would this feel like Kalista's autos? I sometimes rely on cancelling an auto to dodge a skill shot or fake it to draw enemy aggro into attacking me. With these frames I have concerns I won't be able to cancel autos in time.

thelastnerd1 votes

No. Kalista's autos you cannot cancel AT ALL. For her, from the very beginning of her auto animation - i.e. once you're on step 2, where "the attack spends some frames winding up" - you're committed to the attack; other input WILL NOT cancel it. For everybody else, this change essentially only means that you're committed to the attack 1 frame (.033 seconds) earlier than before.

Hazelnut Tree1 votes

Mr. Reinboom I just have a simple question if you don't mind. I'm a Riven main and I think I speak for most Riven mains, how would this affect her exactly, because we all really enjoy the mechanical side of Riven. We enjoy that she is hard and it's rewarding when you finally master or get something down on her? I feel like this change dumbs her down, but I'm not exactly sure, but if it does I feel like all my time learning the fast q and other combos as been wasted and that kind of makes me upset. Am I wrong that this won't change anything or is it gonna dumb her down, which makes me a bit angry. Well anyways I appreciate your time, and if you get back to me that's great. P.S. Please try to avoid dumbing down Riven, because we all enjoy how hard it is and it is very rewarding to master techniques and things on her. Again Thank you for your time.

Mishli2 votes

A Rioter commented movement will still override the lock out, since pretty much every part of Riven's combo moves her, I doubt it will impact much, though as someone who has to lane against riven a lot, I would love it if it took her 2-3 frames for an attack, just so i could figure out how 2/3 of my health vanishes in the span of 2 seconds. I understand the value of some champs having a high skillcap, but I think a perfect riven is a little much with how much she can do

Hazelnut Tree1 votes

Listen a good riven that puts time and effort into that champ then they should be rewarded (this goes for any champion). What you need to understand is riven is an early game champion, that it you understand the matchup and what you need to do it is very winnable just like any other matchup. I'm tired of people constantly crying about riven. If you have that big of a problem learn how to play against it. I could sit here and complain about syndra or kennen beign broken and op or I could just grow a pair and learn the matchups which I did and I fair well now. Now since I'm here and a Riven main myself I will explain to you how to lane against riven since I'm assuming you are low elo. First off you can either pick a scaling Tank or a champion like jayce irelia or kennen. A scaling tank eventually wins due to resistances that riven can't handle because armor counters her and she falls off. Jayce and irelia and kennen on the other hand deal the same if not more damage than her so its hard for her to keep up unless the other misplays. Kennen will 100% always beat riven though.

Kibbykys4 votes

Is it possible to be more passively condescending?

Darf Rakki1 votes

I never realized the server tick rate is so slow. CSGO is 60 tick rates and people complain about that being slow.

The Pale Woman1 votes

Leblanc's AA hopefully will be helped by this tweak, hopefully.

ChaddyFantome1 votes

Will this address Auto attacks that deal no damage when you animation cancel too fast?

Sneaky Badness1 votes

how about the numerous times I see the projectile leave my avi but still somehow cancel my aa

Pápi1 votes

This is not a good idea in my opinion, I agree that some players misplay as certain circumstances by canceling their auto attacks/basic attacks and dying in return, but think about a champion like Kalista. It's already hard to cancel the jumps that she does with her passive, which is most likely to mess up your farm, because the the the first frame of the animation basically gets her ready to jump, so if you tried to cancel your basic attack, it would still fire off but there's the jump with it. So I believe this will be quite hard for most Kalista players to cancel their basic attacks.

Does anyone agree with me?[slayer-jinx-catface]

Joseph Gladstone1 votes

lol thanks for breaking riven

More from Dev Corner

More by Riot Reinboom