Save game slot on computer network
Hello, I have at my work a server that connected via local network. I need to make there a save file so people that use ue4 package can save and update the save slot. How can I save a game slot on a computer network? or Can I put the packaged game on the network and few people will launch it at the same time? similar to the editor ( I can launch the same project multiple times).
Having multiple people running the same build on a server is a recipe for disaster.
You need to ensure the game you're making is networked and have people connect via listen or dedicated server. Create a server event in an appropiate location (such as the GameMode) which will check if the save slot exists or create one if it doesn't and store the desired information.
Clients can then call that server event from their player controllers and pass in the new information via praramters or setting variables on the GameMode.
You may also want to create an event in the player controller so they receive an update each time the save slot is modified (so everyone is in sync).
This way your save slot will be on which ever machine is classed as the server and remote machines can send data to store it.
answered Mar 20 '19 at 01:32 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here