Download
(48 Kb)
Download
Updated: 11/26/23 02:24 AM
Pictures
File Info
Compatibility:
Endless Archive (9.2.5)
Updated:11/26/23 02:24 AM
Created:12/19/19 05:04 AM
Monthly downloads:344
Total downloads:32,966
Favorites:68
MD5:
Categories:Action Bar Mods, Info, Plug-in Bars, TradeSkill Mods
Daily Craft Status  Popular! (More than 5000 hits)
Version: 0.2.16
by: czerepx [More]
Going too soon to the daily writ Quartermaster, again?
This simple status bar tells you whether you are good to go to Quartermaster to turn in your daily crafts.

Color Coding
Green - craft done, you can turn the quest in
Yellow - all remaining items can be fetched from your bank
Yellow - items are available* in your bank, but in low quantity (3 or less, see below how to change the threshold)
Orange - craft done, but requested alchemy/enchanting materials are missing in your bank
Red - visit crafting station

Optional research tracking (see addon settings)
Blue - research slots available
Blue - research slots available AND researchable items available (backpack and bank only; locked items are not counted)

The bar appears automatically when you start doing daily writs, and disappears when you are done (some optional features may prevent it - see addon settings).

You can click the bar to see what's left to be done and check the stock*.

Additional features for daily crafters:
- low material stock warning
- status of selected materials from inventory and mail
- hirelings mail looting
- survey statistics and survey picklist
- simple tracking of daily quest reset, free backpack space and riding training
- tracking of free research slots

Libraries to download (optional but highly recommended):
LibAddonMenu (for addon settings)
LibCustomMenu

Supported game clients: English, German, Russian, French, Japanese (some text for additional features is not translated yet.)

Chat commands:
/dcsbar setlow N - sets the low quantity threshold to N, per account (quest items)
/dcsbar help - displays all available commands

* This is just for items requested directly in the quest, if stored in bank.



Moving the bar
If the status bar is visible, right-click the smithy (anvil) icon, select the Unlock command from popup menu and drag the icon.
If you want to save the position for good, right click the icon again to choose a command to either save it for this character or as default for your account.

If the status bar is not visible, type /dcsbar unlock in chat first to unhide and unlock it.

Use "/dcsbar help" for more commands.


Quick stock and low stock warning
You can display "quick" stock for materials and raw materials, right-click the smithy (anvil) icon to toggle these features.
Material shortages will be underlined (the default minimum is 50, you can set it per account and/or per character).
If you use the low stock warning option in the add-on settings, material shortages will always show up, regardless of whether you use the quick stock feature or not.

You can add up to 12 custom materials to the display, each with its own low and high stock (use the addon settings, or run the chat commands - use "/dcsbar help" for more).
There are 6 slots for account-wide materials (best for Oko, Violet Coprinus etc.), and 6 slots separate for each character (best for your character special needs, eg. master crafters or lower tier crafters)

- The stock and the shortages are only displayed if you start doing writs - use the "Always On" feature to change it.
- Automatic materials shown are based on current character crafting skills, use Custom Materials option if you need extra materials.


Mailbox stock and hirelings mail looting
You can temporarily update the stock display with materials from your mail. This might be handy if you have multiple characters that generate lots of hirelings mail, or you are using mail as ... inventory extension. Materials also available in mailbox will have "*" mark next to the quick stock quantity.

You can right-click the quick stock to either scan the mail or extract materials from it (hirelings only; technically this is from all non-cash mail with text "material" in subject).

Occasionally it stutters and stucks (just like the mailbox in the game), so you may need to rerun the commands once you get "aborted" prompt (the commands have auto-restart feature so it should not be a common problem).
Please note that counting will mark all of your mail as "read".

Use "/dcsbar help" for chat command equivalents.


Survey statistics and survey picklist
To quickly stock up on materials, I reset surveys. If you store surveys in bank and only use them when you have at least a bunch of them in specific location (and reset by moving a short distance away), this on-screen survey statistics might help you find the best survey stack and fetch it automatically from bank.

Once you start using a survey stack, an extra yellow figure will appear showing how much surveys you have left in current location.

Right-click the smithy icon to toggle the survey feature.

By default, the survey strip shows 3 figures for each crafting type:
- total number of surveys
- best survey (ie. most surveys in one location)
- best survey in Craglorn (as these give extra profit from nirncrux, directly or while moving around to reset)
You can modify this strip, eg. you can remove a figure or add backpack count, 2nd best survey and 3rd best survey - use addon settings (or run "/dcsbar surveyfig" command) for more.

Left-click a figure to get more information about the survey stack.

Right-click a figure to select a command to automatically fetch the survey stack from bank when you visit one or call a banker.
(If you click the total count, a full report will pop up - you can right-click these surveys too.)

The figures come from all your banks (if you use house banks for survey storage, visit any of your houses to initialize the stock first).
0.2.16
- update to API version
- option to include alchemy and enchanting materials from character skills

0.2.15.1
- fix to hirelings icon in alts window

0.2.15
- update to cooldowns and daily reset timers
- update to API version (Scribes of Fate)

0.2.14
- update to API version (Firesong)
- fix to 'open mailbox' delay

0.2.13
- tracking of available research
- 'quests' subcommand now supports excluding craft types

0.2.12.1
- update to API version (High Isle)

0.2.12
- update to API version (Waking Flame)
- history of low stock (per account, quest items kept in bank only, left-click the main bar to see)

0.2.11
- update to Blackwood API
- option to track more status for alts:
- riding training
- hirelings (based on 12h/24h logins, no mail scanning)
- random dungeon reward
- AvA/Cyrodiil: reward level, campaigns status and AP bonus (assigned/visited only)
- custom info/status text
- option to keep the icon visible in UI mode

0.2.10
- update to Flames of Ambition API
- command to check daily quest status for other characters

0.2.9.1
- fix to status updates when the bar is hidden

0.2.9
- console command to change quest order
- improved 'HUD only' option

0.2.8
- option to force bar display if riding training is available
- option to keep the bar visible on any warning
- item shortage indication (!) when using quest icons

0.2.7
- option to align bar from center
- option to show marker and force bar display after daily reset

0.2.6
- inventory space indicator (optional, per character)
- update to API version (Markarth)

0.2.5
- update to API version (Stonethorn)

0.2.4
- Russian translation (thanks DrakeRulo!)

0.2.3
- update to API version (Greymoor)

0.2.2
- 'mailbox not ready' message
- option to show in main view (HUD) only
- the bar is now hidden in more views

0.2.1
- update to API version (Harrowstorm)
- skipping mail on loot delays
- counting mail stock will not spam to chat now
- Craglorn total for survey statistics
- Settings command for main status bar

0.2.0
- low and high stock per item for custom materials
- low material stock warning
- separate backpack quantity for materials (non-ESO+ players)
- additional custom materials (including account-wide materials)
- search for material name (limited to items in your bags and base crafting materials)
- tooltip for stock and raw stock (material names)
- UI scaling (font size selection)
- optional display of icons and backgrounds

0.1.12a
- hot-fix to xml file: stock/raw stock not showing up without ui reload if used for the first time

0.1.12
- survey statistics (WIP)
- mail looting and counting a bit more reliable now
- fixed a bug that prevented some custom materials stock from being updated
- optional single row display
- use of LibCustomMenu
- more German translations (thanks Baertram!)

0.1.11
- icons for low quantity items
- popup-menu for movement commands
- "always visible" feature
- "auto-save position" feature
- mail stock and mail loot for hireling materials (WIP)
- custom materials in quick stock (WIP)

0.1.10
- low quantity indicator
- quick stock for materials (WIP)

0.1.9
- ability to move the status bar and save its position
- support for Japanese game client (thanks Calamath!)

0.1.8
- addon code modifications (namespace)

0.1.7
- just an update to API Version for Dragonhold (addon reported as Out of Date)

0.1.6
- added checks for ESO+ subscriber bank

0.1.5
- added a tooltip with quest details
- fixed the status for alchemy and enchanting writ when you already had the materials in your backpack

0.1.4
- added support for German and French
- addon now checks the bank for required items

0.1.3
- first uploaded version
Optional Files (0)


Archived Files (25)
File Name
Version
Size
Uploader
Date
0.2.15.1
44kB
czerepx
03/14/23 10:04 AM
0.2.15
44kB
czerepx
03/13/23 07:26 AM
0.2.14
44kB
czerepx
11/02/22 05:13 AM
0.2.13
44kB
czerepx
07/25/22 11:47 AM
0.2.12.1
41kB
czerepx
06/06/22 01:16 PM
0.2.12
41kB
czerepx
09/16/21 10:43 AM
0.2.11
41kB
czerepx
06/01/21 10:55 PM
0.2.10
32kB
czerepx
03/09/21 04:12 PM
0.2.9.1
32kB
czerepx
02/16/21 12:11 PM
0.2.9
32kB
czerepx
01/06/21 09:43 AM
0.2.8
32kB
czerepx
11/27/20 03:58 AM
0.2.7
31kB
czerepx
11/07/20 11:24 AM
0.2.6
30kB
czerepx
11/02/20 04:40 PM
0.2.5
30kB
czerepx
08/27/20 02:53 AM
0.2.4
30kB
czerepx
06/02/20 10:49 AM
0.2.3
28kB
czerepx
06/01/20 08:04 AM
0.2.2
28kB
czerepx
04/03/20 11:32 AM
0.2.1
27kB
czerepx
02/25/20 01:53 PM
0.2.0
27kB
czerepx
01/30/20 11:02 AM
0.1.12a
20kB
czerepx
01/20/20 03:01 PM
0.1.12
20kB
czerepx
01/17/20 09:02 AM
0.1.11
15kB
czerepx
01/08/20 10:26 AM
0.1.10
9kB
czerepx
12/30/19 03:03 AM
0.1.9
5kB
czerepx
12/27/19 09:02 AM
0.1.3
2kB
czerepx
12/19/19 05:04 AM


Post A Reply Comment Options
Unread 12/20/19, 04:09 PM  
Micke2nd
AddOn Author - Click to view AddOns

Forum posts: 43
File comments: 76
Uploads: 1
Hi czerepx, looks helpful, but - I tried it now 2 days. I see the (dark) letters, but they are not updated/colored if I finish the daylies.
Report comment to moderator  
Reply With Quote
Unread 12/20/19, 09:59 PM  
czerepx
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 26
Uploads: 2
hi,
are the letters updated when you take any daily writ quest, and then again when you complete any craft at the station?

maybe my addon description needs some work - this addon doesn't track finished dailies, just the ones in progress; the bar should pop up when you take any daily writ quest, and then hide when you have no daily writ quest in your journal - like when you finish (ie. craft and turn in) or cancel the dailies

Originally Posted by Micke2nd
Hi czerepx, looks helpful, but - I tried it now 2 days. I see the (dark) letters, but they are not updated/colored if I finish the daylies.
Report comment to moderator  
Reply With Quote
Unread 12/21/19, 02:22 AM  
Micke2nd
AddOn Author - Click to view AddOns

Forum posts: 43
File comments: 76
Uploads: 1
I didnt start in the "middle". Here are all events and the bar status:

Code:
No daily: invisible bar
1..6 dailies started: all letters grey
Alchemy started: BCWJ EP grey, A orange

dalies crafted: no change
If (A) orange means, objects are in the bank, that's correct.
But the meals for grey (P)rovisioning are in the bank too.

1..6 dailies finished (manifest into the box): all letters grey
Alchemy finished: orange A becomes grey A
last daily finished: invisible bar
Report comment to moderator  
Reply With Quote
Unread 12/21/19, 02:39 AM  
czerepx
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 26
Uploads: 2
thanks for this thorough action log
quests are recognized by name, are you using English game client? (Alchemy is probably similiar in lots of languages)

Originally Posted by Micke2nd
I didnt start in the "middle". Here are all events and the bar status:

[...]
Last edited by czerepx : 12/21/19 at 04:22 AM.
Report comment to moderator  
Reply With Quote
Unread 12/22/19, 03:34 PM  
Micke2nd
AddOn Author - Click to view AddOns

Forum posts: 43
File comments: 76
Uploads: 1
installed the update - works now as expected at every step . Thank you for the support.
Nice small and smart layout.

PS: german client ^^
Last edited by Micke2nd : 12/23/19 at 12:08 AM.
Report comment to moderator  
Reply With Quote
Unread 12/23/19, 02:04 AM  
czerepx
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 26
Uploads: 2
Thanks for your feedback. I now also fixed a bug that caused some status to stay red even when you had items in extended ESO+ subscriber bank (like Provisioning).

Originally Posted by Micke2nd
installed the update - works now as expected at every step . Thank you for the support.
Nice small and smart layout.

PS: german client ^^
Last edited by czerepx : 12/23/19 at 03:04 AM.
Report comment to moderator  
Reply With Quote
Unread 12/23/19, 08:42 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4964
File comments: 6033
Uploads: 78
Hey there, thanks for the addon! This is great. I alwayas forget one of the quests and don't like the quest log manual checks


But your start of the addon is wrong imo.
You are not using EVENT_ADD_ON_LOADED and check for YOUR addon to be loaded.
This way you are doing it works as well but better would be to only load your addon data etc. as the event_add_on_loaded was fired and YOUR addon name was recognized (it fires for each addon! so the name check is needed).
Only then you should register all the events for quest change etc. as if you do this without the check to event_add_on_loaded the events could trigger by ZOs game code even before addons are allowed to do something!

So please change your lua file's source code from this (at the bottom):
Code:
EVENT_MANAGER:RegisterForEvent("DCS", EVENT_QUEST_ADDED, DCS_questUpdate, false )
EVENT_MANAGER:RegisterForEvent("DCS", EVENT_QUEST_ADVANCED, DCS_questUpdate, false )
EVENT_MANAGER:RegisterForEvent("DCS", EVENT_QUEST_COMPLETE, DCS_questUpdate, false )
EVENT_MANAGER:RegisterForEvent("DCS", EVENT_QUEST_CONDITION_COUNTER_CHANGED, DCS_questUpdate, false )
EVENT_MANAGER:RegisterForEvent("DCS", EVENT_QUEST_REMOVED  , DCS_questUpdate, false )
EVENT_MANAGER:RegisterForEvent("DCS", EVENT_PLAYER_ACTIVATED , DCS_questUpdate, false )

--SLASH_COMMANDS["/dcsupd"] = DCS_UpdateDailyCraftStates
To e.g. this:

Lua Code:
  1. local myAddon = {}
  2. myAddon.name = "DailyCraftStatus" -- Must be the same as the folder/txt filename!
  3.  
  4. local function LoadMyAddon(eventName, addonName)
  5.     --Only go on if my addon's name is the one currently loaded as this event's callback
  6.     --function will be triggered for EACH addon (even ZOs code)
  7.     if addonName ~= myAddon.name then return end
  8.     --Register my events now as my addon was loaded properly (and not before)
  9.     EVENT_MANAGER:RegisterForEvent(myAddon.name, EVENT_QUEST_ADDED, DCS_questUpdate, false )
  10.     EVENT_MANAGER:RegisterForEvent(myAddon.name, EVENT_QUEST_ADVANCED, DCS_questUpdate, false )
  11.     EVENT_MANAGER:RegisterForEvent(myAddon.name, EVENT_QUEST_COMPLETE, DCS_questUpdate, false )
  12.     EVENT_MANAGER:RegisterForEvent(myAddon.name, EVENT_QUEST_CONDITION_COUNTER_CHANGED, DCS_questUpdate, false )
  13.     EVENT_MANAGER:RegisterForEvent(myAddon.name, EVENT_QUEST_REMOVED  , DCS_questUpdate, false )
  14.     EVENT_MANAGER:RegisterForEvent(myAddon.name, EVENT_PLAYER_ACTIVATED , DCS_questUpdate, false )
  15.  
  16.     --SLASH_COMMANDS["/dcsupd"] = DCS_UpdateDailyCraftStates
  17. end
  18.  
  19. EVENT_MANAGER:RegisterForEvent(myAddon.name, EVENT_ADD_ON_LOADED, LoadMyAddon)


Global functions
And all the global functions like DCSLabel_OnMouseExit, DCSLabel_OnClick and DCS_questUpdate should be put into your addon's namespace.

e.g. I defined the local table myAddon above.
You could define a new global variable DailyCraftStatus and assign this table myAddon then to it
Lua Code:
  1. local myAddon = {}
  2. myAddon.name = "DailyCraftStatus"
  3.  
  4. myAddon.DCSLabel_OnMouseExit = function()
  5.    ClearTooltip(InformationTooltip)
  6. end
  7. ...
  8.  
  9. --Global variable for namespace
  10. DailyCraftStatus = myAddon

Now you can run all your global functions via e.g.
Code:
DailyCraftStatus.DCSLabel_OnMouseExit()
This is better if the function names are similar to others and ppl would accidently use them OR overwrite them.

If you do not need to call the functions from other addons or keybindings you could even make them local to not populate them to everyone.
Last edited by Baertram : 12/23/19 at 08:45 AM.
Report comment to moderator  
Reply With Quote
Unread 12/23/19, 09:18 AM  
czerepx
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 26
Uploads: 2
Updated the code according to your guidelines, thanks for the tips

Originally Posted by Baertram
Hey there, thanks for the addon! This is great. I alwayas forget one of the quests and don't like the quest log manual checks

But your start of the addon is wrong imo.
[..]
Report comment to moderator  
Reply With Quote
Unread 12/23/19, 03:25 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4964
File comments: 6033
Uploads: 78
Am I somehow able to move the control on the UI?

Edit:
Working on a local version which adds mouse drag&drop of the toplevelcontrol and remember the position in savedvariables.
Will link you the file here then once finished!
Last edited by Baertram : 12/23/19 at 03:29 PM.
Report comment to moderator  
Reply With Quote
Unread 12/23/19, 04:28 PM  
czerepx
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 26
Uploads: 2
No, as of now.

Also, I removed scene management code even before posting this addon, so that the bar is currently visible in each scene.
There are so many scenes that I want this bar to be on (like hud, crafting stations, merchants, all kinds of banks ...) that I think it is safer to have it on ... all of them

Originally Posted by Baertram
Am I somehow able to move the control on the UI?
Report comment to moderator  
Reply With Quote
Unread 12/23/19, 04:45 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4964
File comments: 6033
Uploads: 78
Yep, makes sense.
Currently got the version working just SavedVariables are not updating properly. -> Searching my typo
btw your OnClick xml event opens with <OnMouseClick> and closes with </OnMouseEnter>
-> Due to drag&drop <OnMouseClick> won't work anymore properly (tooltip stutters then as the Move event hides it directly again) so I have for now changed this back to <OnMouseEnter> in my local version.

Edit:
Found the typo. SV update and load properly now.
-Download link-

I've marked my changes in the lua file with
--> BAERTRAM
to
--< BAERTRAM

XML file got a comment at the top

Txt file changes are the ## SavedVariables, and ## AddOnVersion

Hope everything is self explaining. If not ask me via PM at best.

Originally Posted by czerepx
No, as of now.

Also, I removed scene management code even before posting this addon, so that the bar is currently visible in each scene.
There are so many scenes that I want this bar to be on (like hud, crafting stations, merchants, all kinds of banks ...) that I think it is safer to have it on ... all of them

Originally Posted by Baertram
Am I somehow able to move the control on the UI?
Last edited by Baertram : 12/23/19 at 04:50 PM.
Report comment to moderator  
Reply With Quote
Unread 12/24/19, 01:51 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4964
File comments: 6033
Uploads: 78
Oh and one more feature idea:
Hide the TopLevelControl if one is in combat and unhide it again after combat.
Could be realized using this event:

Code:
 EVENT_PLAYER_COMBAT_STATE (number eventCode, boolean inCombat)
Report comment to moderator  
Reply With Quote
Unread 12/26/19, 10:51 AM  
Calamath
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 223
Uploads: 7
Japanese localization

Hello. This is Calamath. Thank you for the add-on.
This may not be what you want, but this is a langQuestInfo table for 'Japanese language mode (lang : jp)'.
It works fine.

Lua Code:
  1. local langQuestInfo =
  2. {
  3.     ["de"] = {
  4.         },         --  ← adding comma
  5.     ["jp"] = {
  6.             ["deliver"] = "届ける",
  7.             ["craft"] = { "生産する", "作る" },
  8.             ["questnames"] = {
  9.                 {"鍛冶","鍛冶 "},   -- blacksmithing
  10.                 {"仕立","仕立 "},   -- clothier
  11.                 {"木工","木工 "},   -- woodworking
  12.                 {"宝飾","宝飾 "},   -- jewelry crafting
  13.                 {"錬金術","錬金 "}, -- alchemy
  14.                 {"付呪","付呪 "},   -- enchanting
  15.                 {"調理","調理 "},   -- provisioning
  16.             }
  17.         },
  18.  
  19. }

I displayed TWO kanji characters per profession, but is it too long?
Report comment to moderator  
Reply With Quote
Unread 12/26/19, 04:23 PM  
czerepx
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 26
Uploads: 2
Re: Japanese localization

Originally Posted by Calamath
This may not be what you want, but this is a langQuestInfo table for 'Japanese language mode (lang : jp)'
I want that very much, thank you!
I will add it to next update.

Originally Posted by Calamath
I displayed TWO kanji characters per profession, but is it too long?
It's perfectly OK, and the extra spaces are OK as well. I'm sure it still looks very compact.
(You will be able to move the bar in next update.)
Report comment to moderator  
Reply With Quote
Unread 12/29/19, 03:55 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4964
File comments: 6033
Uploads: 78
Hey there, why do I need to use /dcsbar save after moving the controls on the screen?
This is very annoying imo! I do not want to use several chat commands for stuff that can be done automatically.
I e.g. had provided you the sources for autosave upon on move event in the linked files already.
In the end this is your addon but it's complicated the way it currently works.

3 chat commands...
1 to unlock
1 to save
1 to lock again

I'd better provide a right click to unlock, right click to lock again and auto save on move.
Right click can be done via OnMouseUp event handler, checking if upInside == true and mouseButton == MOUSE_BUTTON_INDEX_RIGHT then e.g.

Oh and a hint about the languages:
Currently your txt files includes the filename of the language dynamically.
But if the client language is not supported yet it won't work at all!
I'd better use a fallback line, always loaded, first, like the english file /lang/en.lua
And then followed below the client language dynamaically like it is now.
This way EN will be always there and overwritten then if the client language is supported.
Last edited by Baertram : 12/29/19 at 04:11 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: