The Binding of Isaac: Rebirth

The Binding of Isaac: Rebirth

1,140 évaluations
Mod Error Container - Compat with erroring mods
7
6
4
2
3
2
2
2
   
Récompenser
Ajouter aux favoris
Favoris
Retirer des favoris
Tags: Lua
Taille du fichier
Publié le
Mis à jour le
148.826 KB
13 janv. 2023 à 17h51
18 janv. 2024 à 7h18
3 notes de changement ( voir )

S'abonner pour télécharger
Mod Error Container - Compat with erroring mods

Description
This mod reverts back the change made in repentance (still holds true in rep+) that makes it so any error on any callback of any mod will ♥♥♥♥ all the mods that come after it...so, with this mod on, callbacks will function closer to how they did before that change, so an error on 1 mod wont ♥♥♥♥ the other mods as much.

ONLY ENABLE THIS MOD IF YOU ARE HELLBENT ON USING MODS THAT EVENTUALLY ERROR, ON ANY OTHER CASE LEAVE IT DISABLED.
THIS MOD WILL ALWAYS SHOW UP IN CRASH LOGS ALONGSIDE THE ACTUAL MOD THAT CRASHED, SO ONLY REPORT THE CRASHES HERE IF THIS IS THE ONLY MOD THAT SHOWS UP IN THE LOG'S CRASH REPORT NEAR THE END.


So...what does this mod change again?
Alright I'll use an example to make it easier to understand. On the current repentance patch, for example, if one mod does something when a tear is fired, and throws an error in the process, then that means no other mod that loads after it would be able to do anything when tears are fired. This mod changes it so, even if a mod errors, the mods that load after it would still run stuff for the fired tear.

We have included this in REPENTOGON by default, so when REPENTOGON is on, this mod will simply disable itself.

Drawbacks (READ)
- Errors no longer appear in red in the console, since theres no way for me to print red text there, they appear in white.
- On the log files, when a crash happens, the source of the crash will both display this mod and the actual mod that crashed, so make sure to look up for the actual mod error. If only this mod is displayed as the cause of a crash, let me know (it shouldnt happen)
- AddCallback errors will be falsely reported as erroring on this mod, so you should definitely disable this mod when doing mod dev.

Benefits
- Errors from other mods should no longer ♥♥♥♥ up your mod, that means you can run old mods that work mostly fine but with some errors without the risk of them ♥♥♥♥♥♥♥ up newer ones....or at least not as often
- Errors will now display a code for the callback where the error happened (check the callbacks enum on the isaac docs for reference). The format for errors is "[modname:callbacktype] error message"

Why didnt you wait until this is officially fixed?
Because there are implications of this change being deliberate on various things that has been said, so it's not guaranteed that it will be changed back to the way it was.

This mod will be unlisted and automatically disabled when/if the error handling change gets reverted, in the meantime this will exist as a temporary solution.

Special Thanks to DeadInfinity for some corrections on the code.
42 commentaires
sessionsadriana 27 déc. 2024 à 5h59 
I need to say, hgsrcsdhrfcjfdgfhsdghgggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggood thing
А игрушки завезли 21 déc. 2024 à 8h51 
r4wdrfy36h7ndte5gerse5gwbneyhvd#rdvervefret4:steamthumbsup::steamhappy::steamthis::box:
JSG  [créateur] 12 déc. 2024 à 19h58 
should still work, yea
:D 12 déc. 2024 à 18h19 
does this mod work for rep+?
JSG  [créateur] 11 mai 2024 à 16h21 
I was rejected my application to the international ministry of magic, so this mod will, sadly, not solve every potential problem you may be having with any mod ever.
Eredin 11 mai 2024 à 15h39 
is good and all but mine is still crashing
sonka 17 avr. 2024 à 11h20 
fu
longlong999 19 mars 2024 à 22h13 
good
JSG  [créateur] 16 févr. 2024 à 6h16 
This mod's fixes are incorporated into repentogon, it becomes redundant with it, so while repentogon is active, it disables its own code and it does nothing.
Boardy 16 févr. 2024 à 6h10 
Will this mod continue to fix errors with REPENTOGON installed?