Hello, I'm brand new to modding in general but I can't seem to figure out how to make this work. I don't see where to activate it anywhere and also when I load the game there's a box that pops up with a bunch of errors: [Message: BepInEx] BepInEx 5.4.22.0 - valheim (1/15/2024 12:40:52 PM) [Info : BepInEx] Running under Unity v2022.3.12.5236448 [Info : BepInEx] CLR runtime version: 4.0.30319.42000 [Info : BepInEx] Supports SRE: True [Info : BepInEx] System platform: Bits64, Windows [Message: BepInEx] Preloader started [Info : BepInEx] Loaded 1 patcher method from [BepInEx.Preloader 5.4.22.0] [Info : BepInEx] Loaded 1 patcher method from [SlimVML.Loader 1.1.0.0] [Info : BepInEx] 2 patcher plugins loaded [Fatal : BepInEx] Could not run preloader! [Fatal : BepInEx] System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\Steamapps\steamapps\common\Valheim\unstripped_corlib'. at System.IO.Enumeration.FileSystemEnumerator`1[TResult].CreateDirectoryHandle (System.String path, System.Boolean ignoreNotFound) [0x0004d] in <834b2ded5dad441e8c7a4287897d63c7>:0 at System.IO.Enumeration.FileSystemEnumerator`1[TResult]..ctor (System.String directory, System.IO.EnumerationOptions options) [0x00050] in <834b2ded5dad441e8c7a4287897d63c7>:0 at System.IO.Enumeration.FileSystemEnumerable`1+DelegateEnumerator[TResult]..ctor (System.IO.Enumeration.FileSystemEnumerable`1[TResult] enumerable) [0x00000] in <834b2ded5dad441e8c7a4287897d63c7>:0 at System.IO.Enumeration.FileSystemEnumerable`1[TResult]..ctor (System.String directory, System.IO.Enumeration.FileSystemEnumerable`1+FindTransform[TResult] transform, System.IO.EnumerationOptions options) [0x00042] in <834b2ded5dad441e8c7a4287897d63c7>:0 at System.IO.Enumeration.FileSystemEnumerableFactory.UserFiles (System.String directory, System.String expression, System.IO.EnumerationOptions options) [0x00014] in <834b2ded5dad441e8c7a4287897d63c7>:0 at System.IO.Directory.InternalEnumeratePaths (System.String path, System.String searchPattern, System.IO.SearchTarget searchTarget, System.IO.EnumerationOptions options) [0x0003c] in <834b2ded5dad441e8c7a4287897d63c7>:0 at System.IO.Directory.GetFiles (System.String path, System.String searchPattern, System.IO.EnumerationOptions enumerationOptions) [0x00000] in <834b2ded5dad441e8c7a4287897d63c7>:0 at System.IO.Directory.GetFiles (System.String path, System.String searchPattern) [0x00007] in <834b2ded5dad441e8c7a4287897d63c7>:0 at BepInEx.Utility.GetUniqueFilesInDirectories (System.Collections.Generic.IEnumerable`1[T] directories, System.String pattern) [0x0001a] in <5e471ddbeb974684bff43bc61f1b58cb>:0 at BepInEx.Preloader.Patching.AssemblyPatcher.PatchAndLoad (System.String[] directories) [0x00011] in <a7e3be82e3634ca29e921a65272c4875>:0 at BepInEx.Preloader.Preloader.Run () [0x00216] in <a7e3be82e3634ca29e921a65272c4875>:0 Setting breakpad minidump AppID = 892970 SteamInternal_SetMinidumpSteamID: Caching Steam ID: 76561198001041916 [API loaded no]
At some point after one of the recent patches, it stopped working properly and you respawn at the last save point (which could be anywhere in the world, even the ocean). I haven't used it since that happened. It doesn't seem to reflect the spawn point/bed you set in the game. There hasn't been any response to that. I'm crossing my fingers that the author returns because I really like some of the toggles we can use (my kids are young and I don't want to make the game too hard on them).
Create a folder called unstripped_corlib in your root Valheim directory to fix this but. However, I just got this working today on one PC, then the hotfix today happened before it was installed on my other PC and it wont work on the second now. The aedenthorn.DeathTweaks.cfg file suddenly wont generate now.
equipmultipleutilityitems.dll is a separate mod, also by Aedenthorn. I tried it just now and it is not working for me. DeathTweaks is working perfectly, though. Thanks, Stollie!
Oh crap, I was also updating that mod and must have accidently zipped it, just delete it, I wasn't finished updating it when I did DeathTweaks haha. I removed it from the Thunderstore upload, thanks for letting me know!
the respawn bug is still there. after the world gets saved you respawn on your last place where the world saved. also do you have a current build version? (not ashlands beta). when i try it in current build theres is a weird visual bug after dying where it creates the exact copy of my character next to the corpse. its not anything gamebreaking tho.
Hello and thx for the mod!! I m sry my english is bad and i m new to modding. I just need people to loose only non teleportable items, and i m using an other mod (skill loss) for the xp cause i want people only loose the completion on the level they have, no more. I don't think death tweak can do that . or does it? So what fonction in the config file should i turn true or false? thank u and HF!
Mod just stopped working for me after having no issue for a year. I lose my quickslot items and I lose my equipped items on death.... I don't know what to do.
135 comments
I'm brand new to modding in general but I can't seem to figure out how to make this work. I don't see where to activate it anywhere and also when I load the game there's a box that pops up with a bunch of errors:
[Message: BepInEx] BepInEx 5.4.22.0 - valheim (1/15/2024 12:40:52 PM)
[Info : BepInEx] Running under Unity v2022.3.12.5236448
[Info : BepInEx] CLR runtime version: 4.0.30319.42000
[Info : BepInEx] Supports SRE: True
[Info : BepInEx] System platform: Bits64, Windows
[Message: BepInEx] Preloader started
[Info : BepInEx] Loaded 1 patcher method from [BepInEx.Preloader 5.4.22.0]
[Info : BepInEx] Loaded 1 patcher method from [SlimVML.Loader 1.1.0.0]
[Info : BepInEx] 2 patcher plugins loaded
[Fatal : BepInEx] Could not run preloader!
[Fatal : BepInEx] System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\Steamapps\steamapps\common\Valheim\unstripped_corlib'.
at System.IO.Enumeration.FileSystemEnumerator`1[TResult].CreateDirectoryHandle (System.String path, System.Boolean ignoreNotFound) [0x0004d] in <834b2ded5dad441e8c7a4287897d63c7>:0
at System.IO.Enumeration.FileSystemEnumerator`1[TResult]..ctor (System.String directory, System.IO.EnumerationOptions options) [0x00050] in <834b2ded5dad441e8c7a4287897d63c7>:0
at System.IO.Enumeration.FileSystemEnumerable`1+DelegateEnumerator[TResult]..ctor (System.IO.Enumeration.FileSystemEnumerable`1[TResult] enumerable) [0x00000] in <834b2ded5dad441e8c7a4287897d63c7>:0
at System.IO.Enumeration.FileSystemEnumerable`1[TResult]..ctor (System.String directory, System.IO.Enumeration.FileSystemEnumerable`1+FindTransform[TResult] transform, System.IO.EnumerationOptions options) [0x00042] in <834b2ded5dad441e8c7a4287897d63c7>:0
at System.IO.Enumeration.FileSystemEnumerableFactory.UserFiles (System.String directory, System.String expression, System.IO.EnumerationOptions options) [0x00014] in <834b2ded5dad441e8c7a4287897d63c7>:0
at System.IO.Directory.InternalEnumeratePaths (System.String path, System.String searchPattern, System.IO.SearchTarget searchTarget, System.IO.EnumerationOptions options) [0x0003c] in <834b2ded5dad441e8c7a4287897d63c7>:0
at System.IO.Directory.GetFiles (System.String path, System.String searchPattern, System.IO.EnumerationOptions enumerationOptions) [0x00000] in <834b2ded5dad441e8c7a4287897d63c7>:0
at System.IO.Directory.GetFiles (System.String path, System.String searchPattern) [0x00007] in <834b2ded5dad441e8c7a4287897d63c7>:0
at BepInEx.Utility.GetUniqueFilesInDirectories (System.Collections.Generic.IEnumerable`1[T] directories, System.String pattern) [0x0001a] in <5e471ddbeb974684bff43bc61f1b58cb>:0
at BepInEx.Preloader.Patching.AssemblyPatcher.PatchAndLoad (System.String[] directories) [0x00011] in <a7e3be82e3634ca29e921a65272c4875>:0
at BepInEx.Preloader.Preloader.Run () [0x00216] in <a7e3be82e3634ca29e921a65272c4875>:0
Setting breakpad minidump AppID = 892970
SteamInternal_SetMinidumpSteamID: Caching Steam ID: 76561198001041916 [API loaded no]
What mean? What do? Many thanks.
Despite aedenthorn not replying to all comments, she did update the mod in October after I posted about the errors.
Thunderstore Link
If you want it taken down @aedenthorn, please let me know.
Edit - 02/05/2024
Just had to update it on Thunderstore, the old RPC used to be "OnDeath" its now "RPC_OnDeath". Hopefully no one ran into as a bug!
I m sry my english is bad and i m new to modding.
I just need people to loose only non teleportable items, and i m using an other mod (skill loss) for the xp cause i want people only loose the completion on the level they have, no more. I don't think death tweak can do that . or does it?
So what fonction in the config file should i turn true or false?
thank u and HF!