Quantcast
Download
(37 Kb)
Download
Updated: 05/26/20 11:45 AM
Pictures
File Info
Compatibility:
Greymoor (6.0.5)
Harrowstorm (5.3.4)
Dragonhold (5.2.5)
Scalebreaker (5.1.5)
Elsweyr (5.0.5)
Updated:05/26/20 11:45 AM
Created:10/06/18 07:08 AM
Monthly downloads:429
Total downloads:11,147
Favorites:39
MD5:
Categories:TradeSkill Mods, Character Advancement, Miscellaneous, Utility Mods
Leo's Trainer  Popular! (More than 5000 hits)
Version: 2.2.1
by: LeandroSilva [More]
An AddOn that helps training your alt on crafting skills (blacksmithing, woodworking, clothing and jewel crafting).

Type "/leotrainer" on your chat to open the main window or use the KeyBinding.

Dependencies (please, install these):
* Leo's Altholic (1.5.0+)
* LibFeedback
* LibAddonMenu-2.0
* LibLazyCrafting
* LibSavedVars
* FCO ItemSaver if you plan to use auto research or auto deconstruct. This is for safety!

Suggested workflow

* You need to login with each character with Leo's Altholic enabled for them.
* You can do this in parallel with your daily writs to optimize your time. It's compatible with Dolgubon's Lazey Writ.
* If using auto deconstruct and auto research, disable any other auto addons to avoid conflicts.
  1. On on master crafter, open the main windows and click "Fill all slots"
  2. All empty research slots will appear on the queue unless there is a researchable item in bank
  3. Go to each station to craft the items (option to auto craft and compatible with Lazy Writ. It will mark for research if you have FCO Item Saver)
  4. Go to the bank and deposit the items (option to auto deposit)
  5. Log in with each trainee, go to each station and research an item (option to auto research and compatible with Lazy Writ)
  6. You can also auto deconstruct items to increase the trade skill (only available until max level in that skill)

Auto options
* Auto craft will mark crafted items for research if you have FCO Item Saver
* Auto research will only work for items masked for research on FCO Item Saver. This is for safety and prevent the lost of important items with a trait that you need. Just mask an item with research item and the addon will use it.
* Auto deconstruct will only work for items masked for deconstruct or intricate on FCO Item Saver. This is for safety and prevent the lost of important items. Just mask an item with deconstruct item and the addon will use it. You can also use the auto mark feature inn FCO Item Saver.
* Auto deconstruct will not deconstruct items with level too far from your skill. If you have 49 in blacksmithing, you will gain too little for deconstruct an iron item level 1; better save for other char with lower BS. The same if you have BS level 1 should not deconstruct an ancient silk item level 50, you will gain a lot, but a lot will be lost because of gain cap.

All crafted items will be of white quality and use basic materials (iron ingot, sanded mapple, jute and pewter ounce). No need to waste valuable resources on training, eg. better deconstruct a purple item than use it for research. Will use only playable race style materials (can be bought from vendor).

Features:
* Easily known who can train and who can be trained in a skill
* Create an entire queue in one char and craft the items on others
* Remove an item from the queue by right-click it
* Fill empty research slots on your alts (primary use to save bank space, will only craft what's immediately needed)
* Settings with available skills to be trained for each char and fill slots (eg. maybe you don't want to train you alts jewel crafting for now because it's expensive, only on you main crafter)
* Auto Craft
* Auto Research
* Auto Deposit
* Auto Deconstruct

My addons:
Leo's Altholic
Leo's Trainer
Leo's Guild Manager
Leo's Dolmen Runner
2.2.1:
- Fix for Greymoor

2.2.0:
- Update 26 Greymoor compatibility
- This version is compatible with both live (Harrowstorm) and PTS (Greymoor)

2.1.0:
- You can auto deconstruct glyphs at the enchanting station

2.0.4:
- Fix "Start Craft" button. Only auto craft was working.

2.0.3:
- Fix eventual conflict with Lazy Writ

2.0.2:
- Fix an issue when exiting a station without Lazy Writ installed

2.0.1:
- Clear queue when leave station in the middle of the craft process

2.0.0:
- Major internal refactoring (you need to set the options again, sorry :( )
- Auto Craft
- Auto Research
- Auto Deposit
- Auto Deconstruct

1.3.3
- Fix rare lua error when using with FCOItemSaver

1.3.2
- Removing debug message, sorry :)

1.3.1
- Mark crafted items for research using FCO if available

1.3.0
- Update to Elsweyr
- Remove 3rd-party libraries (player needs to manually install)

1.2.3
- Respecting "Use Nirnhoned" settings again, sorry :(
- Showing quantity of queued items on chat upon "Fill ..."

1.2.2
- Ignoring lines still under researching during queue creation

1.2.1
- Fixing lua error during initialisation

1.2.0
- Added Default Trainer on Settings: Preferred trainer during queue creation
- Now queue as designated trainer (default or the first one that known the trait)
- You can change the trainer by left-clicking on his/her name in the queue
- Filtering queue by trainer in stations too (besides the station itself)
- Correctly include concluded researches in the queue and excluding ongoing one from it
- Scanning items during queue creation and not including that trait on queue (but it a second car needs that trait and you have one 1 item, the trait will be included for the second char)

1.1.3
- Fixing slash command /leotrainer

1.1.2
- Fixed icon launcher in crafting station (Thanks NachtkindFX)

1.1.1
- Fixed the Fill slots for researches finished on other chars but not yet logged in to marked them as done.

1.1.0
- Setting to search inventory for items with searchable traits (integration with FCOItemSaver too) and show in the grid. In the near future, you can ignore such trait for queue purposes.
- Fill all slots: Fill all empty research slots for each character known by any
- Fill my slots: Fill all empty research slots for CURRENT character known by the any
- Fill slots i know: Fill all empty research slots for each character known ONLY by the current character
- All "Fill ..." buttons uses line/trait that will require less time
- Huge performance boost since Leo's Altholic 1.5.0+


1.0.3
- Forward compatibility with LeoAltholic 1.4.0 and preparing for LeoTrainer 1.1.0

1.0.2
- Consider as available a skill with already finished research but not logged in char
- This one needs LeoAltholic 1.2.2 or above, please update!

1.0.1
- Preventing that a slot is filled with a traitless item if a char known all traits of a skill line or if no one knows it

1.0.0
- Fill Slots
- Slash command /leotrainer is working again
- Settings with available skills to be trained for each char and fill slots

0.9.2
- Fixing craft items using correct material requirements
- Decreasing time between crafts during "Craft All"
- Increasing the width of trait and item on queue

0.9.1
- Fixing an issue when the next item on queue is for a different station
Optional Files (0)


Archived Files (26)
File Name
Version
Size
Uploader
Date
2.2.0
37kB
LeandroSilva
04/23/20 06:07 AM
2.1.0
37kB
LeandroSilva
04/11/20 08:17 AM
2.0.4
37kB
LeandroSilva
04/06/20 05:47 PM
2.0.3
37kB
LeandroSilva
04/04/20 09:00 AM
2.0.2
37kB
LeandroSilva
04/01/20 02:33 PM
2.0.1
37kB
LeandroSilva
03/28/20 04:07 AM
2.0.0
37kB
LeandroSilva
03/26/20 03:31 AM
1.3.3
22kB
LeandroSilva
02/07/20 02:07 PM
1.3.2
22kB
LeandroSilva
02/02/20 08:20 AM
1.3.1
22kB
LeandroSilva
01/30/20 03:02 PM
1.3.0
21kB
LeandroSilva
01/18/20 04:35 PM
1.2.3
71kB
LeandroSilva
11/07/18 10:20 AM
1.2.2
70kB
LeandroSilva
11/06/18 04:16 AM
1.2.1
70kB
LeandroSilva
11/05/18 04:10 PM
1.2.0
70kB
LeandroSilva
11/05/18 01:09 PM
1.1.3
70kB
LeandroSilva
11/03/18 05:20 AM
1.1.2
70kB
LeandroSilva
11/03/18 05:04 AM
1.1.1
70kB
LeandroSilva
11/03/18 03:56 AM
1.1.0
70kB
LeandroSilva
11/01/18 04:58 PM
1.0.3
68kB
LeandroSilva
10/27/18 04:27 AM
1.0.2
67kB
LeandroSilva
10/11/18 08:54 AM
1.0.1
67kB
LeandroSilva
10/08/18 09:30 AM
1.0.0
67kB
LeandroSilva
10/08/18 08:10 AM
0.9.2
66kB
LeandroSilva
10/07/18 06:32 AM
0.9.1
66kB
LeandroSilva
10/06/18 06:21 PM
0.9.0
65kB
LeandroSilva
10/06/18 07:08 AM


Post A Reply Comment Options
Unread 06/30/20, 03:30 PM  
TagCdog

Forum posts: 17
File comments: 32
Uploads: 0
Update regarding craft-queuing by clicking an item/trait on the grid:
  • If the Preferred Trainer in the addon settings is "Anyone", you *cannot* queue items/traits by clicking on them.
  • If a specific character is set as the Preferred Trainer in the addon settings, you *can* queue items/traits by clicking on them.

Now knowing how it works, I'd like to request the ability for any character to queue any item/trait by clicking on it in the grid when "Anyone" is the Preferred Trainer.

From a code perspective would deleting
Code:
data.trainer ~= "Anyone" and data.trainee ~= "Anyone"
from line 625 of LeoTrainerUI.lua do the trick?

Code:
function LeoTrainer.AddToQueue(data)
    for _, item in pairs(LeoTrainer.savedVariables.queue) do
        if data.trainer ~= "Anyone" and data.trainee ~= "Anyone" and item.trainer == data.trainer and item.trainee == data.trainee and item.craft == data.craft and
                item.line == data.line and item.trait == data.trait then
            return false
        end
    end
    table.insert(LeoTrainer.savedVariables.queue, data)
    return true
end
One last thing, switching the Preferred Trainer each time I swapped toons didn't work. Yes, you could queue from the new Preferred Trainer, but there was some conflicting data in the queue from the old trainer that caused the addon to freak out and continuously craft the wrong item until I logged on with a different toon and cleared the queue which wasn't visible to the current toon and had items queued from both my main and previous alt.
Last edited by TagCdog : 07/10/20 at 01:23 AM.
Report comment to moderator  
Reply With Quote
Unread 06/17/20, 10:58 PM  
Dolgubon
 
Dolgubon's Avatar
AddOn Author - Click to view AddOns

Forum posts: 368
File comments: 720
Uploads: 18
The icon doesn't really match - I'd suggest the actual soul gem item icon for the soul gems instead of the transmute crystl symbol
Also, a lot of the top menu buttons have mouseover/clicked textures as well. Using those textures would make it a little more intuitive.
An option to disable chat message on login and writ pickup would also be appreciated.
Last edited by Dolgubon : 06/17/20 at 10:59 PM.
Report comment to moderator  
Reply With Quote
Unread 06/17/20, 09:35 AM  
Vaesse

Forum posts: 0
File comments: 2
Uploads: 0
Originally Posted by esran
Seems there's the odd issue with correctly identifying known traits, and possibly tracking inventory/bank.

1. It sometimes thinks a character doesn't know a trait even though it does. In all instances that this has happened, CraftStore has the correct knowledge and reloading the UI fixes it for Leo.

2. It sometimes feels like it takes multiple visits to the bench before it registers researching. I just noticed that the first visit mentioned in the chat log two staves and that it was researching one of them. But it didn't register in the toolbar. So I visited the bench again. This time only the second staff was listed and it researched that, which did register this time. On checking the first staff it turns out I don't have that anywhere.
I have noticed something similar. I am convinced this is because I don't run my characters in alphabetical order so they probably don't always learn the item that was "planned" for them. Just today I had a character trying to learn a trait they already knew... and when I asked the addon to make them another item to research, it re-qued the same trait/item combo. Maybe a button or slash command to clear and then learn again what the current character knows?
Report comment to moderator  
Reply With Quote
Unread 06/05/20, 08:02 PM  
lookstwice

Forum posts: 0
File comments: 3
Uploads: 0
Sorry for the basic question, but not seeing a search thread option here.

How do I remove the information for one alt. I don't need to know information that character on the main /leoalt page.

Thanks.
Report comment to moderator  
Reply With Quote
Unread 05/25/20, 07:03 PM  
Aldanga
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 157
Uploads: 5
Looks like ITEM_QUALITY_MIN_VALUE and ITEM_QUALITY_MAX_VALUE don't exist in the PTS environment (not even in compatibility aliases), so this explodes on the current PTS. Unless something changes before tomorrow, you'll want to change to ITEM_FUNCTIONAL_QUALITY_ITERATION_BEGIN and ITEM_FUNCTIONAL_QUALITY_ITERATION_END.

Almost bit me with ATT, so I wanted to make sure you were aware.
Report comment to moderator  
Reply With Quote
Unread 05/16/20, 04:55 PM  
esran

Forum posts: 0
File comments: 10
Uploads: 0
Seems there's the odd issue with correctly identifying known traits, and possibly tracking inventory/bank.

1. It sometimes thinks a character doesn't know a trait even though it does. In all instances that this has happened, CraftStore has the correct knowledge and reloading the UI fixes it for Leo.

2. It sometimes feels like it takes multiple visits to the bench before it registers researching. I just noticed that the first visit mentioned in the chat log two staves and that it was researching one of them. But it didn't register in the toolbar. So I visited the bench again. This time only the second staff was listed and it researched that, which did register this time. On checking the first staff it turns out I don't have that anywhere.
Report comment to moderator  
Reply With Quote
Unread 05/10/20, 01:05 AM  
Gr3yMeister

Forum posts: 0
File comments: 3
Uploads: 0
Re: Auto-Deconstruct

Originally Posted by Gr3yMeister
After carefully marking things in my bank that needed to be deconstructed, I changed the necessary settings within the Auto-Deconstruct panel so that it would deconstruct Set items and items in the bank, under the impression it would ONLY deconstruct items marked with the Deconstruct/Intricate marker from FCO ItemSaver...

It did not do this, and it deconstructed some of the green/blue jewelry that was marked as Gear with no ability to deconstruct myself (due to restrictions set in FCOItemSaver).

DO NOT USE AUTO-DECONSTRUCT AT ALL.

I tested further, and it would have deconstructed basically my entire bank if it could have. Please look into this, the add-on is definitely not looking for Deconstruction/Intricate Tags, it just doesn't give a ****.
Additionally, I used the training interface to auto-craft the needed jewelry for research on all my characters. These were automarked for research correctly, however, the auto-deconstruct also decided to clear my bank of those exact items... Something is terribly wrong here. Please consider removing this feature until it can be sorted out.
Report comment to moderator  
Reply With Quote
Unread 05/10/20, 12:49 AM  
Gr3yMeister

Forum posts: 0
File comments: 3
Uploads: 0
Auto-Deconstruct

After carefully marking things in my bank that needed to be deconstructed, I changed the necessary settings within the Auto-Deconstruct panel so that it would deconstruct Set items and items in the bank, under the impression it would ONLY deconstruct items marked with the Deconstruct/Intricate marker from FCO ItemSaver...

It did not do this, and it deconstructed some of the green/blue jewelry that was marked as Gear with no ability to deconstruct myself (due to restrictions set in FCOItemSaver).

DO NOT USE AUTO-DECONSTRUCT AT ALL.

I tested further, and it would have deconstructed basically my entire bank if it could have. Please look into this, the add-on is definitely not looking for Deconstruction/Intricate Tags, it just doesn't give a ****.
Report comment to moderator  
Reply With Quote
Unread 05/04/20, 11:43 AM  
esran

Forum posts: 0
File comments: 10
Uploads: 0
Originally Posted by TagCdog
Yeah, LibLazyCrafting was updated yesterday. After the update, my Trainer addon threw those errors too when trying to craft.

It was updated again with the notes "Fixed backwards compatability bug" and everything works now.

Make sure your LibLazyCrafting is updated to the newest version!
All updated and error gone.


On to the next problem. Looks like Jewelcrafting isn't working 100%. It queues up a pewter necklace to make for a trainee. When visiting the bench I get a chat message about crafting it but nothing happens. I crafted it manually. Then visited the bank and it was not deposited.


Turns out I was missing some ingredients that needed refining. The manually crafted one was untraited!
Last edited by esran : 05/05/20 at 11:16 AM.
Report comment to moderator  
Reply With Quote
Unread 05/03/20, 12:03 PM  
TagCdog

Forum posts: 17
File comments: 32
Uploads: 0
Yeah, LibLazyCrafting was updated yesterday. After the update, my Trainer addon threw those errors too when trying to craft.

It was updated again with the notes "Fixed backwards compatability bug" and everything works now.

Make sure your LibLazyCrafting is updated to the newest version!
Last edited by TagCdog : 05/03/20 at 12:10 PM.
Report comment to moderator  
Reply With Quote
Unread 05/03/20, 05:32 AM  
esran

Forum posts: 0
File comments: 10
Uploads: 0
Getting the following error after crafting a staff for an alt to research. Looks like the error causes the staff created not to register so if you revisit the table it crafts it again (and generates the error each time too).

edit: Not specific to staves. Looks like a general crafting issue.

Code:
user:/AddOns/LibLazyCrafting/Smithing.lua:967: operator - is not supported for nil - number
stack traceback:
user:/AddOns/LibLazyCrafting/Smithing.lua:967: in function 'smithingCompleteNewItemHandler'
|caaaaaa<Locals> station = 6, bag = 1, slot = 14, addonName = "LeoTrainer", position = 1, removedRequest = [table:1]{materialIndex = 1, style = 6, reference = 3, pattern = 6, trait = 2, quality = 1, setIndex = 0, timestamp = 3, useUniversalStyleItem = F, autocraft = T, Requester = "LeoTrainer", station = 6, materialQuantity = 3, type = "smithing"} </Locals>|r
user:/AddOns/LibLazyCrafting/Smithing.lua:1040: in function 'SmithingCraftCompleteFunction'
|caaaaaa<Locals> station = 6, bag = 1, slot = 14 </Locals>|r
user:/AddOns/LibLazyCrafting/LibLazyCrafting.lua:743: in function 'CraftComplete'
|caaaaaa<Locals> event = 131529, station = 6, k = 6, v = [table:2]{station = 6} </Locals>|r
Last edited by esran : 05/03/20 at 06:05 AM.
Report comment to moderator  
Reply With Quote
Unread 05/01/20, 08:10 PM  
Caaraamon

Forum posts: 0
File comments: 22
Uploads: 0
Not Detecting Item

So I was testing out this wonderful addon and it doesn't seem to recognize that I have items in my inventory that I can use to research, showing the orange X instead of the white +.

I absolutely use FCOItemSaver for nearly everything so I don't think that's the issue, and I've tried to get the item recognized both in junked and unjunked state. I have 10 or more items on just one character, and a bunch more on others, and none of them are detected.

I've checked the settings and they're all under the max quality level, auto research is set, allow crafted and set items is selected.

I tried turning off all other addons but ItemSaver and logging out and back in, still no dice.

Leo's Altholic ver 1.8.0
Leo's Trainer ver 2.2.0
FCO ItemSaver ver 1.9.1

Update: When I go to a crafting station, I get a long printout of everything that I could research, but the white + still doesn't show. I even have a few items that the red X shows up for, rather than the white +.
Last edited by Caaraamon : 05/01/20 at 08:21 PM.
Report comment to moderator  
Reply With Quote
Unread 04/24/20, 12:46 PM  
TagCdog

Forum posts: 17
File comments: 32
Uploads: 0
Hi Leo, that makes sense.

I have been searching for a easy and direct way to automatically mark non-set "junk" gear as deconstructable. Baertram has been a big help, but I haven't yet been able to dedicate time towards learning and "programming" RulebasedInventory filters. It is interesting that a filter designed to single out this type of gear doesn't already exist. In any case, I could only imagine how much time developing things like this takes!

I have another question for you. I still cannot click on the grid to queue specific traited items to be crafted. Clicking on the grid does absolutely noting. Is that feature supposed to work at this time, or is it something that will be implemented on a future date? If it is supposed to work, what troubleshooting steps would you recommend?

Also, could it be a feature to queue/craft upcoming research slot openings? If a craft has a research slot opening up within the next hour (or user configurable time), it will queue/craft the next researchable item to have waiting in the bank. With a lot of crafting alts I find that one will finish researching something after I already crafted everything. It would prevent needing to switch back and forth to my crafting main.

Thanks again!
Report comment to moderator  
Reply With Quote
Unread 04/09/20, 04:04 PM  
LeandroSilva
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 232
Uploads: 4
Hi!

Actually, there is no such feature. The message that an item can be deconstruct is only for those marked to deconstruct using FCO and if you're not at max craft. It does not check if that item can be researched. Also, the message about researchable items follows the same ideia, only those marked with research by FCO.

Originally Posted by TagCdog
Thanks again Leo!

I have an added feature request.

Your addon already says that certain items can be deconstructed once research for a particular trait is complete across all characters. Can you add a button that uses FCO ItemSaver to automatically flag all of those items as deconstructable? Maybe add a quality filter to ensure that it doesn't flag a certain quality and above.

I'm not sure how niche that request is, but it would sure help me clear out my bank of items that aren't needed anymore!
Report comment to moderator  
Reply With Quote
Unread 04/09/20, 12:06 PM  
TagCdog

Forum posts: 17
File comments: 32
Uploads: 0
Thanks again Leo!

I have an added feature request.

Your addon already says that certain items can be deconstructed once research for a particular trait is complete across all characters. Can you add a button that uses FCO ItemSaver to automatically flag all of those items as deconstructable? Maybe add a quality filter to ensure that it doesn't flag a certain quality and above.

I'm not sure how niche that request is, but it would sure help me clear out my bank of items that aren't needed anymore!
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.