Download

[DEDICATED SERVER] Use Own Database??

Hi so i’m using version 4.13.2 of the engine and i’ve some questions.

When i Play my game through the engine with the ‘dedicative server’ and ‘standalone’ options it kind of begomes buggy

I start with 2 clients and i have them go through a Login Level(Login Widget with requests using VarestPlugin to chek user and pwd) and when i log into one and loads the map, the second one goes to the map too, i think it has something to do with Or replicates or with(my guess) a own authentication used by the dedicative server but i’m so confused i dont know were to start

Here are some images

Here is when i press play
https://s13.postimg.org/47tv061xf/Log1.png

When i Login with the credentials that i use on my own database(using VaRestPlugin Request) and then it returns sucsessfull it puts both players(instead of only the logged in one) on the game/map but not on the same World

https://s13.postimg.org/u4njcs5kz/Log2_Game.png

This is my level Blueprint(I’m kind of confused because i think the level blueprint only runs on the server but…)

https://s13.postimg.org/ew2nw4i83/Log3.png

This is the login Widget(Interface)

https://s13.postimg.org/m0kh55phf/Log4.png

After checking if the usr and pwd input in the textbox is iqual to the values in the database it runs this code

https://s13.postimg.org/tul2qjxab/Log5.png

It checks if there is already an session created ifnot it creates on if yes it joins an created session here is each code
Create
https://s13.postimg.org/bgajmkkzn/Log6_Create.png
Join
https://s13.postimg.org/i80ypf9z7/Log7_Join.png
Search
https://s13.postimg.org/bvltfl6wz/Log8_Search.png

Please bare your mind i’m no newbie but i’m no expert either

Questions:
1.Why does it load both clients?
2.Even if it loads both why not on the same world?
3.How can i maniplulate each unique ID?
4.Can i Use the id’s on my own database and each account’s values ?

PS:I dont use any authentication tokens because this is a game to be build to play with friends (I dont give a … about they trying to reverse engineer the stuff (they won’t) )

Thanks in Advanced