Maintenance for the week of December 23:
· [COMPLETE] NA megaservers for maintenance – December 23, 4:00AM EST (9:00 UTC) - 9:00AM EST (14:00 UTC)
· [COMPLETE] EU megaservers for maintenance – December 23, 9:00 UTC (4:00AM EST) - 14:00 UTC (9:00AM EST)

Ftc bugged for new toons!

Sythen88411
Sythen88411
✭✭✭✭
Ftc works on all my old toons but making a new toon you get no % on my hp mag or Stam bars. No name no lvl. Anyone find a fix for this?
Edited by Sythen88411 on June 6, 2023 12:48AM
  • Necrotech_Master
    Necrotech_Master
    ✭✭✭✭✭
    ✭✭✭✭✭
    the only thing i can guess is that this addon hasnt been updated for necrom yet

    i didnt look closely at which addons were actually updated yesterday when i ran minion, but if its not updated, it likely wont work with any necrom-new stuff such as arcanists

    the only thing i use from FTC is the scrolling combat log and dps meter, i hate the other UI garbage in the addon lol
    plays PC/NA
    handle @Necrotech_Master
    active player since april 2014

    i have my main house (grand topal hideaway) listed in the housing tours, it has multiple target dummies, scribing altar, and grandmaster stations (in progress being filled out), as well as almost every antiquity furnishing on display to preview them

    feel free to stop by and use the facilities
  • Baertram
    Baertram
    ✭✭✭✭✭
    As most addons hardcoded the "classes", and the new Arcanist class might break it thus now if you play one, the addons need updates to either hardcode the next "Arcanist" class or maybe even someone could change them to be working dynamically now (as ZOs added more API functions to get class specific details like icon, name, etc. meanwhile).

    Edit:
    Or: Antisenil wrote at the addon comments at https://www.esoui.com/downloads/fileinfo.php?id=1611#comments (comment #170409 from 2023-04-18) already the infos how to maually update the files on your own, with an easy "search" and "replace" instruction.
    Should be doable without any coding skills too. Just search the filename mentioned in the live/AddOns/FoundryTacticalCombat folder and edit the file where the instructions tell you to do so.
    for ppl who want to use ftc on the pts right now, you have to edit the functions.lua in
    Documents\Elder Scrolls Online\live\AddOns\FoundryTacticalCombat\character

    *EDIT*
    The whole function is obsolete as there is GetUnitClass(), which does the same.

    so change
    Lua Code:
    FTC.Player.class = FTC.Player:GetClass(GetUnitClassId( 'player' ))

    to
    Lua Code:
    FTC.Player.class = GetUnitClass( 'player' )

    and change

    Lua Code:
    FTC.Target.class = FTC.Player:GetClass(GetUnitClassId('reticleover'))

    to
    Lua Code:
    FTC.Target.class = GetUnitClass('reticleover')




    Next steps:
    Search for "Sorcerer", then comment the two lines starting with "local arr" & "return arr"(just add two minus "--" infront of them)


    and add these two lines

    Code:
    local gender = GetUnitGender('player')
    return GetClassName(gender, classId)

    like this:

    Lua Code:
    function FTC.Player:GetClass(classId)
    --START
    --local arr = {"Dragonknight", "Scorcerer", "Nightblade", "Warden", "Necromancer", "Templar"}
    --return arr[classId]
    --END
    --if ( classId == 1 ) then return "Dragonknight"
    --elseif ( classId == 2 ) then return "Sorcerer"
    --elseif ( classId == 3 ) then return "Nightblade"
    --elseif ( classId == 6 ) then return "Templar" end
    local gender = GetUnitGender('player')
    return GetClassName(gender, classId)
    end


    you could also reinstitute the old commented lines and add the missing classes, so it looks like this:

    Lua Code:
    function FTC.Player:GetClass(classId)
    --START
    --local arr = {"Dragonknight", "Scorcerer", "Nightblade", "Warden", "Necromancer", "Templar"}
    --return arr[classId]
    --END
    if ( classId == 1 ) then return "Dragonknight"
    elseif ( classId == 2 ) then return "Sorcerer"
    elseif ( classId == 3 ) then return "Nightblade"
    elseif ( classId == 4 ) then return "Warden"
    elseif ( classId == 5 ) then return "Necromancer"
    elseif ( classId == 6 ) then return "Templar"
    elseif ( classId == 117 ) then return "Arcanist"
    end

    but i personally like the first solution more ^^


    Edit2:
    I've downloaded the addon and changed the /character/functions.lua file according to the instructions, so here you can download it if you do not want to manually change it by your own:
    https://www.dropbox.com/s/9zzkg7xphqlx8rq/functions.lua?dl=1
    Edited by Baertram on June 6, 2023 9:03PM
  • Sythen88411
    Sythen88411
    ✭✭✭✭
    I shall give this a try! Do I dljust drop it in my ftc folder and let it replace?
  • Baertram
    Baertram
    ✭✭✭✭✭
    As the texts says the functions.lua file needs to be in the folder
    Documents\Elder Scrolls Online\live\AddOns\FoundryTacticalCombat\character

    Backup the old file, then drop the new file in there and try if it works.
  • Sythen88411
    Sythen88411
    ✭✭✭✭
    Works now got 1 other thing I see thats not working enemy hp boxes are default and not ftc. I'll msg you
  • Baertram
    Baertram
    ✭✭✭✭✭
    Glad it works, but I'm not going to work on this addon any further, sorry.
    Just added the data that others found ut to the file, for your convenience, that's all.
    The addon's code is a mess and I never liked it, besde that I got like 80 addons to maintain already, and I got no time to add another one ;-)

    Please wait for the offical author to fix it or any other author to group up with the addon team to work on this, thank you.
  • Sythen88411
    Sythen88411
    ✭✭✭✭
    All works just had to complete log out. Ty again!!!
  • Aislinna
    Aislinna
    ✭✭✭✭✭
    Baertram wrote: »
    As the texts says the functions.lua file needs to be in the folder
    Documents\Elder Scrolls Online\live\AddOns\FoundryTacticalCombat\character

    Backup the old file, then drop the new file in there and try if it works.

    34r0azelmw2l.jpg
  • Baertram
    Baertram
    ✭✭✭✭✭
    Please thank Antisenial over at https://www.esoui.com/downloads/fileinfo.php?id=1611#comments as he/she wrote what to do, I just did it and provided you guys the file! :p
    Edited by Baertram on June 7, 2023 7:21AM
Sign In or Register to comment.