Closed maxfield-allison closed 3 years ago
Can you provide the records.json file? Something went wrong when it's trying to read that
absolutely, in the meantime I'll reset it. renamed to .txt for github records.txt
Looks like it ended up not writing the full file at some point -- its invalid JSON and that's causing the error I believe
I will have to somehow guarantee I write all the JSON or come up with an alternative for storing the records.
I think it may be related to the records all being stored in a single line. also, perhaps yaml?
I'm working on switching to LiteDB to store the records using that tool, since rolling my own has been pretty fragile. It's probably 90% integrated right now, just some testing and polish left for it.
I think the reason it failed to write the entire file is because it's set to do it async in another task and could fail/have issue and not really be evident.
With the LiteDB change (plugin version 1.5.0+), this issue should be resolved.
After the most recent updates everything was functional, Deleted the 8-10 assemblies from the original mod and replaced with the 4 new ones. after several hours messages stopped coming in on player joins and leaves, shouts fail. exception trace below: