x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Making an account system

Hello. I was wondering where I should start with making a login system. All I really want is to have people be able to put in a username and password and then the game would open a save file from the server, and the game could then write the save file to the server. Could something like this be done using Google drive or dropbox, by having the game load a file and write to there? (I have no idea I'm just throwing out ideas). I would try to do something like this using cookies (since I want it to be a web game) but I'm afraid people would just cheat so I'd rather have it saved on a server they can't access.

Product Version: UE 4.10
Tags:
more ▼

asked Jan 18 '16 at 01:28 AM in Blueprint Scripting

avatar image

r4rev2
68 14 17 19

avatar image r4rev2 Jan 17 '16 at 11:28 PM

Maybe my goal could be achieved if the player was able to login with Google, Facebook, or Steam?

avatar image Shadowriver Jan 18 '16 at 01:33 AM

What this file would be used for exactly? Keep in mind keeping files on user disk is very insecure, user simply can edit file to do something bad.

Also Steam has online storage

avatar image r4rev2 Jan 18 '16 at 02:10 AM

The file would contain save data and user information such as username and password, and could be accessed by signing in with the correct username and password or something else like Steam, if that's simpler to set up.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

The way Steam works does not require you to do any authentication, you simply communicate thru Steam library and if user is logged it will use that user account.

UE4 has got system called OnlineSubsystem, which is common interface for all online services, including consoles (which support you licance for) and Mobiles + Facebook and Amazon. But i think only Steam on PC supports cloud storage. Some OnlineSubsystem features are supported in Blueprints but i don't think online storage is one of them you would need to use C++. Here docs:

https://docs.unrealengine.com/latest/INT/Programming/Online/index.html https://wiki.unrealengine.com/Steam,_Using_Online_Subsystem

Big problem with Steam is you can only use it (in distribution) if you get your own AppID for your game from Valve and you can only do that by getting greenlighted... or pay them... a lot :p

Alternativly you could use your own solution with HTTP

more ▼

answered Jan 18 '16 at 02:40 AM

avatar image

Shadowriver
37.2k 936 172 1116

avatar image r4rev2 Jan 18 '16 at 10:54 PM

Where would one start with HTTP?

avatar image Shadowriver Jan 21 '16 at 05:12 AM

Sorry for late reponce,

I wrote how to use it here:

https://answers.unrealengine.com/questions/325380/reading-a-file-online.html

HTTP APIs are C++ only, but there 3rd party plugin called VaRest which let you use HTTP+JSON in blueprints

https://github.com/ufna/VaRest

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question