# 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:** 8

<div class="post-metadata">

**Author:** ![qdelpeche](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/qdelpeche/32/776509_2.png) [@qdelpeche](https://forums.unrealengine.com/u/qdelpeche)\
**Post date:** [January 13, 2015, 4:22pm UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/148 "2015-01-13T16:22:18Z")

</div>

> [@;205021](#):
>
> Zeiten is right, it’s checked in MainMenu bp.

@ & Zeiten: Doh my bad … sorry about the false alarm. 8-}

---

<div class="post-metadata">

**Author:** ![docjor](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@docjor](https://forums.unrealengine.com/u/docjor)\
**Post date:** [January 14, 2015, 3:10am UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/150 "2015-01-14T03:10:40Z")

</div>

I usually only lurk, but…Hey, . I purchased your kit, and would like to say thanks for putting in all the time to construct it. I look forward to getting some time to build it and see what I can make out of its features! 🙂

I would recommend if you are wondering where you should direct some attention (which I doubt!) I’d say take a look at dungeon level instancing, and a basic party system. Those are two things I have been scratching my head about as I try to plan features. The dungeon level instancing more than anything!

Once again, thanks for the efforts!

---

<div class="post-metadata">

**Author:** ![qdelpeche](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/qdelpeche/32/776509_2.png) [@qdelpeche](https://forums.unrealengine.com/u/qdelpeche)\
**Post date:** [January 14, 2015, 4:45am UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/151 "2015-01-14T04:45:34Z")

</div>

@: In place of cookies can I rather show you my Login Screen?

 ![Soul Wars - Login Error.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/c/8/c81f508eab10a89fa0f509bdcbb41b7ae90f69d6.png)

As for the naysayers … not everyone is using this kit for an MMO project. I am using the Updater, Patch System, and Launcher for all my other projects (none of which are an MMO). I am also using the networked Inventory for another project, and the Chat Server us being used for all the projects.

This kit goes beyond the basic MMO and provides a lot of features that are useable in other projects … even if you just want to see how tackled it.

Anyway … the login screen is a re-styled login screen of the MMOKit from . Took me about 2 hours last night to complete. 8-}

---

<div class="post-metadata">

**Author:** ![CyberDev](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CyberDev](https://forums.unrealengine.com/u/CyberDev)\
**Post date:** [January 14, 2015, 10:42am UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/152 "2015-01-14T10:42:57Z")

</div>

Awesome to see people putting this to use already on their projects! And I agree that everything done so far on this by Spartan is extremely helpful already regardless of what happens in the future, but I’m certainly excited for any and all updates, loved what I saw in that last sneak peek pic! 🙂

I have a general question about blueprints though, what everyone typically says is that blueprints are 10x slower than c++ and for a final game its best to convert it to c++ after all prototyping is done. This is a problem for people more on the 3d art side like me who are not capable of that

Is it really necessary or can you actually make a game with just blueprints (aside from your updater etc.?)

I was thinking about using the shooter game example with this project but the shooter game is c++ so that means I should probably re-create it in blueprints, problem is though if the movement, combat, AI logic, along with your inventory, sql, and everything is all done in blueprints, and theres a few dozen players on a server,  
Is it actually feasible & possible to have good performance with a final game done with blueprints and no c++ ? 10x slower seems like a big number to non-coders like me, or is c++ just so fast that even that much slower is not going to impact performance that much? I mean for the sake of having a playable alpha? And then if a game so happens to do well then one can pay coders to convert it all

---

<div class="post-metadata">

**Author:** ![Shockwave-X769](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/shockwave-x769/32/627017_2.png) [@Shockwave-X769](https://forums.unrealengine.com/u/Shockwave-X769)\
**Post date:** [January 14, 2015, 3:25pm UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/153 "2015-01-14T15:25:15Z")

</div>

> [@qdelpeche;205355](#):
>
> @: In place of cookies can I rather show you my Login Screen?
> 
> ![Soul Wars - Login Error.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/c/8/c81f508eab10a89fa0f509bdcbb41b7ae90f69d6.png)
> 
> As for the naysayers … not everyone is using this kit for an MMO project. I am using the Updater, Patch System, and Launcher for all my other projects (none of which are an MMO). I am also using the networked Inventory for another project, and the Chat Server us being used for all the projects.
> 
> This kit goes beyond the basic MMO and provides a lot of features that are useable in other projects … even if you just want to see how tackled it.
> 
> Anyway … the login screen is a re-styled login screen of the MMOKit from . Took me about 2 hours last night to complete. 8-}

Agree on that statement. This tool has many good uses. Gotta love that login screen :O)

---

<div class="post-metadata">

**Author:** ![KRushin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KRushin](https://forums.unrealengine.com/u/KRushin)\
**Post date:** [January 15, 2015, 12:37am UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/154 "2015-01-15T00:37:41Z")

</div>

Hadn’t had the time to check it out till earlier, is the demo server down?

---

<div class="post-metadata">

**Author:** ![KITATUS](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kitatus/32/983160_2.png) [@KITATUS](https://forums.unrealengine.com/u/KITATUS)\
**Post date:** [January 15, 2015, 1:12am UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/155 "2015-01-15T01:12:23Z")

</div>

Have you thought about cutting up the pack at all and selling a logon screen / launcher so people can pay for what they need (In case they do not want to work on an MMO)?

I understand why it is what it is at the moment, but it’s just an idea. I for one would love a launcher without all this other stuff.

---

<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:** [January 15, 2015, 4:35am UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/156 "2015-01-15T04:35:21Z")

</div>

> [@KRushin;205822](#):
>
> Hadn’t had the time to check it out till earlier, is the demo server down?

Hi, I was doing some maintenance, it is back up now.

> [@](#):
>
> Have you thought about cutting up the pack at all and selling a logon screen / launcher so people can pay for what they need (In case they do not want to work on an MMO)?
> 
> I understand why it is what it is at the moment, but it’s just an idea. I for one would love a launcher without all this other stuff.

Yes I planned to release the launcher/patcher as a separate product originally (that’s why it has separate documentation), but got too busy with the upcoming security and equipment update. I will probably release it after the update. The mmo kit will still have the launcher/patcher in it.

---

<div class="post-metadata">

**Author:** ![qdelpeche](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/qdelpeche/32/776509_2.png) [@qdelpeche](https://forums.unrealengine.com/u/qdelpeche)\
**Post date:** [January 17, 2015, 6:51am UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/157 "2015-01-17T06:51:17Z")

</div>

Just proof that it is fairly easy to customise the code supplied by Code Spartan for you own use.

Modified Chat Server (I use a chat server per channel - Global, Trade) and one for the Lobby. There will also be a dynamic spawned Chat Server for each party … currently I am moving all the chat server code across to a multi-threaded Java system … but this is the C# for the initial POC release. I have also modified it to do full logging using Log4Net.

![ChatServer.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/9/4/941db2a4f6ec44faf7c3ce7f19413db707398e87.png)

This is the modified launcher … the base font needs to still be changed and I have tweaked a few things since this screen shot … but it works. 8-}

 ![Soul Wars - Auto Patcher (English).png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/6/2/6205616149cd01019db5e27d10146d6eefc308c7.png)

I am not going to hijack this thread any further … just wanted to show you all how easy it is to modify this system for your own purposes … good luck with your projects.

---

<div class="post-metadata">

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

</div>

First, Thanks for making this toolkit!

I’ve got a problem when I want to login and register;  
I get the message that I’ve registered and logged in, but he next screen won’t load…

I use version 4.6 of unreal engine.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e0843907](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e0843907](https://forums.unrealengine.com/u/anonymous_user_e0843907)\
**Post date:** [January 19, 2015, 4:33am UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/159 "2015-01-19T04:33:01Z")

</div>

Careful with the launcher. I dont know if you fixed this issue but in your original test download, the launcher had unsecured FTP information in one of the files. Simply opening the file in text editor exposed everything needed to log into your FTP account.

This was a very early version of the launcher so it may be fixed by now. If not, why does the launcher need ftp info anyways? It should just be able to download the files off the server. I dont see a practical purpose in allowing the launcher to upload files.

---

<div class="post-metadata">

**Author:** ![qdelpeche](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/qdelpeche/32/776509_2.png) [@qdelpeche](https://forums.unrealengine.com/u/qdelpeche)\
**Post date:** [January 19, 2015, 4:44am UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/160 "2015-01-19T04:44:35Z")

</div>

@: I use a read FTP account and my username and password is encrypted. I agree that the launcher doesn’t need write access to the server.

---

<div class="post-metadata">

**Author:** ![Zydronium](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zydronium](https://forums.unrealengine.com/u/Zydronium)\
**Post date:** [January 19, 2015, 7:37am UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/161 "2015-01-19T07:37:00Z")

</div>

Why use FTP anyway? Why not HTTP?

I don’t have FTP 😛 (I use SSH to upload)

---

<div class="post-metadata">

**Author:** ![KRushin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KRushin](https://forums.unrealengine.com/u/KRushin)\
**Post date:** [January 19, 2015, 7:43am UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/162 "2015-01-19T07:43:38Z")

</div>

> [@Zydronium;207656](#):
>
> First, Thanks for making this toolkit!
> 
> I’ve got a problem when I want to login and register;  
> I get the message that I’ve registered and logged in, but he next screen won’t load…
> 
> I use version 4.6 of unreal engine.

For those who may be having problems getting to character list / be able to create a new character and have it go back to character list. Make sure MySQL stuff is correct (should say Logged In!) But if still not transitioning correctly please read below.

In current version there are couples problems that can be fixed one of two ways:

Easy way:  
Change your PHP settings to turn off display errors  
Reason: For some reason if php encounters an error, it will break, and not send any json data  
[http://php.net/manual/en/errorfunc.configuration.php](http://php.net/manual/en/errorfunc.configuration.php)

Fixing 3 small bugs

- Fix the problem problem that rosella brought up at the bottom of the post with declaring multiple json headers.  
Remove them from the bottom of the bottom of each file.  
[MMO Starter Kit - World Creation - Epic Developer Community Forums](https://forums.unrealengine.com/showthread.php?53208-MMO-Starter-Kit&p=204617&viewfull=1#post204617)

- In mmogetcharacters.php

```php
$chars = $conn->query($sql);

//if ($chars->num_rows == 0) echo json_encode(array('status'=>'NOCHARACTERS'));
//else {

//echo json_encode(array('status'=>'HASCHARACTERS'));

while ($char = $chars->fetch_assoc()) 
{
	//add to array of characters:	
	$chararray] = array('id' => $char'id'], 'name'=>$char'name'], 'class'=>$char'class'], 'gender'=>$char'gender'], 'level'=>$char'level']);
}

echo json_encode(array('status'=>'OK', 'characters'=>$chararray));

```

TO

```php
			$chars = $conn->query($sql);

			// If no rows then they have no Characters
			if ($chars->num_rows == 0) echo json_encode(array('status'=>'OK', 'characters'=> null));/// No rows so no Characters
			// They have some amount of characters so lets return each of them
			else {
				while ($char = $chars->fetch_assoc()) 
				{
					//add to array of characters:	
					$chararray] = array('id' => $char'id'], 'name'=>$char'name'], 'class'=>$char'class'], 'gender'=>$char'gender'], 'level'=>$char'level']);
				}

				echo json_encode(array('status'=>'OK', 'characters'=>$chararray));
			}

```

- In mmocreatecharacters.php  
Note: until gender is implemented in character creation we will hardcode it to 0

```php
$gender = $mydata ->gender;

```

to

```php
$gender = 0;

```

After that, hopefully it won’t depend on how your php is set up. 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b61920e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b61920e](https://forums.unrealengine.com/u/anonymous_user_2b61920e)\
**Post date:** [January 19, 2015, 8:42am UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/163 "2015-01-19T08:42:46Z")

</div>

Hi, I’ve purchase this on Sellfy, but I can’t find the Sword girl asset and the Character Mesh Switching Example for Blueprint.  
This means :  
The demo is no sword girl asset.  
I don’t see the example BP for changing player’s mesh.  
Best regards.

---

<div class="post-metadata">

**Author:** ![Zydronium](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zydronium](https://forums.unrealengine.com/u/Zydronium)\
**Post date:** [January 19, 2015, 11:05am UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/165 "2015-01-19T11:05:52Z")

</div>

@KRushin: I have disabled the errors (display\_errors), which I don’t realy like, but now I get the character listing.

When I want to enter the world (I’ve set the character id to 0)

I get an error with the following stacktrace:  
MachineId:3872D2104706DFB0C1C82CA3122A1643  
EpicAccountId:5e61e6f9407648c8a1eccd367bb82b08

Unknown exception - code 00000001 (first/second chance not available)

Fatal error: [File:D:\BuildFarm\buildmachine\_++depot+UE4-Releases+4.6\Engine\Source\Editor\UnrealEd\Private\Editor.cpp] [Line: 6896]  
World //Game//Maps//UEDPIE\_2\_Start.Start not cleaned up by garbage collection!  
(Object is not currently rooted

KERNELBASE + 35740 bytes  
UE4Editor\_Core + 3092349 bytes  
UE4Editor\_Core + 1597391 bytes  
UE4Editor\_UnrealEd + 1817658 bytes  
UE4Editor\_Engine + 9510791 bytes  
UE4Editor\_Engine + 9613816 bytes  
UE4Editor\_UnrealEd + 1802106 bytes  
UE4Editor\_UnrealEd + 6686342 bytes  
UE4Editor!FEngineLoop::Tick() + 3876 bytes [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\launchengineloop.cpp:2214]  
UE4Editor!GuardedMain() + 479 bytes [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\launch.cpp:131]  
UE4Editor!GuardedMainWrapper() + 26 bytes [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]  
UE4Editor!WinMain() + 249 bytes [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\windows\launchwindows.cpp:202]  
UE4Editor!\_\_tmainCRTStartup() + 329 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]

---

<div class="post-metadata">

**Author:** ![KRushin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KRushin](https://forums.unrealengine.com/u/KRushin)\
**Post date:** [January 19, 2015, 5:15pm UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/166 "2015-01-19T17:15:56Z")

</div>

> [@Zydronium;207861](#):
>
> @KRushin: I have disabled the errors (display\_errors), which I don’t realy like, but now I get the character listing.  
> When I want to enter the world (I’ve set the character id to 0)

you don’t have to disable errors if you make the fixes i listed in the previous post (how i’m running it).

Are you trying to play in the main world/level you want to play (desert rally)?  
Check the FAQ, if you have done any changed spartan addressed some problems with that error

---

<div class="post-metadata">

**Author:** ![Zydronium](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zydronium](https://forums.unrealengine.com/u/Zydronium)\
**Post date:** [January 19, 2015, 5:28pm UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/167 "2015-01-19T17:28:25Z")

</div>

Ok I’ll check that out 🙂

Well I did a quick “fix”. First I want to see it working and then building it out.  
Besides I want to swap out PHP and replace is with C# [ASP.NET](http://ASP.NET), like my other systems.

I have some PHP sites running though, but prefer .NET 🙂

---

<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:** [January 19, 2015, 11:52pm UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/168 "2015-01-19T23:52:05Z")

</div>

Hi Zydronium, and thanks for purchasing 🙂

First of all, if you register and can create/choose a character successfully, the issue is almost certainly not php. Are you trying to enter the world from editor? That’s not possible, you can only check that transition from standalone/packaged (Listen Server part of the documentation). If you get this error when running standalone, check these two things:

1. the client’s shortcut has -local parameter in it (otherwise it will try to connect to the server ip specified in mmologin.php)
2. the project settings have valid map specified as server default map, and this map has a JSONRequests object in it

> [@](#):
>
> In current version there are couples problems that can be fixed one of two ways:

Thanks for finding those!

Guys, note that you only have to apply this fix if you have problems with getting php to work. Also, either turn off display errors in the php settings or fix the lines KRushin posted, you don’t have to do both.

> [@](#):
>
> Hi, I’ve purchase this on Sellfy, but I can’t find the Sword girl asset and the Character Mesh Switching Example for Blueprint.

Hm, doesn’t the documentation say you have to duplicate GuyPlayerCharacter blueprint? Please use the latest documentation linked in the first post, section “Customizing the player character”.

> [@](#):
>
> the launcher had unsecured FTP information in one of the files.

This account is supposed to be public, read-only, and this is mentioned in the documentation. Actually, I would recommend using anonymous account for that.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b61920e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b61920e](https://forums.unrealengine.com/u/anonymous_user_2b61920e)\
**Post date:** [January 20, 2015, 10:11am UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/169 "2015-01-20T10:11:06Z")

</div>

Hi, Sorry for my post is not clear enough.  
What I mean is that there is no career/role selection demo in your project.  
Which means select different career will spawn different mesh.  
In your demo, you only assign default pawn class.  
What I mean is spawning actor with different pawn class dynamically.

Best regards.

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

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