Categories: GuidesValheim

On-Demand “Dedicated server” without dedicated server using a Version Control System ?

So I'm playing Valheim with some friends, and it's a pain because the world is hosted on my computer, so basically in order to progress in our world, I have to be playing.

I've seen some posts about transfering the world over to friends, but that just duplicates the world without synchronicity. Obviously the solution here would be to run a dedicated server.

However this world transfer solution got me thinking. Would it be possible to initialize a SVN repo on all of the friends that are playing in the shared world.

If one of them decides to start the world he would

    svn pull
    svn lock

All the friends join the world. When the gaming session concludes, one would do

    svn push --force (I push force here to minimize size of the repo)
    svn unlock

This keeps the world synchronized in the online repository, so if another player decides to start the server he could pull in the updated world.

This would obviously be part of an application I can help developing.

P.S. I only have experience with git, I chose svn for this example because it is centralized (no stray unsynced copies) and it has a lock function which prevents accidental overwrites.

P.P.S. This can also be implemented using an FTP server obviously.

P.P.P.S This can be further extended to provide "save-games" etc

Gamer

Share
Published by
Gamer

Recent Posts

Ledx have been so hard for me this wipe

Not being able to craft them sucks. Especially when everyone I talk to about it…

1 year ago

My interesting and unfortunate Gwent life

First I'd like to say I absolutely love this game it's quality. Basically I first…

1 year ago

Teacher Tuesday 12/Dec/2023 – ask your questions here!

Welcome to Teacher Tuesday, a thread where anyone can ask any type of question without…

1 year ago

This games balance is confusing

I’m kind of new/returning to gwent I played beta and obviously it’s a lot lot…

1 year ago

Summary of 10 Days of Draws from Chaffee’s Bundles

Level 1 Bag (Free with Atmosphere Level 2) 6 small consumable (First Aid, Repair, Fire…

1 year ago

Why is my crew at 135%?

Here's my crew - T34-85M - for the life of me I cant figure out…

1 year ago