Download
(100 Kb)
Download
Updated: 01-26-10 09:24 AM
Pictures
File Info
Updated:01-26-10 09:24 AM
Created:05-17-09 09:59 PM
Downloads:4,966
Favorites:33
MD5:
Lagbuster (By Zone FPS (Not Latency) Adjuster)
Version: 3.03
by: Redwood Elf [More]
Based loosly on Leatrix's GFX addon, this is more versitile. It doesn't load 16 bit graphics, but it does allow you to change multiple graphics settings with an ingame slash command, based on what zone you're in, or to automatically load different graphics settings when you move between zones.

To install, extract the Lagbuster folder into your addon directory.

To Customize your settings, there are a series of options for the /lbust slash command (Or just use the configuration GUI):

The current slash command options for the /lbust slash command are:

/lbust config : This pulls up the GUI customization controls, which let you change
and update settings without having to use most of the other slash commands.

The GUI contains the following:

Four Radio buttons ("None", "Average", "Bad" and "Very Bad")
These will set the current zone's default setting to whichever one you click.
A checkbox to autoload* settings when you change zones.
A checkbox to "undock" the "Restart Graphics" button, so that it will
pop up automatically when you move to a zone with different graphics
settings from the one you left. The floating button can be dragged
anywhere on the screen with the right mouse button, so it pops up where you want it.
A Restart Graphics button to manually restart WOW's graphics engine
when the autoload settings function is active.
This can be undocked and moved wherever on the screen you want it
to pop up when you change zones to one with different settings.
A "Load Variables" button: This one is to be used after you enter WOW's
graphics console and change the settings, to load the current active
graphics settings into whichever preset has it's radio button checked.
This is used to fine-tune the settings for the presets.
All it does is read the active console variables settings and save them
into the current preset slot.
An "Apply Settings: <Setting>" button: This is used if you don't have the
autoload option turned on, to load the settings for the current zone.
A separate, hideable CVAR panel, which shows the current console variable settings.



The manual slash command options (for those who don't want to use the GUI for everything)

/lbust zone: Force-load zone-based graphics settings (use this if the addon is being stubborn)
I added this when I discovered that, for some reason, the slash command would
sometimes not load the local settings automatically.
/lbust up and /lbust down: Load and apply slightly higher (or lower) presets.
This lets you find the right preset for the current zone before locking
it in with the setzone command.
/lbust min and /lbust max: Load and apply worst (or best) graphics presets.
/lbust res: List the available screen resolutions Lagbuster is using.
The resolutions that Lagbuster picks are based on whether you have set
Lagbuster for a widescreen or normal screen monitor.
/lbust wide: Toggle between widescreen and normal resolution defaults.
/lbust cvar: list the current active values of the variables Lagbuster affects.
Users can use this to figure out which variables to customize.
/lbust set: Tells the addon to set the current preset to whatever the current
active graphics settings are. To customize a preset, make it the active
one using the up/down min/max commands, and then open WOW's interface
options and edit the video settings until they are the way you want them,
then use /lbust set to lock them in. If you ever want to go back to
Lagbuster's presets, delete the lagbuster saved variables file in the
WTF/Account/<ACCOUNTNAME>/SavedVariables folder.
/lbust setzone: Tells the addon to set the current zone's default setting to the
currently active preset. Use the up/down min/max commands to select the
preset you want, then use /lbust setzone, or simply click the setting radio
button you want in the config window. This does not apply the new settings
unless you have autoload turned on, it only sets the current zone's default.
/lbust auto: Toggle's Lagbuster's automatic* graphics adjustment option.


* Automatic zone-based changes:

WARNING: When this is active, it will change your graphics whenever you move between zones that have different graphics settings. It should not restart your graphics engine (often - for some reason I can't figure out yet, it still restarts sometimes anyway) until you open the config panel and manually click the Restart Graphics button (Or click it, if it is undocked to pop up.) If Auto is NOT active, you must type /lbust or click the Apply Settings button in the config window to apply the new zone's preset. If this is active, it is wise to avoid combat near a zone boundary, in case the graphics engine restarts spontaneously when you cross the zone boundary.

1.00 - Fixed the file so it has a folder and a readme.txt.
1.01- Fixed an issue with view distance not updating, and moved the attention sound to the zone changed condition so it doesnt happen every time you change the settings, only when you change zones. Also, the zone settings loading alert and sound should now only play if the new zone's settings differ from the active ones.
1.02 - Made the formatting on the addon's printouts a bit more readable, and fixed some errors in the source code comments. Also added some error messages and improved the flow control a bit.
2.00 - Total Rewrite. Added a GUI interface, accessable by the "/lbust config" option.
2.01 - Fixed an issue with the current zone not being properly updated in the configuration screen, and made the interface a bit prettier.
2.02 - Added some more features, like making it so that autoupdate doesn't automatically restart the graphics engine upon moving to a zone with different settings. Now graphics restart is handled by a button on the config panel. The config panel is also dragable now.
2.03 - Clarified the page title, and added the ability to detatch the "Reset Graphics" button so that it can be moved around the screen and will "Pop up" when you enter a zone with new settings available, so you don't have to pull up the configuration screen to reset your graphics.
3.01 - Updated for patch 3.2 and made the reset button dragable with right button.
3.02 - Spent several hours narrowing down the cause of the "Graphics restarting when zoning and not on demand" bug. You should now no longer get loading screens when moving between zones.
Optional Files (0)


Archived Files (8)
File Name
Version
Size
Author
Date
3.01
102kB
Redwood Elf
08-05-09 03:16 PM
2.03
102kB
Redwood Elf
06-20-09 07:34 AM
2.02
101kB
Redwood Elf
06-12-09 12:24 PM
2.01
100kB
Redwood Elf
06-07-09 04:21 PM
2.00
100kB
Redwood Elf
06-05-09 10:10 PM
1.02
97kB
Redwood Elf
05-19-09 09:25 AM
1.01
97kB
Redwood Elf
05-19-09 12:37 AM
1.00
97kB
Redwood Elf
05-18-09 09:26 AM


Post A Reply Comment Options
Old 05-18-09, 08:12 AM  
level12wizard
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 39
Uploads: 1
Might want to give the zip an actual folder to avoid confusion
level12wizard is offline Report comment to moderator  
Reply With Quote
Old 05-18-09, 08:57 AM  
Redwood Elf
An Aku'mai Servant
 
Redwood Elf's Avatar
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 71
Uploads: 1
Originally posted by level12wizard
Might want to give the zip an actual folder to avoid confusion
Oops. Sorry. My very first upload...now all I have to do is figure out how to set up one of those donation button thingies.
Redwood Elf is offline Report comment to moderator  
Reply With Quote
Old 05-18-09, 08:15 PM  
Bluspacecow
Giver of walls of text :)
 
Bluspacecow's Avatar
AddOn Author - Click to view AddOns

Forum posts: 758
File comments: 123
Uploads: 1
Oh super !

It has a number of presets , including one for Dalaran

If you haven't already you might wanna mention that on your addon page

If people know they can install this to solve some of their Dalaran lag issues and they know they can do that "out of the box" without having to edit any settings...

You'll have a lot of happy downloaders
__________________
tuba_man on Apple test labs : "I imagine a brushed-aluminum room with a floor made of keyboards, each one plugged into a different test box somewhere. Someone is tasked with tossing a box full of cats (all wearing turtlenecks) into this room. If none of the systems catch fire within 30 minutes, testing is complete. Someone else must remove the cats. All have iPods." (http://community.livejournal.com/tec...t/2018070.html)
Bluspacecow is offline Report comment to moderator  
Reply With Quote
Old 05-18-09, 09:49 PM  
Sepioth
A Molten Giant
AddOn Author - Click to view AddOns

Forum posts: 894
File comments: 97
Uploads: 5
Originally posted by level12wizard
Might want to give the zip an actual folder to avoid confusion
I second this. When I open the zip file there should be a folder named after the mod then inside this all your mods files.

This is the typical standard for zipping up mods. Makes extraction more simple and less confusing to the end user.

EDIT .. Version 1.0 looks the way it should.
Last edited by Sepioth : 05-18-09 at 09:52 PM.
Sepioth is offline Report comment to moderator  
Reply With Quote
Old 05-19-09, 01:01 PM  
Amethyst
A Fallenroot Satyr
 
Amethyst's Avatar
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 71
Uploads: 5
The idea of this mod is great in principle, but you need to allow better configuration (not just open the LUA file and edit) and more instructions.

Also you NEED a warning that this mod will change the game resolution and an option to not do so.

It really screwed with my UI by resizing the screen, causing stuff to overlap horribly.
Last edited by Amethyst : 05-19-09 at 01:01 PM.
Amethyst is offline Report comment to moderator  
Reply With Quote
Old 05-19-09, 02:14 PM  
Redwood Elf
An Aku'mai Servant
 
Redwood Elf's Avatar
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 71
Uploads: 1
Originally posted by Amethyst
The idea of this mod is great in principle, but you need to allow better configuration (not just open the LUA file and edit) and more instructions.

Also you NEED a warning that this mod will change the game resolution and an option to not do so.

It really screwed with my UI by resizing the screen, causing stuff to overlap horribly.
Once I learn more than basic Lua, I do, indeed, to go back and add a better interface and options. Right now I don't know ANYTHING about setting up configuration screens or saving variables to the WTF files for permanent and persistant configuration setting without editing the lua file. Once I get back next week, I promise to start making more improvements. Compare it to the original Gfx addon if you want to see the improvements I already made. That one's hardprogrammed and gives you NO ingame controls.

Right now, if you don't want resolution changes, simply comment-out the first SetCvar line that changes the screen rezolution (its the one that references Lagbuster.REZ)

For those non-programmers out there, that means change the line:


SetCVar("gxresolution",Lagbuster.REZ) -- Set the game resolution

To read

-- SetCVar("gxresolution",Lagbuster.REZ) -- Set the game resolution

instead.
Last edited by Redwood Elf : 05-19-09 at 02:21 PM.
Redwood Elf is offline Report comment to moderator  
Reply With Quote
Old 05-20-09, 05:01 AM  
Amethyst
A Fallenroot Satyr
 
Amethyst's Avatar
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 71
Uploads: 5
I can relate, there's a real lack of quality guides out there, and the good ones aren't easy to find.

For Lua itself, I found this really handy:
http://lua-users.org/wiki/TutorialDirectory

This is 3 years old but has has some quality info in it:
http://www.tentonhammer.com/node/26414

There's some stuff on wowwiki on saved variables:
http://www.wowwiki.com/Saving_variab..._game_sessions

As for in-game options, I messed around with those for a bit and decided that it was easier to make my mod use the Ace3 libs, if for no other reason than it made coding my options screens & saved profiles REALLY easy.
http://old.wowace.com/wiki/WelcomeHo...rst_Ace3_Addon

Hope that's of help!
Amethyst is offline Report comment to moderator  
Reply With Quote
Old 06-07-09, 11:18 AM  
Auren
An Aku'mai Servant
 
Auren's Avatar

Forum posts: 37
File comments: 17
Uploads: 0
Line 118 error in Lagbuster.lua.
LBApplyButton:Show() -- New settings available, so enable the Apply Button.

Believe the button is called ApplyButton not LBApplyButton.
Thought I'd post as no-one else has.
__________________
Rogue [Combat] - 80
Paladin [Protection] - 80
Death Knight [Blood] - 77
Shaman [Elemental] - 77
Mage [Frost] - 76
Priest [Shadow] - 75
Hunter [Beast] - 72
Auren is offline Report comment to moderator  
Reply With Quote
Old 06-07-09, 04:23 PM  
Redwood Elf
An Aku'mai Servant
 
Redwood Elf's Avatar
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 71
Uploads: 1
Originally posted by Auren
Line 118 error in Lagbuster.lua.
LBApplyButton:Show() -- New settings available, so enable the Apply Button.

Believe the button is called ApplyButton not LBApplyButton.
Thought I'd post as no-one else has.
Fixed the variable name, but it's still not hiding correctly. O well, No biggie...it doesn't really hurt anything to have it clicked again.

ALso moved the "Load settings" button to the docked Cvar panel.
Redwood Elf is offline Report comment to moderator  
Reply With Quote
Old 06-07-09, 09:03 PM  
Auren
An Aku'mai Servant
 
Auren's Avatar

Forum posts: 37
File comments: 17
Uploads: 0
It stays, hidden sometimes even when i'm trying to change the settings etc?
Is it necessary to hide it? keep shown the whole time? to save having to try to bugfix this xD
__________________
Rogue [Combat] - 80
Paladin [Protection] - 80
Death Knight [Blood] - 77
Shaman [Elemental] - 77
Mage [Frost] - 76
Priest [Shadow] - 75
Hunter [Beast] - 72
Auren is offline Report comment to moderator  
Reply With Quote
Old 06-08-09, 08:55 AM  
Redwood Elf
An Aku'mai Servant
 
Redwood Elf's Avatar
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 71
Uploads: 1
Originally posted by Auren
It stays, hidden sometimes even when i'm trying to change the settings etc?
Is it necessary to hide it? keep shown the whole time? to save having to try to bugfix this xD
Well I'd been hoping to only have it up if there were actually updated settings to load...I'm also working on changing the autoupdate function so that it only updates the settings that don't require a graphics restart, until you manually click a "restart graphics" button, to prevent repeated load screens from happening on long taxi flights between zones with different settings.

You may be confusing the "Apply Settings" (which only loads the current settings into the graphics engine) and "Load Variables" (which overwrites the given settings with whatever is already IN the graphics engine, letting you customize anything you can change in the normal graphics adjustment panels in WOW, get the screen just like you want it, and then load those settings into one of the four graphics setting slots for future use.
Last edited by Redwood Elf : 06-12-09 at 12:28 PM.
Redwood Elf is offline Report comment to moderator  
Reply With Quote
Old 06-12-09, 05:28 PM  
tardmrr
Lua Ninja
Featured Addon Author

Forum posts: 132
File comments: 134
Uploads: 15
I hate to be a pedant, but this addon's name is misleading. Lag (in the context of World of Warcraft) refers to having a time lag between when you perform an action locally and when the server acknowledges and the action completes. The simplest case of this is when you have a high ping you notice a lag time from when you hit your buttons to when the actions are actually performed. Lag, in fact, has nothing to do with your video settings, and changing a bunch of them based on what zone you are in isn't going to effect lag at all. It may have the effect of improving your FPS in areas that otherwise perform poorly, but this is NOT lag.
tardmrr is offline Report comment to moderator  
Reply With Quote
Old 06-12-09, 08:23 PM  
Redwood Elf
An Aku'mai Servant
 
Redwood Elf's Avatar
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 71
Uploads: 1
Originally posted by tardmrr
I hate to be a pedant, but this addon's name is misleading. Lag (in the context of World of Warcraft) refers to having a time lag between when you perform an action locally and when the server acknowledges and the action completes. The simplest case of this is when you have a high ping you notice a lag time from when you hit your buttons to when the actions are actually performed. Lag, in fact, has nothing to do with your video settings, and changing a bunch of them based on what zone you are in isn't going to effect lag at all. It may have the effect of improving your FPS in areas that otherwise perform poorly, but this is NOT lag.
Well I was referring primarily to visual lag (AKA low framerate) problems...and "Lagbuster" sounds better than "Automatic Graphics Setting configuration tool that can increase your framerate in crowded zones at lets you adjust them automatically once they are set without having to open the video and effects Consoles every time you want them to change."

Faster to type too.

If you want to write another addon called "Lagbuster" that can fix actual lag, other than by changing GxFixLag like Lagbuster does, by all means do so, and I can rename this one to "Lagbuster-V" (V for Visual)
Redwood Elf is offline Report comment to moderator  
Reply With Quote
Old 06-12-09, 11:01 PM  
tardmrr
Lua Ninja
Featured Addon Author

Forum posts: 132
File comments: 134
Uploads: 15
Originally posted by Redwood Elf
Well I was referring primarily to visual lag (AKA low framerate) problems...and "Lagbuster" sounds better than "Automatic Graphics Setting configuration tool that can increase your framerate in crowded zones at lets you adjust them automatically once they are set without having to open the video and effects Consoles every time you want them to change."

Faster to type too.

If you want to write another addon called "Lagbuster" that can fix actual lag, other than by changing GxFixLag like Lagbuster does, by all means do so, and I can rename this one to "Lagbuster-V" (V for Visual)
My actual point is that low framerate is NOT lag.

Like I said originally: it's kind of pedantic, but the point is valid imo.
Last edited by tardmrr : 06-12-09 at 11:09 PM.
tardmrr is offline Report comment to moderator  
Reply With Quote
Old 06-20-09, 07:43 AM  
Redwood Elf
An Aku'mai Servant
 
Redwood Elf's Avatar
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 71
Uploads: 1
Originally posted by Leatrix
Lagbuster, on the other hand, runs in the background all the time, switching profiles according to character location in order to provide the best quality settings which your computer can handle for that zone. As such it's obviously designed for medium spec computers and for users who will happily sacrifice some framerate for graphics quality as long as things are running smoothly.

It's a nice idea and I wish you every success with it.
Well technically, it only runs in response to chat channel changes (and if you didn't actually change zones, it just says "Oh, we didn't really change zones?" and goes back to sleep. While it does constantly reside in memory, it's code isn't eating any processing power except in response to a slash command or chat channel change.

(As I understand it, once WOW registers a slash command or event, it simply adds a table entry in the slash command interpreter and/or the main event handler for the addon, and doesn't actually call the code until that event or slash command fires in the game. It resides in memory, but isn't actually constantly running to "listen" for events...the main WOW program handles that part)

Anyway, I added a more explanatory page title, which should clear up any misconceptions. If I knew of any way that an addon could actually affect latency itself, I'd have added it to the addon already, but latency is hard to do anything about from lua.
Redwood Elf is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.