• 0

    posted a message on X-Perl Thread
    Quote from PlayerLin
    Just ask, did you get this shitty problem(RaidHelper.Lua error) on r368 before you changed that?
    I never get this problem happened on my end... so I have no idea why it would happens...


    Yeah sadly it was, it might be to do with some other combo of addons I have installed, but being a programmer by trade I just thought I'd put some conditional checking in place and at least make the error "go away"
    Posted in: Unit Frames
  • 0

    posted a message on X-Perl Thread
    I worked around this issue by adding the following to
    XPerl_RaidHelper.lua:438: XPerl_MTRosterChanged()

    replace this code
    if (conf and conf.UseCTRATargets == 1) then
    for index,entry in pairs(XPerl_MainTanks) do
    local raidid = GetRaidIDByName(entry[2])
    if (raidid) then
    ctraTanks = ctraTanks + 1
    tinsert(MainTanks, new(raidid, UnitName("raid"..raidid)))
    end
    end
    end


    with

    if (conf == nil) then
    return
    else
    if (conf and conf.UseCTRATargets == 1) then
    for index,entry in pairs(XPerl_MainTanks) do
    local raidid = GetRaidIDByName(entry[2])
    if (raidid) then
    ctraTanks = ctraTanks + 1
    tinsert(MainTanks, new(raidid, UnitName("raid"..raidid)))
    end
    end
    end
    end


    in the top of the function MTRosterChanged in that Lua File
    Posted in: Unit Frames
  • To post a comment, please or register a new account.