masterserver to client to database for info

Hi, long time reading first time posting and all that jazz.

Setting up a multiplayer game with 4-6 players in a map.

How would you go by it to have a server query a sql database for info? Like login, pass, email states(afk/ingame/free) and rank to track level and stuff of a player?

planning to make it so that one player hosts the session after being peered against other player.

Feel free to correct me as i am quite new at this.

Mossrobes

Hi, welcome to the forum!

It is likely you will want to communicate with the database via a webserver. There is an example server side highscore system available on the Unify wiki that should give you a good starting point.

thanks for the answer Andeeee.

Will twist my brain around this later =)