Quantcast
Download
(33 Kb)
Download
Updated: 02/23/20 07:30 PM
Compatibility:
Harrowstorm (5.3.0)
Updated:02/23/20 07:30 PM
Created:02/05/17 10:02 PM
Monthly downloads:29,233
Total downloads:968,771
Favorites:428
MD5:
LibLazyCrafting  Updated Today!  Popular! (More than 5000 hits)
Version: 2.994
by: Dolgubon [More]
Addons currently utilizing this Library:


Dolgubon's Lazy Writ Crafter
Dolgubon's Lazy Set Crafter
Writ Worthy

If you use one of those addons you MUST download this library!

What does LibLazyCrafting Do?
  • Allows addons to create and upgrade a piece of gear with just one function
  • Allows addons to request items to be crafted anywhere, not just at the relevant crafting station
  • Abstracts away the confusing material index and material amount Smithing parameters
  • Provides functions to determine all the materials required to create a piece of gear
  • Extends CraftSmithingItem to allow the specification of crafting set and quality
  • Extends crafting functions to allow the use of itemIds in consumables
  • Allows addons to queue multiple crafts of the same type with one function call
  • Allows addons to use some crafting related functions anywhere, not just at a crafting station
  • Tells you when an item your addon requested is crafted, and where in the bag it is located
If you want your addon to craft items, LibLazyCrafting can help!

Github link: https://github.com/Dolgubon/LibLazyCrafting

General Usage

Note: The usage section is incomplete at this time. If you wish to use this library, let me know and I can help you out.
Add the following to your manifest.txt file:
## DependsOn: LibLazyCrafting

Next, register your addon with LibLazyCrafting (LLC) in the addon initialized function:
local LibLazyCrafting = LibStub:GetLibrary("LibLazyCrafting")
local interactionTable = LibLazyCrafting:AddRequestingAddon(String addonName, boolean autoCraft, function callbackFunction)
String addonName: The name of the requesting addon.
boolean autoCraft: Whether requests from this addon should by default be crafted as soon as possible
function callbackFunction ( String event, integer CraftingType, String addon, table requestTable) : The function that should be called when a requested craft is either complete, or failed for some reason.
returns: An interaction table with which your addon can call the various functions provided by LLC. This interaction table contains most of the functions LLC provides.


Smithing

Functions available:

CraftSmithingItem( integer patternIndex, integer materialIndex, integer materialQuantity, integer styleIndex, integer traitIndex, boolean useUniversalStyleItem, integer:nilable stationOverride, integer:nilable setIndex, integer:nilable quality, boolean:nilable autocraft, anything:nilable reference)
This is the main function in this module. patternIndex, materialIndex, materialQuantity, styleIndex, traitIndex, and useUniversalStyleItem act in the same way as the ZOS provided CraftSmithingItem's parameters do.
stationOverride: Allows you to set a specific crafting station. Default is the station you are at. If you are not at a station the function will fail.
setIndex: An integer determining the crafted set you wish to create. The default is 1, which signifies no set. A list of set indexes can be found in the Smithing.lua file, or with GetSetIndexes()
quality: One of the ITEM_QUALITY global constants. The default is white quality.
autocraft: Determines if the library will craft the item. If it is false, the library will keep it in queue until the requesting addon tells it to craft the item.
reference: This can be any type of data. It lets your addon to identify the request, to delete it, craft it, and know when it is complete. The default is the empty string.
returns: The request table, which contains all the information about the craft request.

InteractionTable:isSmithingLevelValid(boolean isCP, integer lvl)
returns boolean isValidSmithingLevel -- This returns true if equipment can be created at that level

CraftSmithingItemByLevel -- The second and third parameters are replaced by boolean isCP, integer level. The materialIndex and materialQuantity conversions are handled internally by LLC.
ImproveSmithingItem
GetCurrentSetInteractionIndex
GetMatRequirements
compileRequirements
GetSetIndexes
GetSmithingResultLink -- IN PROGRESS CraftSmithingItem(patternIndex, materialIndex, materialQuantity, styleIndex, traitIndex, useUniversalStyleItem, stationOverride, setIndex, quality, autocraft, reference, potencyId, essenceId, aspectId) (Added potencyId, essenceId and aspectId at the end)
CraftSmithingItemByLevel(patternIndex, isCP , level, styleIndex, traitIndex,
useUniversalStyleItem, stationOverride, setIndex, quality, autocraft, reference, potencyId, essenceId, aspectId)
AddExistingGlyphToGear(existingRequestTable, glyphBag, glyphSlot)
- Takes in the bag and glyph slots of an existing piece of gear, and an existing craft request table, and then will apply that glyph to the gear once the gear is created
AddGlyphToExistingGear(existingRequestTable, gearBag, gearSlot)
- Same as the above, but the gear already exists, and you're waiting on the glyph to be made

Provisioning

CraftProvisioningItemByRecipeId


Alchemy

CraftAlchemyPotion


Enchanting

CraftEnchantingGlyph
AddExistingGlyphToGear(existingRequestTable, glyphBag, glyphSlot)
- Takes in the bag and glyph slots of an existing piece of gear, and an existing craft request table, and then will apply that glyph to the gear once the gear is created
AddGlyphToExistingGear(existingRequestTable, gearBag, gearSlot)
- Same as the above, but the gear already exists, and you're waiting on the glyph to be madeEnchantAttributesToGlyphIds(isCP, level, enchantId, quality) returns potencyId, essenseId, aspectId



Examples


Note: LLC_Global is a global queue meant only for testing and exploration.

/script LLC_Global:CraftSmithingItemByLevel(3, true, 150,3 ,1 ,false, CRAFTING_TYPE_CLOTHIER, 0, 3,true) -- crafts a blue CP150 shoes
/script for i= 2, 25 do LLC_Global:CraftSmithingItemByLevel(3, false, i*2,3 ,1 ,false, CRAFTING_TYPE_CLOTHIER, 0, 3,true) end -- Crafts lvl 4,6, 8, 10, etc. up to lvl 50. The items will be blue shoes.

/script LLC_Global:CraftEnchantingItemId(45830, 45838, 45851) -- Crafts a Monumental Glyph of Flame Resist
Version 2.993:

Added a function IsItemLinkRobe to tell apart robes and Jerkins
When computing links, no longer returns Jerkins for Robes and vice versa

Version 2.992:

LLC_NO_FURTHER_CRAFT_POSSIBLE is now thrown when there are no further interactions that can be done at a station
Improved some extremely rare error messages
Added LLC_CRAFT_PARTIAL_IMPROVEMENT. This event is thrown when an item has been improved from white but is not yet at the final quality
Fixed a bug where material requirements for improvement requests where the item is at greater than white quality would include materials needed to improve from white to the final quality rather than skipping already used mats.
Fixed a bug where material requirements for dual enchanting and equipment requests would include equipment requirements even if the equipment was complete
Removed station from the internal material requirements function parameters, as it's already listed in the request

Version 2.991:

Removed some extra debug statements

Version 2.99:

Enchanting now sends an INITIAL_CRAFT_SUCCESS event when it's a dual smithing/enchanting request
Fixed a bug where the check for doubly registered addons was not working
Added a function to get the table of a registered addon by name
Moved Smithing's INITAL_CRAFT_SUCCESS event throws to after all associated LLC code has been run
Improvement requests now properly contain the requirements for enchanting
Added GetSmithingResultItemLink (or whatever the function name is)

Version 2.98:

Fixed a bug some people were encountering where there was a lua error after loadscreens

Version 2.97:

Removed debug messages

Version 2.96:

Added support for item links for
Will now scan once per game update to find all crafted set IDs, and save it in your saved variables
Added a hardcoded fix for New Moon Acolyte jewelry (pattern ids were swapped by ZOS)

Version 2.95:

Added Dragonhold sets

Version 2.94:

API Bump
- Note that that is all that has been changed

Version 2.93:

Fixed the error in the last version

Version 2.92:

Fixed a lua error in the last version

Version 2.91:

Fixed an issue where if the nonMulticraftOverride was set to true it wouldn't check if there was enough materials beyond those required for the first item

Version 2.9:

Added an override to make use of the multicraft. Note for add-on authors: It does not work for improving items, nor does it return bag slots of all new items!

Version 2.8:

Fixed the issue where, if creating two or more glyph gear combo items, it would make n-1 extra glyphs
Items in ESO+ subscriber bank are now prioritized over items in the backpack, (Enchanting and Alchemy only. Impossible for other crafts)
Updated for the next patch. It works, however does not currently take advantage of the new multicrafting capabilities

Version 2.71:

Fixed the lua error that was occurring when crafting glyphs

Version 2.7:

Actually fixed the issue where not knowing one or more runes in a requested glyph would result in two glyphs being created

Version 2.6:

Enchanting support added. (might give more detailed later)

Version 2.5:

Added the LibLazyCrafting.INDEX_NO_SET constant

Version 2.4:

API Bump
Did some backend modifications in preparation for adding Furniture support
Gear crafting now uses the set Ids provided by the game
Added the ## isLibrary manifest command
Added Elsweyr sets
Fixed an issue where not knowing one or more runes in a requested glyph would result in two glyphs being created
Fixed a bug where the library was not properly clearing the craftNow fields in request tables
Added the ability to queue an enchanted piece of gear. The API for these are:

CraftSmithingItem(patternIndex, materialIndex, materialQuantity, styleIndex, traitIndex, useUniversalStyleItem, stationOverride, setIndex, quality, autocraft, reference, potencyId, essenceId, aspectId) (Added potencyId, essenceId and aspectId at the end)
CraftSmithingItemByLevel(patternIndex, isCP , level, styleIndex, traitIndex,
useUniversalStyleItem, stationOverride, setIndex, quality, autocraft, reference, potencyId, essenceId, aspectId)
AddExistingGlyphToGear(existingRequestTable, glyphBag, glyphSlot)
- Takes in the bag and glyph slots of an existing piece of gear, and an existing craft request table, and then will apply that glyph to the gear once the gear is created
AddGlyphToExistingGear(existingRequestTable, gearBag, gearSlot)
- Same as the above, but the gear already exists, and you're waiting on the glyph to be made

Version 2.33:

Updated version numbers so that it doesn't conflict with old versions.

Version 2.32:

The library now comes in a standalone library format, similar to many other libraries. If you use an addon which uses this library, you will need to download it (Writ Worthy, Dolgubon's Lazy Set Craft and Dolgubon's Lazy Writ Crafter)
API version 'bump'

Version 2.31:

Fixed a type causing lua errors: CRAFTING_TYPE_JEWELRY -> CRAFTING_TYPE_JEWELRYCRAFTING

Version 2.3:

Added Murkmire sets.
Added a debug option and a throw error function in the addon. Not really used yet, but might add more error throwing to help debugging in the future.

Version 2.21:

Fixed a bug where improving a jewelry item to green would use 2 improvement mats rather than one.
Fixed a bug where the number of improvement mats for jewelry given by the Compile Requirements would use the old amounts (Thanks to @Ziggr)

Version 2.2:

Crown Mimic Stones will now be used even if the style stone is missing.
Old versions of the widgets will no longer be overwritten by a new version.
Will now work on PTS.
Code cleanup: Some unnecessary code has been deleted, and some previously global fields are now local.

Version 2.1:

Improvement level checking now uses textures, which is non language dependent.
Now checks the crafting skill for Blacksmithing, Clothing, and Woodworking to see if the user has a high enough skill to make an item.
Compiling mats now works for Jewelry Crafting.
Jewelry Crafting will no longer fail due to lack of style mats.
Added a new field to the Craft Request tables, craftNow. By default not set (i.e. set to nil) if it is true, the library will craft the item when at a station. It can only be set to true while at a station, and if the user exits the station it will be set back to false automatically. CraftAllItems and CraftItem now change this new field, and their old functionality has been taken over by the new functions SetAllAutoCraft and SetAutoCraft.
Added craftInteract to the function table. This is the function which is called when the player interacts with a crafting station. An addon can call it to force the library to rescan the queue and see if there is something it can craft.
Enchanting file added back in.

Version 2.0: (Jewelry Crafting)

Preliminary support for jewelry crafting. - Ziggr
Refactored checks for style and trait knowledge. - Ziggr
Fixed the check for the improvement skill in languages other than English. - Ziggr
Added checks to determine if the user has enough mats to craft Alchemy and Provisioning items.
Changed to use GetItemLinkItemId instead of the custom version. If not on PTS, it will still use the custom version.

Version 1.9: (Release #2 - Smithing update)

Moved smithing timestamps to a unique identifier. The identifiers are integers, and incremented each time an item is added to the queue.
Fixed issues with backwards compatibility - if an old version was loaded before a newer version, an event handler would not be properly overridden. The old version would then change a local variable in the old version, but not a local variable in the new version which should have been changed.

Version 1.9:

Uses of sortCraftQueue have been removed, in favour of sticking solely with table.remove and table.insert. table.sort is unstable, which caused a rare double crafting issue when multiple items were added at the exact same timestamp while at a crafting station.
Fixed a bug where incorrect material requirements (light materials) would be returned for medium armour.

Version 1.8:

Created a new function to throw events to clean up some code.
Added two new events: LLC_NO_FURTHER_CRAFT_POSSIBLE and LLC_INITIAL_CRAFT_SUCCESS.
LLC_NO_FURTHER_CRAFT_POSSIBLE: Thrown when no more items can be made at the current station
LLC_INITIAL_CRAFT_SUCCESS: Thrown when the white item is created, but must be further improved before being complete.
Fixed a bug where creating multiple items with green or higher quality would cause some white items to be made too many times.
The EndInteraction function was previously removed from the main LLC.lua file, and has been added back in.
Added a check to determine if a CP and level combination is valid.
Added the return of the requestTable to more craft event places.
Fixed a bug where the wrong improvement mat requirements would be given.
Fixed a bug where sometimes the wrong ability would be checked when determining the improvement skill level.

Version 1.7:

Added Material totals for Smithing.
Changed the interaction tables to be slightly more OOP by taking in self.
Removed double crafting bugs. (Pretty confident about this one!)
Fixed an off by one error in smithing
Added a return of the request table to the smithing functions.

Version 1.6:

Possibly fixed a double crafting issue.
Added LibLazyCrafting:IsPerformingCraftProcess()

Version 1.5:

Fixed a bug in provisioning and alchemy whereby the library would fail to recognize an item was crafted if it created a new stack. - fix by ziggr

Version 1.4:

Added the Clockwork City sets.

Version 1.3:

Fixed various typos in the Alchemy file.
Went back to GetTimeStamp() in the smithing file (as it should have been. Sorry!)
Added back timesToMake as an optional parameter in the Alchemy file.
Replaced the body of the crafting complete function with the stackableCraftingComplete function in the alchemy file.
Removed the FindIncreasedSlotIndex from the Alchemy file, as it was already contained in the main LLC file.

Version 1.2:

Fixed a LUA error that would appear when using Provisioning functions.

Version 1.1:

Now supports all types of crafting! (Minus furniture) - Thank you to Ziggr for creating the functions required to support it!
Updating current version. Probably has various bugfixes. The library has been updated over time as needed with various bugfixes and changes, and has just not been updated here on esoui.


Version 1:

Various changes, bugfixes, and improvements, mostly based on what I needed. Not a comprehensive list.
- Added an option reference when you create a craft request
- Added the ability to cancel craft requests based on position in queue or by reference
- Fixed an error where the craft queue was not updating properly
-
Optional Files (0)


Archived Files (39)
File Name
Version
Size
Uploader
Date
2.993
33kB
Dolgubon
01/04/20 10:55 PM
2.992
33kB
Dolgubon
01/03/20 09:25 PM
2.991
33kB
Dolgubon
12/29/19 03:30 PM
2.99
33kB
Dolgubon
12/28/19 11:20 PM
2.98
32kB
Dolgubon
11/22/19 08:56 PM
2.97
32kB
Dolgubon
11/17/19 07:24 PM
2.96
32kB
Dolgubon
11/16/19 09:22 PM
2.95
31kB
Dolgubon
10/27/19 01:24 PM
2.94
31kB
Dolgubon
10/20/19 08:34 PM
2.93
31kB
Dolgubon
08/31/19 02:58 PM
2.92
31kB
Dolgubon
08/31/19 02:29 PM
2.91
31kB
Dolgubon
08/31/19 01:13 PM
2.9
31kB
Dolgubon
08/30/19 06:30 PM
2.8
31kB
Dolgubon
08/11/19 09:33 PM
2.71
31kB
Dolgubon
07/06/19 02:33 PM
2.7
31kB
Dolgubon
07/06/19 12:47 PM
2.6
30kB
Dolgubon
06/30/19 07:44 PM
2.5
28kB
Dolgubon
05/27/19 08:26 PM
2.4
28kB
Dolgubon
05/19/19 04:54 PM
2.33
26kB
Dolgubon
02/25/19 10:42 PM
2.32
26kB
Dolgubon
02/21/19 08:46 PM
2.31
25kB
Dolgubon
10/21/18 10:25 PM
2.23
25kB
Dolgubon
10/21/18 08:56 PM
2.21
25kB
Dolgubon
08/19/18 03:57 PM
2.2
22kB
Dolgubon
07/21/18 09:19 PM
2.1
25kB
Dolgubon
05/21/18 02:44 AM
2.0
22kB
Dolgubon
05/01/18 11:58 AM
1.9
22kB
Dolgubon
12/22/17 11:29 AM
1.9
22kB
Dolgubon
12/15/17 10:39 AM
1.8
21kB
Dolgubon
12/14/17 11:54 AM
1.7
21kB
Dolgubon
12/13/17 10:44 AM
1.6
19kB
Dolgubon
12/10/17 10:47 AM
1.5
18kB
Dolgubon
11/04/17 01:13 PM
1.4
18kB
Dolgubon
10/22/17 12:10 AM
1.3
17kB
Dolgubon
08/27/17 07:10 AM
1.2
19kB
Dolgubon
08/24/17 01:53 PM
1.1
16kB
Dolgubon
08/14/17 03:27 AM
1
14kB
Dolgubon
05/20/17 05:24 PM
0.1
12kB
Dolgubon
02/05/17 10:02 PM


Post A Reply Comment Options
Unread 12/16/19, 12:57 PM  
Fitzonite

Forum posts: 0
File comments: 7
Uploads: 0
Reporting a performance issue I've been experiencing with either this mod or Writ Worthy (someone else confirmed the same happening to them recently). I originally posted there but I don't know which mod is actually the culprit so figure I'll share here too.

Since at least v2.96 of LibLazyCrafting and current v5.2.3 Writ Worthy, I get massive stutter and fps drops when the Writ Worthy Master writ queue menu is open with a lot of available master writs. This goes away only when changing zone or reload ui and starts up again when opening the menu. It of course gets noticably worse the more writs you have. Maybe its constantly recalculating the writ costs and values in a loop or something like that.


Now fixed in WritWorthy v5.2.4!
Last edited by Fitzonite : 12/21/19 at 08:15 AM.
Report comment to moderator  
Reply With Quote
Unread 12/03/19, 12:02 AM  
Shadowshire

Forum posts: 1
File comments: 296
Uploads: 0
Arrow UI Error in version 2.98 (on 2019-12-02)

After creating a glyph at an enchanting station the following UI Error dialog was displayed:

Code:
 user:/AddOns/LibLazyCrafting/Enchanting.lua:409: attempt to index a nil value
stack traceback:
user:/AddOns/LibLazyCrafting/Enchanting.lua:409: in function 'LLC_EnchantingCraftingComplete'
|caaaaaa<Locals> event = 3 </Locals>|r
user:/AddOns/LibLazyCrafting/LibLazyCrafting.lua:686: in function 'func'
EsoUI/Libraries/Globals/globalapi.lua:207: in function '(anonymous)'
__________________
---- Shadowshire ..... nil carborundum illegitimi
Report comment to moderator  
Reply With Quote
Unread 11/22/19, 10:39 PM  
patysmen

Forum posts: 0
File comments: 2
Uploads: 0
Could potentially help Dolgubon, which is why I wrote it - isolated any possible conflict between other add ons. Also, today's patch seems to fix the problem for me, so that's very good news! Thank you Dolgubon.
Report comment to moderator  
Reply With Quote
Unread 11/22/19, 10:00 AM  
schizophrenica

Forum posts: 0
File comments: 2
Uploads: 0
Originally Posted by patysmen
I can confirm that the Smithing.lua error:

user:/AddOns/LibLazyCrafting/Smithing.lua:1676: attempt to index a nil value
stack traceback:
user:/AddOns/LibLazyCrafting/Smithing.lua:1676: in function 'initializeSetInfo'

shows up when LibLazyCrafting and LibStub libraries are loaded together (latest versions from esoui.com). After disabling all, but these 2, addons I was still getting the error after every loading screen.
I think that does not help, as LibLazyCrafting depends on LibStub. So you cannot discouple them and NOT load them together.

Still, as the error refers to "Smithing" and "Sets" can it be, that the error is that we do not have created a Set for "Smithing Items, Weapons/Armor"?

Will test that in the evening.

M
Report comment to moderator  
Reply With Quote
Unread 11/21/19, 03:06 PM  
patysmen

Forum posts: 0
File comments: 2
Uploads: 0
I can confirm that the Smithing.lua error:

user:/AddOns/LibLazyCrafting/Smithing.lua:1676: attempt to index a nil value
stack traceback:
user:/AddOns/LibLazyCrafting/Smithing.lua:1676: in function 'initializeSetInfo'

shows up when LibLazyCrafting and LibStub libraries are loaded together (latest versions from esoui.com). After disabling all, but these 2, addons I was still getting the error after every loading screen.
Report comment to moderator  
Reply With Quote
Unread 11/21/19, 10:00 AM  
Zumokufu
 
Zumokufu's Avatar

Forum posts: 0
File comments: 1
Uploads: 0
Also receiving the same Smithing.lua error message as others here recently
Report comment to moderator  
Reply With Quote
Unread 11/21/19, 08:30 AM  
tsyo

Forum posts: 0
File comments: 1
Uploads: 0



Report comment to moderator  
Reply With Quote
Unread 11/21/19, 07:07 AM  
schizophrenica

Forum posts: 0
File comments: 2
Uploads: 0
Originally Posted by SneakyWitchTheif
Hey there! I've been having this error popup as of today and have no idea why whenver I log in or change zones.

Code:
user:/AddOns/LibLazyCrafting/Smithing.lua:1680: attempt to index a nil value
stack traceback:
user:/AddOns/LibLazyCrafting/Smithing.lua:1680: in function 'initializeSetInfo'
I am getting this error as well. Tried to reinstall, manually install, deactivate/reactivate. Nothing helps.
Error message appears after every loading screen.

Others i play with reported, they do NOT get it.

Can someone help please?

M
Report comment to moderator  
Reply With Quote
Unread 11/20/19, 08:14 PM  
SneakyWitchTheif

Forum posts: 1
File comments: 40
Uploads: 0
Hey there! I've been having this error popup as of today and have no idea why whenver I log in or change zones.

Code:
user:/AddOns/LibLazyCrafting/Smithing.lua:1680: attempt to index a nil value
stack traceback:
user:/AddOns/LibLazyCrafting/Smithing.lua:1680: in function 'initializeSetInfo'
Report comment to moderator  
Reply With Quote
Unread 11/17/19, 05:41 PM  
Rhyono
AddOn Author - Click to view AddOns

Forum posts: 583
File comments: 1151
Uploads: 19
Getting a lot of debug to chat.
Report comment to moderator  
Reply With Quote
Unread 10/27/19, 01:25 PM  
Dolgubon
 
Dolgubon's Avatar
AddOn Author - Click to view AddOns

Forum posts: 346
File comments: 656
Uploads: 16
This error and some others should be fixed. I hadn't added in the new sets, and that's probably what was causing issues.


Originally Posted by Ciannicay
Originally Posted by karthrag inak
getting this error :
I get the same error.

Here is how: I got a jewel crafting writ and I am standing at the right table for the set.
As soon as i press "e" the error appears.

maybe this helps for locating the error.

I wonder why smithing throws an error when I want to craft some jewels...

Kind regards
Ciannicay
Report comment to moderator  
Reply With Quote
Unread 10/24/19, 09:59 PM  
Ciannicay

Forum posts: 4
File comments: 46
Uploads: 0
Originally Posted by karthrag inak
getting this error :
I get the same error.

Here is how: I got a jewel crafting writ and I am standing at the right table for the set.
As soon as i press "e" the error appears.

maybe this helps for locating the error.

I wonder why smithing throws an error when I want to craft some jewels...

Kind regards
Ciannicay
Report comment to moderator  
Reply With Quote
Unread 10/24/19, 08:38 PM  
GMdoghunter

Forum posts: 0
File comments: 12
Uploads: 0
great lib but causing crashing

First of all please let me thank you for all the time you put into your addons etc but since the recent dragonbones patch and version 2.94 it keeps causing eso to crash completely back to the desktop,hopefully this issue can be resolved as it is needed on a daily basis for other addons to work once again thank you kindly
Report comment to moderator  
Reply With Quote
Unread 10/23/19, 05:23 PM  
karthrag inak

Forum posts: 0
File comments: 17
Uploads: 0
getting this error :

Code:
user:/AddOns/LibLazyCrafting/Smithing.lua:381: attempt to index a nil value
stack traceback:
user:/AddOns/LibLazyCrafting/Smithing.lua:381: in function 'GetCurrentSetInteractionIndex'
|caaaaaa<Locals> itemLink = "|H0:item:155404:30:1:0:0:0:0:0...", currentStation = 1, hasSet = T, setName = "Daring Corsair", _ = 5, _ = 0, _ = 5, id = 468 </Locals>|r
user:/AddOns/LibLazyCrafting/Smithing.lua:398: in function 'canCraftItemHere'
|caaaaaa<Locals> station = 1, setIndex = 41 </Locals>|r
user:/AddOns/LibLazyCrafting/Smithing.lua:1038: in function 'orig'
|caaaaaa<Locals> self = [table:1]{automaticallyColorRows = T, currentSortOrder = T, currentSortKey = "ui_station_sort"}, station = 1, request = [table:2]{craftNow = F, autocraft = T, Requester = "DolgubonsLazyWritCreatorMaster...", setIndex = 41, pattern = 13, type = "smithing", quality = 4, materialQuantity = 13, timestamp = 1, materialIndex = 40, station = 1, trait = 16, reference = 7, useUniversalStyleItem = F, style = 75} </Locals>|r
user:/AddOns/WritWorthy/WritWorthy_Window.lua:1305: in function 'WritWorthy_LLC_IsItemCraftable'
|caaaaaa<Locals> self = [table:1], station_crafting_type = 1, request = [table:2], orig = user:/AddOns/LibLazyCrafting/Smithing.lua:1025 </Locals>|r
(tail call): ?
user:/AddOns/LibLazyCrafting/LibLazyCrafting.lua:356: in function 'findEarliestRequest'
|caaaaaa<Locals> station = 1, earliest = [table:3]{timestamp = 1571972994}, position = 0, addon = "DolgubonsLazyWritCreatorMaster...", requestTable = [table:4]{}, i = 1 </Locals>|r
user:/AddOns/LibLazyCrafting/LibLazyCrafting.lua:645: in function 'CraftInteract'
|caaaaaa<Locals> event = 131523, station = 1, k = 1, v = [table:5]{station = 1} </Locals>|r
Report comment to moderator  
Reply With Quote
Unread 09/14/19, 10:18 AM  
GregariousJB

Forum posts: 0
File comments: 63
Uploads: 0
You may already be aware, but just in case, this is currently still relevant to your addon:

https://www.esoui.com/forums/showthr...hlight=LibStub

https://wiki.esoui.com/Libraries#Lib...ersion_control
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.