-
February 22nd, 2021, 21:45 #11
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,561
I haven't seen that (either the mention or an example). Do you have an example extension showing a simple table not being sorted correctly with a sort function in table.sort?
(Remember, sorting only works for numerically-indexed tables.)
Regards,
JPG
-
February 22nd, 2021, 21:59 #12
-
February 22nd, 2021, 22:53 #13
I can't do this for a few days, but this what I will attempt, when I get a chance is add more fields to the customfilters (in the 5E data_library). Specifically fields with lots of variations in the data like the NPC Action Names. In general if the fields are mostly alphabetic it should work great, lot's of data. I'll need to avoid fields like Skills where Arcana +12 will be sorted before Arcana +2, without special handling (breaking the field up into the alphabetic prefix and numeric suffix though I believe you already have a special sort function defined for this situation).
-
February 23rd, 2021, 00:17 #14
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,561
For an example, don't try to use your extension; or anything else. Try to recreate in a simple extension script without all the extras. If not, it might be something related to all the things you do in your script.
Regards,
JPG
-
February 23rd, 2021, 00:53 #15
Oh yes totally. I was going to just hack the 5e custom filter definitions into the 5e ruleset data_library....lua file. Avoiding even an extension. I’d just forward the few lines of script to you.
In the very first iteration of FFAL, I did just that only for Spells to test feasibility (while working on the Mystic class extension).
-
February 26th, 2021, 03:27 #16
Lesser Deity
- Join Date
- Mar 2006
- Location
- Arkansas
- Posts
- 7,398
-
February 26th, 2021, 16:04 #17
-
March 3rd, 2021, 05:00 #18
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,561
A fix for this was pushed in the Tuesday update.
Regards,
JPG
-
March 3rd, 2021, 13:36 #19
-
March 7th, 2021, 18:05 #20
To report back on this. I have not been able to reproduce evidence that supports claims I made in posts #5 and #10 of this thread. I can only attribute my claims to temporary insanity or self-aggrandizing.
Current Projects:
Always...
Community Contributions:
Extensions: Bardic Inspiration, Druid Wild Shapes, Local Dice Tower, Library Field Filters
Tutorial Blog Series: "A Neophyte Tackles (coding) the FG Extension".
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks