Thanks for the reply and the edits on the file.
When testing I think my issue has been that it wasnt waiting for the callback from LibHistoire. So I've added this in now using
Lua Code:
LGH:RegisterCallback(LibHistoire.callback.INITIALIZED, function()
....code here
end)
But it doesnt seem like it ever actually does anything further, I have a few bits in there that should write debug text during the saving of the events and such but none of that happens.
Does it just take a while to do all of that process the first time? I have quite a few stored events but I can't think it would be that bad?