Download
(54Kb)
Download
Updated: 08-03-10 06:00 PM
Pictures
File Info
Updated:08-03-10 06:00 PM
Created:07-19-10 02:44 PM
Downloads:3,022
Favorites:19
MD5:

GadgetsOn'Stick

Version: r4
by: Dawn [More]

Gadgets on a Stick

Granted, this won't affect your riding speed, like carrot on a stick. But It'll make your characters life easier! Gadgets on a Stick is a very lightweight, highly modular, yet pretty customizable collection of small things anyone needs, combined in one addon.


Features
* config via config.lua
* auto repair and selling of grey crap
* buy a full stack of some vendor crap with ALT + click (to fill up reagents, fast ...)
* sets camera distance to max (if you zoom out...)
* allows you to change your screenshots quality (via config)
* filter error messages you can add exceptions via /error
* adds the following slash commands
- reload ui = /rl
- ready check = /rc
- Need to speak with a GM? = /ticket or /gm
- calendar = /cl or /calendar
* several Gadgets (think of modules...)



Gadgets
* minimap (middle mouse click on the map allows you to choose your tracking type, right click will open your calendar)
* zone text
* bags
* money
* fps
* latency and memory
* clock (including wintergrasp timer and calendar on click)
* durability
* compass
* gold
* tooltip
* viewport (including customizable texture overlay, colors, etc.)



General Gadget Notes
* gadgets (including minimap) are moveable, by holding down ALT
* gadgets can be enabled/disabled separately
* gadgets can either have a custom set border color or a class colored border
- it only loads what you choose to load, saves memory and displays only what you want to see
* you can choose to show/hide the border and backgrounds of gadgets
* gadgets can be set to show/hide on mouseover separately, except minimap (always visible)
* gadget positions are saved in your characters layout-local.txt
- you can either edit this file or delete it, to change/reset positions you don't want or messed up (you have to log out if you want to edit/delete the file)

note: Gadgets will not trigger mouseover fading, you have to mouseover the top edge of your screen.



FAQ

1. Where'z teh options?
Take a look into your World of Warcraft folder: Interface\Addons\dSidebar\config.lua. You can open this file with Wordpad, Notepad or any other text editor. I recommend Notepad++ - it's free, google it. The config is fairly well commented, just take your time to read through it.

note: If you change anything in config.lua, you have to reload your interface, either via /rl or a relog.



ToDo
* fix minimap sticking to the mouse while moving - for now, place the map, stop moving and type /rl
* fix tooltip error when you mouse over a player in a vehicle unit...



Credits
Alleykat - wintergrasp timer implementation idea
Vrul - parts of compass code



Config
The layout's setup code below can be found in "AddOns\GadgetsOnAStick\config.lua". You can edit and save your changes via Wordpad, Notepad or something similar. I recommend getting Notepad++ (it's a free editor, google it).

Code:


------------
-- colors --
------------

	cfg.maincolor = {44/255, 40/255, 67/255}				-- bar and panel color
	cfg.sndcolor = {208/255, 172/255, 146/255}				-- font color
	cfg.trdcolor = {90/255, 110/255, 120/255}				-- wintergrasp timer bar color
	cfg.brdcolor = {80/255, 80/255, 80/255}					-- border color
	
	cfg.CreateGadgetBGandBorder	= true						-- show/hide gadget border and background
	cfg.GadgetsClassColorBorder = false						-- enable class coloured gadget border (instead of "brdcolor")
	
-----------	
-- media --
-----------

	cfg.BarTex = mediaFolder.."dM3"							-- bar texture
	cfg.PanelTex = mediaFolder.."dM3"						-- texture
	cfg.ViewportTex = mediaFolder.."dM3"					-- texture
	
	-- border texture, can be - dEBorderD = round edges, dEBorderE = solid 2px border + 1px inline and 1px outline (default), dEBorderF = solid 2px border
	cfg.BorderTex = mediaFolder.."dEBorderE"

	cfg.MaskTex = mediaFolder.."mask"						-- don't touch this ...
	
	cfg.Font = mediaFolder.."Prototype.ttf"					-- font
	cfg.FS = 10												-- font size
	cfg.FontF = "THINOUTLINE" 								-- fontF = nil -- use "OUTLINE MONOCHROME" for pixel fonts

--------------	
-- settings --
--------------

	cfg.ScreenshotQuality = 10		-- quality of screenshots, can be 1-10, format will be jpg

	-- enable/disable gadgets - true/false (on/off)
	cfg.showBags = true
	cfg.showClock = true
	cfg.showCompass = false
	cfg.showDurability = true
	cfg.showFPS = true	
	cfg.showGold = true	
	cfg.showLatencyMemory = true	-- latency and memory gadget, memory shows on mouseover, it can be cleaned (garbage collected) via mouseclick
	cfg.showViewport = true	
	cfg.showZone = true	

	cfg.useMinimap = true
	cfg.useTooltip = true
	
	cfg.FilterErrors = true		-- filter error messages (like "spell is not ready", etc.)

------------------------------------------------------------------------------------------------------------------------------	
-- Mouseover - if enabled, gadgets will be shown on mouseover, only - they will fade in fast and fade out slowly by default --
------------------------------------------------------------------------------------------------------------------------------
	
	cfg.FadeGadgets = true				-- fade gadgets in/out (required, as long as you choose not to mouseover all, but at least one gadget)
	cfg.timeToFadeIN = 0.8				-- time in seconds to fade IN the gadgets
	cfg.timeToFadeOUT = 10				-- time in seconds to fade OUT the gadgets
	cfg.startAlpha = 0.0				-- think of "minimum alpha" - that's where the FadeIN starts at, and the FadeOUT ends at
	cfg.endAlpha = 1.0					-- think of "maximum alpha" - that's where the FadeOUT starts at, and the FadeIN ends at
	
	cfg.MouseOverBags = true
	cfg.MouseOverClock = false
	cfg.MouseOverCompass = true
	cfg.MouseOverDurability = true
	cfg.MouseOverGold = true
	cfg.MouseOverFPS = false
	cfg.MouseOverLatencyMemory = false
	cfg.MouseOverZone = false
	
	
-------------
-- Tooltip --
-------------
	
	cfg.TooltipScale = 0.84				-- scale ...
	cfg.HPonTOP = false					-- show healthbar on top of the tooltip, bottom otherwise
	cfg.HPheight = 14					-- healthbar height	
	
	-- sticky position
	cfg.TooltipAnchor1 = "TOPRIGHT"
	cfg.TooltipAnchor2 = "BOTTOMRIGHT"
	cfg.TooltipParent = "Minimap"
	cfg.TooltipOffset_X = 2
	cfg.TooltipOffset_Y = -30

	cfg.AnchorToCursor = false			-- anchor tooltip to cursor, replaces default anchor above
	
	-- cursor anchors and positions only apply if - cfg.AnchorToCursor = true
	cfg.CursorAnchor1 = "TOPLEFT"
	cfg.CursorAnchor2 = "BOTTOMLEFT"
	cfg.CursorOffset_X = 30
	cfg.CursorOffset_Y = -24
	
---------------------------------------------------	
-- Minimap - you can move it by holding down ALT --
---------------------------------------------------
	
	cfg.MiniMapScale = 0.78				-- minimap scale 
	cfg.mailIconScale = 1.2				-- mail icon scale
	cfg.MiniClassColorBorder = false	-- enable class coloured minimap border
	
	-- PvP tracker position ("watchframe", whatever it's called...)
	cfg.PvPStateAnchor = "TOP"
	cfg.PvPStateX = 0
	cfg.PvPStateY = -30
	
--------------	
-- Viewport --
--------------
	
	cfg.ViewportClassColorBorder = false		-- enable class coloured viewport border
	
	-- viewport size (0 = hidden)
	cfg.ViewTop = 20	
	cfg.ViewBottom = 0
	cfg.ViewLeft = 0
	cfg.ViewRight = 0

	-- viewport texture size (normally slightly larger value than viewport size, required - depends on UIScale and which viewport size you choose)
	cfg.ViewTopTexH	= 26
	cfg.ViewBottomTexH = 26	


r4
* fixed tooltip lag on dead mobs

r3
* removed wintergrasp statusbar, time to wintergrasp is still available on mouseover!
* some tooltip tweaks
* fix Boss levels shown as "-1"
* added an option to disable tooltip fading (enabled by default)
* added an option to turn off auto repair and auto selling of grey junk

note:
* config settings are currently set to my settings (disabled viewport, ...)


r2
* added tooltip gadget - switch this off if you want to use another tooltip addon
planned tooltip features are:
- border color based on item quality, etc.
- maybe add power bar (possibly mana bar only) and power value
...

* fixed wintergrasp bartimer's frame strata
* cleaned up some code
* replaced some OnUpdate with OnEvent code - thanks to Vrul :)
* compass gadget is now deactivated by default
* removed an unused texture and the pixel fonts from the package...


r1
* initial release
Optional Files (0)


Post A Reply Comment Options
Unread 07-19-10, 04:16 PM  
Tincup
The Grumpy One
 
Tincup's Avatar
AddOn Author - Click to view AddOns

Forum posts: 37
File comments: 98
Uploads: 1
First comment

Really nice addon you have here. I can see this being part of many UI's compilations.

Too bad the tooltips that come up when hovering don't match. Maybe I should try a tooltip addon to see how things look.
Report comment to moderator  
Reply With Quote
Unread 07-19-10, 04:45 PM  
Alfrunnah
A Kobold Labourer

Forum posts: 1
File comments: 56
Uploads: 0
Another awesome addon I'm gonna be using all the time. Small bug with the minimap, when I hold alt to move it, it sticks to my mouse cursor. I have to put it in place, then reload my UI to make it stick

Would be cool to have an option to go to 12hr time as well on the clock. I remember the code from your old version so I did it manually

Also the background doesn't seem to hide itself for just the clock module. The border hides, but the background remains.
Last edited by Alfrunnah : 07-19-10 at 05:00 PM.
Report comment to moderator  
Reply With Quote
Unread 07-19-10, 05:56 PM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 918
File comments: 959
Uploads: 22
Originally posted by Alfrunnah
Another awesome addon I'm gonna be using all the time. Small bug with the minimap, when I hold alt to move it, it sticks to my mouse cursor. I have to put it in place, then reload my UI to make it stick

Would be cool to have an option to go to 12hr time as well on the clock. I remember the code from your old version so I did it manually

Also the background doesn't seem to hide itself for just the clock module. The border hides, but the background remains.
That's not the background, it's the wintergrasp timer's statusbar. I might hide this in the next version, too. If you choose to hide the border/bg, but I left it in initially to see if people still want to see the timer bar or not. Since the wintergrasp timer stays available on mouseover it's purely cosmetic.

@Tincup
I use TipTac, which skins everything, didn't try it without a tooltip addon. I consider including a tooltip and maybe a chat gadget, anyway.
__________________
Rock: "We're sub-standard DPS. Nerf Paper, Scissors are fine."
Paper: "OMG, WTF, Scissors!"
Scissors: "Rock is OP and Paper are QQers. We need PvP buffs."

"neeh the game wont be remembered as the game who made blizz the most money, it will be remembered as the game who had the most QQ'ers that just couldnt quit the game for some reason..."

Report comment to moderator  
Reply With Quote
Unread 07-19-10, 07:38 PM  
xtoq
An Aku'mai Servant
 
xtoq's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 642
Uploads: 4
The only thing better is sausageinnabun.
__________________
There is absolutely no evidence to support the theory that life is serious.
Report comment to moderator  
Reply With Quote
Unread 07-20-10, 06:03 AM  
Xarl
A Warpwood Thunder Caller
 
Xarl's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 94
File comments: 224
Uploads: 1
All i can say is


__________________
Report comment to moderator  
Reply With Quote
Unread 07-21-10, 09:49 AM  
Aisenfaire
A Murloc Raider

Forum posts: 6
File comments: 394
Uploads: 0
This is awesome!

I do have 3 questions:

1) How do I make the clock show:
a) my server time instead of local time?
b) time format like 3:15 PM instead of 15:15?

2) How do I remove the mail icon from the minimap? (Because I always have mail sitting in the mailbox anyway)
Last edited by Aisenfaire : 07-21-10 at 10:08 AM.
Report comment to moderator  
Reply With Quote
Unread 07-21-10, 09:41 PM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 918
File comments: 959
Uploads: 22
Originally posted by Aisenfaire
This is awesome!

I do have 3 questions:

1) How do I make the clock show:
a) my server time instead of local time?
b) time format like 3:15 PM instead of 15:15?

2) How do I remove the mail icon from the minimap? (Because I always have mail sitting in the mailbox anyway)
2) Try setting the mail icon scale to 0.000000001 via config...

Time format is a little bit more complex.
__________________
Rock: "We're sub-standard DPS. Nerf Paper, Scissors are fine."
Paper: "OMG, WTF, Scissors!"
Scissors: "Rock is OP and Paper are QQers. We need PvP buffs."

"neeh the game wont be remembered as the game who made blizz the most money, it will be remembered as the game who had the most QQ'ers that just couldnt quit the game for some reason..."

Report comment to moderator  
Reply With Quote
Unread 07-22-10, 06:10 AM  
Aisenfaire
A Murloc Raider

Forum posts: 6
File comments: 394
Uploads: 0
Originally posted by Dawn
2) Try setting the mail icon scale to 0.000000001 via config...


Thank you!

Time format is a little bit more complex.
Oh, I see. Would there be any possibility, please, of having these features (time format/ server time) as an option in the future?
Last edited by Aisenfaire : 07-22-10 at 06:11 AM.
Report comment to moderator  
Reply With Quote
Unread 07-22-10, 04:38 PM  
voodoodad
Large, Friendly Letters!
 
voodoodad's Avatar

Forum posts: 1632
File comments: 27
Uploads: 0
Nice, Dawn! Add your own actionbars and UFs and you've got yourself an all-in-one UI replacement!
__________________

~ no need to make the message completely obnoxious - Cairenn
Report comment to moderator  
Reply With Quote
Unread 07-22-10, 04:54 PM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 918
File comments: 959
Uploads: 22
Hehe, I realize this is close to an interface suite. Default settings are made to fit my oUF layout, so unitframes are covered already. I doubt that I make an actionbar replacement, though. I personally use Dominos, because of the possibilities it provides (hide/show bars on whatever macro state you want, highly flexible config, yet fairly nice to your PC's resources etc). And then there's rActionBarStyler for those that only want some very basic actionbars.
Not really necessary to get into that, imho.

I want to add a chat gadget, next. Let's see where this goes. Seems like it's not going to be overly popular, anyway. Maybe the description is to much "TLDR" or something.
__________________
Rock: "We're sub-standard DPS. Nerf Paper, Scissors are fine."
Paper: "OMG, WTF, Scissors!"
Scissors: "Rock is OP and Paper are QQers. We need PvP buffs."

"neeh the game wont be remembered as the game who made blizz the most money, it will be remembered as the game who had the most QQ'ers that just couldnt quit the game for some reason..."

Last edited by Dawn : 07-22-10 at 04:54 PM.
Report comment to moderator  
Reply With Quote
Unread 07-23-10, 03:26 AM  
Xarl
A Warpwood Thunder Caller
 
Xarl's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 94
File comments: 224
Uploads: 1
Hey Dawn just want to pint this out.

When i set my Clock FPS and Latency to fade out some ( 0.4 ) this is what happens to the clock:



Just want to point that out to you.

€dit:
Ok i just found out the little grey part in the clock will only show up if i have Fading set to true for it. So its not the Alpha settings part thats doing it.


Cheers
__________________
Last edited by Xarl : 07-23-10 at 03:32 AM.
Report comment to moderator  
Reply With Quote
Unread 07-23-10, 07:40 AM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 918
File comments: 959
Uploads: 22
You're using r2, right?
__________________
Rock: "We're sub-standard DPS. Nerf Paper, Scissors are fine."
Paper: "OMG, WTF, Scissors!"
Scissors: "Rock is OP and Paper are QQers. We need PvP buffs."

"neeh the game wont be remembered as the game who made blizz the most money, it will be remembered as the game who had the most QQ'ers that just couldnt quit the game for some reason..."

Report comment to moderator  
Reply With Quote
Unread 07-24-10, 05:31 AM  
Xarl
A Warpwood Thunder Caller
 
Xarl's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 94
File comments: 224
Uploads: 1
Originally posted by Dawn
You're using r2, right?
Yeah i am.

If ya click on my Sig you can see my setup now so its no big deal for me at least.


Thanks for your great Work Dawn
__________________
Report comment to moderator  
Reply With Quote
Unread 07-24-10, 09:01 AM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 918
File comments: 959
Uploads: 22
Nevermind, fixed that already - got rid of the damn bar. Didn't know what to do it with hidden BG and border anyway and it was a mess with frame stratas. And the wintergrasp timer is still available on mouseover.

Working on a micromenu replacement and a nicer looking appearance (default settings), right now.
__________________
Rock: "We're sub-standard DPS. Nerf Paper, Scissors are fine."
Paper: "OMG, WTF, Scissors!"
Scissors: "Rock is OP and Paper are QQers. We need PvP buffs."

"neeh the game wont be remembered as the game who made blizz the most money, it will be remembered as the game who had the most QQ'ers that just couldnt quit the game for some reason..."

Report comment to moderator  
Reply With Quote
Unread 07-26-10, 02:52 AM  
Xarl
A Warpwood Thunder Caller
 
Xarl's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 94
File comments: 224
Uploads: 1
Hey dawn just now i seen that you have Auto Selling and Auto Repair in this as well.
I was wondering why stuff was gone that i wanted to keep.

Is there a way to turn Auto Selling and Repair off ?



Cheers
__________________
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: