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"

Login System

trying to find a way to create a login system or use steams login api,

i want to use this for my game so i can have users login retrieve their stats ect.

if anyone knows how best to do this please let me know thanks.

Product Version: Not Selected
Tags:
more ▼

asked Apr 10 '15 at 09:28 AM in Blueprint Scripting

avatar image

RosieCode95
6 1 2 3

avatar image Duncan Dam Apr 10 '15 at 10:34 AM

If you use steam network subsytem, when open the game it will check your steamid, if you don't own the game it will close the game right away. So if you want login with password or stuff you need make a database for that.

avatar image ryanjon2040 Apr 10 '15 at 10:53 AM

Since this is game specific i recommend asking this on Unreal Engine Forums.

avatar image RosieCode95 Apr 10 '15 at 11:01 AM

thank you all for the answers, i will relocate to the correct forum. thanks again

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

1 answer: sort voted first

Hey there,

first of all: We have no tutorial or something like that exactly for UE4.

Why? Because this is nothing UE4 related. You are posting this into the BP section, so i guess you are not able to use C++? There are plugins to send JSONs to a php script. I guess they could be used for the beginning, but without C++ knowledge you won't be able to extend the system.

A login system is mostly a Database. Let's say you have a MySQL Database with a unique ID for every useraccount. So you would also need a database with all the data about the player (it must all be stored away from the players, so that they can't change it). If you let a player login, you need to create tokens, so that you can always say "yes, you are the one who logged in". This is a very big thing in terms of security.

It can be done in a few seconds, but every good programmer will break it in half the time.

If you have the knowledge to create these things and make the secure enough, then you would still need a way to load the attributes into the game. This is a lot work and i would say this is not possible with BP only and the JSON plugin.

If this is your first project, i recommened you from stepping back from creating your own login system for now.

You can use Steam for the beginning. This will at least give you unique accounts. Maybe you can merge this with an external database for the stats.

I can't give you much help here, since i stopped creating such a system since it would take me too much time.

Maybe you can have a look into the forums and ask for help there. This is more kind of a discussion and the HUB is not suited for this.

more ▼

answered Apr 10 '15 at 10:54 AM

avatar image

eXi
6.9k 333 186 472

(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