r/SMAPI • • 11d ago

need help Help me figure out the error please

Post image

I started having this error today where whenever a "fade to black" happened (the one in between the end and start of the day, passed out in a cutscene, etc.), the game started to behave as if it crashed, with the black screen stuck, but after I launched again, it didn´t give me a prompt to acknowledge it as a crash or give me an error report

My prime suspects are Timberland Falls since it's the newest mod I've added, but I did remove it and tried again and got the same error, so I´m not so sure

I also updated today:

Fairy Drakelings

A Little More Cutscenes

Cornucopia - More Crops

Homewrecker Lance

Adopt Jas (Along with the Shane patch)

Better Ranching

Maggs Townsfolk Daily Dialogue

T's Core

Here´s the Smapi log: https://smapi.io/log/817a0f9a1a6d46a08327dcf082bed1a5

I´ll also leave a screenshot since it´s just two error messages repeating infinitely, so the log itself is a long mess

0 Upvotes

9 comments sorted by

5

u/gabbicat1978 Helper Elf with Crown 11d ago

Ok, you have over 700 mods so you're going to have to help us narrow this down and it's going to take a bit of work from your side I'm afraid. There are far more errors than just the ones in your screenshot.

The first thing you need to do is run ALL the updates in the yellow box at the top of your log so we can eliminate outdated mods as a cause for your issues. We cannot proceed with troubleshooting until you've done that.

Once updated, run your game and see if the issues persist. If they do, exit and generate a new smapi log, then put the link into a reply to this comment so we can take another look.

1

u/PerformerElectronic4 11d ago

Surprisingly, all those errors generally don't give me much trouble (one or two crashes a month, some lag), so I've been able to play without problem until today with this one. Most of the mods that it says I can update don't have new updates (For example, it tells me to update TMXL Map Toolkit, but I already have the newest version available on Nexus). I did update the ones that did, but I won't be able to test it until tomorrow.

2

u/otter_mayhem 10d ago

Extra Map Layers is outdated and isn't necessary after the 1.6 update of Stardew.

In some cases, you have multiple of the same mod. You haven't downloaded some of the dependencies for the mods that need them. The log tells you what you're missing in the red writing.

You also have some mods that don't have the manifest, have an empty folder or no longer compatible and/or outdated.

Did you use Vortex to download your mods?

1

u/PerformerElectronic4 9d ago

No, I download manually; however, the vast majority of those errors at the top (dependencies and duplicates) are not a real reflection of what's in my mods folder, like, for example, it says I don´t have what's needed for the soda machine flower pack, but I do have all the dependencies, and I even have access to the mod in-game (crafting, selling, ingredients, recipes) or with Better Fruit Trees, it says I have it duplique, but no matter of much I look through my files, there only one file for that mod.

What I want to fix is the very last error (The one in the screenshot), which is the one crashing my game upon going to sleep for the day.

1

u/gabbicat1978 Helper Elf with Crown 9d ago

Can we get a new smapi log after your updates?

1

u/PerformerElectronic4 3d ago

I've updated what I could but the smapi log parser is sending me a server error whenever I try to use it with the new file (502 - Web server received an invalid response while acting as a gateway or proxy server.). Should I wait and try again later or could it be my file that's making it give the error?

1

u/gabbicat1978 Helper Elf with Crown 3d ago

Did you run your game before trying to generate a new log?

2

u/PerformerElectronic4 3d ago

Yes, I played a full day then went to sleep.

I haven't figures out why I can't generate a new log but think I figured out the error

Since i couldn't get a new log I looked for a way to see all the sleep data for the NPCs and found this command (patch export Data/animationDescriptions) that gives you a file with the animation data, I opened it and looked for _Sleep and found a couple that weren't writen conrrectly

Valko and Mr.Ginger

Valko had two sleep animation triggers, one inside the content.json and another inside an animations.json. The first was writen correctly ("24/24/24") but the second was writen as "valko_sleep": "29/29/29//offset 0 -16", and since it loaded after the first it overwrote it and caused the error.

And Mr.Ginger had his like this:

"MrG_Sleep": "36/36 36 36 36 36 36 36 36 37 37 37 37 37 37 37 37/36//laying_down"

So that "//laying_down" part was messing with how smapi was loading the animation

I went into their files and erased //offset 0 -16 form Valko's and //laying_down from Mr.Ginger's

What I don't get it's why it just started happening recently, I've had Mr. Ginger since february and Valko since last month.

But anyway, I did 4 test sleeps after changing the files: 1 rigth at the beggining of the day, 1 at 8pm in game, another with the passing out cutscene I mentioned and the last by letting my farmer pass out at 2am; all of them passed the day without an issue.

I can't test more rn because it's almost 5 am and I gotta go to sleep but I'll test it again tomorrow just in case

1

u/otter_mayhem 9d ago

Yeah, sometimes the mod author forgets to change the version number in the manifest. You can change that yourself if it bugs you.

I'm reaching here and I'm curious and never heard of it, lol, but what is the CPOPtimizer mod you have in there? A lot of the things are all issues from it that are seeing some duplicates. But as far as your main concern in the screenshot, I'm not sure about that one. Sometimes I get similar errors and restarting the game fixes it. Sometimes I get errors similar and it's just a mod conflict. It can be a pain for sure.