Download
(4Kb)
Download
Updated: 06-28-11 03:15 AM
Pictures
File Info
Updated:06-28-11 03:15 AM
Created:11-19-10 05:32 PM
Downloads:15,019
Favorites:114
MD5:

AutoLagTolerance  Popular! (More than 5000 hits)

Version: 0.8
by: Nibelheim [More]

0.8


What is it:

AutoLagTolerance automatically adjusts the new Ability Queue's "Lag Tolerance" to match your latency.

Generally, setting your Lag Tolerance to even 400ms isn't detrimental any more, as the "ability-lock" first introduced with the Ability Queue is no longer in place (i.e. hitting an ability after an ability has been queued will now override the queued ability). The use of this mod is simply up to whether or not you find that having your Ability Queue's time being close to your latency is what you find most comfortable.


Usage:
AutoLagTolerance will work automatically without any user intervention, and no game setting need to be changed. If you wish to change some of ALT's settings, you can use the commands listed below.


For best results:
Due to the WoW function for returning latency only updating 30 seconds, AutoLagTolerance works best as a means to set your Lag Tolerance to your general latency, and not as a means to instantly set your Lag Tolerance to always be equal to your exact latency.

If your Ability Queue seems to become too short, or too long, play around with the Min and Max settings so that your Lag Tolerance always stays within boundaries you are comfortable with.

Note: WoW has default min and max Lag Tolerance values of 0ms and 400ms respectively, so you're Lag Tolerance won't exceed these boundaries.


Lag Tolerance?
With Patch 4.0.1 of WoW, Blizzard introduced the Ability Queue System.

Lag Tolerance adjusts how long before an ability has come off of GCD, that using another ability will put it in the queue.

However, this is WoW, and our latency can change a lot and very frequently. Simply setting the Custom Lag Tolerance to a specific value isn't going to work when your latency dips, spikes, and fluctuates while fighting.


Commands:
  • /autolag - Displays a list of available commands.
  • /autolag offset # - ALT will set your Lag Tolerance to equal your current latency by default. You can add a positive or negative offset via this command (in milliseconds).
    • Example: "/autolag offset -5" will add a negative 5ms offset to your Lag Tolerance. So if you had a latency of 80ms, your Lag Tolerance would be set to 75ms.
  • /autolag interval # - Sets how frequently ALT will update your Lag Tolerance (in seconds). Since WoW only updates the Latency information every 30 seconds, leaving this at the default value of 30 is usually best.
  • /autolag threshold # - The difference between your latency and the current Lag Tolerance value required to set a new Lag Tolerance value.
    • Example: "/autolag threshold 5" will make it so that ALT will only change your Lag Tolerance if your current latency differs from your Lag Tolerance by 5ms or more.
  • /autolag min # - The minimum value which your Lag Tolerance cannot go under. Doesn't override the default WoW value, but allows you to set a value higher than 0ms.
    • Note: Typing "/autolag min" without a value will set ALT to use the default WoW value.
  • /autolag max # - The maximum value which your Lag Tolerance cannot go over. Doesn't override the default WoW value, but allows you to set a value lower than 400ms.
    • Note: Typing "/autolag max" without a value will set ALT to use the default WoW value.
  • /autolag reset - Resets ALT settings to their default values.

0.8
  • TOC bump.

0.7
  • Updated for 4.0.6's new Home and World Latency readings.

0.6
  • Default Interval now set to 30 seconds
  • ALT will determine when the first GetNetStats() update occurs, and by default will check every 30 seconds from that point on.

0.5
  • ALT now automatically turns on Custom Lag Tolerance.

0.4
  • Added a reset command for restoring ALT settings to their defaults [/autolag reset]
  • More code cleaning

0.3
  • Added a "Current Lag Tolerance" display in chat when you type /autolag
  • Cleaned up some code

0.2
  • Added options
    • Threshold
    • Min
    • Max
Post A Reply Comment Options
Unread 11-19-10, 06:25 PM  
vivianalive
A Deviate Faerie Dragon
 
vivianalive's Avatar

Forum posts: 15
File comments: 34
Uploads: 2
Looks very helpful/
Don't know if it's really working, since my network is fast and reliable in most time.
Any guys willing to share user experience here?
BTW, where is the change log.
__________________

CeeUI: a minimalistic all-class UI
Report comment to moderator  
Reply With Quote
Unread 11-19-10, 10:02 PM  
Gilor
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Originally posted by vivianalive
Looks very helpful/
Don't know if it's really working, since my network is fast and reliable in most time.
Any guys willing to share user experience here?
BTW, where is the change log.
Yet to try 0.3, but 0.2 was working perfectly. Recommended it to my guild as on Oceanic servers we can have pretty changeable latency.
Report comment to moderator  
Reply With Quote
Unread 11-21-10, 04:48 AM  
AlleyKat
A Warpwood Thunder Caller
 
AlleyKat's Avatar
AddOn Author - Click to view AddOns

Forum posts: 93
File comments: 242
Uploads: 7
thsi addon works only if CVar("reducedLagTolerance") == "1" :<
Report comment to moderator  
Reply With Quote
Unread 11-21-10, 10:52 AM  
Nibelheim
local roygbi-
 
Nibelheim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1600
File comments: 2305
Uploads: 21
Originally posted by AlleyKat
thsi addon works only if CVar("reducedLagTolerance") == "1" :<
Ohh... Easily solved!
Report comment to moderator  
Reply With Quote
Unread 11-21-10, 12:08 PM  
Mikari
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 102
Uploads: 3
Since you can only query latency from WoW every 30 seconds, wouldn't it make sense to set the default interval to 30 seconds too? Or at least higher than 5 seconds.
Report comment to moderator  
Reply With Quote
Unread 11-21-10, 12:16 PM  
Nibelheim
local roygbi-
 
Nibelheim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1600
File comments: 2305
Uploads: 21
Originally posted by Mikari
Since you can only query latency from WoW every 30 seconds, wouldn't it make sense to set the default interval to 30 seconds too? Or at least higher than 5 seconds.
Problem is determining exactly when GetNetStats() actually updates. The only way of knowing is to keep checking for when it changes, then mark that as the update point. Working on code to do it, though.
Report comment to moderator  
Reply With Quote
Unread 11-21-10, 12:38 PM  
Nibelheim
local roygbi-
 
Nibelheim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1600
File comments: 2305
Uploads: 21
Alright, added the code and set default interval to 30 seconds.
Report comment to moderator  
Reply With Quote
Unread 11-21-10, 02:06 PM  
Kogasu
A Kobold Labourer
 
Kogasu's Avatar

Forum posts: 0
File comments: 109
Uploads: 0
Nice job so far, keep up the good work.
Report comment to moderator  
Reply With Quote
Unread 01-12-11, 11:45 PM  
Oliax
A Defias Bandit

Forum posts: 3
File comments: 8
Uploads: 0
even if bliz update ping only every 30s, shouldnt you still set the interval to a shorter duration since you wont be in sync with the update?
Report comment to moderator  
Reply With Quote
Unread 01-13-11, 05:39 PM  
Nibelheim
local roygbi-
 
Nibelheim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1600
File comments: 2305
Uploads: 21
Originally posted by Oliax
even if bliz update ping only every 30s, shouldnt you still set the interval to a shorter duration since you wont be in sync with the update?
The addon checks for when the update occurs, then synchronizes itself for 3 seconds after that. I've ran logs of the addon over a day, and the update happens exactly every 30 sec without change, so once it's synched you're good to go.
Report comment to moderator  
Reply With Quote
Unread 02-09-11, 02:53 AM  
tobindax
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 53
File comments: 19
Uploads: 2
.

I suspect this does nothing, meaning if one doesn't check 'custom' checkbox blizzard will do the same, if not better.

However, I don't want to discount anything so I test it.

Good job anyway, that's the kind of addons that really make sense. We have too many useless addons of the type "check your bags for something to disenchant for levels 30-33 while their color is green" and other such nonsense that only clutter the system with bloatware. This is an addon that with extremely minimal impact on resources, it could be a huge improvement.

But again, it seems to be an extremely easy job for wow to do itself so I suspect that's exactly the default behavior (with box unchecked)
Report comment to moderator  
Reply With Quote
Unread 02-09-11, 03:37 AM  
Nibelheim
local roygbi-
 
Nibelheim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1600
File comments: 2305
Uploads: 21
Re: .

Originally posted by tobindax
I suspect this does nothing, meaning if one doesn't check 'custom' checkbox blizzard will do the same, if not better.

However, I don't want to discount anything so I test it.

Good job anyway, that's the kind of addons that really make sense. We have too many useless addons of the type "check your bags for something to disenchant for levels 30-33 while their color is green" and other such nonsense that only clutter the system with bloatware. This is an addon that with extremely minimal impact on resources, it could be a huge improvement.

But again, it seems to be an extremely easy job for wow to do itself so I suspect that's exactly the default behavior (with box unchecked)
From testing, it seems that Blizzard keeps the queue time at 400ms if the Custom Lag Tolerance is unticked. Half the purpose of Blizzard introducing the Custom Lag Tolerance was so that we could reduce it to get it closer to our latency if that's what we felt more comfortable with.
Report comment to moderator  
Reply With Quote
Unread 02-09-11, 07:23 AM  
tobindax
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 53
File comments: 19
Uploads: 2
Re: Re: .

Originally posted by Nibelheim
From testing, it seems that Blizzard keeps the queue time at 400ms if the Custom Lag Tolerance is unticked. Half the purpose of Blizzard introducing the Custom Lag Tolerance was so that we could reduce it to get it closer to our latency if that's what we felt more comfortable with.
ok I hope you're right otherwise we'd be wasting our time.

it appears very unlikely that their network coder(s) didn't realize they can do what this addon does internally and most probably faster.

I wonder if there's more into it.
Report comment to moderator  
Reply With Quote
Unread 02-09-11, 07:26 AM  
Nibelheim
local roygbi-
 
Nibelheim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1600
File comments: 2305
Uploads: 21
Re: Re: Re: .

Originally posted by tobindax
ok I hope you're right otherwise we'd be wasting our time.

it appears very unlikely that their network coder(s) didn't realize they can do what this addon does internally and most probably faster.

I wonder if there's more into it.
I think it comes down to them deciding what's "easiest" on their playerbase.

Having a queue timer that's constantly adjusting might, in their eyes, be a negative thing. Whereas something that remains constant is easier for their players to understand and play to.

Hell, it's even personal opinion which way is better. Some people prefer a constant queue time, others may want an automatic one.
Last edited by Nibelheim : 02-09-11 at 07:27 AM.
Report comment to moderator  
Reply With Quote
Unread 02-11-11, 07:59 PM  
hipjipp
A Cliff Giant
 
hipjipp's Avatar
AddOn Author - Click to view AddOns

Forum posts: 79
File comments: 236
Uploads: 10
Hi. Great addon you've created here, helps me alot during those laggy periods. I just wanted to point out that since lag is now split into home and world, you need to change line 56 from:
Code:
local _,_,Latency = GetNetStats();
to
Code:
local _,_,_,Latency = GetNetStats();
We don't want to check for home-lag since it does nothing for us in the game-world.
Might get a more accurate estimation with this.
Keep up the good work. =)
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: