tModLoader

tModLoader

Calamity Overhaul
Cant load the mod.
I just updated the mod, and I keep getting an error. I'm unsure why. I disabled all my other mods but I keep getting an error when I try to load this mod and the dependencies.

Here is the error log

[13:36:16.659] [.NET TP Worker/ERROR] [tML]: An error occurred while loading CalamityOverhaul v0.6051
The mod(s) and any dependencies have been automatically disabled.
Terraria.ModLoader.Exceptions.MultipleException: Multiple errors occurred.
---> System.NullReferenceException: Object reference not set to an instance of an object.
at CalamityOverhaul.Content.RangedModify.Core.BaseFeederGun.get_KreloadMaxTime() in CalamityOverhaul\Content\RangedModify\Core\BaseFeederGun.cs:line 81
at CalamityOverhaul.Content.Projectiles.Weapons.Ranged.HeldProjs.BulletFilledShotgunHeldProj.SetRangedProperty() in CalamityOverhaul\Content\Projectiles\Weapons\Ranged\HeldProjs\BulletFilledShotgunHeldProj.cs:line 28
at CalamityOverhaul.Content.RangedModify.Core.BaseHeldRanged.SetDefaults() in CalamityOverhaul\Content\RangedModify\Core\BaseHeldRanged.cs:line 295
at Terraria.ModLoader.Core.GlobalLoaderUtils`2.SetDefaultsBeforeLookupsAreBuilt(TEntity entity, TGlobal[] entityGlobals, Action`1 setModEntityDefaults, InstantiationTime[]& instTimes) in tModLoader\Terraria\ModLoader\Core\GlobalLoaderUtils.cs:line 84
at Terraria.ModLoader.Core.GlobalLoaderUtils`2.SetDefaultsBeforeLookupsAreBuilt(TEntity entity, TGlobal[] entityGlobals, Action`1 setModEntityDefaults) in tModLoader\Terraria\ModLoader\Core\GlobalLoaderUtils.cs:line 63
at Terraria.ModLoader.Core.GlobalLoaderUtils`2.SetDefaults(TEntity entity, TGlobal[]& entityGlobals, Action`1 setModEntityDefaults) in tModLoader\Terraria\ModLoader\Core\GlobalLoaderUtils.cs:line 29
at Terraria.ModLoader.ModProjectile.SetupContent() in tModLoader\Terraria\ModLoader\ModProjectile.cs:line 70
at Terraria.ModLoader.Core.LoaderUtils.ForEachAndAggregateExceptions[T](IEnumerable`1 enumerable, Action`1 action) in tModLoader\Terraria\ModLoader\Core\LoaderUtils.cs:line 129
--- End of inner exception stack trace ---
at Terraria.ModLoader.Core.LoaderUtils.ForEachAndAggregateExceptions[T](IEnumerable`1 enumerable, Action`1 action) in tModLoader\Terraria\ModLoader\Core\LoaderUtils.cs:line 137
at Terraria.ModLoader.Mod.SetupContent() in tModLoader\Terraria\ModLoader\Mod.Internals.cs:line 25
at Terraria.ModLoader.ModContent.LoadModContent(CancellationToken token, Action`1 loadAction) in tModLoader\Terraria\ModLoader\ModContent.cs:line 413
at Terraria.ModLoader.ModContent.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModContent.cs:line 328
at Terraria.ModLoader.ModLoader.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModLoader.cs:line 133
---> (Inner Exception #1) System.NullReferenceException: Object reference not set to an instance of an object.
at CalamityOverhaul.Content.RangedModify.Core.BaseFeederGun.get_KreloadMaxTime() in CalamityOverhaul\Content\RangedModify\Core\BaseFeederGun.cs:line 81
at CalamityOverhaul.Content.Projectiles.Weapons.Ranged.HeldProjs.GunkShotHeldProj.SetRangedProperty() in CalamityOverhaul\Content\Projectiles\Weapons\Ranged\HeldProjs\GunkShotHeldProj.cs:line 33
at CalamityOverhaul.Content.RangedModify.Core.BaseHeldRanged.SetDefaults() in CalamityOverhaul\Content\RangedModify\Core\BaseHeldRanged.cs:line 295
at Terraria.ModLoader.Core.GlobalLoaderUtils`2.SetDefaultsBeforeLookupsAreBuilt(TEntity entity, TGlobal[] entityGlobals, Action`1 setModEntityDefaults, InstantiationTime[]& instTimes) in tModLoader\Terraria\ModLoader\Core\GlobalLoaderUtils.cs:line 84
at Terraria.ModLoader.Core.GlobalLoaderUtils`2.SetDefaultsBeforeLookupsAreBuilt(TEntity entity, TGlobal[] entityGlobals, Action`1 setModEntityDefaults) in tModLoader\Terraria\ModLoader\Core\GlobalLoaderUtils.cs:line 63
at Terraria.ModLoader.Core.GlobalLoaderUtils`2.SetDefaults(TEntity entity, TGlobal[]& entityGlobals, Action`1 setModEntityDefaults) in tModLoader\Terraria\ModLoader\Core\GlobalLoaderUtils.cs:line 29
at Terraria.ModLoader.ModProjectile.SetupContent() in tModLoader\Terraria\ModLoader\ModProjectile.cs:line 70
at Terraria.ModLoader.Core.LoaderUtils.ForEachAndAggregateExceptions[T](IEnumerable`1 enumerable, Action`1 action) in tModLoader\Terraria\ModLoader\Core\LoaderUtils.cs:line 129<---

---> (Inner Exception #2) System.NullReferenceException: Object reference not set to an instance of an object.
at CalamityOverhaul.Content.RangedModify.Core.BaseFeederGun.get_KreloadMaxTime() in CalamityOverhaul\Content\RangedModify\Core\BaseFeederGun.cs:line 81
at CalamityOverhaul.Content.Projectiles.Weapons.Ranged.HeldProjs.Vanilla.OnyxBlasterHeldProj.SetRangedProperty() in CalamityOverhaul\Content\Projectiles\Weapons\Ranged\HeldProjs\Vanilla\OnyxBlasterHeldProj.cs:line 28
at CalamityOverhaul.Content.RangedModify.Core.BaseHeldRanged.SetDefaults() in CalamityOverhaul\Content\RangedModify\Core\BaseHeldRanged.cs:line 295
at Terraria.ModLoader.Core.GlobalLoaderUtils`2.SetDefaultsBeforeLookupsAreBuilt(TEntity entity, TGlobal[] entityGlobals, Action`1 setModEntityDefaults, InstantiationTime[]& instTimes) in tModLoader\Terraria\ModLoader\Core\GlobalLoaderUtils.cs:line 84
at Terraria.ModLoader.Core.GlobalLoaderUtils`2.SetDefaultsBeforeLookupsAreBuilt(TEntity entity, TGlobal[] entityGlobals, Action`1 setModEntityDefaults) in tModLoader\Terraria\ModLoader\Core\GlobalLoaderUtils.cs:line 63
at Terraria.ModLoader.Core.GlobalLoaderUtils`2.SetDefaults(TEntity entity, TGlobal[]& entityGlobals, Action`1 setModEntityDefaults) in tModLoader\Terraria\ModLoader\Core\GlobalLoaderUtils.cs:line 29
at Terraria.ModLoader.ModProjectile.SetupContent() in tModLoader\Terraria\ModLoader\ModProjectile.cs:line 70
at Terraria.ModLoader.Core.LoaderUtils.ForEachAndAggregateExceptions[T](IEnumerable`1 enumerable, Action`1 action) in tModLoader\Terraria\ModLoader\Core\LoaderUtils.cs:line 129<---

---> (Inner Exception #3) System.NullReferenceException: Object reference not set to an instance of an object.
at CalamityOverhaul.Content.RangedModify.Core.BaseFeederGun.get_KreloadMaxTime() in CalamityOverhaul\Content\RangedModify\Core\BaseFeederGun.cs:line 81
at CalamityOverhaul.Content.Projectiles.Weapons.Ranged.HeldProjs.Vanilla.QuadBarrelShotgunHeldProj.SetRangedProperty() in CalamityOverhaul\Content\Projectiles\Weapons\Ranged\HeldProjs\Vanilla\QuadBarrelShotgunHeldProj.cs:line 34
at CalamityOverhaul.Content.RangedModify.Core.BaseHeldRanged.SetDefaults() in CalamityOverhaul\Content\RangedModify\Core\BaseHeldRanged.cs:line 295
at Terraria.ModLoader.Core.GlobalLoaderUtils`2.SetDefaultsBeforeLookupsAreBuilt(TEntity entity, TGlobal[] entityGlobals, Action`1 setModEntityDefaults, InstantiationTime[]& instTimes) in tModLoader\Terraria\ModLoader\Core\GlobalLoaderUtils.cs:line 84
at Terraria.ModLoader.Core.GlobalLoaderUtils`2.SetDefaultsBeforeLookupsAreBuilt(TEntity entity, TGlobal[] entityGlobals, Action`1 setModEntityDefaults) in tModLoader\Terraria\ModLoader\Core\GlobalLoaderUtils.cs:line 63
at Terraria.ModLoader.Core.GlobalLoaderUtils`2.SetDefaults(TEntity entity, TGlobal[]& entityGlobals, Action`1 setModEntityDefaults) in tModLoader\Terraria\ModLoader\Core\GlobalLoaderUtils.cs:line 29
at Terraria.ModLoader.ModProjectile.SetupContent() in tModLoader\Terraria\ModLoader\ModProjectile.cs:line 70
at Terraria.ModLoader.Core.LoaderUtils.ForEachAndAggregateExceptions[T](IEnumerable`1 enumerable, Action`1 action) in tModLoader\Terraria\ModLoader\Core\LoaderUtils.cs:line 129<---

---> (Inner Exception #4) System.NullReferenceException: Object reference not set to an instance of an object.
at CalamityOverhaul.Content.RangedModify.Core.BaseFeederGun.get_KreloadMaxTime() in CalamityOverhaul\Content\RangedModify\Core\BaseFeederGun.cs:line 81
at CalamityOverhaul.Content.Projectiles.Weapons.Ranged.HeldProjs.Vanilla.TacticalShotgunHeldProj.SetRangedProperty() in CalamityOverhaul\Content\Projectiles\Weapons\Ranged\HeldProjs\Vanilla\TacticalShotgunHeldProj.cs:line 31
at CalamityOverhaul.Content.RangedModify.Core.BaseHeldRanged.SetDefaults() in CalamityOverhaul\Content\RangedModify\Core\BaseHeldRanged.cs:line 295
at Terraria.ModLoader.Core.GlobalLoaderUtils`2.SetDefaultsBeforeLookupsAreBuilt(TEntity entity, TGlobal[] entityGlobals, Action`1 setModEntityDefaults, InstantiationTime[]& instTimes) in tModLoader\Terraria\ModLoader\Core\GlobalLoaderUtils.cs:line 84
at Terraria.ModLoader.Core.GlobalLoaderUtils`2.SetDefaultsBeforeLookupsAreBuilt(TEntity entity, TGlobal[] entityGlobals, Action`1 setModEntityDefaults) in tModLoader\Terraria\ModLoader\Core\GlobalLoaderUtils.cs:line 63
at Terraria.ModLoader.Core.GlobalLoaderUtils`2.SetDefaults(TEntity entity, TGlobal[]& entityGlobals, Action`1 setModEntityDefaults) in tModLoader\Terraria\ModLoader\Core\GlobalLoaderUtils.cs:line 29
at Terraria.ModLoader.ModProjectile.SetupContent() in tModLoader\Terraria\ModLoader\ModProjectile.cs:line 70
at Terraria.ModLoader.Core.LoaderUtils.ForEachAndAggregateExceptions[T](IEnumerable`1 enumerable, Action`1 action) in tModLoader\Terraria\ModLoader\Core\LoaderUtils.cs:line 129<---
< >
Showing 1-9 of 9 comments
I'm having the same problem
Originally posted by Kanye Orochi:
I'm having the same problem

I fixed IT, go to : C:\Users\ "Computer Name" \OneDrive\Documents\My Games\Terraria\tModLoader\ModConfigs then delete the Overhaul configs you will need to config the mod after but it works.
Nova 9 Mar @ 1:23pm 
Okay will try
Nova 9 Mar @ 1:29pm 
Thank you so much
HoCha113  [developer] 9 Mar @ 1:39pm 
I'm glad to see that your issue has been resolved. Yes, this is likely not a problem with the mod's own code. I believe the conflict was caused by some reason related to the old and new configuration files. I've left a solution for this situation in the comments. Although someone has already provided you with the same method, I'll copy it here for you again:

Just a friendly reminder: If you encounter a loading error after updating the mod, please try deleting the configuration files related to COMod in the config folder. Old configuration files may cause errors when the mod loads its related settings. Most players should be able to load the game normally, but if you haven’t encountered this issue yourself, you can also share this solution with friends who have.
The configuration file path is usually located at "My Games\Terraria\tModLoader\ModConfigs".

-----------------------
By the way, I just released a hotfix that modifies the way configuration data is retrieved. I'm not sure if it will help resolve this issue.
Last edited by HoCha113; 9 Mar @ 1:40pm
It turns out that disabling the Magazine System in the config causes the issue, at least for me.
Last edited by mARvOEoUS; 9 Mar @ 5:04pm
Casual 9 Mar @ 5:30pm 
Originally posted by HoCha113:
I'm glad to see that your issue has been resolved. Yes, this is likely not a problem with the mod's own code. I believe the conflict was caused by some reason related to the old and new configuration files. I've left a solution for this situation in the comments. Although someone has already provided you with the same method, I'll copy it here for you again:

Just a friendly reminder: If you encounter a loading error after updating the mod, please try deleting the configuration files related to COMod in the config folder. Old configuration files may cause errors when the mod loads its related settings. Most players should be able to load the game normally, but if you haven’t encountered this issue yourself, you can also share this solution with friends who have.
The configuration file path is usually located at "My Games\Terraria\tModLoader\ModConfigs".

-----------------------
By the way, I just released a hotfix that modifies the way configuration data is retrieved. I'm not sure if it will help resolve this issue.
do i delete the both configs or just the config for myself..?
I see server config and the regular one
Last edited by Casual; 9 Mar @ 5:30pm
Casual 9 Mar @ 5:34pm 
Originally posted by Casual:
Originally posted by HoCha113:
I'm glad to see that your issue has been resolved. Yes, this is likely not a problem with the mod's own code. I believe the conflict was caused by some reason related to the old and new configuration files. I've left a solution for this situation in the comments. Although someone has already provided you with the same method, I'll copy it here for you again:

Just a friendly reminder: If you encounter a loading error after updating the mod, please try deleting the configuration files related to COMod in the config folder. Old configuration files may cause errors when the mod loads its related settings. Most players should be able to load the game normally, but if you haven’t encountered this issue yourself, you can also share this solution with friends who have.
The configuration file path is usually located at "My Games\Terraria\tModLoader\ModConfigs".

-----------------------
By the way, I just released a hotfix that modifies the way configuration data is retrieved. I'm not sure if it will help resolve this issue.
do i delete the both configs or just the config for myself..?
I see server config and the regular one
turns out that worked thank you :)
HoCha113  [developer] 10 Mar @ 3:27am 
This issue has been fixed in version 0.6.0.5.3, so you no longer need to delete the mod configuration files.
< >
Showing 1-9 of 9 comments
Per page: 1530 50