Quantcast
Download
(89 Kb)
Download
Updated: 07/02/16 07:08 AM
Pictures
File Info
Compatibility:
Dark Brotherhood (2.4)
Updated:07/02/16 07:08 AM
Created:07/21/14 05:47 PM
Monthly downloads:1,041
Total downloads:148,010
Favorites:267
MD5:
Categories:Beta-version AddOns, Graphic UI Mods, TradeSkill Mods
Merlin the Enchanter  Popular! (More than 5000 hits)
Version: 1.8.2
by: Khrill [More]
For enchantment only : new interface to create or destroy glyph more easily!

- you know what you craft (info & tooltip preview)
- multiple craft
- identify unknown runes to gain more xp for discover
- swap between rune's name and info
- destroy all your glyphs with one click (with filter on bag/bank)
- choose which rune's type placed first (essence or potency)
- display maked glyph's keyword on runes

and make your cratfing quest more easily


Language supported: FR, EN, DE (thx to Resakier & Baertram), ES

For ES translation, I used Googletrad and do my best ^^ If a spanish player want to make a correct translation, he can PM me.

DONE:
- add a bag / bank filter
- multilanguage support
- add quality colors
- add system message for rune's gain in glyph's extraction
- more info in terms of rune's selection
- compatibility with MultiCraft
- add slash commands : /merlin to show interface, /merlincfg for the settings (LAM2)
- destroy all glyphs type in one click
- destroy all glyphs for the 3 types in one click
- add an option for linking glyph's preview in chat window
- add an option with ItemSaver compatibility: don't show ItemSaver's marked items
- add an option with FCOItemSaver compatibility: don't destroy FCOItemSaver's marked items and show them in function of your filter settings (thx to Baertram for his great work on this)
- add an option to change background texture : 3 différents books
- can create many same glyphs in one click
- add a cancel button when destroying multiple glyphs
- add icon for runes&glyphs gain on systeme messages
- add an option to place essence runes at first
- display maked glyph's keyword on runes (swap info buttons on the left)
- support ES language
- add an option to use a separate Windows for messages (use LibMsgWin
- add an option for a button on ESO UI to show/hide window (like keybinding) : Thx to Baertram for the idea and the code
- Save window's position (in option)


TO DO:
- playing! ^^

Known bugs:
- Crash ESO API in Create mode (with played sound after calling API functions to create/destroy glyph) => Force Extraction Mode (thx to Garkin)


for ES players : CERVANTESO


PS: I'm not a HC lua programmer, i'll do my best and it takes a lot of time to make this... during this time, i do not play!

1.8.2 : - fix bad DE translation (thx to Baertram)
- do not display message if no xp
1.8.1 : - fix for runes displaying to not overlay create's button
1.8.0 : - API 100015 compatibility (update 2.4)
- rune's VR level renamed

1.7.0 : - API 100014 compatibility (update 2.3)

1.6.1 : - fix UI error (change in ItemSaver 2.1)
1.6.0 : - API 100013 compatibility (update 2.2.4)

1.5.1 : - support of essence rune Hakeijo (and associated glyphs)
1.5.0 : - API 100012 compatibility (update 1.7.0) with new runes

1.4.2 : - compatibility with FCOItemSaver 0.6.4+
- hide GearSwap addon when on station
1.4.1 : - bug fixe when enabled is false at start and with icon button is set to true
1.4.0 : - API 100011 compatibility (update 1.6.5)
- can save window's position (in option)

1.3.6 : - update LibMsgWin to R8 (no compatibilty with the previous)
- Message window is fading now ;)

1.3.5 : - check & improvement with end crafting event
- add an option for a button on ESO UI to show/hide window (like keybinding)
- updated german strings (thx to Baertram)

1.3.4b: - bug fix with stations interaction and message window
1.3.4 : - add an option to use a separate Windows for messages
- add an option to disable the fade of ESO UI and keep it intact (requested)
- a keybinding to enable/disable addon (requested)

1.3.3 : - add ES language support
- a keybinding to show/hide Merlin's window everywhere (requested)

1.3.2b: - fix a bug when crafting with a last rune and if generated glyph takes the same slot in bag
1.3.2 : - add icon for runes&glyphs gain on systeme messages
- add an option to place essence runes at first
- display maked glyph's keyword on runes (swap info buttons on the left)
- revisited check control on runes' buttons

1.3.1 : - add a cancel button when destroying multiple glyphs
- fix display bug when gain rune which doesn't meet level requirement
- more verifications before create glyph
1.3.0 : - API 100010 compatibility (update 1.5.2)

1.2.3 : - can create many same glyphs in one click
- a new button with bag&bank to refresh the "magic book" ^^

1.2.2 : - add an option with FCOItemSaver compatibility: don't destroy FCOItemSaver's marked items and show them in function of your filter settings
- add an option to change background texture : 3 différents books
- updated german strings (thx to Baertram)

1.2.1 : - add controls before crafting glyph to avoid crash (rare case)
- minor modifications
1.2.0 : - API 100009 compatibility (update 1.4.3)

1.1.4c:- bug fix with unknown new item (quality)
1.1.4b:- bug fix with object's selection at the end of destroy all ghyps
1.1.4 : - bugs fix on refresh rune & destroy-button
- Dekeipa rune will not appear in armor's glyph type when associated with substractive rune
- add an option to disable system message when gain of runes&glyphs
- potency runes are now shown with addictive and substractive ones together

1.1.3 : - disable destroy button when destroying all glyphs (to avoid multiples presses)

1.1.2 : - destroy all glyphs for the 3 types in one click :p
- add an option with ItemSaver compatibility: don't show ItemSaver's marked items

1.1.1 : - add an option for linking glyph's preview in chat window
- fix the default settings' bug

1.1.0 : - API 100008 support
- bug fix (rune gain didn't count bank slots)

1.0.5b: - bug fix on refresh rune's number (when in bag & bank)
1.0.5 : - various bugs fix & improvements (objects stacking)
- add for glyphs "Destroy all" functionnality ^^
- add an option for bracketted text when keep quality text color

1.0.4 : - various bugs fix & improvements (events, settings lam2, UI refresh)
- add selected runes to ESO UI to assure compatibility with others enchantment addons
- add slash commands to open UI everywhere (not possible to create/destroy runes)

1.0.3b: - bug fix for create glyph's button (not appear)
1.0.3 : - german translation supported (~Resakier)
- print runes real names (with accent)
- add an option to keep quality text color when selecting
- settings panel conversion to LibAddonMenu 2.0

1.0.2 : - various bugs fix & improvements
- add a bag / bank filter
- multilanguage support (~Garkin)
- add system message for rune's gain in glyph's extraction
- more info in terms of rune's selection

1.0.1 : - change some code (~Garkin)
- bug fix with 1 slot in bag
- add colored text corresponding to quality of glyph/rune

1.0.0 : Initial version
Optional Files (0)


Archived Files (33)
File Name
Version
Size
Author
Date
1.8.1
89kB
Khrill
06/18/16 10:31 AM
1.8.0
89kB
Khrill
06/17/16 11:25 AM
1.7.0
85kB
Khrill
03/14/16 01:55 PM
1.6.1
84kB
Khrill
01/31/16 10:56 AM
1.6.0
84kB
Khrill
11/05/15 12:41 PM
1.5.1
78kB
Khrill
09/11/15 01:00 PM
1.5.0
77kB
Khrill
09/08/15 01:07 PM
1.4.2
75kB
Khrill
04/29/15 04:03 AM
1.4.1
75kB
Khrill
04/14/15 03:40 PM
1.4.0
73kB
Khrill
03/08/15 12:36 PM
1.3.6
69kB
Khrill
01/04/15 05:27 AM
1.3.5
69kB
Khrill
12/13/14 05:22 PM
1.3.4b2
68kB
Khrill
12/11/14 04:14 PM
1.3.4
68kB
Khrill
12/10/14 03:30 PM
1.3.3
64kB
Khrill
12/05/14 04:27 PM
1.3.2b
63kB
Khrill
11/22/14 07:17 AM
1.3.1
58kB
Khrill
11/14/14 06:26 AM
1.3.0
63kB
Khrill
11/05/14 01:48 PM
1.2.3
63kB
Khrill
10/20/14 11:32 AM
1.2.2
62kB
Khrill
10/10/14 12:54 AM
1.2.1
60kB
Khrill
10/04/14 02:31 AM
1.2.0
60kB
Khrill
09/16/14 11:43 AM
1.1.4c
60kB
Khrill
08/27/14 03:22 AM
1.1.3
60kB
Khrill
08/21/14 11:01 AM
1.1.2
60kB
Khrill
08/16/14 05:32 AM
1.1.1
55kB
Khrill
08/11/14 12:03 PM
1.1.0
54kB
Khrill
08/05/14 08:48 AM
1.0.5b
54kB
Khrill
07/31/14 11:48 AM
1.0.4
53kB
Khrill
07/28/14 04:07 AM
1.0.3b
53kB
Khrill
07/26/14 03:58 AM
1.0.2
32kB
Khrill
07/24/14 06:55 AM
1.0.1
26kB
Khrill
07/22/14 10:36 AM
1.0.0
26kB
Khrill
07/21/14 05:47 PM


Post A Reply Comment Options
Unread 10/26/18, 05:35 AM  
Marazota

Forum posts: 88
File comments: 756
Uploads: 0
Originally Posted by RavenMind
Can anyone tell me if this addon working with the current API/Summerset?
its working for me
srill has some small issues
Report comment to moderator  
Reply With Quote
Unread 05/30/18, 10:53 PM  
RavenMind
 
RavenMind's Avatar

Forum posts: 0
File comments: 291
Uploads: 0
Can anyone tell me if this addon working with the current API/Summerset?
Report comment to moderator  
Reply With Quote
Unread 04/19/18, 01:46 PM  
whizkid338

Forum posts: 0
File comments: 14
Uploads: 0
So I got a UI error for Srendarr's that included Merlin in the stack trace. I'm not sure which addon is responsible so I posted in both. The error is below. It occurred when I clicked on Srendarr under Settings->Addons.

user:/AddOns/KhrillMerlinTheEnchanter/Libs/LibAddonMenu-2.0/controls/submenu.lua:107: attempt to index a nil value
stack traceback:
user:/AddOns/KhrillMerlinTheEnchanter/Libs/LibAddonMenu-2.0/controls/submenu.lua:107: in function 'LAMCreateControl.submenu'
user:/AddOns/Srendarr/Settings.lua:408: in function 'CreateWidgets'
user:/AddOns/Srendarr/Settings.lua:533: in function 'CreateTabPanel'
user:/AddOns/Srendarr/Settings.lua:759: in function 'CompleteInitialization'
EsoUI/Libraries/Utility/ZO_CallbackObject.lua:111: in function 'ZO_CallbackObject:FireCallbacks'
user:/AddOns/TamrielTradeCentre/LibAddonMenu-2.0/LibAddonMenu-2.0.lua:690: in function 'CreationFinished'
user:/AddOns/TamrielTradeCentre/LibAddonMenu-2.0/LibAddonMenu-2.0.lua:778: in function 'DoCreateSettings'
EsoUI/Libraries/Globals/globalapi.lua:195: in function '(anonymous)'
Report comment to moderator  
Reply With Quote
Unread 04/08/18, 09:26 AM  
nerder
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 1
Uploads: 1
Originally Posted by manolaren
Any luck for an update?
If you have notepad++ open the KhrillMerlinTheEnchanter.lua file, press Ctrl + F and then go to the replace tab. Replace FCOIsMarked with FCOIS.IsMarked and then select "Replace All" then save the file.
Report comment to moderator  
Reply With Quote
Unread 03/11/18, 05:32 AM  
manolaren

Forum posts: 0
File comments: 42
Uploads: 0
Any luck for an update?
Report comment to moderator  
Reply With Quote
Unread 02/14/18, 09:55 AM  
Sortileger

Forum posts: 0
File comments: 3
Uploads: 0
Dragon Bones Error

I get this error each time I open the Enchant workstation:

user:/AddOns/KhrillMerlinTheEnchanter/KhrillMerlinTheEnchanter.lua:716: function expected instead of nil
stack traceback:
user:/AddOns/KhrillMerlinTheEnchanter/KhrillMerlinTheEnchanter.lua:716: in function 'KMTE:CheckBag'
user:/AddOns/KhrillMerlinTheEnchanter/KhrillMerlinTheEnchanter.lua:1004: in function 'KMTE:ScanAllGlyph'
user:/AddOns/KhrillMerlinTheEnchanter/KhrillMerlinTheEnchanter.lua:954: in function 'KMTE:ScanRunes'
user:/AddOns/KhrillMerlinTheEnchanter/KhrillMerlinTheEnchanter.lua:2561: in function 'KMTE:OpenUI'
user:/AddOns/KhrillMerlinTheEnchanter/KhrillMerlinTheEnchanter.lua:1684: in function 'KMTE:OnCrafting'
user:/AddOns/KhrillMerlinTheEnchanter/KhrillMerlinTheEnchanter.lua:2648: in function '(anonymous)'

Further analysis shows that this problem only exists when FCO Item Saver is active. If I disable it, yours works fine.
Last edited by Sortileger : 02/14/18 at 01:06 PM.
Report comment to moderator  
Reply With Quote
Unread 12/30/17, 06:01 AM  
thisisvanda
 
thisisvanda's Avatar

Forum posts: 0
File comments: 10
Uploads: 0
Re: After dropping eso+, no longer pulls from the crafting storage

Originally Posted by yoderc
I love your addon, thank you!

I recently dropped eso+. When it happened, Merlin showed zero for all rune counts, so it no longer sees the hundreds of runes i have in crafting storage. I have to retrieve them from storage and have them in inventory or bank before they appear.

Can you change this please?
Yes, the same here. Please, update it ^^

Edited: With the two icons enabled (at the top right), all my glyphs appears. I've got ESO plus account.
Last edited by thisisvanda : 01/02/18 at 04:35 AM.
Report comment to moderator  
Reply With Quote
Unread 10/08/17, 09:32 AM  
yoderc

Forum posts: 0
File comments: 12
Uploads: 0
After dropping eso+, no longer pulls from the crafting storage

I love your addon, thank you!

I recently dropped eso+. When it happened, Merlin showed zero for all rune counts, so it no longer sees the hundreds of runes i have in crafting storage. I have to retrieve them from storage and have them in inventory or bank before they appear.

Can you change this please?
Report comment to moderator  
Reply With Quote
Unread 08/17/17, 09:06 AM  
Ben Dover

Forum posts: 0
File comments: 38
Uploads: 0
This looks really good, can you please update it?
Report comment to moderator  
Reply With Quote
Unread 07/27/17, 12:33 AM  
Krenthal

Forum posts: 0
File comments: 7
Uploads: 0
Was one of my Fav Addons, Vaporware? if so please put in the Public Domain.

If you will not update, let us know.. seriously.
Last edited by Krenthal : 07/27/17 at 12:34 AM.
Report comment to moderator  
Reply With Quote
Unread 07/11/17, 12:46 AM  
kookster
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 14
Uploads: 1
Exclamation Addon Incompatibility

It appears your addon is not compatible with "FCO Item Saver": http://www.esoui.com/downloads/info6...ItemSaver.html

When ever I have this addon enabled, Merlin the Enchanter will not load any glyphs/runes.
Report comment to moderator  
Reply With Quote
Unread 05/30/17, 10:47 AM  
BioKem1

Forum posts: 0
File comments: 9
Uploads: 0
Morrowind update

I love this addon, and I cant find a better one out there. Would it be possible to make some lua tweaks like below to make glyph extraction work in Morrowind update?
Report comment to moderator  
Reply With Quote
Unread 05/01/17, 10:29 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1800
File comments: 1947
Uploads: 48
Needed changes for FCOItemSaver version 1.0.0 and higher.

At glyph creation
In filename "KhrillMerlinTheEnchanter.lua", function "KMTE:CheckBag", line "716".
Exchange the old source code for FCOIS, starting with "elseif KMTE.FCOitemSaverFilter ..." with the following:

Lua Code:
  1. elseif KMTE.FCOitemSaverFilter then
  2.             --FCOItemSaver version < 1.0.0
  3.             if FCOIsMarked then
  4.                 if FCOIsMarked(GetItemInstanceId(bagId, slotIndex), -1) == true then
  5.                     isCheck = false
  6.                 end
  7.             else
  8.                 --FCOItemSaver version >= 1.0.0
  9.                 if FCOIS.IsEnchantingCreationLocked then
  10.                     if FCOIS.IsEnchantingCreationLocked(bagId, slotIndex) == true then
  11.                         isCheck = false
  12.                     end
  13.                 end
  14.             end

This will make Merlin work with the old FCOIS versions <1.0.0 and equal + higher version 1.0.0.
The new version will even allow to recognize if you just disabled the protection at the enchanting creation table by just right clicking the flag icon of FCOIS (red color = protection off).


2nd change needed at extraction of glpyhs
In filename "KhrillMerlinTheEnchanter.lua", functions "DestroyGlyph" and "DestroyAll" will get replaced with:

Lua Code:
  1. local function DestroyGlyph(button)
  2.     -- // DestroyButton selected
  3.     msg("--DestroyGlyph")
  4.     if not KMTE.isStation then
  5.         -- not in station
  6.         KMTE:addMsg("|cFF6A00[" .. KMTE.name .. "]|r : "..KMTE.langString.KMTEMessage_stationNeeded)
  7.     else
  8.         -- check if extraction tab is selected to avoid bugs with ESO UI (and lost item with destroy glyph!)
  9.         if ENCHANTING.enchantingMode == ENCHANTING_MODE_CREATION then ZO_MenuBar_SelectDescriptor(ZO_EnchantingTopLevelModeMenuBar, ENCHANTING_MODE_EXTRACTION) end
  10.  
  11.         --check bag space
  12.         if CheckInventorySpaceAndWarn(2) then      
  13.             KMTE.autoCraftAll = false
  14.             local isRestart = false
  15.             local i
  16.             local bagId, slotIndex
  17.             local selectedTypeGlyph = KMTE_DB["count"]["Glyph"].Selected
  18.         --  if KMTE.autoCraftRefreshNeeded then isRestart = true end --test for 1 loop only
  19.             KMTE.autoCraftRefreshNeeded = false
  20.             KMTE.autoCraftMode = 0
  21.  
  22.             --Refresh if other addons are active
  23.             KMTE:CheckforOtherAddons()
  24.  
  25.             if selectedTypeGlyph ~= nil then
  26.                 local doExtractNow = false
  27.                 --              d(KMTE_DB["count"]["Glyph"].Selected.name)
  28.                 -- if glyph item selected => destroy it
  29.                 if KMTE_DB["count"][selectedTypeGlyph.name].Selected ~= nil then
  30. --                  d("--> Destroy! "..KMTE_DB["count"][KMTE_DB["count"]["Glyph"].Selected.name].Selected.name)
  31.                     bagId = KMTE_DB["count"][selectedTypeGlyph.name].Selected.bagId[1]
  32.                     slotIndex = KMTE_DB["count"][selectedTypeGlyph.name].Selected.slotIndex[1]
  33.                     local quality = KMTE_DB["count"][selectedTypeGlyph.name].Selected.quality
  34.                     local colorQuality
  35.                     if quality < 2 then colorQuality = "FFFACD" else colorQuality = string.sub(COLOR_QUALITY[quality], 1, 6) end
  36.                     KMTE.mode = ENCHANTING_MODE_EXTRACTION
  37.                    
  38.                     -- check if glyph is locked (by user into ESO UI panel)
  39.                     if KMTE.itemSaverFilter and ItemSaver_IsItemSaved(bagId, slotIndex) == true then
  40.                         KMTE:addMsg("|c"..COLOR_KHRILLSELECT .. KMTE.name .. "|r : "..KMTE.langString.KMTEMessage_itemLocked.."|cFF0000ItemSaver|r (|c"..colorQuality..zo_strformat(SI_TOOLTIP_ITEM_NAME, GetItemName(bagId, slotIndex)).."|r)")
  41.                     elseif KMTE.FCOitemSaverFilter then
  42.                         local lMsgProtected = false
  43.                         if FCOIsMarked then
  44.                             lMsgProtected = FCOIsMarked(GetItemInstanceId(bagId, slotIndex), -1)
  45.                         else
  46.                             if FCOIS.IsEnchantingExtractionLocked then
  47.                                 lMsgProtected = FCOIS.IsEnchantingExtractionLocked(bagId, slotIndex)
  48.                             end
  49.                         end
  50.                         if lMsgProtected == true then
  51.                             KMTE:addMsg("|c"..COLOR_KHRILLSELECT .. KMTE.name .. "|r : "..KMTE.langString.KMTEMessage_itemLocked.."|cFF0000FCOItemSaver|r (|c"..colorQuality..zo_strformat(SI_TOOLTIP_ITEM_NAME, GetItemName(bagId, slotIndex)).."|r)")
  52.                         else
  53.                             doExtractNow = true
  54.                         end
  55.                     end
  56.                     if doExtractNow then
  57.                         ExtractEnchantingItem(bagId, slotIndex)
  58.     --                  table.remove(KMTE_DB["count"][selectedTypeGlyph.name].Selected.bagId, 1)
  59.     --                  table.remove(KMTE_DB["count"][selectedTypeGlyph.name].Selected.slotIndex, 1)
  60.     --      d("extract "..tostring(KMTE_DB["count"][selectedTypeGlyph.name].Selected.bagId[1])..","..tostring(KMTE_DB["count"][selectedTypeGlyph.name].Selected.slotIndex[1]).." "..tostring(KMTE_DB["count"][selectedTypeGlyph.name].Selected.bagId[2])..","..tostring(KMTE_DB["count"][selectedTypeGlyph.name].Selected.slotIndex[2]))
  61.                         KMTE_DB["count"][selectedTypeGlyph.name].Selected.stack = KMTE_DB["count"][selectedTypeGlyph.name].Selected.stack -1           
  62.                         if KMTE_DB["count"][selectedTypeGlyph.name].Selected.stack == 0 then
  63.                             showControl(KMTE.MainWindow,selectedTypeGlyph.name.."_"..KMTE_DB["count"][selectedTypeGlyph.name].Selected.name..KMTE_DB["count"][selectedTypeGlyph.name].Selected.quality, false)
  64.                             showControl(KMTE.MainWindow,"DestroyGlyph", false)
  65.                             KMTE:showDestroyTooltip(nil, false)
  66.                         end
  67.                     end
  68.                 else
  69.                 -- else => destroy all for glyph type
  70. --                  CHAT_SYSTEM:AddMessage("|cFF6A00" .. KMTE.name .. "|r : "..KMTE.langString.KMTEMessage_notImplemented)
  71. --                  return
  72.                     KMTE:DestroyAll()
  73.                 end
  74.             else
  75.                 -- all types of glyph
  76. --              d("-> destroy all")
  77.                 KMTE.autoCraftAll = true
  78.                 KMTE:showDestroyTooltip(nil, false)
  79.                 KMTE_DB["count"]["Glyph"].Selected = KMTE.default_rune["Armor"]
  80.                 KMTE:DestroyAll()
  81.             end
  82.         end
  83.     end
  84. end
  85. function KMTE:DestroyAll()
  86.     KMTE.autoCraftMode = 2
  87.     KMTE.autoCraftRefreshNeeded = true
  88.     showControl(KMTE.MainWindow,"DestroyGlyph", false)
  89.     showControl(KMTE.MainWindow,"Cancel", true)
  90.     local selectedTypeGlyph = KMTE_DB["count"]["Glyph"].Selected
  91.     if selectedTypeGlyph ~= nil and KMTE_DB[selectedTypeGlyph.name][1] ~= nil then
  92.         local doExtractNow = false
  93. --      d("destroy all glyphs "..KMTE_DB["count"]["Glyph"].Selected.name)
  94. --      d("max="..KMTE_DB["count"][KMTE_DB["count"]["Glyph"].Selected.name].Max)
  95.         local bagId = KMTE_DB[selectedTypeGlyph.name][1].bagId[1]
  96.         local slotIndex = KMTE_DB[selectedTypeGlyph.name][1].slotIndex[1]
  97.         local fakeDestroy = false
  98.         local quality = KMTE_DB[selectedTypeGlyph.name][1].quality
  99.         local colorQuality
  100.         if quality < 2 then colorQuality = "FFFACD" else colorQuality = string.sub(COLOR_QUALITY[quality], 1, 6) end
  101. --      d("ExtractEnchantingItem("..bagId..", "..slotIndex..")")
  102.         KMTE.mode = ENCHANTING_MODE_EXTRACTION
  103.         -- check if glyph is locked (by user into ESO UI panel)
  104.         if KMTE.itemSaverFilter and ItemSaver_IsItemSaved(bagId, slotIndex) == true then
  105.             KMTE:addMsg("|c"..COLOR_KHRILLSELECT .. KMTE.name .. "|r : "..KMTE.langString.KMTEMessage_itemLocked.."|cFF0000ItemSaver|r (|c"..colorQuality..zo_strformat(SI_TOOLTIP_ITEM_NAME, GetItemName(bagId, slotIndex)).."|r)")
  106.             fakeDestroy = true
  107.         elseif KMTE.FCOitemSaverFilter then
  108.             local lProtectedMsg = false
  109.             if FCOIsMarked ~= nil then
  110.                 lProtectedMsg = FCOIsMarked(GetItemInstanceId(bagId, slotIndex), -1)
  111.             else
  112.                 if FCOIS.IsEnchantingExtractionLocked then
  113.                     lProtectedMsg = FCOIS.IsEnchantingExtractionLocked(bagId, slotIndex)
  114.                 end
  115.                 if lProtectedMsg then
  116.                     KMTE:addMsg("|c"..COLOR_KHRILLSELECT .. KMTE.name .. "|r : "..KMTE.langString.KMTEMessage_itemLocked.."|cFF0000FCOItemSaver|r (|c"..colorQuality..zo_strformat(SI_TOOLTIP_ITEM_NAME, GetItemName(bagId, slotIndex)).."|r)")
  117.                     fakeDestroy = true
  118.                 else
  119.                     doExtractNow = true
  120.                 end
  121.             end
  122.         end
  123.         if doExtractNow then
  124.             ExtractEnchantingItem(bagId, slotIndex)
  125.         end
  126.        
  127.         table.remove(KMTE_DB[selectedTypeGlyph.name][1].bagId, 1)
  128.         table.remove(KMTE_DB[selectedTypeGlyph.name][1].slotIndex, 1)
  129.         if KMTE_DB[selectedTypeGlyph.name][1].bagId[1] == nil then
  130. --          d("next")
  131.             table.remove(KMTE_DB[selectedTypeGlyph.name], 1)
  132.         end
  133.         -- if locked glyph, do next (no craft completed event)
  134.         if fakeDestroy then KMTE:DestroyAll() end
  135.  
  136.         --KMTE:OnCraftCompleted() -- for testing
  137.     else
  138. --      d("end "..tostring(KMTE.autoCraftAll))
  139.         if KMTE.autoCraftAll and not KMTE.cancelCraft then
  140.             -- Destroy all glyph mode => continue with next type
  141.             if selectedTypeGlyph.name == "Armor" then
  142.                 KMTE_DB["count"]["Glyph"].Selected = KMTE.default_rune["Weapon"]
  143.             elseif selectedTypeGlyph.name == "Weapon" then
  144.                 KMTE_DB["count"]["Glyph"].Selected = KMTE.default_rune["Jewel"]
  145.             elseif selectedTypeGlyph.name == "Jewel" then
  146.                 KMTE.autoCraftAll = false
  147.                 KMTE_DB["count"]["Glyph"].Selected = nil
  148.             end
  149.             -- restart
  150. --          d("--restart next ")
  151.             KMTE:DestroyAll()
  152.         else
  153.             KMTE.autoCraftMode = 1
  154.             KMTE.autoCraftRefreshNeeded = false
  155.             KMTE:OnCraftCompleted()
  156.         end
  157.     end
  158. end
Last edited by Baertram : 05/01/17 at 10:42 AM.
Report comment to moderator  
Reply With Quote
Unread 04/11/17, 01:04 PM  
Shrinkwrap

Forum posts: 1
File comments: 11
Uploads: 0
Merlin,

I'll send you a beer if you update this add-on.
Report comment to moderator  
Reply With Quote
Unread 03/26/17, 02:09 AM  
Shrinkwrap

Forum posts: 1
File comments: 11
Uploads: 0
Heya,

Is there any way this add-on can be updated? Thanks.
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.