Search my Blog

Saturday, 6 July 2019

How to make a server

Yesterday I had an idea to create an mmo virtual reality game (inspired by Ready Player One). After doing some research, I was able to put together a simple server on a virtualbox.

By using Bitnami's wamp, I was able to install apache 2, mysql and phpmyadmin on a windows 10 install (education edition) and set up a database that holds all the player data such as username, password, email, friends, levels, xp needed until next level up etc... I then wrote the nessesary php code so that I can later get unreal engine to talk to the database. I prepared some php code to do things like handle sign-ups, logins and to access most of the database like adding friends, getting friends etc... Hopefully I can get it to a stage where that it could be implemented in to a test game, and if that goes smoothly, I will put it in to Project Ignite. (Imagining a cyberpunk city in vr like grand theft auto where everything is interactable)

Another feature I added was to use an authentication key, so instead of sending the password to the server every time you wish to do something, I made it so that you send your username and password to the server once and you will get a authentication key which you will use instead and every time you ask to login it will give you a completely different key every time.


No comments:

Post a Comment