Go to Page... |
Compatibility: | Morrowind (3.0) |
Updated: | 07/11/17 10:17 PM |
Created: | 06/21/17 01:14 PM |
Monthly downloads: | 117 |
Total downloads: | 14,348 |
Favorites: | 14 |
MD5: |
File Name |
Version |
Size |
Uploader |
Date |
0.3 |
46kB |
sulexa |
07/10/17 05:13 PM |
|
0.2.2 |
44kB |
sulexa |
06/26/17 09:33 AM |
|
0.1 |
43kB |
06/21/17 01:14 PM |
Comment Options |
Jammet |
View Public Profile |
Send a private message to Jammet |
Find More Posts by Jammet |
Add Jammet to Your Buddy List |
07/23/20, 10:31 AM | |
Forum posts: 0
File comments: 5
Uploads: 0
|
leads
What kind of config should I have to auto loot Leads from lockboxes?
|
|
bleakraven |
View Public Profile |
Send a private message to bleakraven |
Find More Posts by bleakraven |
Add bleakraven to Your Buddy List |
wolfstar |
View Public Profile |
Send a private message to wolfstar |
Find More Posts by wolfstar |
Add wolfstar to Your Buddy List |
08/10/17, 05:56 PM | |
|
Could you do account-wide comparisons of recipes? I found it really useful in Master Thief to know which toons knew or needed a recipe, and I'm really missing that in this addon.
|
|
wolfstar |
View Public Profile |
Send a private message to wolfstar |
Find More Posts by wolfstar |
Add wolfstar to Your Buddy List |
07/19/17, 09:05 PM | ||
|
I will try to answer and to summarize what i will do
If i want the two i need to do that : itemDefaultType, specializedType = GetItemLinkItemType(itemStolen) And if i only want the second i need to do that : _, specializedType = GetItemLinkItemType(itemStolen) I will continue using ZOS constant for itemType because there is no really other good solution, i don't want to make a big database of all the items you can steal in the game. (It will take ages to do) I will add an array with item exception like decorative wax, like that we will correct that for now and have a way to correct that for other items in the future. |
|
|
sulexa |
View Public Profile |
Send a private message to sulexa |
Find More Posts by sulexa |
Add sulexa to Your Buddy List |
07/18/17, 06:03 PM | |||
Forum posts: 2
File comments: 533
Uploads: 0
|
And yeah, as I said, usually, you wanna rely on globals... But for some reason, in ESO, their names have changed a few times. Wax seems to be the only one that appears in containers. I think it might be possible it got the type 10 not as a mistake, but on purpose, *IF* the containers just have "pick a random type 10 thing" somewhere in their script... |
||
|
M-ree |
View Public Profile |
Send a private message to M-ree |
Find More Posts by M-ree |
Add M-ree to Your Buddy List |
07/18/17, 04:41 PM | ||
After checking a bit more, it appears that Decorative Wax (and only decorative wax) has the wrong item type assigned to it. The other furnishing mats do indeed have the correct item type of ITEMTYPE_FURNISHING_MATERIAL. That said, I believe ZOS is already aware of it, and it should be fixed for the next major patch. (check here for more info: http://www.esoui.com/forums/showthread.php?t=6871) In the meantime, using the ItemID would work for determining if it is decorative wax. |
||
|
Dolgubon |
View Public Profile |
Send a private message to Dolgubon |
Find More Posts by Dolgubon |
Add Dolgubon to Your Buddy List |
07/18/17, 04:07 PM | ||||
Forum posts: 2
File comments: 533
Uploads: 0
|
And can you explain why it gives itemtype 10 then on stealing decorative wax? Here's the function Sulexa uses in this mod: itemDefaultType = GetItemLinkItemType(itemStolen) Is it the wrong function for the purpose? I see that you use it returning values to two variables, but the first one seems to be the same you reference. (I don't know LUA or ESO specifics to code stuff myself, only know general stuff enough to be able to debug/fix things even without that.)
Last edited by M-ree : 07/18/17 at 04:08 PM.
|
|||
|
M-ree |
View Public Profile |
Send a private message to M-ree |
Find More Posts by M-ree |
Add M-ree to Your Buddy List |
07/18/17, 12:58 PM | |||||||
So actually, NOT relying on predefined constants is the bad idea. In ESO, they have the general habit of not changing. Hardcoding constants means that if the constant value is changed, you will need to change stuff. Hardcoding the style identifier names? You're making extra work for yourself. Also, crafting styles is one of the few situations where it's been changed, and the change is for the better - it'll make it easier for crafting addons to deal with crafting styles in the future. Also, no, they have different item types. local itemLink = GetLootItemLink(lootId, 0) local itemType, specializedType = GetItemLinkItemType(itemLink) itemType will be 62, and this item type is shared by the furnishing crafting materials, but not shared by other non furniture specific crafting materials. |
|||||||
|
Dolgubon |
View Public Profile |
Send a private message to Dolgubon |
Find More Posts by Dolgubon |
Add Dolgubon to Your Buddy List |
07/18/17, 01:54 AM | ||||||
Forum posts: 2
File comments: 533
Uploads: 0
|
As I mentioned, I added following lines into this mod's getLootItems function specifically to track items it doesn't process correctly: if(itemAllowed >= 1) then d("Item stolen: "..itemStolen..", type "..itemDefaultType) LootItemById(lootId) else d("Item ignored: "..itemStolen..", type "..itemDefaultType) end Generally, relying on predefined constants like "ITEMTYPE_FURNISHING_MATERIAL" mentioned above is, unfortunately, a bad idea because you don't know what they are and how they relate to each other. Moreover, in ESO, they have a habit of changing, including getting their names change. I had to manually fix some add-ons, e.g., when crafting style identifier names got changed. |
|||||
|
M-ree |
View Public Profile |
Send a private message to M-ree |
Find More Posts by M-ree |
Add M-ree to Your Buddy List |
07/17/17, 11:12 PM | |||||
|
|||||
|
Dolgubon |
View Public Profile |
Send a private message to Dolgubon |
Find More Posts by Dolgubon |
Add Dolgubon to Your Buddy List |
07/17/17, 02:48 PM | ||||
|
|
|||
|
sulexa |
View Public Profile |
Send a private message to sulexa |
Find More Posts by sulexa |
Add sulexa to Your Buddy List |
07/17/17, 08:26 AM | |||
Forum posts: 2
File comments: 533
Uploads: 0
|
|
||
|
M-ree |
View Public Profile |
Send a private message to M-ree |
Find More Posts by M-ree |
Add M-ree to Your Buddy List |
07/16/17, 10:28 PM | ||
Forum posts: 2
File comments: 533
Uploads: 0
|
|
|
|
M-ree |
View Public Profile |
Send a private message to M-ree |
Find More Posts by M-ree |
Add M-ree to Your Buddy List |
07/16/17, 10:12 PM | |
Forum posts: 13
File comments: 101
Uploads: 0
|
Can you please explain what is considered: Treasure, Tool, and Trophy when it comes filtering them out for the addon?
|
|
Devolus |
View Public Profile |
Send a private message to Devolus |
Find More Posts by Devolus |
Add Devolus to Your Buddy List |