View Bug Report
Need to make changes in CraftStore supporting
Bug #: 1858
File: ESO Master Recipe List
Date: 11/13/16 06:05 AM
By: BlackSwan
Status: Fixed
Hi! I noticed that you using CraftStore SavedVar name to detect add-on existens.

1) For now comunity lost original CraftStore developer. So I took care about that add-on. Hope he return and take it back.
2) I made many fixes to it, and many code rewriting to make it easyer to read or make it safer.
3) As a result of my changes, names of SavedVars are changed so now we have issue here.

Now we have several ways: as we both add-on authirs we can create some flag for use it, or, you just can use new name of var, hope I will newer rename it again... :)

Here is the place what I am talking about.
Lua Code:
  1. if CS_Character then -- Station navigation offset for CraftStore
  2.                 ESOMRL:ClearAnchors() ESOMRL:SetAnchor(TOPLEFT, controlName, TOPLEFT, 0, -186) ESOMRL:SetHidden(false)
  3.             elseif KhrillMasterCook_settings then -- Station navigation offset for Krill Master Cook
  4.                 ESOMRL:ClearAnchors() ESOMRL:SetAnchor(TOPLEFT, controlName, TOPLEFT, 58, -89) ESOMRL:SetHidden(false)
  5.             else -- Standard station navigation position
  6.                 ESOMRL:ClearAnchors() ESOMRL:SetAnchor(TOPLEFT, controlName, TOPLEFT, 0, -86) ESOMRL:SetHidden(false)
  7.             end

New variable name: CraftStore_Characte

RSS 2.0 Feed for Bug CommentsNotes Sort Options
By: BlackSwan - 11/13/16 06:06 AM
CraftStore_Character
By: BlackSwan - 11/13/16 06:13 AM
P.S. Better way is to setup some hook that you can check, cause Craft Store users can disable CS_Cook feature and use default cooking interface even having CS enabled
By: Phinix - 02/21/17 03:20 PM
Added support for both versions just in case. Thanks for the feedback!