Patch 7.3 Argus - ElkFactions cant handle new factions #13


Open
  • rakhuvar created this issue Sep 5, 2017

    As of 7.3, cannot click on pop-up faction list to select one to be tracked.

    If select new faction from regular faction panel, ElkFactions displays blank in StatBlockCore instead of previously displayed faction.

     

  • _ForgeUser110768 posted a comment Sep 10, 2017

    One Problem is the change in the parameter list of 'PlaySound'

     

    change Line 313ff

     

    elseif isWatched then
       PlaySound(857)
      SetWatchedFactionIndex(0)
    else
      PlaySound(856)
      SetWatchedFactionIndex(factionIndex)

    end

  • nytestorm posted a comment Sep 15, 2017

    Petraca,

    that does fix the lua error.  However, it's having trouble updating the ldb display with new rep numbers.  Looking in blizzard's UI, you can see what your current faction rep is.  If you select the faction, the ldb does not display the new, gained rep for the session.

  • rakhuvar posted a comment Sep 16, 2017

    I should note that on initial game startup, ElkFactions WILL display whatever your currently selected "show faction as toolbar" is in its LDB display; it just won't update that to a new faction until you quit and restart game.  A /reload is not enough to trigger that change.

  • Sygon_Paul posted a comment Sep 16, 2017

    You need to change two lines. Line 314 should look like this:

    PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_OFF)

     

    And line 317 like this:

    PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_ON)

     

  • rakhuvar posted a comment Sep 25, 2017

    Line numbering seems different - different editors ignoring comments as lines?

    Here's what I did based on previous comments. Changing factions still blanks LDB display until game reload,though.

     

    Original, from line 323                 | Patched, from line 323
    ....................................... | .........................
    elseif isWatched then                   | elseif isWatched then
    PlaySound("igMainMenuOptionCheckBoxOff")| PlaySound(857)
    SetWatchedFactionIndex(0)               | SetWatchedFactionIndex(0)
    else                                    | else
    PlaySound("igMainMenuOptionCheckBoxOn") | PlaySound(856)

     


    Edited Oct 5, 2017
  • rakhuvar posted a comment Oct 5, 2017

    Hitting exalted, or adding rep beyond exalted, throws another LUA error, although ElkFactions seems to continue on as before otherwise:

     

    Message: Interface\AddOns\ElkFactions\ElkFactions.lua:216: attempt to compare number with nil
    Time: 10/05/17 20:08:15
    Count: 6
    Stack: Interface\AddOns\ElkFactions\ElkFactions.lua:216: attempt to compare number with nil
    (tail call): ?
    (tail call): ?
    Interface\AddOns\ElkFactions\ElkFactions.lua:216: in function `UpdateBaseReputations'
    Interface\AddOns\ElkFactions\ElkFactions.lua:190: in function <Interface\AddOns\ElkFactions\ElkFactions.lua:186>
    (tail call): ?
    [C]: ?
    [string "safecall Dispatcher[2]"]:9: in function <[string "safecall Dispatcher[2]"]:5>
    (tail call): ?
    ...ce\AddOns\Archy\Libs\AceBucket-3.0\AceBucket-3.0.lua:116: in function `func'
    ...face\AddOns\Archy\Libs\AceTimer-3.0\AceTimer-3.0.lua:55: in function <...face\AddOns\Archy\Libs\AceTimer-3.0\AceTimer-3.0.lua:48>

     

  • Elkano posted a comment Jul 19, 2018

    Sorry for the long wait, should be fixed in r33...


To post a comment, please login or register a new account.