Uncaught SyntaxError: Unterminated string in JSON at position 3073 (line 1 column 3074)
at JSON.parse (<anonymous>)
at Object.setOverrides [as load] (fc_main.js?_=1706579890931:150:41)
at Game.registerMod (main.js?v=10b:1063:46)
at registerMod (fc_main.js?_=1706579890931:16:10)
at loadScript (frozen_cookies.js:63:9)
at Object.success (frozen_cookies.js:68:17)
at c (jquery-3.6.0.min.js:2:28327)
at Object.fireWith [as resolveWith] (jquery-3.6.0.min.js:2:29072)
at l (jquery-3.6.0.min.js:2:79901)
at HTMLScriptElement.i (jquery-3.6.0.min.js:2:83436)
setOverrides @ fc_main.js?_=1706579890931:150
Game.registerMod @ main.js?v=10b:1063
registerMod @ fc_main.js?_=1706579890931:16
loadScript @ frozen_cookies.js:63
fc_main.js?_=1706579890931:4635 Uncaught TypeError: Cannot read properties of undefined (reading 'nextPurchase')
at nextPurchase (fc_main.js?_=1706579890931:4635:33)
at nextChainedPurchase (fc_main.js?_=1706579890931:4640:5)
at delayAmount (fc_main.js?_=1706579890931:4494:21)
at Array.updateTimers (fc_infobox.js?_=1706579890934:168:21)
at Game.runModHook (main.js?v=10b:1112:26)
at Game.Draw (main.js?v=10b:16760:8)
at Game.Loop (main.js?v=10b:16814:26)
The most recent thing I did was savescum for and buy Wheat thins, but I'm not sure why that would be related.
EDIT: It looks like my save file got corrupted somehow, but only the mod data part of it?
EDIT: Yeah, if you base64 decode it, the end of the json got cut off somehow. Maybe if you copy and paste part of a cookie clicker save file, CC will happily load it and truncate mod data? This might actually be a CC bug not a FC bug lol. I'll just set my FC back up the way I want it, up to you what to do with this issue
Yeah, this seems to be a save issue. The error seems to indicate nextPurchase is undefined... INSIDE the function that defines it. I'm going to close this since it is not something that will happen normally.
This savefile:
Mi4wNTJ8fDE3MDY0MDUyNzExMjM7MTcwNTU1ODU4OTUxNTsxNzA2NTc5ODY5MzAwO1BhdGFzaHU7dW5zeWg7MTUsMTEsOCwwLDYsMTYsMjF8MDAxMTEwMDAxMDAxMDAxMDAxMTEwMTEw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EyNjc3MTY0MzAwNDJlKzYyLDAsLDEsODY3Ozg1NCwxMjA0LDIuMDYxNTY5NDg4Nzk4MDA4NGUrNjMsMCwsMSw4NTQ7ODM4LDExODgsMi41MjY0MDM4NDkzODI1Njc3ZSs2MywwLCwxLDgzODs4MjIsMTE3Miw5LjgyMTkwOTMyNTE4NTEyZSs2MywwLCwxLDgyMjs3ODgsMTEzOCwzLjMwMjM2MTk0NTgwNThlKzY0LDAsLDEsNzg4Ozc0MywxMDkzLDMuMTI3Nzc5ODUzMjExOTg2ZSs2MywwLCwxLDc0Mzs3MDksMTA1OSwxLjM1MjI0NzAwNjA5NzQ0N2UrNjQsMCwsMSw3MDk7Njg3LDEwNDIsNC4yMDEwOTA4MDAwNzMxNTk0ZSs2NCwwLCwxLDY4Nzt8MTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTAwMTExMTExMTEwMDExMTExMTAwMTExMDExMDAxMTExMTEwMDExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEwMDExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEwMDExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTAwMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEwMTAxMDExMDAxMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEwMDEwMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEwMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMDExMTAxMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMDExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTAwMDAxMTExMTExMTExMTExMTExMTExMTExMTExMTExMTAxMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEwMTExMTExMTExMTExMDAxMTExMTExMTExMTExMTExMTExMTExMTEwMDAwMDAwMDExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEwMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTAwMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEwMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEwMDExMTExMTExMTExMTExMTExMTExMTExMXwxMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMDExMTExMTEwMTExMTExMDExMTExMTExMTAwMDAwMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEwMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEwMDAxMDExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMDAwMDAwMDAwMDAwMDAxMTAwMTExMTExMTExMTEwMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMDExMTExMTExMTExMDAwMDExMTExMTExMTExMTEwMDExMTExMTExMTExMTExMTExMTExMTExMTExMTExMDExMTExMTExMTExMTExMTExMTEwMTExMTExMTExMTAwMDAwMDAxMTExMTExMTExMTExMTExMTExMTExMTExMTAxMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEwMTExMTExMTExMTEwMTExMTExMTExMTExMTExMTEwMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMDAxMTExMTAxMTExMTExMTExMTExMTExMTAxMTExMTExMTExMTExMTExMTEwMDExMTExfHxmcm96ZW5fY29va2llczp7ImNsaWNraW5nT3B0aW9ucyI6MCwiYXV0b0NsaWNrIjoxLCJhdXRvRnJlbnp5IjoxLCJhdXRvR0MiOjEsImF1dG9SZWluZGVlciI6MSwiYXV0b0ZvcnR1bmUiOjEsImJ1eWluZ09wdGlvbnMiOjAsImF1dG9CdXkiOjAsIm90aGVyVXBncmFkZXMiOjAsImF1dG9CbGFja2xp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jE5NDI4LFwiNDM1NzY4MzIuODhcIjoyOTk2NyxcIjgwMTEuOTJcIjoxODU2MixcIjEwNi40XCI6MTE1MjQsXCI1NTguNlwiOjEyMzkzOCxcIjc5LjhcIjoxNDgxNTIsXCIzNjYuMDk5OTk5OTk5OTk5OTdcIjoxMzM4MTUsXCI2NjkuOVwiOjU1MDg1LFwiNzUuM1wiOjc1NTYwLFwiNzY3LjlcIjoxODAzOTAsXCIxMDkuN1wiOjkxNzE5LFwiNTkzLjZcIjoxNzY1OTgsXCI4NC44XCI6MTYzNTYyLFwiOTEuNlwiOjEzNjA4NixcIjc0NC44MDAwMDAwMDAwMDAxXCI6MTI0ODc0LFwiODMuMlwiOjY4MDc4LFwiOTAuM1wiOjE1MzI0LFwiNTc4NzA5LjYwMDAwMDAwMDFcIjoyMjMsXCIzMDI2NjUxMi4wODAwMDAwMDJcIjoyOTg0NSxcIjM4OTUzLjA0XCI6Mzc3NTZ9IiwibGFzdEhDQW1vdW50IjoyNzQzODQ3MjkyMjI0NjMzMjAwMCwibWF4SENQZXJjZW50Ijo2NTAxNjM5NjYwNjE1NzU1MDAwLCJsYXN0SENUaW1lIjoxNzA2NTc4MDk2ODk5LCJtYW5hTWF4Ijo5OSwibWF4U3BlY2lhbHMiOjEsIm9yYk1heCI6NDAwLCJwcmV2TGFzdEhDVGltZSI6MTcwNjU3ODA5Njc5OSwic2F2Ow%3D%3D%21END%21
Do this in the console:
Game.LoadMod("https://github.erbkaiser.com/FrozenCookies/frozen_cookies.js");
Error message:
The most recent thing I did was savescum for and buy Wheat thins, but I'm not sure why that would be related.
EDIT: It looks like my save file got corrupted somehow, but only the mod data part of it?
EDIT: Yeah, if you base64 decode it, the end of the json got cut off somehow. Maybe if you copy and paste part of a cookie clicker save file, CC will happily load it and truncate mod data? This might actually be a CC bug not a FC bug lol. I'll just set my FC back up the way I want it, up to you what to do with this issue