please tell me how to hide the map in accordance with mod? can someone tell me where is the file that needs to be deleted so that the card is closed again.
The hiding functionality unfortunately broke during the H&H update.
I fixed it now! Update your mod to the latest version and try running using the "toggleFullMap" a couple of times in your console. It was only the loading that was broken, not the saving so it might be able to load your progress from when you posted this, sorry for the late reply!
Hey I get this error code:[Error : Unity Log] cachedPath set to E:\Steam\steamapps\common\Valheim\BepInEx\plugins\..\cache\irene_-760061882_ExploreMapSave.dat is there any way to fix this? Also, the mod couldn't load the previous progress before I toggle the map on is there any method to fix this too?
Hey! Thanks for pointing that out, that's an issue from my part. I accidentally logged some debug info as an error, I'll fix that by the next update! You can definitely ignore it for now. As for the progress loss before you toggled it, that seems like a bug :/ Not sure what would've caused it, sorry about that. Does it work now when you toggle and retoggle after a while?
in the PLUGINS directory you need to create a "cache" directory, I just had the same problem, I'm using Thunderstore Manager E:\Steam\steamapps\common\Valheim\BepInEx\plugins\..\cacheE:\Steam\steamapps\common\Valheim\BepInEx\plugins\..\cache <-----
to the author of the mod, please write a check if the CACHE directory exists, if not, let him create it
Unfortunately I did not read the bug list. I loaded this. Then logged into my dedicated server. It showed the whole map. F6 did not toggle it back. Now I cannot reset the map via console command resetmap as it is a server. Any suggestions to get the map hidden again?
Ah that really sucks to hear, sorry about that! Let's try to get this fixed together. Is it possible for you to load a console or execute console commands from your server? It feels like that should be something that is possible. I will have a look tonight to see if i can find some time to fix the bug, if i manage you should be able to reset through the updated version of the mod.
That's very strange. I just tried it myself and I get a .7z archive file, with the .dll inside.
The only thing I can think of is that you do not have 7zip installed and your pc uses a text program to try and open the .7z file? Try handling the .7z file as you would with any .rar or .zip and see if that works. If you have no idea what I'm talking about then let me know and I'll walk you through it! Let me know if it works out!
Thank you! That would be a really cool feature indeed! I'm planning on focusing on some bugs before I look into this, and it might be quite a bit of work since the current mod piggybacks really well off of existing methods while your suggestion would require a lot more manual labour. Thanks for the suggestion, I'll see what I can do!
31 comments
I fixed it now! Update your mod to the latest version and try running using the "toggleFullMap" a couple of times in your console.
It was only the loading that was broken, not the saving so it might be able to load your progress from when you posted this, sorry for the late reply!
is there any way to fix this?
Also, the mod couldn't load the previous progress before I toggle the map on is there any method to fix this too?
E:\Steam\steamapps\common\Valheim\BepInEx\plugins\..\cacheE:\Steam\steamapps\common\Valheim\BepInEx\plugins\..\cache <-----
to the author of the mod, please write a check if the CACHE directory exists, if not, let him create it
I loaded this. Then logged into my dedicated server.
It showed the whole map. F6 did not toggle it back.
Now I cannot reset the map via console command resetmap as it is a server.
Any suggestions to get the map hidden again?
Is it possible for you to load a console or execute console commands from your server? It feels like that should be something that is possible.
I will have a look tonight to see if i can find some time to fix the bug, if i manage you should be able to reset through the updated version of the mod.
The only thing I can think of is that you do not have 7zip installed and your pc uses a text program to try and open the .7z file? Try handling the .7z file as you would with any .rar or .zip and see if that works. If you have no idea what I'm talking about then let me know and I'll walk you through it! Let me know if it works out!
[Error : Unity Log] DirectoryNotFoundException: Could not find a part of the path "C:\Program Files (x86)\Steam\steamapps\common\Valheim\BepInEx\plugins\cache\vjolnir_3802884812_ExploreMapSave.dat".
Stack trace:
System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
(wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int)
System.IO.File.Create (System.String path, System.Int32 bufferSize) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
System.IO.File.Create (System.String path) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
System.IO.File.WriteAllBytes (System.String path, System.Byte[] bytes) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
ExploreMap.ExploreMap+UpdateMapPatch.Postfix (Minimap __instance) (at <21fbbdf5678f4a3d932cb0c4d22d0930>:0)
(wrapper dynamic-method) Minimap.DMD<Minimap::UpdateMap>(Minimap,Player,single,bool)
Minimap.Update () (at <8c7c34821ea14feca71b1c03f25447d0>:0)
Edit: did you manually delete a .dat file? I can't see any other reason why it wouldn't find the path.