Download
(5 Kb)
Download
Updated: 06/04/23 09:15 PM
Pictures
File Info
Compatibility:
Necrom (9.0.0)
Updated:06/04/23 09:15 PM
Created:06/03/16 12:08 AM
Monthly downloads:660
Total downloads:65,166
Favorites:69
MD5:
Categories:TradeSkill Mods, Bags, Bank, Inventory
Dolgubon's Lazy Farming  Popular! (More than 5000 hits)
Version: 2.2.7
by: Dolgubon [More]
This addon will allow you to easily sell farming time if you have crafting bags. It will separate any mats you gained while farming, and place them into your inventory.

First, open the window with /dft, and then press the button labelled Save Bag. Next, reloadui, and back up the saved variables file (in case eso crashes).

Then farm as much as you want. When you are finished farming, press Get Items, and any new item in your crafting bag will be placed into your inventory.

If you find any bugs, please let me know.

It isn't it's intended use, however this addon will also help if you want to know how much mats you've gained while farming, or refining, even if you have no plans of selling.

Future Ideas:

-Pause Button

Known Issues:

None. If you find any, contact me on esoui, or @Dolgubon on NA.
Version 2.2.7:

API Bump
Added output telling you how long the farm was
Added some more spacing between buttons to make it a little easier to use

Version 2.2.6:

Ever forget to save something before copying it? Yeah. Version 2.3.5 but actually

Version 2.2.5:

Fixed a typo with the price filter
Added a line to use the stack size for calculating price when withdrawing items from the craft bag.
Thanks to wizzard2k for both fixes!

Version 2.2.4:

Fixed typo

Version 2.2.3:

API Bump
Added a value filter. Anything below the value won't get counted or withdrawn.

Version 2.2.2:

API Bump

Version 2.2.1:

Fixed bug where view farmed items would only count up to 200 of an item
Fixed bug where would show the price for a single item rather than the price for the whole stack

Version 2.2.0:

A new version?????!!!! It's been over 3 and a half years and this finally gets an update!!
Here's what's new:
- There is now a button which will total up the value of all items farmed, and output it in chat
- Now uses LibPrice (optionally)
- Rounds price values
- Added a feedback button (because why not)

Version 2.1:

Will now give the MM price of retrieved items, as well as a total at the end. If the user does not have MM, then it will still work.
When retrieving, will use the item link instead of the name.
Will notify the user if they run out of inventory space.
Added an option to save any items that are retrieved. This function can be toggled on or off using /dftretrievesavetoggle.
The addon will now no longer attempt to retrieve negative amounts of mats, or amounts greater than 200 all at once.

Version 1.1:

Fixed an issue where items would not be moved if the user had none in the inventory when saving the bag.
Added some pause code into the addon, however it is currently unfinished, and disabled.
Optional Files (1)
File Name
Version
Size
Author
Date
Type
2.2.4 - Patch 2
5kB
06/21/22 12:14 AM
Patch


Archived Files (10)
File Name
Version
Size
Uploader
Date
2.2.6
5kB
Dolgubon
06/25/22 02:12 PM
2.2.5
5kB
Dolgubon
06/24/22 10:59 PM
2.2.4
5kB
Dolgubon
06/07/22 01:16 AM
2.2.3
5kB
Dolgubon
06/05/22 09:09 PM
2.2.2
4kB
Dolgubon
11/01/20 08:21 PM
2.2.1
4kB
Dolgubon
03/07/20 11:32 PM
2.2.0
8kB
Dolgubon
03/02/20 09:06 PM
2.1
4kB
Dolgubon
06/17/16 11:40 PM
1.1
3kB
Dolgubon
06/07/16 04:14 PM
1
3kB
06/03/16 12:08 AM


Post A Reply Comment Options
Unread 06/24/22, 11:24 PM  
Dolgubon
 
Dolgubon's Avatar
AddOn Author - Click to view AddOns

Forum posts: 408
File comments: 885
Uploads: 21
Re: retrieve items algorithm

Thanks! I've updated the addon with the fixes


Originally Posted by wizzard2k
We noticed an issue with the algorithm to calculate the value of retrieved items was not taking stack size into account

I added below line 124
Code:
price = unitPrice * amount
to recalculate if we change amount size (withdraw one stack) and the math is now correct
Report comment to moderator  
Reply With Quote
Unread 06/16/22, 09:27 AM  
wizzard2k

Forum posts: 0
File comments: 75
Uploads: 0
retrieve items algorithm

We noticed an issue with the algorithm to calculate the value of retrieved items was not taking stack size into account

I added below line 124
Code:
price = unitPrice * amount
to recalculate if we change amount size (withdraw one stack) and the math is now correct
Report comment to moderator  
Reply With Quote
Unread 06/14/22, 09:32 AM  
wizzard2k

Forum posts: 0
File comments: 75
Uploads: 0
Re: Re: Bug ever since the addon updated

Originally Posted by Vintage_Fire
I tried disabling all my addons and turning them back one by one, the error continued to pop up whenever I tried to retrieve or see the items that were farmed. When I rolled back to the previous version of the addon, it works.

Originally Posted by Vintage_Fire
Whenever I try to view the items or get the items, I get an error message but I have no idea what this means. I don't know how to fix it. Any suggestions would be very much appreciated.

"user:/AddOns/DolgubonsLazyFarming/Farming.lua:119: attempt to index a nil value
stack traceback:
user:/AddOns/DolgubonsLazyFarming/Farming.lua:119: in function 'endFarming'
|caaaaaa<Locals> withdrawItems = F, movedOne = F, index = 34305, data = [table:1]{itemInstanceId = 3866050987, isFromCrownStore = F, isPlayerLocked = F, requiredLevel = 1, rawName = "Pumpkin", bagId = 5, stackSellPrice = 0, isPlaceableFurniture = F, meetsUsageRequirement = T, equipType = 0, sellInformationSortOrder = 1, age = 0, sellInformation = 0, isBoPTradeable = F, brandNew = F, launderPrice = 0, specializedItemType = 42, itemType = 10, isGemmable = F, isInArmory = F, statusSortOrder = 0, actorCategory = 0, condition = 100, sellPrice = 0, traitInformationSortOrder = 1, stackLaunderPrice = 0, name = "Pumpkin", traitInformation = 0, statValue = 0, iconFile = "/esoui/art/icons/crafting_pump...", functionalQuality = 1, slotIndex = 34305, requiredChampionPoints = 0, locked = F, displayQuality = 1, uniqueId = 1.6948921980584e-319, stolen = F, isJunk = F, quality = 1, stackCount = 514}, move = F, amount = 0, itemLink = "|H0:item:34305:0:0:0:0:0:0:0:0...", unitPrice = 11.278762021074, wasDefaultPrice = F, price = 0 </Locals>|r
DolgubonFarmingToolTotalFarming_Clicked:3: in function '(main chunk)'
|caaaaaa<Locals> self = ud, button = 1, ctrl = F, alt = F, shift = F, command = F </Locals>|r"
Typo in lines 119, and 120, savedvars should be savedVars
Code:
				if type(tonumber(DolgubonFarming.savedVars["valueFilter"])) == "number" and tonumber(DolgubonFarming.savedVars["valueFilter"])>unitPrice then
					d("Skipped "..itemLink.." since price of "..unitPrice.." is less than filter price ("..tonumber(DolgubonFarming.savedVars["valueFilter"])..")")
				else
Report comment to moderator  
Reply With Quote
Unread 06/08/22, 10:26 AM  
Vintage_Fire

Forum posts: 0
File comments: 3
Uploads: 0
Re: Bug ever since the addon updated

I tried disabling all my addons and turning them back one by one, the error continued to pop up whenever I tried to retrieve or see the items that were farmed. When I rolled back to the previous version of the addon, it works.

Originally Posted by Vintage_Fire
Whenever I try to view the items or get the items, I get an error message but I have no idea what this means. I don't know how to fix it. Any suggestions would be very much appreciated.

"user:/AddOns/DolgubonsLazyFarming/Farming.lua:119: attempt to index a nil value
stack traceback:
user:/AddOns/DolgubonsLazyFarming/Farming.lua:119: in function 'endFarming'
|caaaaaa<Locals> withdrawItems = F, movedOne = F, index = 34305, data = [table:1]{itemInstanceId = 3866050987, isFromCrownStore = F, isPlayerLocked = F, requiredLevel = 1, rawName = "Pumpkin", bagId = 5, stackSellPrice = 0, isPlaceableFurniture = F, meetsUsageRequirement = T, equipType = 0, sellInformationSortOrder = 1, age = 0, sellInformation = 0, isBoPTradeable = F, brandNew = F, launderPrice = 0, specializedItemType = 42, itemType = 10, isGemmable = F, isInArmory = F, statusSortOrder = 0, actorCategory = 0, condition = 100, sellPrice = 0, traitInformationSortOrder = 1, stackLaunderPrice = 0, name = "Pumpkin", traitInformation = 0, statValue = 0, iconFile = "/esoui/art/icons/crafting_pump...", functionalQuality = 1, slotIndex = 34305, requiredChampionPoints = 0, locked = F, displayQuality = 1, uniqueId = 1.6948921980584e-319, stolen = F, isJunk = F, quality = 1, stackCount = 514}, move = F, amount = 0, itemLink = "|H0:item:34305:0:0:0:0:0:0:0:0...", unitPrice = 11.278762021074, wasDefaultPrice = F, price = 0 </Locals>|r
DolgubonFarmingToolTotalFarming_Clicked:3: in function '(main chunk)'
|caaaaaa<Locals> self = ud, button = 1, ctrl = F, alt = F, shift = F, command = F </Locals>|r"
Report comment to moderator  
Reply With Quote
Unread 06/08/22, 09:49 AM  
Vintage_Fire

Forum posts: 0
File comments: 3
Uploads: 0
Bug ever since the addon updated

Whenever I try to view the items or get the items, I get an error message but I have no idea what this means. I don't know how to fix it. Any suggestions would be very much appreciated.

"user:/AddOns/DolgubonsLazyFarming/Farming.lua:119: attempt to index a nil value
stack traceback:
user:/AddOns/DolgubonsLazyFarming/Farming.lua:119: in function 'endFarming'
|caaaaaa<Locals> withdrawItems = F, movedOne = F, index = 34305, data = [table:1]{itemInstanceId = 3866050987, isFromCrownStore = F, isPlayerLocked = F, requiredLevel = 1, rawName = "Pumpkin", bagId = 5, stackSellPrice = 0, isPlaceableFurniture = F, meetsUsageRequirement = T, equipType = 0, sellInformationSortOrder = 1, age = 0, sellInformation = 0, isBoPTradeable = F, brandNew = F, launderPrice = 0, specializedItemType = 42, itemType = 10, isGemmable = F, isInArmory = F, statusSortOrder = 0, actorCategory = 0, condition = 100, sellPrice = 0, traitInformationSortOrder = 1, stackLaunderPrice = 0, name = "Pumpkin", traitInformation = 0, statValue = 0, iconFile = "/esoui/art/icons/crafting_pump...", functionalQuality = 1, slotIndex = 34305, requiredChampionPoints = 0, locked = F, displayQuality = 1, uniqueId = 1.6948921980584e-319, stolen = F, isJunk = F, quality = 1, stackCount = 514}, move = F, amount = 0, itemLink = "|H0:item:34305:0:0:0:0:0:0:0:0...", unitPrice = 11.278762021074, wasDefaultPrice = F, price = 0 </Locals>|r
DolgubonFarmingToolTotalFarming_Clicked:3: in function '(main chunk)'
|caaaaaa<Locals> self = ud, button = 1, ctrl = F, alt = F, shift = F, command = F </Locals>|r"
Report comment to moderator  
Reply With Quote
Unread 05/30/21, 03:14 PM  
Dolgubon
 
Dolgubon's Avatar
AddOn Author - Click to view AddOns

Forum posts: 408
File comments: 885
Uploads: 21
Re: Bug

Originally Posted by Attizh
I'm using an 27"" iMac full screen and the text under the top dialog box is too high and partially or fully covering the craft button. The same text is also visible on the top-left. So, can the text under the dialog box be turned off?

Also there's quite a big pause between crafting items. Is there a setting to speed it up?
Uh is this comment on the right addon? This addon doesn't do crafting. Also, crafting delays is imposed by the game and cannot be changed.
Report comment to moderator  
Reply With Quote
Unread 11/29/20, 09:33 AM  
Attizh

Forum posts: 11
File comments: 64
Uploads: 0
Bug

I'm using an 27"" iMac full screen and the text under the top dialog box is too high and partially or fully covering the craft button. The same text is also visible on the top-left. So, can the text under the dialog box be turned off?

Also there's quite a big pause between crafting items. Is there a setting to speed it up?
Report comment to moderator  
Reply With Quote
Unread 11/01/20, 08:20 PM  
Dolgubon
 
Dolgubon's Avatar
AddOn Author - Click to view AddOns

Forum posts: 408
File comments: 885
Uploads: 21
Re: View Farmed Items misses more than 1 stack

This comment is mostly a note to me that the bugs below were previously fixed.


Originally Posted by wizzard2k
The new "View Farmed Items" option seems to miss if you had more than one stack. "Get Items" still works as intended.
Report comment to moderator  
Reply With Quote
Unread 03/04/20, 03:03 PM  
wizzard2k

Forum posts: 0
File comments: 75
Uploads: 0
View Farmed Items misses more than 1 stack

The new "View Farmed Items" option seems to miss if you had more than one stack. "Get Items" still works as intended.
Last edited by wizzard2k : 03/04/20 at 03:04 PM.
Report comment to moderator  
Reply With Quote
Unread 03/03/20, 07:25 PM  
Aldanga
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 304
Uploads: 5
Hey, man. Nice to see this updated again.

The View Farmed Items and Get Items buttons both log the "Dolgubon's Lazy Farmer has retrieved all items" message to chat, which is a bit disconcerting if you just wanted to see the total DFT had logged and not actually retrieve the items/end the farm. Clicking the View Farmed Items button doesn't actually retrieve the items, but one begins to wonder about his sanity if that familiar message shows up.

Otherwise, things seem to work great. Thanks!
Report comment to moderator  
Reply With Quote
Unread 03/03/20, 06:13 PM  
Shadowshire

Forum posts: 1
File comments: 402
Uploads: 0
Arrow The UI ....

On the Lazy Farming UI, IMHO, it would be better to show "Save Bag" above "Get Items" instead of the way it is now. Because that is the order in which the player does them -- i.e., first save the current Craft Bag contents, then farm, and after farming, transfer the items from the Craft Bag which were added to it and place them in the character's Bags.

That said, it seems simpler to toggle the option ESC > Settings > Gameplay > Auto Add To Craft Bag to OFF. Then any looted materials are stored in the character's normal inventory Bags. Toggling the option to ON resumes adding looted materials to the Craft Bag. The add-on Craftbag Keybind does this.

Regardless, IIRC, after the player next accesses the Bags and exits the UI, any crafting materials in the Bags will be automagically transferred to the Craft Bag. As far as I know, it is not possible to prevent that from happening.

So, after accessing the Bags, the player must either (1) deposit the items in the Bank, or (2) attach them to an outgoing e-mail message -- whether to store them that way (the recipient simply returns the message), or to transfer them to another player. Else, the materials will be transferred to the Craft Bag when the player exits the Bags UI.
Last edited by Shadowshire : 03/06/20 at 09:52 PM.
Report comment to moderator  
Reply With Quote
Unread 08/30/19, 05:31 PM  
Dolgubon
 
Dolgubon's Avatar
AddOn Author - Click to view AddOns

Forum posts: 408
File comments: 885
Uploads: 21
Re: This is a Life saver!

Originally Posted by nectros71
I love this addon, it has saved me lots of times.

I have 1 question. Once I click "save bag" ....I can farm for multiple sessions, right?

Like I currently use it for our guild's map farming. We do 100 maps and all the goodies in between the wayshrine and the map location. it usually takes me a 2-3 days to do it and then I click "get items" and it seems to work as intended.
Yes, you can farm over a long period of time, however:


As you might note, there is currently NO pause button. That means that anything farmed in between when you might not intend to farm will be included!
Report comment to moderator  
Reply With Quote
Unread 08/02/19, 04:52 PM  
nectros71

Forum posts: 0
File comments: 4
Uploads: 0
This is a Life saver!

I love this addon, it has saved me lots of times.

I have 1 question. Once I click "save bag" ....I can farm for multiple sessions, right?

Like I currently use it for our guild's map farming. We do 100 maps and all the goodies in between the wayshrine and the map location. it usually takes me a 2-3 days to do it and then I click "get items" and it seems to work as intended.
Report comment to moderator  
Reply With Quote
Unread 10/21/18, 08:50 PM  
Dolgubon
 
Dolgubon's Avatar
AddOn Author - Click to view AddOns

Forum posts: 408
File comments: 885
Uploads: 21
Re: List of what was collect

Originally Posted by Noebody
Is there a way to look in a file somewhere to see how much of each resource was collected? Versus extracting them to my inventory?

Nice mod. Thank you for taking the time to create this.
Kind of, but not really. The addon saves the initial amounts of items that you have, and then withdraws the difference. There is currently no feature afaik to show that info without withdrawing it. Unfortunately, I am no longer supporting this addon, so it's likely that it will never be implemented.
Report comment to moderator  
Reply With Quote
Unread 10/21/18, 07:31 AM  
Noebody

Forum posts: 0
File comments: 3
Uploads: 0
List of what was collect

Is there a way to look in a file somewhere to see how much of each resource was collected? Versus extracting them to my inventory?

Nice mod. Thank you for taking the time to create this.
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.