Download
(26Kb)
Download
Updated: 01-02-18 08:13 AM
Pictures
File Info
Compatibility:
Shadows of Argus (7.3.0)
Updated:01-02-18 08:13 AM
Created:10-16-10 04:02 PM
Downloads:4,290
Favorites:42
MD5:

Duh

Version: 1.16
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.
  • Mission table - When you open Garrison Mission table
  • At Garrison - When you zone in Garrison with HS/Flying
  • At Darkmoon Faire - When you zone in Darkmoon Faire

The addon has slashcommands '/d' and '/duh' which takes you directly into note adding frame. This is under Interface Options -> AddOns -> Duh

1.16:
* Added Dalaran (Broken Isles) to townlist
* Removed party/raid -debug message from appearing in chat

1.15:
* Fixed line 108 error.

1.14:
* Fixed line 862 error because GetCVar("realmName") was changed to GetRealmName().

1.13:
* Fixed: Duh notes are once more visible after login

1.12:
* Rewrote the whole GUI! It's now pretty and standalone!
* Added event: Garrison. NOTICE! Garrison is extremely sensitive about how you zone in!
* Added event: Darkmoon Faire.
* Clicking the notes in Manage Notes list will open up a temporary tooltip containing the note.

1.11:
* Notes can now be closed again with the close-button. Sorry 'bout that :)

1.10:
* Added a Garrison Mission table into eventlist. Thanks http://www.curse.com/users/DaemonSambe !
* Duh minimap-button and slash-command will now open into a correct panel
* Shift-click in the Duh notes' close button will now open up note management instead of deleting the note directly.

1.9:
* .toc 60000
* Added natch's "Close all" code.

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)


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: 267
Uploads: 23
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.
Report comment to moderator  
Reply With Quote
Unread 12-29-14, 08:32 AM  
Maelynn
A Fallenroot Satyr
 
Maelynn's Avatar

Forum posts: 23
File comments: 187
Uploads: 0
Heey, it's me again. *grins*

I've been wondering about something, but I've no idea if it's even remotely possible to do. You see, now that a lot of realms have been merged and characters on those realms can interact with eachother as if they were on the same realm, I often find myself wanting to set a note for such an alt - to send over some stuff, craft an item, check the AH for something, whatever. Except that, oh yeah, you can't set notes cross-realm, of course. Drat.

So, my question is: is there any way at all to somehow make it possible to set notes for characters on a merged realm? I know it's a long shot, and as such my expectations are low, but I reckoned it doesn't hurt to ask.

If it's not possible, or too much of a hassle, then I'd understand.
__________________
Just remember... if the world didn't suck, we'd all fall off.
Report comment to moderator  
Reply With Quote
Unread 12-29-14, 02:40 PM  
mikma
A Cyclonian
 
mikma's Avatar
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 267
Uploads: 23
Originally Posted by Maelynn
Heey, it's me again. *grins*

So, my question is: is there any way at all to somehow make it possible to set notes for characters on a merged realm? I know it's a long shot, and as such my expectations are low, but I reckoned it doesn't hurt to ask.

If it's not possible, or too much of a hassle, then I'd understand.
Hi hi hi.
I'm not aware that there's any builtin listings of combined realms, so that job would require to update some sort of 3rd party server-list and it's not a easy job.

Therefore it's currently not a easy task to complete. I do understand the idea behind this one cause my wife does have chars on 3 different joined realms.
Report comment to moderator  
Reply With Quote
Unread 12-30-14, 04:37 AM  
Maelynn
A Fallenroot Satyr
 
Maelynn's Avatar

Forum posts: 23
File comments: 187
Uploads: 0
Originally Posted by mikma
I'm not aware that there's any builtin listings of combined realms, so that job would require to update some sort of 3rd party server-list and it's not a easy job.
Hm, I know that BankItems lets me check all my toons's bank/inventory, regardless of realm (and they even have no issue at all with the same name on different realms). I'm not lua savvy, so this might sound incredibly stupid, but maybe there's something in their lua you could get some ideas from? Although displaying info such as stored items is passive, quite unlike pushing a popup message...
__________________
Just remember... if the world didn't suck, we'd all fall off.
Report comment to moderator  
Reply With Quote
Unread 10-06-16, 09:53 AM  
Aisenfaire
A Murloc Raider

Forum posts: 6
File comments: 394
Uploads: 0
Sadly, this addon no longer seems to work.

Typing /duh brings up a blank window, and I get the following error upon logging in with it enabled:

Lua Code:
  1. 294x Duh\Duh-1.13.lua:864: attempt to concatenate local 'text' (a nil value)
  2. Duh\Duh-1.13.lua:864: in function <Duh\Duh.lua:347>
  3. Duh\Duh-1.13.lua:987: in function <Duh\Duh.lua:958>
  4.  
  5. Locals:
  6. backdrop = <table> {
  7.  bgFile = "Tooltips\UI-Tooltip-Background"
  8.  tileSize = 0
  9.  edgeFile = "Tooltips\UI-Tooltip-Border"
  10.  tile = false
  11.  edgeSize = 16
  12.  insets = <table> {
  13.  }
  14. }
  15. title = <unnamed> {
  16.  0 = <userdata>
  17. }
  18. subtitle = <unnamed> {
  19.  0 = <userdata>
  20. }
  21. rows = <table> {
  22. }
  23. anchor = nil
  24. LoadOnClick = <function> defined @Duh\Duh.lua:815
  25. label = <unnamed> {
  26.  0 = <userdata>
  27. }
  28. editbox = <unnamed> {
  29.  0 = <userdata>
  30.  Right = <unnamed> {
  31.  }
  32.  Left = <unnamed> {
  33.  }
  34.  Middle = <unnamed> {
  35.  }
  36. }
  37. onClickAddName = <function> defined @Duh\Duh.lua:835
  38. button = <unnamed> {
  39.  0 = <userdata>
  40.  Right = <unnamed> {
  41.  }
  42.  Left = <unnamed> {
  43.  }
  44.  Middle = <unnamed> {
  45.  }
  46. }
  47. OnEnter = <function> defined @Duh\Duh.lua:850
  48. OnLeave = <function> defined @Duh\Duh.lua:855
  49. servername = <unnamed> {
  50.  0 = <userdata>
  51. }
  52. text = nil
  53. (*temporary) = <function> defined =[C]:-1
  54. (*temporary) = <unnamed> {
  55.  0 = <userdata>
  56. }
  57. (*temporary) = nil
  58. (*temporary) = " characters:"
  59. (*temporary) = "BOTTOMLEFT"
  60. (*temporary) = 0
  61. (*temporary) = -15
  62. (*temporary) = <userdata>
  63. (*temporary) = true
  64. (*temporary) = <unnamed> {
  65.  0 = <userdata>
  66.  Right = <unnamed> {
  67.  }
  68.  Left = <unnamed> {
  69.  }
  70.  Middle = <unnamed> {
  71.  }
  72. }
  73. (*temporary) = true
  74. (*temporary) = <unnamed> {
  75.  0 = <userdata>
  76. }
  77. (*temporary) = <userdata>
  78. (*temporary) = <userdata>
  79. (*temporary) = "attempt to concatenate local 'text' (a nil value)"
  80. DuhConfig = Duh {
  81.  0 = <userdata>
  82. }
  83. DuhAddNote = <unnamed> {
  84.  0 = <userdata>
  85. }
  86. dropdown = <table> {
  87. }
  88. db = <table> {
  89.  SetProfile = <function> defined @Ace3\AceDB-3.0\AceDB-3.0.lua:429
  90.  defaults = <table> {
  91.  }
  92.  callbacks = <table> {
  93.  }
  94.  RegisterDefaults = <function> defined @Ace3\AceDB-3.0\AceDB-3.0.lua:397
  95.  CopyProfile = <function> defined @Ace3\AceDB-3.0\AceDB-3.0.lua:548
  96.  ResetProfile = <function> defined @Ace3\AceDB-3.0\AceDB-3.0.lua:583
  97.  keys = <table> {
  98.  }
  99.  UnregisterAllCallbacks = <function> defined @Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:200
  100.  DeleteProfile = <function> defined @Ace3\AceDB-3.0\AceDB-3.0.lua:509
  101.  global = <table> {
  102.  }
  103.  sv = <table> {
  104.  }
  105.  RegisterCallback = <function> defined @Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:116
  106.  GetCurrentProfile = <function> defined @Ace3\AceDB-3.0\AceDB-3.0.lua:502
  107.  ResetDB = <function> defined @Ace3\AceDB-3.0\AceDB-3.0.lua:611
  108.  UnregisterCallback = <function> defined @Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:179
  109.  realm = <table> {
  110.  }
  111.  GetProfiles = <function> defined @Ace3\AceDB-3.0\AceDB-3.0.lua:471
  112.  GetNamespace = <function> defined @Ace3\AceDB-3.0\AceDB-3.0.lua:677
  113.  RegisterNamespace = <function> defined @Ace3\AceDB-3.0\AceDB-3.0.lua:647
  114. }
  115. eventtable = <table> {
  116.  1 = <table> {
  117.  }
  118.  2 = <table> {
  119.  }
  120.  4 = <table> {
  121.  }
  122.  8 = <table> {
  123.  }
  124.  16 = <table> {
  125.  }
  126.  17 = <table> {
  127.  }
  128.  9 = <table> {
  129.  }
  130.  18 = <table> {
  131.  }
  132.  5 = <table> {
  133.  }
  134.  10 = <table> {
  135.  }
  136.  11 = <table> {
  137.  }
  138.  3 = <table> {
  139.  }
  140.  6 = <table> {
  141.  }
  142.  12 = <table> {
  143.  }
  144.  13 = <table> {
  145.  }
  146.  7 = <table> {
  147.  }
  148.  14 = <table> {
  149.  }
  150.  15 = <table> {
  151.  }
  152. }
  153. MakeButton = <function> defined @Duh\Duh.lua:235
  154. dprint = <function> defined @Duh\Duh.lua:15
  155. modifyNote = nil
  156. DuhManageNotes = <unnamed> {
  157.  0 = <userdata>
  158. }
  159. DuhManageNames = <unnamed> {
  160.  0 = <userdata>
  161. }
  162. refreshNotes = <function> defined @Duh\Duh.lua:756
  163. ROWGAP = 2
  164. EDGEGAP = 16
  165. ROWHEIGHT = 20
  166. refreshNames = nil
  167. addName = <function> defined @Duh\Duh.lua:202
  168. icon = <table> {
  169.  disabled = true
  170.  Register = <function> defined @BugSack\Libs\LibDBIcon-1.0\LibDBIcon-1.0.lua:245
  171.  callbacks = <table> {
  172.  }
  173.  Unlock = <function> defined @BugSack\Libs\LibDBIcon-1.0\LibDBIcon-1.0.lua:265
  174.  EnableLibrary = <function> defined @BugSack\Libs\LibDBIcon-1.0\LibDBIcon-1.0.lua:311
  175.  Lock = <function> defined @BugSack\Libs\LibDBIc
Report comment to moderator  
Reply With Quote
Unread 11-25-17, 09:29 AM  
mikma
A Cyclonian
 
mikma's Avatar
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 267
Uploads: 23
Originally Posted by Aisenfaire
Sadly, this addon no longer seems to work.

Typing /duh brings up a blank window, and I get the following error upon logging in with it enabled:

Lua Code:
  1. 294x Duh\Duh-1.13.lua:864: attempt to concatenate local 'text' (a nil value)
  2. Duh\Duh-1.13.lua:864: in function <Duh\Duh.lua:347>
  3. Duh\Duh-1.13.lua:987: in function <Duh\Duh.lua:958>
Sorry for the delay. Replace line 862:

local text = GetCVar("realmName")
with
local text = GetRealmName()

and you are done.
Report comment to moderator  
Reply With Quote
Unread 11-28-17, 03:26 PM  
Ammako
A Frostmaul Preserver
AddOn Author - Click to view AddOns

Forum posts: 256
File comments: 29
Uploads: 8
I need this addon IRL.
Report comment to moderator  
Reply With Quote
Unread 11-30-17, 06:33 AM  
mikma
A Cyclonian
 
mikma's Avatar
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 267
Uploads: 23
Originally Posted by Ammako
I need this addon IRL.
You know what? That's true. I'm 100% with you on that one.
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.