# MMO Starter Kit

**URL:** <https://forums.unrealengine.com/t/mmo-starter-kit/16268>\
**Category:** World Creation\
**Tags:** Open-World, unreal-engine\
**Created:** [December 1, 2014, 4:38pm UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268 "2014-12-01T16:38:48Z")\
**Posts on this page:** 20\
**Page:** 16

<div class="post-metadata">

**Author:** ![anonymous\_user\_28f4d744](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_28f4d744](https://forums.unrealengine.com/u/anonymous_user_28f4d744)\
**Post date:** [April 10, 2015, 2:50pm UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/312 "2015-04-10T14:50:44Z")

</div>

, thanks for the quick response. You have done a great job on this kit.

---

<div class="post-metadata">

**Author:** ![Lokmarillion](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lokmarillion](https://forums.unrealengine.com/u/Lokmarillion)\
**Post date:** [April 10, 2015, 4:20pm UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/313 "2015-04-10T16:20:46Z")

</div>

Hey guys! just started prodding around and remembered some people asked if this can be used for a first person MMO style game.  
oh, its easy…

Open your GuyModularPC, drag Camera onto Mesh (so it attaches)  
open viewport (still in GuyModularPC)  
click Camera in component section  
in details panel, Sockes, attach Camera to the head socket. (click the list to choose from several points)  
in camera settings (still detail panel) check Use Pawn Control Rotation  
now, in the components tab, click GuyModularPC(self) (should be the one on top)  
in the details panel check  
Use Controller Rotation Yaw.

first person!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_28f4d744](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_28f4d744](https://forums.unrealengine.com/u/anonymous_user_28f4d744)\
**Post date:** [April 10, 2015, 4:34pm UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/314 "2015-04-10T16:34:50Z")

</div>

One quick question, if someone decides to purchase this kit then ends up modifying it, tweaking, essentially overhauling and making it their own, how does that work when you go to sell your game? Is there any sort of copyright issues when working with something like this?

---

<div class="post-metadata">

**Author:** ![Lokmarillion](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lokmarillion](https://forums.unrealengine.com/u/Lokmarillion)\
**Post date:** [April 10, 2015, 5:37pm UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/315 "2015-04-10T17:37:01Z")

</div>

> [@dbxi;268983](#):
>
> One quick question, if someone decides to purchase this kit then ends up modifying it, tweaking, essentially overhauling and making it their own, how does that work when you go to sell your game? Is there any sort of copyright issues when working with something like this?

in this case, you are paying for the work of setting up the blueprints instead of doing it yourself. copyright is of no matter regarding this kit. 😉

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_28f4d744](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_28f4d744](https://forums.unrealengine.com/u/anonymous_user_28f4d744)\
**Post date:** [April 10, 2015, 5:43pm UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/316 "2015-04-10T17:43:23Z")

</div>

> [@Lokmarillion;269048](#):
>
> in this case, you are paying for the work of setting up the blueprints instead of doing it yourself. copyright is of no matter regarding this kit. 😉

Ahh…gotcha

---

<div class="post-metadata">

**Author:** ![captain\_obvious](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@captain\_obvious](https://forums.unrealengine.com/u/captain_obvious)\
**Post date:** [April 10, 2015, 5:48pm UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/317 "2015-04-10T17:48:32Z")

</div>

No license, no CCU, so no restrictions whatsoever. You own what you buy and you can do with it whatever you want. If you release a game with this code it would be polite to give some credits though 🙂

---

<div class="post-metadata">

**Author:** ![MrMrC](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MrMrC](https://forums.unrealengine.com/u/MrMrC)\
**Post date:** [April 11, 2015, 6:37pm UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/318 "2015-04-11T18:37:00Z")

</div>

Guys or Spartan,

Purchased the package today, and really good stuff. However struggling with getting it running fully. Once I try to register a new character it seems like only the user table gets updated (correctly). Character table remains empty.

Thoughts?

C

---

<div class="post-metadata">

**Author:** ![Tarly](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tarly](https://forums.unrealengine.com/u/Tarly)\
**Post date:** [April 11, 2015, 8:14pm UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/319 "2015-04-11T20:14:58Z")

</div>

Sorry Buddy… I don’t… IO know so little about what I am doing it is not funny…

---

<div class="post-metadata">

**Author:** ![Lokmarillion](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lokmarillion](https://forums.unrealengine.com/u/Lokmarillion)\
**Post date:** [April 12, 2015, 12:06am UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/320 "2015-04-12T00:06:40Z")

</div>

> [@Tarly;269808](#):
>
> Sorry Buddy… I don’t… IO know so little about what I am doing it is not funny…

hah, i feel you! never had my hand at a webserver before, this xampp stuff is something else 😛

---

<div class="post-metadata">

**Author:** ![Tarly](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tarly](https://forums.unrealengine.com/u/Tarly)\
**Post date:** [April 12, 2015, 4:14am UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/321 "2015-04-12T04:14:34Z")

</div>

Lok… sent ya a PM

---

<div class="post-metadata">

**Author:** ![CodeSpartan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/codespartan/32/1194561_2.png) [@CodeSpartan](https://forums.unrealengine.com/u/CodeSpartan)\
**Post date:** [April 12, 2015, 7:50am UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/322 "2015-04-12T07:50:56Z")

</div>

> [@MrMrC;269747](#):
>
> Guys or Spartan,
> 
> Purchased the package today, and really good stuff. However struggling with getting it running fully. Once I try to register a new character it seems like only the user table gets updated (correctly). Character table remains empty.
> 
> Thoughts?
> 
> C

your last name starts with W in Skype right? 🙂 answered you there

---

<div class="post-metadata">

**Author:** ![Lokmarillion](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lokmarillion](https://forums.unrealengine.com/u/Lokmarillion)\
**Post date:** [April 12, 2015, 12:45pm UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/323 "2015-04-12T12:45:14Z")

</div>

[http://localhost/xampp/mmologin.php](http://localhost/xampp/mmologin.php)

if i go to this adress now the message is:

> [@](#):
>
> Warning: mysqli::mysqli(): (HY000/1045): Access denied for user ‘your username’@‘localhost’ (using password: YES) in C:\xampp\htdocs\xampp\mmologin\mmoconnection.php on line 9  
> {“status”:“Connection failed: Access denied for user ‘your username’@‘localhost’ (using password: YES)”}

am i at least on the right track here? in xampp control panel, apace,mysql and filezilla is green 😛

i’m looking in the mmologin.php document. but in line 9 in notepad++, i cannot parse what to change. my relevancy with web before has been some simple html editing\markup usage 😛 sorry!

---

<div class="post-metadata">

**Author:** ![captain\_obvious](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@captain\_obvious](https://forums.unrealengine.com/u/captain_obvious)\
**Post date:** [April 12, 2015, 12:52pm UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/324 "2015-04-12T12:52:11Z")

</div>

> [@Lokmarillion;270100](#):
>
> [http://localhost/xampp/mmologin/mmologin.php](http://localhost/xampp/mmologin/mmologin.php)
> 
> if i go to this adress now the message is:
> 
> am i at least on the right track here? in xampp control panel, apace,mysql and filezilla is green 😛

Did you create a new user for your database when you created the database ? And did you change ‘your username’ and ‘your password’ in the mmoconnection.php script to the user and password you used to create the database ?

> [@](#):
>
> i’m looking in the mmologin.php document. but in line 9 in notepad++, i cannot parse what to change. my relevancy with web before has been some simple html editing\markup usage 😛 sorry!

You only need to edit the mmoconnection.php, this is called from the other scripts to authenticate and connect to the db.

---

<div class="post-metadata">

**Author:** ![Lokmarillion](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lokmarillion](https://forums.unrealengine.com/u/Lokmarillion)\
**Post date:** [April 12, 2015, 2:37pm UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/325 "2015-04-12T14:37:53Z")

</div>

alright, so i added root as username, since i havent made a username in my setup as far as i can remember? :S also set the root password.  
set the dbname to mmo \<–correct?

what it gives me now is:

> [@](#):
>
> Notice: Trying to get property of non-object in C:\xampp\htdocs\xampp\mmologin.php on line 8
> 
> Notice: Trying to get property of non-object in C:\xampp\htdocs\xampp\mmologin.php on line 9
> 
> Notice: Undefined variable: stmt in C:\xampp\htdocs\xampp\mmologin.php on line 12
> 
> Fatal error: Call to a member function bind\_param() on null in C:\xampp\htdocs\xampp\mmologin.php on line 12

 ![error.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/1/6/16f07ad7fc9e0a75e49c714945fde8a8eb8d11c9.png)

I’m loving your name btw, and ensure myself that every answer i get should really be obvious! hehehe.

---

<div class="post-metadata">

**Author:** ![SaviorNT](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SaviorNT](https://forums.unrealengine.com/u/SaviorNT)\
**Post date:** [April 12, 2015, 3:51pm UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/326 "2015-04-12T15:51:23Z")

</div>

It seems that you’re fairly new to database / php… so a word of advice… pick this book up: [http://www.amazon.com/PHP-MySQL-For-Dummies-Edition/dp/0470527587](http://www.amazon.com/PHP-MySQL-For-Dummies-Edition/dp/0470527587)

I have one a few editions earlier, and I still reference it from time to time.

---

<div class="post-metadata">

**Author:** ![captain\_obvious](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@captain\_obvious](https://forums.unrealengine.com/u/captain_obvious)\
**Post date:** [April 12, 2015, 8:13pm UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/327 "2015-04-12T20:13:47Z")

</div>

Nothing is obvious in the beginning, it becomes obvious once you know it 🙂

Ok, first let’s add a user for your db. This is something you should get used to doing, it’s easier to learn than to unlearn bad habits.  
Just go to your database in phpadmin like the screen and go to the [Privileges] tab on top. There you can add a new user for this database and for the ease of it just give this user all privileges for this database. If in a later stage you decide to work with someone else on this project you can add a new user like this and just give him / her the privileges he / she needs.

From the looks of it, you’ve already set up the db correctly so that’s ok now.

Next, let’s start again with adding the scripts.

Go to your htdocs folder ( C:\xampp\htdocs ) and create a new folder ( like MMO, this is what i’ll use as an example from now on ) and copy the php scripts to this location. Your scripts should now be in C:\xampp\htdocs\MMO.  
Edit the mmoconnection.php

$servername = ‘your ip’;  
$username = ‘the username you created in phpmyadmin’;  
$password = ‘the password you created in phpmyadmin’;  
$dbname = ‘the database name’;

and save it.

Now in your browser go to - [http://localhost/MMO/mmologin.php](http://localhost/MMO/mmologin.php) and one of the lines you get should read {“status”:“Login information is incorrect. Check your username and password.”}.This is good and your done with the db/php part.

Now start up the project in Unreal Editor ( i presume you already built it from source ) and edit the JSONRequests blueprint. Open Content / Maps / Start, Go to blueprints - open blueprints class - JSONRequests and change hostname to [http://localhost/MMO/](http://localhost/MMO/) , don’t forget the slash at the end.

Press play and register a new account, if all is correct, this should work now and you can check the users database in phpmyadmin and your created user should be added.

If by any chance you can login but it won’t proceed to the character creation after succesfull login go to C:\xampp\php\ and open php.ini  
Search for display\_errors=On and change it to display\_errors=Off, save and restart your server. It should work now.

Good luck 🙂

---

<div class="post-metadata">

**Author:** ![Lokmarillion](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lokmarillion](https://forums.unrealengine.com/u/Lokmarillion)\
**Post date:** [April 19, 2015, 1:44pm UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/328 "2015-04-19T13:44:46Z")

</div>

easter came and went, and work caught up with me so abscense from the forums was needed ☹ captain obvious! THANKS! between work and other irl stuff it’s hard to gather even WHERE to find the information one needs. i thank you so much. i was planning to wait until UE 4.8 was released (since the kit maybe gets updated then)  
but it i’m getting the itch… going to get cracking on getting the server up tomorrow 😃

---

<div class="post-metadata">

**Author:** ![Tarly](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tarly](https://forums.unrealengine.com/u/Tarly)\
**Post date:** [April 21, 2015, 4:26am UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/329 "2015-04-21T04:26:53Z")

</div>

Hey Lok…

How is it going?  
Did you get the server up ?

---

<div class="post-metadata">

**Author:** ![tomofnz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tomofnz](https://forums.unrealengine.com/u/tomofnz)\
**Post date:** [April 21, 2015, 10:21am UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/330 "2015-04-21T10:21:17Z")

</div>

I went through the draggable window tutorial, which seemed fairly easy to follow. Nice work.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_5c7915eb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5c7915eb](https://forums.unrealengine.com/u/anonymous_user_5c7915eb)\
**Post date:** [April 22, 2015, 9:53pm UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/331 "2015-04-22T21:53:03Z")

</div>

Hello,

is someone try to use a simple crosshair in the center of the screen ?  
i have some problems for doing that.  
when i launch the game, i have make an input fonction for show or hide the mouse cursor but that only works at start.  
But when i do a mouse clic the mouse cursor automatically show the cursor but i don’t when to see it. And the character camera no more follow the mouse movement.

Anyone had the same problem ?

Thx

[Previous page](https://forums.unrealengine.com/t/mmo-starter-kit/16268.md?page=15)

[Next page](https://forums.unrealengine.com/t/mmo-starter-kit/16268.md?page=17)
