Quantcast
Download
(13 Kb)
Download
Updated: 10-08-18 06:26 PM
Pictures
File Info
Compatibility:
Battle for Azeroth (8.0.1)
Updated:10-08-18 06:26 PM
Created:01-29-09 08:44 AM
Downloads:9,606
Favorites:43
MD5:
8.0.1

LagBar  Popular! (More than 5000 hits)

Version: v4.1
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 move the frame, simply hold down SHIFT and drag the LagBar frame.


Slash Commands:

  • /lagbar reset -- resets window position to the center of the screen
  • /lagbar bg --shows/hides the background of the window
  • /lagbar worldping - toggles the world ping display on/off
  • /lagbar impdisplay - toggles the improved world ping display on/off
  • /lagbar scale # --changes the scale of the LagBar frame.
    NOTE: You really should use small numbers for setting the scale!
    Example: 0.8, 1.4, 1.7, 2.6, 2.1, etc... Default is 1



You can view Alpha Builds at my Github tracker.

LagBar

v4.1 (2018-10-09)
Full Changelog
  • -Added a config screen under Blizzard Interface Addon.
    -Added localization to LagBar. Please donate your language locale files!
    -Added support for the wowinterface and curse autopackager.
Optional Files (0)


Archived Files (22)
File Name
Version
Size
Author
Date
v4.0
3kB
Xruptor
07-24-18 02:38 PM
v3.6
4kB
Xruptor
10-26-16 07:10 AM
v3.5
4kB
Xruptor
07-25-16 06:52 AM
v3.4
3kB
Xruptor
07-24-16 03:22 PM
v3.3
3kB
Xruptor
10-25-14 09:14 AM
v3.2
3kB
Xruptor
03-13-13 05:21 PM
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 05-03-11, 11:35 AM  
gossipgirlxo
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 99
Uploads: 2
thank you for this
Report comment to moderator  
Reply With Quote
Unread 05-03-11, 09:35 AM  
Morwo
A Murloc Raider
 
Morwo's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 133
Uploads: 1
Woot already done? i haz a crazy! thx alot : )
__________________
dont nerv me bro
"World of Warcraft only Twitter" @wow_morwo
Report comment to moderator  
Reply With Quote
Unread 05-03-11, 08:51 AM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 105
File comments: 607
Uploads: 42
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(); }
Report comment to moderator  
Reply With Quote
Unread 05-03-11, 08:24 AM  
Morwo
A Murloc Raider
 
Morwo's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 133
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
"World of Warcraft only Twitter" @wow_morwo
Last edited by Morwo : 05-03-11 at 08:24 AM.
Report comment to moderator  
Reply With Quote
Unread 05-03-11, 08:17 AM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 105
File comments: 607
Uploads: 42
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(); }
Report comment to moderator  
Reply With Quote
Unread 05-03-11, 05:52 AM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 105
File comments: 607
Uploads: 42
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(); }
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);
Report comment to moderator  
Reply With Quote
Unread 10-21-10, 09:20 AM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 105
File comments: 607
Uploads: 42
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 [email protected].
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(); }
Report comment to moderator  
Reply With Quote
Unread 10-15-10, 01:00 PM  
garves
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
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 [email protected].
Report comment to moderator  
Reply With Quote
Unread 10-13-10, 06:01 PM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 105
File comments: 607
Uploads: 42
Originally posted by unwin
any plans for a 4.0.1 update?
Well I don't see why it wouldn't work. It probably just needs a .toc update. Did you try loading it forcefully? Does it work? If it does then it just needs a .toc update. I don't have a subscription right now so I can't test these things. I won't be back until around Cataclysm.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Report comment to moderator  
Reply With Quote
Unread 10-13-10, 03:52 PM  
unwin
A Deviate Faerie Dragon

Forum posts: 12
File comments: 41
Uploads: 0
any plans for a 4.0.1 update?
Report comment to moderator  
Reply With Quote
Unread 05-20-10, 06:03 AM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 105
File comments: 607
Uploads: 42
Originally posted by eternalglory
cannot resizze =/
Open LagBar.lua

Find:
Code:
	lbFrame:SetWidth(120);
	lbFrame:SetHeight(25);
Change the values as you would like
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Report comment to moderator  
Reply With Quote
Unread 05-19-10, 10:26 AM  
eternalglory
A Murloc Raider

Forum posts: 8
File comments: 63
Uploads: 0
cannot resizze =/
Report comment to moderator  
Reply With Quote
Unread 03-09-10, 09:18 PM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 105
File comments: 607
Uploads: 42
Originally posted by Falo
exactly what I was looking for! thank you!
I'm glad you like it I find it simple enough and I've used it for years.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Report comment to moderator  
Reply With Quote
Unread 03-08-10, 07:58 PM  
Falo
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
exactly what I was looking for! thank you!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: