Cookie Monster conflicts with content mods
See original GitHub issueIf a mods adds upgrades and achievements after Cookie Monster loads, then CM.Sim.Upgrades[i]
and CM.Sim.Achievements[i]
in CM.Sim.CopyData
might be undefined
, triggering a crash.
This is particularly problematic with mods that use Klattmose’s CCSE, like American Season and my own Spiced Cookies, because CCSE finishes injecting hooks hundreds of milliseconds after it finishes loading. This interval is long enough for Cookie Monster to load, so simply setting Cookie Monster to load last is not enough.
Issue Analytics
- State:
- Created 3 years ago
- Comments:20 (8 by maintainers)
Top Results From Across the Web
Cookie monster not working with csse mods. : r/CookieClicker
I'm playing on browser right now. Whenever cookie monster loads with a mod that loads csse the game freezes. Anyway to fix this?...
Read more >Add-Ons - Cookie Clicker Wiki - Fandom
Cookie Monster is a useful and complex JavaScript add-on that can be implemented into Cookie Clicker. This add-on is for displaying calculated data...
Read more >Guide :: How to use Cookie Monster add-on - Steam Community
This guide describes how to install Cookie Monster add-on on a ... Open "Options" tab, scroll down to "Mods", click on "Manage Mods"...
Read more >Script Compilation Error with modded game | Page 4 | Forums
The npc.ws error may be because Full Monster Experience conflicts with Ghost Mode; the script shows overlap between the two mod.
Read more >The Sims 4 - Mods and game updates - EA Help
Note: If you have installed Custom Content, it's been disabled. Check that the game is working correctly, then close the game without saving....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Good, then I’ll close it!
Not really a discord user myself, but perhaps I will take a look in the near future. If any other problems arise I am usually quick to respond to new issues!
I have only started looking into the code of CM as of today, so I must confess I am also not totally sure what the reasoning behind
CM.Sim.CopyData
is and why it is called repeatedly.I have just rewritten a significant portion related to another issue so I will get back to you and this issue. At the moment your suggestion seems fine, so I will certainly consider it.