R
(14Kb)
Download
Updated: 04-08-24 10:42 AM
C
(14kB)
Download
Updated: 04-08-24 10:42 AM
BC
(13kB)
Download
Updated: 09-19-21 08:11 AM
WL
(14kB)
Download
Updated: 04-08-24 10:43 AM
Ca
(14kB)
Download
Updated: 04-08-24 10:43 AM
Pictures
File Info
Compatibility:
Cataclysm Classic (4.4.0)
Updated:04-08-24 10:42 AM
Created:01-29-09 08:44 AM
Downloads:14,487
Favorites:45
MD5:

LagBar  Popular! (More than 5000 hits)

Version: v6.9, Classic: v6.9
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 submit bug reports or suggestions and view Alpha Builds at my Github tracker.

LagBar
v6.9 (2024-04-08)
Full Changelog Previous Releases
  • Fix for WOWInterface.com and Cataclysm Classic support.
Optional Files (0)


Archived Files (18)
File Name
Version
Size
Author
Date
v6.8
14kB
Xruptor
04-06-24 03:25 PM
v6.6
14kB
Xruptor
09-18-23 03:57 PM
v6.5
14kB
Xruptor
05-26-23 06:32 AM
v6.4
14kB
Xruptor
01-25-23 07:01 AM
v6.3
14kB
Xruptor
12-09-22 06:57 AM
v6.2
14kB
Xruptor
11-28-22 02:02 PM
v6.1
14kB
Xruptor
11-28-22 01:56 PM
v6.0
13kB
Xruptor
11-26-22 07:29 AM
v5.9
13kB
Xruptor
11-15-22 05:48 PM
v5.8
13kB
Xruptor
11-10-22 03:46 PM
v5.7
13kB
Xruptor
10-31-22 07:15 AM
v5.5
13kB
Xruptor
09-19-21 08:11 AM
v5.4
14kB
Xruptor
05-28-21 08:01 AM
v5.3
14kB
Xruptor
05-17-21 05:47 AM
v5.2
13kB
Xruptor
04-06-21 09:48 AM
v5.1
13kB
Xruptor
03-26-21 07:16 AM
v5.0
13kB
Xruptor
03-16-21 04:25 PM
v4.9
13kB
Xruptor
03-12-21 02:39 PM


Post A Reply Comment Options
Unread 02-12-09, 02:32 PM  
Zabbath
A Kobold Labourer
 
Zabbath's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 16
Uploads: 2
Good addon, but each time i hide the background and logout and log back in, the background is still showing. It also happen when i do a Reload UI.
Last edited by Zabbath : 02-12-09 at 02:43 PM.
Report comment to moderator  
Reply With Quote
Unread 02-17-09, 02:38 PM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 137
File comments: 640
Uploads: 22
Version 1.3 Uploaded!

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
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Report comment to moderator  
Reply With Quote
Unread 12-13-09, 10:16 PM  
Annekynn
A Fallenroot Satyr

Forum posts: 21
File comments: 144
Uploads: 0
Thank you for this addon!
Report comment to moderator  
Reply With Quote
Unread 12-14-09, 09:18 AM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 137
File comments: 640
Uploads: 22
Originally posted by Annekynn
Thank you for this addon!
Your welcome
__________________
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
Unread 03-09-10, 09:18 PM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 137
File comments: 640
Uploads: 22
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 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 05-20-10, 06:03 AM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 137
File comments: 640
Uploads: 22
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 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 10-13-10, 06:01 PM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 137
File comments: 640
Uploads: 22
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-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-21-10, 09:20 AM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 137
File comments: 640
Uploads: 22
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 04-23-11, 03:35 PM  
comix1234
A Kobold Labourer

Forum posts: 0
File comments: 2
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 05-03-11, 05:52 AM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 137
File comments: 640
Uploads: 22
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 05-03-11, 08:17 AM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 137
File comments: 640
Uploads: 22
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
Post A Reply



Category Jump: