tModLoader

tModLoader

Calamity Overhaul
nVa 9. mar. kl. 12:37
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<---
< >
Viser 1-9 af 9 kommentarer
Kanye Orochi 9. mar. kl. 12:59 
I'm having the same problem
Kanye Orochi 9. mar. kl. 13:21 
Oprindeligt skrevet af 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.
nVa 9. mar. kl. 13:23 
Okay will try
nVa 9. mar. kl. 13:29 
Thank you so much
HoCha113  [udvikler] 9. mar. kl. 13:39 
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.
Sidst redigeret af HoCha113; 9. mar. kl. 13:40
Marvoeous 9. mar. kl. 17:04 
It turns out that disabling the Magazine System in the config causes the issue, at least for me.
Sidst redigeret af Marvoeous; 9. mar. kl. 17:04
Casual 9. mar. kl. 17:30 
Oprindeligt skrevet af 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
Sidst redigeret af Casual; 9. mar. kl. 17:30
Casual 9. mar. kl. 17:34 
Oprindeligt skrevet af Casual:
Oprindeligt skrevet af 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  [udvikler] 10. mar. kl. 3:27 
This issue has been fixed in version 0.6.0.5.3, so you no longer need to delete the mod configuration files.
< >
Viser 1-9 af 9 kommentarer
Per side: 1530 50