Quantcast
Download
(27 Kb)
Download
Updated: 01/30/20 11:02 AM
Pictures
File Info
Compatibility:
Dragonhold (5.2.5)
Updated:01/30/20 11:02 AM
Created:12/19/19 05:04 AM
Monthly downloads:588
Total downloads:1,682
Favorites:8
MD5:
Categories:Action Bar Mods, Info, Plug-in Bars, TradeSkill Mods
5.2.5
Daily Craft Status
Version: 0.2.0
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

The bar appears automatically when you start doing daily writs, and disappears when you are done.
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

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

Supported game clients: English, German, French, Japanese. (Most of the 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 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 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, materials for consumables crafting are not shown - use Custom Materials if you need these.


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.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 (6)
File Name
Version
Size
Uploader
Date
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 01/09/20, 08:22 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2629
File comments: 3044
Uploads: 57
The problems still exists and you were maybe lucky then.
Or you might have not stepped into trouble so far as you did not add/alter any inventory item related context menus.

I recommand using it from the beginning to avoid any problems + getting the benefits of compatibility with other addons and new possibilities of this library.

Edit:
TTC does not use LibCustomMenu? Mine does (since I informed the dev about a year ago to please use it )
Code:
## Version: 3.30.182.23819
...
## DependsOn: LibAddonMenu-2.0>=25 LibCustomMenu
Check file "TamrielTradeCentrePrice" and search for "AddCustomMenuItem".

How old is your version?

I don't know about DailyAlchemy, not using it. I'm using Potion Maker for the writs.
But if DailyAlchemy adds inventory row context menu entries it definately SHOUD use this library.
For other context menus it's the same like with yours: Might work, might break others, might break ZO's.
Originally Posted by czerepx
Thanks for the translations!

As for the LibCustomMenu, I saw as many popular addons using this as not (eg. Daily Alchemy, TTC), so I just wasn't quite sure what to do with it. I was aware of the problem (in theory) so for last two weeks I have been extensively alternating using my menu with built-in commands and commands from other addons (like inventory context menus - Craft This Writ, Preview Furniture etc.) and ... so far so good (or was I just lucky?)

I just want to avoid unconditional library dependencies for as long as I can (no other reason really).

Originally Posted by Baertram
Context menus: Please use LibCustomMenu!
German LAM translations:
EDIT: (I'm using latest Daily Alchemy, but my TTC is a bit outdated.)
Last edited by Baertram : 01/09/20 at 08:28 AM.
Report comment to moderator  
Reply With Quote
Unread 01/08/20, 12:17 PM  
czerepx
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 9
Uploads: 1
Thanks for the translations!

As for the LibCustomMenu, I saw as many popular addons using this as not (eg. Daily Alchemy, TTC), so I just wasn't quite sure what to do with it. I was aware of the problem (in theory) so for last two weeks I have been extensively alternating using my menu with built-in commands and commands from other addons (like inventory context menus - Craft This Writ, Preview Furniture etc.) and ... so far so good (or was I just lucky?)

I just want to avoid unconditional library dependencies for as long as I can (no other reason really).

Originally Posted by Baertram
Context menus: Please use LibCustomMenu!
German LAM translations:
EDIT: (I'm using latest Daily Alchemy, but my TTC is a bit outdated.)
Last edited by czerepx : 01/08/20 at 02:51 PM.
Report comment to moderator  
Reply With Quote
Unread 01/08/20, 11:31 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2629
File comments: 3044
Uploads: 57
Context menus: Please use LibCustomMenu!
Please do not use the function "AddMenuItem" in the addons directly but use the library LibCustomMenu and it's function "AddCustomMenuItem" with the same syntax!
The ESO context menus use a predefined number of a control pool. If addons add to this the available number of controls usable for ESO might get too low/might get insecure.
Thatfor LibCustomMenu was created to build it's own control pool, added standard after the ESO menu items.

Otherwise your addon could break other addons or raise error messages with "code got insecure".
Context menus should always be build using LibCustomMenu for addons! You got submenu features and other possibilities then as well.

German LAM translations:

Important: Please change the file encoding of the de.lua file to UTF-8 without byte order mark (w/o BOM) in ordert to show the Umlauts properly ingame!

Code:
--options menu
	["Account Settings"] = "Account Einstellungen",
	["Low Threshold"] = "Geringe Anzahl Schwellenwert",
	["Auto-save position"] = "Position Autom. speichern für jeden Charakter",
	["Character Settings"] = "Charakter Einstellungen Settings",
	["Show Stock"] = "Zeige bearbeitetes Material Lager",
	["Show Raw Stock"] = "Zeige Rohstoff Lager",
	["Always Visible"] = "Immer sichtbar",
	["Low Mat Threshold"] = "Geringe Material Anzahl Schwellenwert",
	["Custom Materials"] =  "Benutzerdefinierte Materialien",
	["Item"] =  "Gegenstand",
	["Custom Materials Help"] =
			"Füge ItemLinks in das Feld hier drunter ein. Um einen Gegenstand zu löschen, leere einfach das Textfeld.\n" ..
			"Du kannst z.B. \den 'Im Chat anzeigen\' Befehl benutzen, um den ItemLink im Chat anzuzeigen, und dann markierst du ihn dort und kopierst ihn in die Zwischenablage (STRG+C) und fügst ihn hier ein. " ..
			"Du kannst auch eine nummerische itemId benutzen, oder deinen eigenen Text."
btw: The default translations contains this line twice:
["Always Visible"]
Last edited by Baertram : 01/08/20 at 11:54 AM.
Report comment to moderator  
Reply With Quote
Unread 01/08/20, 11:22 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2629
File comments: 3044
Uploads: 57
All addons got a "Description" page where you can check for instructions and slash commands.
You even see this within Minion.
If the addon got no LAM settings menu where you could add the text as description it makes no sense to write all the commands to the chat as you login (if you got like 20 addons all wriitng to the chat....) or add them somehwere as a monster tooltip. So how should they be shown and where?

All one could do is make the chat commands more descriptive and easier to find by using LibSlashCommander (will show and autocomplete available chat commands ingame if you start to type /, but this would add another dependency) or writing all available chat comamnds and their description to the chat if you enter e.g. only /dcsbar.
-> Read LibSlashCommanders description page (you won't find that info ingame ) how it works.

I recommand to install LibSlashCommander as standalone addon/library to get the chat auto completion feature for chat comamnds. This way you can see more easily what commands exist, and if there are descriptions added, what they do.

Originally Posted by Inkling
Originally Posted by Description
Moving the bar
To change the status bar position, type /dcsbar unlock in chat and drag the small smithy icon around the screen.
Once you are done, type /dcsbar saveall to save the position as default for all characters on your account.

Other commands:
/dcsbar save - saves the position just for current character
/dcsbar reset - resets the position for current character (to addon default or account default, if any)
/dcsbar resetall - resets the position for this account (to addon default)
/dcsbar lock - exits the positioning mode
These instructions need to be available in-game somewhere.
Last edited by Baertram : 01/08/20 at 11:28 AM.
Report comment to moderator  
Reply With Quote
Unread 01/07/20, 05:25 PM  
Inkling

Forum posts: 0
File comments: 17
Uploads: 0
Originally Posted by Description
Moving the bar
To change the status bar position, type /dcsbar unlock in chat and drag the small smithy icon around the screen.
Once you are done, type /dcsbar saveall to save the position as default for all characters on your account.

Other commands:
/dcsbar save - saves the position just for current character
/dcsbar reset - resets the position for current character (to addon default or account default, if any)
/dcsbar resetall - resets the position for this account (to addon default)
/dcsbar lock - exits the positioning mode
These instructions need to be available in-game somewhere.
Report comment to moderator  
Reply With Quote
Unread 01/05/20, 02:37 AM  
czerepx
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 9
Uploads: 1
The status bar is very small and is on for a short time, so it just wasn't my priority to have a convenient method to satisfy all movement needs. You prefer to save it per character by default, I prefer to save it per account, that's why I don't do any of this automatically.

And I totally agree that having to use chat commands is mostly a nuisance, but it's also a convenient way for me to save development time on things that ... take the most of it . Sorry!

I've already added a popup menu in my development version (plus some new chat commands for new stuff ), I've also added optional LibAddonMenu (without localization though so I'm not sure I'll make it available in the next update)

EDIT: I've also detached the icon from the writs label, so that label events don't get in the way, so if you need to move the bar quite a lot there will be a per-account auto-save option in the next update. I've also added an option for the status bar to be always on (like for mule/crafter/trader characters with the stock display on).


Originally Posted by Baertram
I still do not understand why you don't save the new position just for the current character automatically instead of having us to use the /... save chat command
Last edited by czerepx : 01/06/20 at 08:03 AM.
Report comment to moderator  
Reply With Quote
Unread 01/04/20, 02:24 PM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2629
File comments: 3044
Uploads: 57
I still do not understand why you don't save the new position just for the current character automatically instead of having us to use the /... save chat command which
1. will be forgotten in 50% of the cases
2. is taking time for nuts
3. is too long to type each time without getting annoyed

There are many occasiosn where you need to move the UI elements depending on other addons enabled or not etc. At least for me.

If you'd make the save automatically with the onmoveend command xml handler everything would be easy and lightweight.
You can still keep the /... saveall command without any problems.
But the normal save method somehow is like an 1980' implementation imo

About the settings menu:
If you need help with LibAddonMenu-2.0 feel free to write me a pm.
Would be cool to have a menu with an UI instead of the chat commands.

Originally Posted by czerepx
Hey.
You can't really move the bar when it's mostly hidden, hence the unlock command.
The save/saveall commands are there for you too choose where do you want to save the postion to: for character or account.
The lock command is not really necessary (and I am not suggesting in the description that you are required to use it ). I needed this during testing to revert to start, like to have the tooltip back on.

Plus, I generally favor the idea of locked toolbars/taskbars, as expressed in PM.

I am thinking about adding a RMB popup menu for some commands, but this will take time.

Originally Posted by Baertram
Oh and a hint about the languages
Yes, I've seen it being made like this in some other addons.
Right now my language files are mostly used for extracts from specific game clients. Having en.lua as default language will net me nothing - the addon will still not work in other languages (I might add "unsupported client" alert though in the future). But I will definitely use your hint when I have text to translate, for which English as default would be nice, thanks.
Last edited by Baertram : 01/04/20 at 02:30 PM.
Report comment to moderator  
Reply With Quote
Unread 12/30/19, 12:29 AM  
czerepx
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 9
Uploads: 1
Hey.
You can't really move the bar when it's mostly hidden, hence the unlock command.
The save/saveall commands are there for you too choose where do you want to save the postion to: for character or account.
The lock command is not really necessary (and I am not suggesting in the description that you are required to use it ). I needed this during testing to revert to start, like to have the tooltip back on.

Plus, I generally favor the idea of locked toolbars/taskbars, as expressed in PM.

I am thinking about adding a RMB popup menu for some commands, but this will take time.

Originally Posted by Baertram
Oh and a hint about the languages
Yes, I've seen it being made like this in some other addons.
Right now my language files are mostly used for extracts from specific game clients. Having en.lua as default language will net me nothing - the addon will still not work in other languages (I might add "unsupported client" alert though in the future). But I will definitely use your hint when I have text to translate, for which English as default would be nice, thanks.
Report comment to moderator  
Reply With Quote
Unread 12/29/19, 03:55 PM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2629
File comments: 3044
Uploads: 57
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
Unread 12/26/19, 04:23 PM  
czerepx
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 9
Uploads: 1
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/26/19, 10:51 AM  
Calamath
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 16
Uploads: 2
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/24/19, 01:51 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2629
File comments: 3044
Uploads: 57
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/23/19, 04:45 PM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2629
File comments: 3044
Uploads: 57
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/23/19, 04:28 PM  
czerepx
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 9
Uploads: 1
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, 03:25 PM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2629
File comments: 3044
Uploads: 57
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
Post A Reply



Category Jump: