Non-Fatal Error in Prototype Stage

Things that we aren't going to implement
User avatar
IsaacOscar
Filter Inserter
Filter Inserter
Posts: 843
Joined: Sat Nov 09, 2024 2:36 pm
Contact:

Non-Fatal Error in Prototype Stage

Post by IsaacOscar »

Bassically, i've been using `error` in my data-final-fixes.lua to report if some of my mod's changes might not work correct. Unfortunately, this prevents people from loading my mod, but I'd like users to be able to ignore the 'error' so they can still use the mod.

I could of course not use `error` and use `log`, but then users are unlikely to notice anything strange (and in particular, won't tell me so I can make the mod work better!).

I was thinking of opening a dialog box with a warning in control.lua that would show when they load a save, but then I'd have to duplicate most of my prototype stage code to check if there were any problems (or is there a way to easily send information from the prototype stage to runtime?)

If there's a way to do something like this with existing features, that would also be great!
Rseding91
Factorio Staff
Factorio Staff
Posts: 15679
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Non-Fatal Error in Prototype Stage

Post by Rseding91 »

Sorry, but never as long as I work at Wube. Mod log file spam at startup is already the bane of every modded bug report. Adding more startup noise when using mods is the wrong approach.

You’re after the same thing we are with crashes. We want people to tell us when the game crashes and how it crashed. We made the error link to the forums, made it ask them to tell us, and virtually no one does. We know virtually no one does because we eventually added auto crash reporting and can see near the real number of players crashing and it isn’t close to the number of reported issues.

That is the entire game crashing and losing whatever unsaved progress the player had.

A non-crash startup message will be ignored 99.999%+ of the time and primarily serve as an annoyance.
If you want to get ahold of me I'm almost always on Discord.
User avatar
IsaacOscar
Filter Inserter
Filter Inserter
Posts: 843
Joined: Sat Nov 09, 2024 2:36 pm
Contact:

Re: Non-Fatal Error in Prototype Stage

Post by IsaacOscar »

Rseding91 wrote: Mon Dec 23, 2024 11:14 am Sorry, but never as long as I work at Wube. Mod log file spam at startup is already the bane of every modded bug report. Adding more startup noise when using mods is the wrong approach.

You’re after the same thing we are with crashes. We want people to tell us when the game crashes and how it crashed. We made the error link to the forums, made it ask them to tell us, and virtually no one does. We know virtually no one does because we eventually added auto crash reporting and can see near the real number of players crashing and it isn’t close to the number of reported issues.

That is the entire game crashing and losing whatever unsaved progress the player had.

A non-crash startup message will be ignored 99.999%+ of the time and primarily serve as an annoyance.
Fair enough, thanks for responding!
Post Reply

Return to “Won't implement”