@MindWorX I am trying to load custom FDF-files for a while now and I cannot make it work. Since you support (most) of the new frame natives, I assumed, the W3CE can handle custom frame loading via TOC- and FDF-files.
However, I found out that BlzLoadTOCFile always returns false. Is this due to not being implemented? In this case I would see a logging entry in the log file, right? (like it does for other funktions)
The TOC-file is farely simple (1 file and a blank line at the end) and the FDF-file exists at the expected path. This normally loads in Reforged, but does not work with W3CE.
This is the code I use to load the TOC-file (works fine on Reforged):
W3CE: "Cannot load TOC file ..."
Reforged: "Successfully loaded TOC file ..."
Any clues?
However, I found out that BlzLoadTOCFile always returns false. Is this due to not being implemented? In this case I would see a logging entry in the log file, right? (like it does for other funktions)
The TOC-file is farely simple (1 file and a blank line at the end) and the FDF-file exists at the expected path. This normally loads in Reforged, but does not work with W3CE.
This is the code I use to load the TOC-file (works fine on Reforged):
Lua:
OnInit.map("InitTOC", function()
local path = "ui\\Frames.toc"
local success = BlzLoadTOCFile(path)
if success then
print("Successfully loaded TOC file: " .. path)
else
error("Could not load TOC file: " .. path)
end
end, Debug and Debug.getLine() or nil)
W3CE: "Cannot load TOC file ..."
Reforged: "Successfully loaded TOC file ..."
Any clues?
Approved




