Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(27 Kb)
Download
Updated: 10-17-14 09:37 AM
Pictures
File Info
Compatibility:
Warlords of Draenor Pre-Patch (6.0.2)
Updated:10-17-14 09:37 AM
Created:10-16-10 04:02 PM
Downloads:2,353
Favorites:41
MD5:
6.0.2
Duh  Updated this week!
Version: 1.8
by: mikma [More]
Duh is a simple tool for helping you remember things at selected situations.

Just select a situation and enter the text, the addon will show you the note you want to remember at correct situation.
You can also select the note to be shown only once.

Example 1:
Write the text "Remember to buy food" into the text-frame and select "Merchant". A note will remind you to buy food when you visit merchant.

Example 2:
While leveling add a note "Remember to buy new spells" and select "Town" from checkboxes. When you zone into a major city the addon will remind you to train yourself.

These events are being covered:
  • Merchant - When you open a merchant that sells something.
  • Town - When you zone in a major city (Stormwind, Orgrimmar, Dalaran...).
  • Instance - When you zone in a party or raid -instance..
  • PvP - When you zone into a battleground.
  • Login - When you log in the game.
  • Ready Check - When ready check pops up.
  • Mailbox - When you open mailbox.
  • Trade - When you trade someone or someone trades you.
  • Flight Master - When you are choosing a flight path.
  • Bank - When you open bank.
  • Guild Bank - When you open guild bank.
  • Talent Swap - When you switch between primary/secondary talent-tree.
  • Auction House - When you open auction house.
  • Profession Window - When you open crafting window.
  • Next Level - When you gain a level.

The addon has slashcommands '/d' and '/duh' which takes you directly into note adding frame. This is under Interface Options -> AddOns -> Duh
1.8: (again)
* .toc 60000

1.8:
* .toc 50400
* Added button to toggle Minimap button on/off
* Added slider to select the size of the notes
* Duh works again with "In town" selection.

1.7:
* Fixed "Show once" getting checked on when adding new notes.
* When you mouseover LDB / Minimap button, it'll show you all notes stored

1.6:
* Decorated the Duh tooltips to be more unique ;)
* Added LDB and Minimap buttons for easy access

1.5:
* .toc 50100
* Added support for the 11th character you can create now
* Fixed a typo :)

1.4:
* Editbox and "Add Note" button are now visible if ie. some idiot (not TourGuide) leveling guide decides to change the InterfaceOptionsPanel framestrata into higher than it's meant to be...

1.3:
* You can now edit the previously entered messages.
* Duh uses now AceDB to handle all the notes. Makes my life easier ^^
* Rewritten great part of GUI's and added info in top of the panels explaining what can you do in them.

1.2:
* Added a new server -check in. It was missing in v1.1 and it resulted a bunch of errors.
* Added the servername in the "Manage Characters" GUI.

1.1:
* Added option to show message with selected character.
* Over level 40 characters are added automatically in the character-list.
* Added GUI to add/delete names in character-list.

1.0:
* Release
Optional Files (0)


Archived Files (2)
File Name
Version
Size
Author
Date
 Duh
1.8
28kB
mikma
09-03-14 02:28 PM
 Duh
1.7
27kB
mikma
12-27-12 02:31 PM


Post A Reply Comment Options
Unread 08-31-14, 12:23 PM  
mikma
A Cyclonian
 
mikma's Avatar
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 250
Uploads: 30
Originally Posted by gloomberg
Great addon, long sought such. Is it possible to increase the size of the pop-up window? Thank you very much.
Hmm, I have to think about that for awile. There might be a way but i'm not sure if the layout can handle it without breaking horribly.
mikma is online now Report comment to moderator  
Reply With Quote
Unread 08-30-14, 03:21 AM  
gloomberg
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Great addon, long sought such. Is it possible to increase the size of the pop-up window? Thank you very much.
gloomberg is offline Report comment to moderator  
Reply With Quote
Unread 02-21-14, 09:17 AM  
mikma
A Cyclonian
 
mikma's Avatar
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 250
Uploads: 30
I promise I'll try to fix those if I decide to start to play WoW again
mikma is online now Report comment to moderator  
Reply With Quote
Unread 02-11-14, 02:06 PM  
Maelynn
A Deviate Faerie Dragon
 
Maelynn's Avatar

Forum posts: 15
File comments: 181
Uploads: 0
Hey there! Still loving your addon, but something strange just happened. I had rolled a few toons on Draenor a while back to keep in touch with migrating guildies, and now that I started playing one of them a bit more and had a look at the addon settings I stumbled upon two things:

- when I clicked 'manage characters' in the Interface>Addons list:

Code:
Date: 2014-02-11 20:57:02
ID: 5
Error occured in: Global
Count: 1
Message: ..\AddOns\Duh\Duh.lua line 742:
   attempt to concatenate local 'text' (a nil value)
Debug:
   Duh\Duh.lua:742:
      Duh\Duh.lua:677
   [C]: Show()
   ..\FrameXML\InterfaceOptionsFrame.lua:28:
      ..\FrameXML\InterfaceOptionsFrame.lua:17
   [C]: InterfaceOptionsList_DisplayPanel()
   ..\FrameXML\InterfaceOptionsFrame.lua:46: InterfaceOptionsListButton_OnClick()
   ..\FrameXML\InterfaceOptionsFrame.lua:475:
      ..\FrameXML\InterfaceOptionsFrame.lua:424
   [C]: InterfaceOptionsFrame_OpenToCategory()
   Duh\Duh.lua:814:
      Duh\Duh.lua:813
Locals:
managenames = DuhManageNames {
 0 = <userdata>
 cancel = <function> defined @Interface\FrameXML\InterfaceOptionsFrame.lua:613
 name = "Manage Characters"
 hidden = false
 parent = "Duh"
 refresh = <function> defined @Interface\FrameXML\InterfaceOptionsFrame.lua:615
 okay = <function> defined @Interface\FrameXML\InterfaceOptionsFrame.lua:612
 default = <function> defined @Interface\FrameXML\InterfaceOptionsFrame.lua:614
}
title = <unnamed> {
 0 = <userdata>
}
subtitle = <unnamed> {
 0 = <userdata>
}
rows = <table> {
}
anchor = nil
LoadOnClick = <function> defined @Interface\AddOns\Duh\Duh.lua:693
label = <unnamed> {
 0 = <userdata>
}
editbox = <unnamed> {
 0 = <userdata>
}
onClickAddName = <function> defined @Interface\AddOns\Duh\Duh.lua:713
button = <unnamed> {
 0 = <userdata>
 Right = <unnamed> {
 }
 Left = <unnamed> {
 }
 Middle = <unnamed> {
 }
}
OnEnter = <function> defined @Interface\AddOns\Duh\Duh.lua:728
OnLeave = <function> defined @Interface\AddOns\Duh\Duh.lua:733
servername = <unnamed> {
 0 = <userdata>
}
text = nil
(*temporary) = <function> defined =[C]:-1
(*temporary) = <unnamed> {
 0 = <userdata>
}
(*temporary) = nil
(*temporary) = " characters:"
(*temporary) = "BOTTOMLEFT"
(*temporary) = 0
(*temporary) = -15
(*temporary) = <userdata>
(*temporary) = <unnamed> {
 0 = <userdata>
 Right = <unnamed> {
 }
 Left = <unnamed> {
 }
 Middle = <unnamed> {
 }
}
(*temporary) = <unnamed> {
 0 = <userdata>
}
(*temporary) = "CreateFrame/template"
(*temporary) = true
(*temporary) = 4
(*temporary) = 5
(*temporary) = "attempt to concatenate local 'text' (a nil value)"
db = <table> {
 notes = <table> {
 }
 names = <table> {
 }
}
refreshNames = nil
dprint = <function> defined @Interface\AddOns\Duh\Duh.lua:9
addName = <function> defined @Interface\AddOns\Duh\Duh.lua:187
ROWGAP = 2
EDGEGAP = 16
ROWHEIGHT = 20
MakeButton = <function> defined @Interface\AddOns\Duh\Duh.lua:271

AddOns:
<snip>
- when I typed in a character's name and hit 'ok' to have them added to the list (and they don't get added, despite the confirmative message at the top of the screen):

Code:
Date: 2014-02-11 20:57:27
ID: 6
Error occured in: Global
Count: 1
Message: ..\AddOns\Duh\Duh.lua line 718:
   attempt to call upvalue 'refreshNames' (a nil value)
Debug:
   Duh\Duh.lua:718:
      Duh\Duh.lua:713
Locals:
(*temporary) = nil
(*temporary) = "attempt to call upvalue 'refreshNames' (a nil value)"
db = <table> {
 notes = <table> {
 }
 names = <table> {
 }
}
dprint = <function> defined @Interface\AddOns\Duh\Duh.lua:9
addName = <function> defined @Interface\AddOns\Duh\Duh.lua:187
editbox = <unnamed> {
 0 = <userdata>
}
refreshNames = nil

AddOns:
<snip>
Edit: oh, and I 'd like to chime in (be it a tad late) about the minimap button... I'd also prefer to see it toggable, because I very much enjoy a clean minimap. With this addon having such an easy command to pull up the list, I don't need a mouseover list permanently on my screen.
__________________
Just remember... if the world didn't suck, we'd all fall off.
Last edited by Maelynn : 02-11-14 at 02:11 PM.
Maelynn is offline Report comment to moderator  
Reply With Quote
Unread 12-25-12, 12:37 PM  
mikma
A Cyclonian
 
mikma's Avatar
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 250
Uploads: 30
Originally Posted by weavil
I've been using this for awhile. Wasn't there a way to toggle minimap icon? Or maybe there wasn't a minimap icon before. Can't remember.
The minimap icon is brand new with this release, and there ain't no way of hiding it. If it keeps on annoying, I'll add a checkbox for hiding it somewhere in the GUI.
mikma is online now Report comment to moderator  
Reply With Quote
Unread 12-25-12, 11:41 AM  
weavil
A Deviate Faerie Dragon

Forum posts: 11
File comments: 76
Uploads: 0
I've been using this for awhile. Wasn't there a way to toggle minimap icon? Or maybe there wasn't a minimap icon before. Can't remember.
weavil is offline Report comment to moderator  
Reply With Quote
Unread 10-11-12, 03:09 PM  
Maelynn
A Deviate Faerie Dragon
 
Maelynn's Avatar

Forum posts: 15
File comments: 181
Uploads: 0
Hey, thanks for the workaround; I was able to add my new Monk perfectly fine (and the grammar nazi inside me is nodding contently as well, haha). Strange thing is, though, that while she does appear in the dropdown list when making a note, she doesn't appear in the list of characters that I posted the screenshot of earlier. As in, not appearing at all - I can't scroll. I know that this doesn't affect the addon's functionality, but I still thought I'd mention it for a future update or something.
__________________
Just remember... if the world didn't suck, we'd all fall off.
Last edited by Maelynn : 10-11-12 at 03:10 PM.
Maelynn is offline Report comment to moderator  
Reply With Quote
Unread 10-11-12, 06:22 AM  
mikma
A Cyclonian
 
mikma's Avatar
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 250
Uploads: 30
Originally Posted by Maelynn
I'm sorry, I'll try to be more elaborate.
I went in-game and made a screenshot of the error, so that you can see for yourself what happens when I try to add my newest additions to this list.

Thanks for looking at it!
Oh lol. I didn't even remember that I have a character list restriction in.. The frame may not scroll with the names listed, but you can change the line 706 in Duh.lua:
Code:
if #db.names >= 10 then
->
Code:
if #db.names >= 11 then
You can also fix the typo in the next line while the file is open
Last edited by mikma : 10-11-12 at 06:24 AM.
mikma is online now Report comment to moderator  
Reply With Quote
Unread 10-08-12, 04:44 AM  
Maelynn
A Deviate Faerie Dragon
 
Maelynn's Avatar

Forum posts: 15
File comments: 181
Uploads: 0
I'm sorry, I'll try to be more elaborate.

I play on 2 servers and had the max amount of 10 characters on each. All characters neatly listed in Duh. Now with Pandaria there's an 11th character slot available, so being the altoholic I am I now have 11 on each server. However, when I tried to add them to my Duh list it said "your list if full". I think it didn't get the memo on the extra slot, haha. Oh, and the [sic] tag just means that it's not a typo on my end, but that it actually said this.

I went in-game and made a screenshot of the error, so that you can see for yourself what happens when I try to add my newest additions to this list.

Thanks for looking at it!

__________________
Just remember... if the world didn't suck, we'd all fall off.
Maelynn is offline Report comment to moderator  
Reply With Quote
Unread 10-07-12, 09:26 AM  
mikma
A Cyclonian
 
mikma's Avatar
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 250
Uploads: 30
Originally Posted by Maelynn
It seems your fantastic addon doesn't have the capacity to incorporate the newly implemented 11th character slot - it keeps telling me that my "list if [sic] full", and that I should delete a char to make room for my 11th one. :<
Wait, what??
mikma is online now Report comment to moderator  
Reply With Quote
Unread 09-25-12, 04:26 PM  
Maelynn
A Deviate Faerie Dragon
 
Maelynn's Avatar

Forum posts: 15
File comments: 181
Uploads: 0
It seems your fantastic addon doesn't have the capacity to incorporate the newly implemented 11th character slot - it keeps telling me that my "list if [sic] full", and that I should delete a char to make room for my 11th one. :<

Other than that, still loving the addon. Poor little forgetful ADD me, who forgets things so easily, really needs this addon to help her remember why she logged to an alt.
__________________
Just remember... if the world didn't suck, we'd all fall off.
Maelynn is offline Report comment to moderator  
Reply With Quote
Unread 02-22-11, 05:32 AM  
Maelynn
A Deviate Faerie Dragon
 
Maelynn's Avatar

Forum posts: 15
File comments: 181
Uploads: 0
That would sound as though Auctionator would edit/remove every tooltip created by Duh, but it's only the login one - the rest are just fine. Or have I misunderstood?

Either way, I'll go see what the Auctionator bloke can do then. Thanks for the response so far.
__________________
Just remember... if the world didn't suck, we'd all fall off.
Maelynn is offline Report comment to moderator  
Reply With Quote
Unread 02-21-11, 11:06 AM  
mikma
A Cyclonian
 
mikma's Avatar
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 250
Uploads: 30
Originally posted by Maelynn
I'm absolutely not savvy with programming addons, so I've no idea what conflict happens and whose fault it is. Can I just start with you, see if it's a problem on your end, and if not move to the author of Auctionator? :>
Without inspecting it seems like Auctionator is editing all tooltips that are in game, and if it edits the tooltips after login (even the ones that Duh creates) they might mess up.
mikma is online now Report comment to moderator  
Reply With Quote
Unread 02-18-11, 07:10 AM  
Maelynn
A Deviate Faerie Dragon
 
Maelynn's Avatar

Forum posts: 15
File comments: 181
Uploads: 0
It can't be in the WTF folder, because I just got a new computer and installed all my addons freshly and with an empty WTF folder. The problem persists on this new computer, however, so I started looking elsewhere. And I found the culprit!

The addon Auctionator somehow removes the note that Duh creates at login, some 2-3 seconds after it has appeared. I can only see this when I have Duh and Auctionator enabled and nothing else, because when my other addons are running they need loading so that the message will have been removed by the time I arrive in-game. Disabling Auctionator and enabling everything else gives me Duh's 'at login' note perfectly fine.

I'm absolutely not savvy with programming addons, so I've no idea what conflict happens and whose fault it is. Can I just start with you, see if it's a problem on your end, and if not move to the author of Auctionator? :>
__________________
Just remember... if the world didn't suck, we'd all fall off.
Maelynn is offline Report comment to moderator  
Reply With Quote
Unread 02-18-11, 05:21 AM  
mikma
A Cyclonian
 
mikma's Avatar
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 250
Uploads: 30
Originally posted by Maelynn
When I make a note and set it to 'show at login', I will never get to see it on the char I assign it to. I'll need to add one of the other triggers (like 'in town' or 'at AH') and then it'll show, but still never at login.
If you don't have anything important stored in it, try deleting the SavedVariables of Duh, and completely remove Duh's AddOn directory.

Then do a clear install. I've never had this issue, and I have had Duh showing me notes at logins.
mikma is online now Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.