Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(54 Kb)
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:2,105
Favorites:22
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)


Archived Files (3)
File Name
Version
Size
Author
Date
r3
54kB
Dawn
07-28-10 05:06 PM
r2
53kB
Dawn
07-22-10 10:08 AM
r1
73kB
Dawn
07-19-10 02:44 PM


Post A Reply Comment Options
Unread 11-18-10, 10:29 PM  
Xarl
A Black Drake
 
Xarl's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 88
File comments: 225
Uploads: 1
Originally posted by Yanis
Xarl, stop playing the spoiled brat in here. Thanks
LOl made me laugh
Xarl is offline Report comment to moderator  
Reply With Quote
Unread 11-12-10, 06:46 PM  
Yanis
A Kobold Labourer
 
Yanis's Avatar

Forum posts: 0
File comments: 4
Uploads: 0
It's still working fine without tooltip and minimap!
You don't need to be something like a lua-king to work that out. And please, Xarl, stop playing the spoiled brat in here. Thanks
Yanis is offline Report comment to moderator  
Reply With Quote
Unread 11-11-10, 06:05 PM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 907
File comments: 949
Uploads: 24
Originally posted by Xarl
No surprise that nothing is happening in a fix or so not like its the first time right Dawn.

Typical....Seems to be a bad habit of a few of you

I released this because you were bugging me for another viewport addon. This was intended to be a personal addon in the first place. You could have simply used rFov or something similar at any point.

This addon was an experiment, it didn't turn out to well. I didn't see a reason to keep it alive.

Anything released here is free. However, it costs the author(s) time to create it.

No author has the duty to update/maintain any kind of addon at any time.

It's no "habit" to do that, it's a decision. It's impossible to make it right for everyone and I'm sure as hell that there are a crap lot people out there that couldn't care less for whether I update this addon or not.

There are several different ways to ask for an update and/or to motivate an author. You took the wrong road.

If a user doesn't want to get into basic coding, it's his decision and that's still no reason to bug someone who did the work in the first place in such a manner.


So with all humble respect, your "thoughts" are bullshit. And I couldn't care less about them. I just can't believe you actually came back to post something like that AGAIN. That's the only reason you get a response at all. Even though that's not what you wanted, 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..."

Dawn is offline Report comment to moderator  
Reply With Quote
Unread 11-11-10, 05:18 PM  
Xarl
A Black Drake
 
Xarl's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 88
File comments: 225
Uploads: 1
Originally posted by Xarl
Anything going to happen here ?


Or just another dead addon ?


Just speaking out my thoughts...



Cheers
No surprise that nothing is happening in a fix or so not like its the first time right Dawn.

Typical....Seems to be a bad habit of a few of you
Xarl is offline Report comment to moderator  
Reply With Quote
Unread 10-21-10, 06:22 PM  
Elsandman1
A Kobold Labourer

Forum posts: 0
File comments: 10
Uploads: 0
It would be really appreciated if this was updated. I used this with OUF_Nivea and it was excellent. Thank you.
Elsandman1 is offline Report comment to moderator  
Reply With Quote
Unread 10-21-10, 03:15 PM  
Xarl
A Black Drake
 
Xarl's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 88
File comments: 225
Uploads: 1
Anything going to happen here ?


Or just another dead addon ?


Just speaking out my thoughts...



Cheers
Xarl is offline Report comment to moderator  
Reply With Quote
Unread 10-13-10, 11:28 AM  
Xarl
A Black Drake
 
Xarl's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 88
File comments: 225
Uploads: 1
Hey Dawn,

new Patch new error time:

Code:
[2010/10/13 19:22:13-7204-x1]: GadgetsOnAStick\modules\minimap.lua:73: bad argument #1 to 'pairs' (table expected, got nil)
GadgetsOnAStick\modules\minimap.lua:73: in function <Interface\AddOns\GadgetsOnAStick\modules\minimap.lua:18>

  ---
Buffs aint showing besides the Map anymore only the Blizz Buff row and guess they took the Hide Blizzard Clock out since it Shows below the Map and i checked the Blizz Settings and cant find any Hide there anymore.

Thats all so far
Last edited by Xarl : 10-13-10 at 12:01 PM.
Xarl is offline Report comment to moderator  
Reply With Quote
Unread 09-30-10, 08:40 AM  
Namica
A Kobold Labourer
 
Namica's Avatar

Forum posts: 0
File comments: 116
Uploads: 0
Hey Dawn,

just here to say that I like this very much. Mades my own little UI so beautiful!

Thanks a lot!
Namica
Namica is offline Report comment to moderator  
Reply With Quote
Unread 08-23-10, 01:31 PM  
tmcnabb
A Fallenroot Satyr
 
tmcnabb's Avatar

Forum posts: 22
File comments: 25
Uploads: 0
Originally posted by Dawn
Already rewrote it, .....

you rock ..thanks for sharing.


No lag btw. Even when using your original "onmouse" code.
Last edited by tmcnabb : 08-23-10 at 02:52 PM.
tmcnabb is offline Report comment to moderator  
Reply With Quote
Unread 08-23-10, 06:38 AM  
Xarl
A Black Drake
 
Xarl's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 88
File comments: 225
Uploads: 1
Originally posted by Dawn
Blizzard clock .. blizzard options ^^
LOL i feel a bit stupid now


Thanks for the hint
Xarl is offline Report comment to moderator  
Reply With Quote
Unread 08-23-10, 06:27 AM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 907
File comments: 949
Uploads: 24
Blizzard clock .. blizzard options ^^
__________________
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..."

Dawn is offline Report comment to moderator  
Reply With Quote
Unread 08-23-10, 03:48 AM  
Xarl
A Black Drake
 
Xarl's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 88
File comments: 225
Uploads: 1
Hi Dawn,

i logged in today and suddenly had to see the Clock frame on the bottom of my Minimap



How can i get rid of it again.
Never changed anything on my UI.


Edit:

Now i even did a re install of my WTF since i think its in there but it did not go away. I even did a reinstall of the full Addon and no fix
Last edited by Xarl : 08-23-10 at 04:29 AM.
Xarl is offline Report comment to moderator  
Reply With Quote
Unread 08-22-10, 07:16 AM  
Nokzius
A Kobold Labourer

Forum posts: 0
File comments: 10
Uploads: 0
Originally posted by Dawn
You can move any gadget, just hold down ALT + mouse button.
Ooops Guess I missed that. Thanks
Nokzius is offline Report comment to moderator  
Reply With Quote
Unread 08-21-10, 06:18 AM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 907
File comments: 949
Uploads: 24
You can move any gadget, just hold down ALT + mouse button.
__________________
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..."

Dawn is offline Report comment to moderator  
Reply With Quote
Unread 08-21-10, 04:18 AM  
Nokzius
A Kobold Labourer

Forum posts: 0
File comments: 10
Uploads: 0
Hey

I have a small issue with GadgetsOnStick. My Durability and Compass overlap each other slightly.
Do you (or some one else) have any suggestions as to why this is? and what I could do to fix it?
I currently set my Compass to only show on hover, because of this. But itīs really a shame....

Thanks a bunch for some great AddOns. You are a true artist

Edit: the idea, some one here suggested, about adding a calculator is quite good actualy. it could be really handy at times....
Last edited by Nokzius : 08-21-10 at 04:24 AM.
Nokzius is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: