hi @rswindell ! can you add more debug message to this log?, like filename or line/column of corrupted file?
i try to find what file trigger me this error.
Thanks!
I don't think so. The script filename and line are already logged, as was reported:
warcommon.js line 135
And the JS engine doesn't throw the line/column of the JSON it can't parse. As Deuce stated, the corrupt file appears to be "game.save.json file in the game directory" - have you looked at this file? Just pasting that file into any online JSON parser should show what the issues are.
P.S. Looking at the script source (which I did not write), it appears the corrupt file could also be game.orig.json. Check that file for corruption as well.
@rswindell Rob, I didn't really realize this was still open. The original issue this was opened for has long since been remediated by resolving the game.save.json issue. That said, I've updated the repo from scratch several times since opening the original ticket. Not sure where the corruption originated from, but not seeing it now. I'll close this as it looks like additional comments are similar json issues but unrelated to the WARPOLL event. Thanks!