Download
(6 Kb)
Download
Updated: 05/27/24 10:17 AM
Pictures
File Info
Compatibility:
Scions of Ithelia (9.3.0)
Updated:05/27/24 10:17 AM
Created:05/21/24 04:32 AM
Monthly downloads:661
Total downloads:680
Favorites:1
MD5:
Categories:Miscellaneous, Data Mods, Group, Guild & Friends, Info, Plug-in Bars, UI Media
9.3.0
DungeonHistory  Updated this week!
Version: 1.0.5
by: oInsideOut [More]
AddOn Description:

A simple Dungeon Log and GUI for successfully completed Dungeons.

Only designed for the Dungeon Finder. Dungeons that are done manually without the use of the Dungeon Finder or unfinished Dungeons won't be recorded.

Shoutout to the ESOUI Add-on Wiki and especially to pills and ziggr for the Scroll List Example.

This is my first AddOn and first time working with Lua, but it gets the job done!

External Dependencies:

Required:
  • None

Recommended/Optional:
Keybinds:

You can bind a key to toggle the DungeonHistory Window.
  • Esc -> Controls -> Addon Keybinds -> DungeonHistory -> Show/Hide History Window

Settings(LibAddonMenu-2.0 required):

You can toggle the Date Format of the GUI from d/m/Y to m/d/Y.
  • Esc -> Settings -> Addons -> DungeonHistory -> Date Format m/d/Y

List of usable commands:
  • /dh -> Used to toggle the DungeonHistory Window
  • /dungeonhistory -> Used to toggle the DungeonHistory Window
  • /dhdateformat -> Used to toggle the Date Format of the GUI between d/m/Y and m/d/Y
Changelog for Version 1.0.5

  • Fixed an issue where an Error Message would be displayed if LibAddonMenu-2.0 wasn't installed.



Changelog for Version 1.0.4

  • Changed the default Date Format of the GUI to d/m/Y.
  • Added an optional AddOn Settings Menu with LibAddonMenu-2.0.
  • Added a Setting to the AddOn Menu to toggle the Date Format of the GUI between d/m/Y and m/d/Y.
  • Added a new slash command (/dhdateformat) to toggle the Date Format between d/m/Y and m/d/Y.



Changelog for Version 1.0.3

  • Fixed an issue where the AddOn just recorded one Dungeon per session.



Changelog for Version 1.0.0 - 1.0.2

  • First Release.
  • Minor bug fixes and cleanup.
Optional Files (0)


Post A Reply Comment Options
Unread 05/27/24, 07:45 AM  
oInsideOut
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 3
Uploads: 1
Re: Awesome!

Originally Posted by ChrisK
Thanks for sharing your Addon, oInsideOut! It's really useful - especially the duration column.
Thank you for the Feedback!
I'm glad that the AddOn is of help to you.
Report comment to moderator  
Reply With Quote
Unread 05/27/24, 07:22 AM  
ChrisK

Forum posts: 0
File comments: 177
Uploads: 0
Awesome!

Thanks for sharing your Addon, oInsideOut! It's really useful - especially the duration column.
Report comment to moderator  
Reply With Quote
Unread 05/23/24, 12:23 PM  
oInsideOut
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 3
Uploads: 1
Originally Posted by Cheshire
Hi, I have an idea, how about adding stats on how many times cleared dungeon? For example, you are farming style mask and already lost count.... and then it finally drops and you want to know how many times you have completed this dungeon
Hey.
Thank you for the suggestion. Actually the purpose and reason I started developing this AddOn is to keep track of how many Dungeons I've completed before I drop a mask.
Sounds like a good idea to add more stats or something like a tracker. I'll keep that in mind and eventually add it when I find the time and motivation.
Report comment to moderator  
Reply With Quote
Unread 05/23/24, 10:35 AM  
Cheshire

Forum posts: 1
File comments: 17
Uploads: 0
Hi, I have an idea, how about adding stats on how many times cleared dungeon? For example, you are farming style mask and already lost count.... and then it finally drops and you want to know how many times you have completed this dungeon
Report comment to moderator  
Reply With Quote
Unread 05/21/24, 05:49 AM  
oInsideOut
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 3
Uploads: 1
Originally Posted by Baertram
Welcome to ESO addon development.

A hint: All variables you declare in lua are global (accessible by other addons and overwriting existing variables), unless you add a local up in front.
To minimize compatibilty issues and pollution of the global namespace (table _G):

If you create an addon with an UI (like your scrolllist in XML, using variable DungeonHistoryXML as a global container), but you already got a global table (DungeonHistory) you could simply add a sub-table DungeonHistory.XML= {} (adding all variables and UI related functions to that)
instead of defining another 2nd global DungeonHistoryXML.

To speed-up the reference and make it easy to access them in your code you can add a local reference like local DungeonHistoryXML = DungeonHistory.XML at the top, below defining DungeonHistory.XML = {}
This will make your code below (in the same lua file) work the same as of before, only using the local reference, pointing to the global table DungeonHistory.XML (instead of a 2nd global variable DungeonHistoryXML).
-> Only in your XML files you'd need to change DungeonHistoryXML to DungeonHistory.XML as the variable DungeonHistoryXML would be local now, and not global anymore.

It's no "Must do it like that" but a best practice.
First of all thank you for taking the time to glance through my spaghetti code.

That makes a lot of sense. I will adapt my code to your suggestion.
Last edited by oInsideOut : 05/21/24 at 06:28 AM.
Report comment to moderator  
Reply With Quote
Unread 05/21/24, 04:57 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 5020
File comments: 6080
Uploads: 78
Welcome to ESO addon development.

A hint: All variables you declare in lua are global (accessible by other addons and overwriting existing variables), unless you add a local up in front.
To minimize compatibilty issues and pollution of the global namespace (table _G):

If you create an addon with an UI (like your scrolllist in XML, using variable DungeonHistoryXML as a global container), but you already got a global table (DungeonHistory) you could simply add a sub-table DungeonHistory.XML= {} (adding all variables and UI related functions to that)
instead of defining another 2nd global DungeonHistoryXML.

To speed-up the reference and make it easy to access them in your code you can add a local reference like local DungeonHistoryXML = DungeonHistory.XML at the top, below defining DungeonHistory.XML = {}
This will make your code below (in the same lua file) work the same as of before, only using the local reference, pointing to the global table DungeonHistory.XML (instead of a 2nd global variable DungeonHistoryXML).
-> Only in your XML files you'd need to change DungeonHistoryXML to DungeonHistory.XML as the variable DungeonHistoryXML would be local now, and not global anymore.

It's no "Must do it like that" but a best practice.
Last edited by Baertram : 05/21/24 at 05:02 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: