also the mod causes all buildings to behave like they are connected directly to the ground (I tested it with and without the mod and its noraindamage's fault) I dont know if it makes any difference but i use Bepinex from thunderstore and not nexus.
How do you actually enable this mod? I copied/pasted the "NoRainDamage.dll" app extension into my BepInEx 'plugins' folder. Is there anything else I need to do? The mod isn't working with this setup.
First of all, great mod! Its really usefull. with the ashlands update is giving this error code tho: [Error : Unity Log] MissingMethodException: Method not found: bool .EnvMan.IsWet() Stack trace: (wrapper dynamic-method) WearNTear.DMD<WearNTear::UpdateWear>(WearNTear,single) WearNTearUpdater.Update () (at <67f3c386e04446c49523ecfd5b8921c2>:0)
Can't tell you if this really works, as I don't get the public test patch to run even without mods right now, but I added a simple "disable rain damage" setting to https://www.nexusmods.com/valheim/mods/1846 . Nothing fancy like the config of this mod allows but simply setting all parts to not getting rain damage similar to how stone is configured.
76 comments
this is the error message:
[Error : Unity Log] TargetParameterCountException: Number of parameters specified does not match the expected number.
Stack trace:
System.Reflection.RuntimeMethodInfo.ConvertValues (System.Reflection.Binder binder, System.Object[] args, System.Reflection.ParameterInfo[] pinfo, System.Globalization.CultureInfo culture, System.Reflection.BindingFlags invokeAttr) (at <31687ccd371e4dc6b0c23a1317cf9474>:0)
System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <31687ccd371e4dc6b0c23a1317cf9474>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <31687ccd371e4dc6b0c23a1317cf9474>:0)
NoRainDamage.NoRainDamage.WearNTear_UpdateWear (WearNTear& __instance) (at <dc663a66b26d41a893770949e6a60e94>:0)
(wrapper dynamic-method) WearNTear.DMD<WearNTear::UpdateWear>(WearNTear,single)
WearNTearUpdater.UpdateWearNTear (System.Single deltaTime, System.Single time) (at <5579028e4201454c9f99f4451089fa68>:0)
WearNTearUpdater.Update () (at <5579028e4201454c9f99f4451089fa68>:0)
with the ashlands update is giving this error code tho:
[Error : Unity Log] MissingMethodException: Method not found: bool .EnvMan.IsWet()
Stack trace:
(wrapper dynamic-method) WearNTear.DMD<WearNTear::UpdateWear>(WearNTear,single)
WearNTearUpdater.Update () (at <67f3c386e04446c49523ecfd5b8921c2>:0)
(very late) edit: It does indeed work