2019 Guide To UE4 & SQL Database?
I have read (exhaustively) everything on the forums about plugins and 3rd party providers for multiplayer data storage. Also I have watched just about everything out there on youtube as well. I have come to the conclusion that there is no up to date guide on how to setup communication between client (remote player) and central online database that stores info specific to that player. My goal is to have a player log in and it to load that player's stored health value, level value, and other important info and then save it intermittently to the database while playing.
I started using GameSparks because I thought it was going to be a not-so-painful way to setup authentication and this form of client to server to database communication. I was able to set up authentication easily because they have documentation on how to do that. However, they have almost 0 support to help me get these custom scripts set up and running. I have tried for a few weeks to store a single float to the database and have not been able to accomplish it.
I have also checked out Rama's save plugin. And while this might work if I figure out how to use it, it would only store data on the server machine. So if I had multiple servers the player would have a different account basically for each server, starting over every time. For this reason, I need a more permanent and available database all servers could use.
If anyone has a system that is working for them to save multiplayer data please enlighten me. I would love to chat on discord or any other means of communication. I'd be willing to shell out a good amount of $ to get a knowledgeable person to help me out with this. I have spent 13 months on my game and it works great so far. I have been testing it with my friends and everything is replicated properly, except next time they play none of their progress was stored.
Much love UE4 community,
asked Jan 18 '19 at 10:45 PM in Blueprint Scripting
You will either need to write SQL support in C++ as UE4 don't support any database except of this:
...or get a plugin that does that from marketplace. Considering you ready to throw some money at people for it, 2nd option is considerable option
answered Mar 17 '19 at 11:53 PM
answered Jun 05 '19 at 01:59 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here