Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue] Patch 0.209.9 may have broken the mod #45

Closed
ghost opened this issue Jun 20, 2022 · 8 comments
Closed

[Issue] Patch 0.209.9 may have broken the mod #45

ghost opened this issue Jun 20, 2022 · 8 comments

Comments

@ghost
Copy link

ghost commented Jun 20, 2022

Hey @Mydayyy . Not even sure if you're maintaining this anymore.

But the valheim devs have moved their new "worlds" location to a new folder, "worlds_local".

Therefore the ServerSideMap can't access the .explored file(s) anymore. Atleast that what to log says. I just did a reinstall of the entire server, so I don't have the log snippet anymore sorry. But it said something along the lines of "can't access .explored files, permission denied".

It would be awesome if you could update the mod 👍

@Mydayyy
Copy link
Owner

Mydayyy commented Jun 22, 2022

Greetings,

Thank you for the heads up, I will look into it!

Best Regards
Mydayyy

@Mydayyy
Copy link
Owner

Mydayyy commented Jun 22, 2022

Greetings,

I apologize for the late response, I was not monitoring my emails yesterday.

I looked into it and seem to have it fixed. Valheim changed around their handling of save files, as you already mentioned. Not only that, they also refactored a bit of code and some variables I relied upon were not available anymore, leading to the filepath being wrong.

I modified it to work with the new variable/functions they provide and attached a debug build here. If you have time I'd appreciate if you could try it out and report back. It is working again on my test server.

Please:

  1. Backup your .explored file just in case to a secure location
  2. Make sure your .explored file is in the same folder as the world file. They moved the world files with the last patch so you need to manually move the .explored file

ServerSideMap.zip

Thank you!
Mydayyy

@ghost
Copy link
Author

ghost commented Jun 23, 2022

Greetings,

I apologize for the late response, I was not monitoring my emails yesterday.

I looked into it and seem to have it fixed. Valheim changed around their handling of save files, as you already mentioned. Not only that, they also refactored a bit of code and some variables I relied upon were not available anymore, leading to the filepath being wrong.

I modified it to work with the new variable/functions they provide and attached a debug build here. If you have time I'd appreciate if you could try it out and report back. It is working again on my test server.

Please:

1. Backup your .explored file just in case to a secure location

2. Make sure your .explored file is in the same folder as the world file. They moved the world files with the last patch so you need to manually move the .explored file

ServerSideMap.zip

Thank you! Mydayyy

Seems to work fine!
It loads it as it should atleast:

[Info   :ServerSideMap] worldSavePath /home/steam/.config/unity3d/IronGate/Valheim/TestWorld/worlds_local/TestWorld
[Info   :ServerSideMap] loaded from existing explore file

Thanks for looking into it 👍 Appreciate it a lot

@Mydayyy
Copy link
Owner

Mydayyy commented Jun 24, 2022

Thanks for your feedback! I will continue to create a formal release later.

Question (for my release notes): Did you have to manually intervene and move the .explored file? I would assume yes?

Best Regards
Mydayyy

@ghost
Copy link
Author

ghost commented Jun 24, 2022

Thanks for your feedback! I will continue to create a formal release later.

Question (for my release notes): Did you have to manually intervene and move the .explored file? I would assume yes?

Best Regards Mydayyy

Yeah, I think I did it manually. Not sure if it works without doing it. Can't really revert the patch to test it properly sorry.

@ghost ghost closed this as completed Jun 24, 2022
@ghost
Copy link
Author

ghost commented Jun 24, 2022

Would be nice to have the new release on ThunderStore as well :D

@Mydayyy
Copy link
Owner

Mydayyy commented Jun 25, 2022

Will do 🙏

Didnt get around to it yesterday, I am on it now!

@Mydayyy
Copy link
Owner

Mydayyy commented Jun 25, 2022

The update is now uploaded to ThunderStore as well as NexusMods!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant