Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(3 Kb)
Download
Updated: 03-13-13 05:21 PM
Pictures
File Info
Compatibility:
Thunder Isle (5.2)
Mists of Pandaria (5.0.4)
Updated:03-13-13 05:21 PM
Created:01-29-09 08:44 AM
Downloads:5,729
Favorites:37
MD5:
LagBar  Popular! (More than 5000 hits)
Version: v3.2
by: Xruptor [More]
A simple Lagbar that you can move around. It will show you your current FPS and the current Latency (or Lag) that you are experiencing. (Supports world/realm ping as well)

NOTE: This is NOT a Databroker (LibDataBroker) addon. It provides it's own frames and remembers positioning.


To Unlock/Lock the frame just right-click it using your mouse.

LagBar:
/lagbar reset - resets the frame position
/lagbar bg - toggles the background on/off
/lagbar worldping - toggles the world ping display on/off
/lagbar impdisplay - toggles the improved world ping display on/off

You can view Alpha Builds at my Github tracker.
v3.2
-Updated toc for 5.2

v3.1
-Updated for Mists of Panderia patch 5.01

v3.0
-changed the way the sizing is done. Now automatic ;)
-removed unwanted code

v2.9
-Added a new toggle for a newly implemented display for world ping.
Use /lagbar impdisplay
-The world ping display is now a little clearer as to which is home latency and which is world latency as long as the user uses the new toggle for improved display.

v2.8
-Toc update for patch 4.3

v2.7
-Updated for Firelands.
-YES I'm back to playing WOW, expect updates to all my addons.

v2.5:
-A small update for a 'nil' value.
-Sorta hard to test these things when you don't play a game anymore. (Yes I canceled my WOW account months ago).


v2.4:
-Oops had a tiny little bug :P (That's what I get for copying and pasting!)
-Fixed a small bug that was occuring with the frame.
-Updated version.

v2.3:
-Added a slash command to turn on/off the new World ping display.
-The slash command will also resize the box to have some more room ;)
-NEW SLASH: /lagbar worldping

v2.2:
-Updated for patch 4.1
-Now supports World ping. (thanks to comix1234 from wowinterface.com)

v2.1:
-Some minor changes
-Code cleanup

Version 2.0:
-Update for patch 4.0

Version 1.5:
-FIXED: A bug that could possibly toggle the background constantly.

Version 1.4:
-Updated the toc for patch 3.3

Version 1.3:
Added: A slash command to reset the window position to the center of the screen.
Changed: Changed the way that the slash commands are interpreted
Fixed: Fixed an issue where some of the settings weren't saving, including the background toggle.

LagBar
/lagbar reset - resets the frame position
/lagbar bg - toggles the background on/off

Version 1.2:
-Added the slash command /lagbar to show/hide the background
Optional Files (0)


Archived Files (16)
File Name
Version
Size
Author
Date
v3.1
3kB
Xruptor
09-24-12 06:08 PM
v3.0
3kB
Xruptor
03-28-12 08:59 AM
v2.9
3kB
Xruptor
03-21-12 12:59 PM
v2.8
3kB
Xruptor
11-29-11 03:14 PM
v2.7
3kB
Xruptor
10-24-11 09:44 AM
v2.5
3kB
Xruptor
05-06-11 07:37 AM
v2.4
3kB
Xruptor
05-03-11 08:51 AM
v2.3
3kB
Xruptor
05-03-11 07:07 AM
v2.2
3kB
Xruptor
05-03-11 06:01 AM
v2.1
3kB
Xruptor
01-22-11 07:36 AM
2.0
3kB
Xruptor
10-14-10 05:51 PM
1.5
3kB
Xruptor
12-12-09 02:50 PM
1.4
3kB
Derkyle
12-10-09 08:28 AM
1.3
3kB
Derkyle
02-17-09 02:39 PM
1.2
3kB
Derkyle
02-08-09 11:21 AM
1.0
2kB
Derkyle
01-29-09 08:44 AM


Post A Reply Comment Options
Unread 03-15-12, 05:46 PM  
Barleduq
Ruler of All I Survey
 
Barleduq's Avatar

Forum posts: 62
File comments: 261
Uploads: 0
I'm not sure I follow your request. You're saying that you want the worldping information to not be shown with the /lagbar wordping option; but would rather it to be displayed with a tooltip when you hover over it? So just the basic display but a tooltip to show the other stuff? Is that what your trying to say? I'm not sure
When I look at it, unless I've memorized which is which, I don't know which number is home and which number is world. I'd like it labeled.

But I also don't want it changed - it's a very good size/shape for where I have it and I like it there. So I don't want it to use more screen.

So I thought maybe having it show 'home' or 'world' in a tooltip/hovertext when I hover my mouse over it, depending on where I hover.

Does that make any more sense?
Barleduq is offline Report comment to moderator  
Reply With Quote
Unread 03-15-12, 03:40 PM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 564
Uploads: 37
Originally Posted by Barleduq
I Just want to say that I love love this addon. THank you very much, I like the way it displays better than a couple of others I tried that do the same thing.

The *only* thing I could wish for is that the home/world latencies were labled. But, I don't want the display to be ANY bigger. Hovertext would work, but this is very much a low-priority thing. If changing it would make it take more screen space or cpu, I'm happy with it the way it is.

Thank you!
I'm glad you like the addon. I try to make all my addons as small and efficient as possible.

I'm not sure I follow your request. You're saying that you want the worldping information to not be shown with the /lagbar wordping option; but would rather it to be displayed with a tooltip when you hover over it? So just the basic display but a tooltip to show the other stuff? Is that what your trying to say? I'm not sure
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Xruptor is offline Report comment to moderator  
Reply With Quote
Unread 03-13-12, 05:36 PM  
Barleduq
Ruler of All I Survey
 
Barleduq's Avatar

Forum posts: 62
File comments: 261
Uploads: 0
I Just want to say that I love love this addon. THank you very much, I like the way it displays better than a couple of others I tried that do the same thing.

The *only* thing I could wish for is that the home/world latencies were labled. But, I don't want the display to be ANY bigger. Hovertext would work, but this is very much a low-priority thing. If changing it would make it take more screen space or cpu, I'm happy with it the way it is.

Thank you!
Barleduq is offline Report comment to moderator  
Reply With Quote
Unread 01-22-12, 10:16 AM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 564
Uploads: 37
Originally Posted by Makewar
is there any way to increase the font size or am I better off just goin into the lua myself
Sorry there is no current way to increase font size. It's a simple modification you should be able to do it easily in the LUA
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Xruptor is offline Report comment to moderator  
Reply With Quote
Unread 01-13-12, 07:48 PM  
Makewar
A Deviate Faerie Dragon
 
Makewar's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 14
File comments: 21
Uploads: 2
is there any way to increase the font size or am I better off just goin into the lua myself
__________________
You are a warrior in the Lich King's name. You have no soul, no will. You must go forth and slay the living, bring death upon their families, and pick flowers.

...Wait, what?

Shorty
Makewar is offline Report comment to moderator  
Reply With Quote
Unread 05-06-11, 07:38 AM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 564
Uploads: 37
v2.5:
-A small update for a 'nil' value.
-Sorta hard to test these things when you don't play a game anymore. (Yes I canceled my WOW account months ago).
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Xruptor is offline Report comment to moderator  
Reply With Quote
Unread 05-06-11, 04:42 AM  
Turunash
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
It vanished after you updated it please help

Here is the error it shows in game.


Date: 2011-05-06 04:25:00
ID: 2
Error occured in: Global
Count: 1
Message: ..\AddOns\LagBar\LagBar.lua line 246:
attempt to index field 'frame' (a nil value)
Debug:
[C]: ?
LagBar\LagBar.lua:246: BackgroundToggle()
LagBar\LagBar.lua:61: ?()
..\FrameXML\ChatFrame.lua:4221:
..\FrameXML\ChatFrame.lua:4169
[C]: ChatEdit_ParseText()
..\FrameXML\ChatFrame.lua:3832: ChatEdit_SendText()
..\FrameXML\ChatFrame.lua:3870: ChatEdit_OnEnterPressed()
[string "*:OnEnterPressed"]:1:
[string "*:OnEnterPressed"]:1
AddOns:
Swatter, v5.9.4960 (WhackyWallaby)
Ace3, v
ACP, v3.3.14
Altoholic, v4.1.001b
AtlasLoot, vv6.03.01
AtlasLootLoader, vv6.03.01
AuctionMaster, v4.3.1
Babylonian, v5.1.DEV.130
Bagnon, v2.18.0
BagnonForever, v1.1.3
BagnonTooltips, v
Bartender4, v4.4.18
ButtonForge, v0.9.13
Calculator, v
CLCDK, v4.1.0b
Configator, v5.1.DEV.286
DataStore, v4.1.001
DataStoreAchievements, v4.1.001
DataStoreAgenda, v4.1.001
DataStoreAuctions, v4.1.001
DataStoreCharacters, v4.1.001
DataStoreContainers, v4.1.001
DataStoreCrafts, v4.1.001
DataStoreCurrencies, v4.1.001
DataStoreInventory, v4.1.001
DataStoreMails, v4.1.001
DataStorePets, v4.1.001
DataStoreQuests, v4.1.001
DataStoreReputations, v4.1.001
DataStoreSpells, v4.1.001
DataStoreStats, v4.1.001
DataStoreTalents, v4.1.001
DBMCore, v
DebugLib, v5.1.DEV.275
EnsidiaFails, v
epgplootmaster, v0.6.08
Fatality, v1.2.2
Gatherer, v3.2.3
GatherMate2, v1.14
GatherMateSharing, v1.3
GTFO, v4.3.1
GuildGreet, v40100.1
Guildomatic, v3.0.9
IHearYouWhisper, v2.0
InspectFix, v2.5
LagBar, v2.3
LibSink20, v
OmniCC, v4.1.pancakes6
PlateBuffs, v1.8.0 (r201)
Postal, v3.4.6
PowerAuras, v4.19
Prat30, v3.4.19
Prat30Libraries, v
ProfessionsVault, v4.6
RaidBuffStatus, vv4.17
RatingBuster, v
Reforgenator, v1.3.7
SatrinaBuffFrame, v3.2
SexyMap, v
Skada, v1.2-32
SkadaAbsorbs, v1.0
SkadaCC, v1.0
SkadaDamage, v1.0
SkadaDamageTaken, v1.0
SkadaDeaths, v1.0
SkadaDebuffs, v1.0
SkadaDispels, v1.0
SkadaEnemies, v1.0
SkadaHealing, v1.0
SkadaPower, v1.0
SkadaThreat, v1.0
Stubby, v5.9.4960 (WhackyWallaby)
TankWarnings, vv1.3
TargetCharms, v1.5.3 (11/22/2010)
TargetHealthPercent, v4.0.1
TidyPlates, v6.2.0 Revision: 269
TidyPlatesThreatPlates, v5.1.9
TidyPlatesHub, v
TrueItemLevel, v
VuhDo, v2.99
VuhDoOptions, v2.99
BlizRuntimeLib_enUS v4.1.0.40100 <us>
(ck=790)
Turunash is offline Report comment to moderator  
Reply With Quote
Unread 05-03-11, 11:35 AM  
gossipgirlxo
A Deviate Faerie Dragon

Forum posts: 10
File comments: 81
Uploads: 1
thank you for this
gossipgirlxo is offline Report comment to moderator  
Reply With Quote
Unread 05-03-11, 09:35 AM  
Morwo
A Kobold Labourer
 
Morwo's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 94
Uploads: 1
Woot already done? i haz a crazy! thx alot : )
__________________
dont nerv me bro
Morwo is offline Report comment to moderator  
Reply With Quote
Unread 05-03-11, 08:51 AM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 564
Uploads: 37
Originally posted by Morwo
Hi there,

today i got an update from MMOminion. i this version bugsack found an error.

Code:
1x LagBar-2.3\LagBar.lua:109: attempt to index field 'frame' (a nil value)
LagBar-2.3\LagBar.lua:43: in function `Enable'
LagBar-2.3\LagBar.lua:13: in function `?'
LagBar-2.3\LagBar.lua:6: in function <LagBar\LagBar.lua:4>

it appears every time i log in or reload the ui. and no lagbar is on my screen since this version 2.3
OOPS! I'll fix that in 2.4 thanks for pointing it out.

Version 2.4:
-Oops had a tiny little bug :P (That's what I get for copying and pasting!)
-Fixed a small bug that was occuring with the frame.
-Updated version.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Xruptor is offline Report comment to moderator  
Reply With Quote
Unread 05-03-11, 08:24 AM  
Morwo
A Kobold Labourer
 
Morwo's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 94
Uploads: 1
Hi there,

today i got an update from MMOminion. i this version bugsack found an error.

Code:
1x LagBar-2.3\LagBar.lua:109: attempt to index field 'frame' (a nil value)
LagBar-2.3\LagBar.lua:43: in function `Enable'
LagBar-2.3\LagBar.lua:13: in function `?'
LagBar-2.3\LagBar.lua:6: in function <LagBar\LagBar.lua:4>

it appears every time i log in or reload the ui. and no lagbar is on my screen since this version 2.3
__________________
dont nerv me bro
Last edited by Morwo : 05-03-11 at 08:24 AM.
Morwo is offline Report comment to moderator  
Reply With Quote
Unread 05-03-11, 08:17 AM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 564
Uploads: 37
Added a new slash command to toggle the world ping on/off. In case some people didn't want it. It also resizes the frame to add some more space for it
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Xruptor is offline Report comment to moderator  
Reply With Quote
Unread 05-03-11, 05:52 AM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 564
Uploads: 37
Thanks I've made the changes and will be giving you credit.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Xruptor is offline Report comment to moderator  
Reply With Quote
Unread 04-23-11, 03:35 PM  
comix1234
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
home | world

this will show both home and world ms instead of just home

replace line 124 , 144

underline marked changes

Code:
--local bandwidthIn, bandwidthOut, latencyHome, latencyWorld = GetNetStats();
	--if (latencyHome > LagBar_MEDIUM_LATENCY) then
	--	LagBar_Text:SetTextColor(1, 0, 0);									
	--elseif (latencyHome > LagBar_LOW_LATENCY) then
	--	LagBar_Text:SetTextColor(1, 1, 0);
	--else
	--	LagBar_Text:SetTextColor(0, 1, 0);
	--end
	--if (latencyHome > 9999) then
	--	LagBar_Text:SetText("Ping: HIGH");
	--else
	--	LagBar_Text:SetText("Ping: "..latencyHome.." ms");
	--end

	--if (latencyWorld > LagBar_MEDIUM_LATENCY) then
	--	LagBar_Text:SetTextColor(1, 0, 0);									
	--elseif (latencyWorld > LagBar_LOW_LATENCY) then
	--	LagBar_Text:SetTextColor(1, 1, 0);
	--else
	--	LagBar_Text:SetTextColor(0, 1, 0);
	--end
	--if (latencyWorld > 9999) then
	--	LagBar_Text:SetText("Ping: HIGH");
	--else
	--	LagBar_Text:SetText("Ping: "..latencyWorld.." ms");
	--end

local framerate = floor(GetFramerate() + 0.5)
local framerate_text = format("|cff%s%d|r fps", LagBar_GetThresholdHexColor(framerate / 60), framerate)
			
local latencyHome = select(3, GetNetStats())
local latency_text = format("|cff%s%d|r ms", LagBar_GetThresholdHexColor(latencyHome, 1000, 500, 250, 100, 0), latencyHome)
		
local latencyWorld = select(4, GetNetStats())
local latency_text_server = format("|cff%s%d|r ms", LagBar_GetThresholdHexColor(latencyWorld, 1000, 500, 250, 100, 0), latencyWorld)

LagBarFrameText:SetText(framerate_text.." | "..latency_text.." | "..latency_text_server);
comix1234 is offline Report comment to moderator  
Reply With Quote
Unread 10-21-10, 09:20 AM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 564
Uploads: 37
Originally posted by garves
I believe I've made the necessary changes for 4.0.1 as I've got the addon working. If you'd like to get the changes I've made, or if the author would like to look at them or update the listing please let me know at wow@aarongarvey.com.
Try the latest one I uploaded. It should work and be the changes you gave.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Xruptor is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: