Download
(3 Kb)
Download
Updated: 05/16/20 05:06 AM
Compatibility:
Harrowstorm (5.3.5)
Updated:05/16/20 05:06 AM
Created:05/16/20 01:36 AM
Monthly downloads:5,442
Total downloads:318,556
Favorites:269
MD5:
LibTableFunctions-1.0  Popular! (More than 5000 hits)
Version: 1.0.1
by: Onigar [More]
Originally written by Urich.

A small collection of functions aimed at simplifying table operations.
V1.0.1
(Thanks to Baertram)
Removed references to LibStub

V 1.0
Initial release as a stand-alone lib.
Archived Files (1)
File Name
Version
Size
Uploader
Date
1.0
3kB
05/16/20 01:36 AM


Post A Reply Comment Options
Unread 09/04/22, 07:59 PM  
JLE

Forum posts: 0
File comments: 42
Uploads: 0
Noting that Urich's Skill Point Finder still depends on this lib, and LibTableFunctions is apparently out of date since Harrowstorm DLC. Does Urich's Skill Point Finder (which HAS been updated in the last two years) still work properly, with this one which HASN'T?
Report comment to moderator  
Reply With Quote
Unread 05/16/20, 05:09 AM  
Onigar
 
Onigar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 361
Uploads: 4
Thank you Baertram for you comment.

This Lib is updated with your suggested changes and submitted.
Report comment to moderator  
Reply With Quote
Unread 05/16/20, 02:21 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4913
File comments: 5990
Uploads: 78
Thanks.
In additions you guys can use these functions of ZOs:
https://github.com/esoui/esoui/blob/...tableutils.lua

Please remove LibStub as it is obsolete:
New libs should never use LibStub anymore.

OLd:
Code:
--Register LTF with LibStub
local libName, libVersion = "LibTableFunctions-1.0", 1
local ltf, oldminor
if(not LibStub) then
    ltf = {}
else
    ltf, oldminor = LibStub:NewLibrary(libName, libVersion)
    if not ltf then
        return -- already loaded and no upgrade necessary
    end
end
New:
Lua Code:
  1. --Register LTF
  2. local libName, libVersion = "LibTableFunctions-1.0", 1
  3. local ltf = {}

Just change the calls to the libs in Ulrichs addons to LibTableFunctions instead of using LibStub.
Other addons using this lib need to adopt and should pretty fast "find out" that LibStub is not working anymore as they will get error messages here.
And I doubt much addons, except Ulrich, are using this lib at all.
Last edited by Baertram : 05/16/20 at 02:27 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: