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

<div class="post-metadata">

**Author:** ![codie72](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@codie72](https://forums.unrealengine.com/u/codie72)\
**Post date:** [July 1, 2015, 12:05am UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/442 "2015-07-01T00:05:14Z")

</div>

Hi  
Great Pack by the way,

I am wondering if there is any easy to use, information on how to make the modular character? do you guys have any links or tutorials that you use for breaking your own character down into modules… I am a programer and not very good with 3d tools.  
Please point me in thr right direction

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_50d8d156](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_50d8d156](https://forums.unrealengine.com/u/anonymous_user_50d8d156)\
**Post date:** [July 1, 2015, 7:30am UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/443 "2015-07-01T07:30:28Z")

</div>

Hello.

First off I have to say that this is a really good kit. I am looking forward to see where this is going.

Over to the issue.  
I have set up a Windows Server 2008 r2 with apache, php and mysql.

myphpversion.php reports:  
Current PHP version: 5.6.10

but then I head over to the mmologin.php and it gives me this:  
Notice: Trying to get property of non-object in D:\www\mmo\mmologin.php on line 7

Notice: Trying to get property of non-object in D:\www\mmo\mmologin.php on line 8  
{“status”:“Login information is incorrect. Check your username and password.”}

I have not modified the php files and when I tested this on a different server, it did not give me the first 2 lines. What could be the issue in this case?

---

<div class="post-metadata">

**Author:** ![mindfane](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mindfane/32/710746_2.png) [@mindfane](https://forums.unrealengine.com/u/mindfane)\
**Post date:** [July 1, 2015, 7:46am UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/444 "2015-07-01T07:46:41Z")

</div>

> [@InDevGirl;322310](#):
>
> Hello.
> 
> First off I have to say that this is a really good kit. I am looking forward to see where this is going.
> 
> Over to the issue.  
> I have set up a Windows Server 2008 r2 with apache, php and mysql.
> 
> myphpversion.php reports:  
> Current PHP version: 5.6.10
> 
> but then I head over to the mmologin.php and it gives me this:  
> Notice: Trying to get property of non-object in D:\www\mmo\mmologin.php on line 7
> 
> Notice: Trying to get property of non-object in D:\www\mmo\mmologin.php on line 8  
> {“status”:“Login information is incorrect. Check your username and password.”}
> 
> I have not modified the php files and when I tested this on a different server, it did not give me the first 2 lines. What could be the issue in this case?

The message is only a Notice. So I think you can disable it by setting error reporting OFF in php.ini file. But that will simply hide the Notice, but if there is something wrong in code it wont fix that. Make sure you have database… setup correctly.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_50d8d156](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_50d8d156](https://forums.unrealengine.com/u/anonymous_user_50d8d156)\
**Post date:** [July 1, 2015, 7:51am UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/445 "2015-07-01T07:51:36Z")

</div>

Thank you mindfane.

Will this affect the kit in any way if I don’t disable the error reporting?

The database is correctly set up, I am able to register, make character but I still have a little issue when I log in. I guess I will find the solution to that issue when digging more in the MMO starter kit documentation. 🙂

---

<div class="post-metadata">

**Author:** ![mindfane](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mindfane/32/710746_2.png) [@mindfane](https://forums.unrealengine.com/u/mindfane)\
**Post date:** [July 1, 2015, 11:06am UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/446 "2015-07-01T11:06:10Z")

</div>

> [@InDevGirl;322326](#):
>
> Thank you mindfane.
> 
> Will this affect the kit in any way if I don’t disable the error reporting?
> 
> The database is correctly set up, I am able to register, make character but I still have a little issue when I log in. I guess I will find the solution to that issue when digging more in the MMO starter kit documentation. 🙂

I have not looked at this particular kit; but from my experience with PHP, disabling the error reporting is recommended. Otherwise the internal workings and vulnerabilities of your server will be exposed to users. Ideally you should disable all error reporting and ask php to write those to log files instead. Error reporting is useful in local environment for easier debugging however.

In your case, the Notice text generated by PHP is causing invalid JSON string. It is better if the output from PHP contain only things you explicitly print out. Especially when the output in in XML or JSON format as the php generated messages will break the validity of the output.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_50d8d156](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_50d8d156](https://forums.unrealengine.com/u/anonymous_user_50d8d156)\
**Post date:** [July 1, 2015, 12:05pm UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/447 "2015-07-01T12:05:10Z")

</div>

> [@mindfane;322374](#):
>
> I have not looked at this particular kit; but from my experience with PHP, disabling the error reporting is recommended. Otherwise the internal workings and vulnerabilities of your server will be exposed to users. Ideally you should disable all error reporting and ask php to write those to log files instead. Error reporting is useful in local environment for easier debugging however.
> 
> In your case, the Notice text generated by PHP is causing invalid JSON string. It is better if the output from PHP contain only things you explicitly print out. Especially when the output in in XML or JSON format as the php generated messages will break the validity of the output.

That is true. I will have a look at the php config file an see if I can get a clean message. But that will have to wait until later.  
Thank you very much for the help so far. 🙂

[EDIT and a later update]  
Got all up and running at this point.  
I had to re-install php to remove the notice message and be able to config the php.ini correctly.

---

<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:** [July 1, 2015, 11:22pm UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/448 "2015-07-01T23:22:27Z")

</div>

> [@DatapawWolf;321986](#):
>
> Have you seen DataSphere’s [Character Creator](https://forums.unrealengine.com/showthread.php?74688-FREE-Character-Creator)?
> 
> Since he has published it as a free resource through blueprints, could there perhaps be any plans to integrate it within your MMO kit?

Thanks for posting this, it looks nice indeed!

I will investigate it further, but it shouldn’t be difficult to integrate it yourself. You would have to place the character in the start menu map, allow to tweak it just like in the author’s example and add appearance fields to the database and the php scripts (mmo kit guide has a section on that).

> [@InDevGirl](#):
>
> I have not modified the php files and when I tested this on a different server, it did not give me the first 2 lines. What could be the issue in this case?

mindfane was right, you have to disable the notice. Actually, on my webserver they are disabled by default. I’ll try enable them so I can fix those notice-related errors for the next build. But for now, just leave it disabled, it’s ok. 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_50d8d156](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_50d8d156](https://forums.unrealengine.com/u/anonymous_user_50d8d156)\
**Post date:** [July 2, 2015, 11:15am UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/451 "2015-07-02T11:15:46Z")

</div>

Thank you for replying.

I did disable them from displaying and I also did as mindfane mentioned. Outputing the messages to a file. It works great now. 🙂

And thank you again for an awesome kit.

---

<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:** [July 2, 2015, 9:35pm UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/452 "2015-07-02T21:35:33Z")

</div>

Love the updates you have been pumping out, I cant say it enough times how much I love and value this project

Any chance you can implement projectiles/traces for spells & better melee? Even if its basic, it would be nice to see how I could begin to tie in everything, then I can extend them once the basic multiplayer functionality is there.  
And if so, would it be possible to do both auto-targeted ones (like in WoW) but also free aim?

---

<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:** [July 3, 2015, 4:54am UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/453 "2015-07-03T04:54:01Z")

</div>

> [@CyberDev;323414](#):
>
> Any chance you can implement projectiles/traces for spells & better melee? Even if its basic, it would be nice to see how I could begin to tie in everything, then I can extend them once the basic multiplayer functionality is there.  
> And if so, would it be possible to do both auto-targeted ones (like in WoW) but also free aim?

I plan to add some example abilities/spells in the next build, however it’s not difficult to add them yourself.

Regarding a no-target combat system, I get this question often, so I’ve added this to the guide today:

> [@](#):
>
> **Q: How can I implement a no-target combat system?**  
> A: If you know how to make a no-target combat system in a single player UE4 project, it shouldn’t be hard to add that to the MMO Kit in place of the default system. You could use [Line Trace For Objects](https://docs.unrealengine.com/latest/INT/BlueprintAPI/Collision/LineTraceforObjects/index.html) for weapons that use crosshair (the line would start at the center of the screen and go forward in the camera direction, its length would be the gun’s range) and [Sphere Overlap Actors](https://docs.unrealengine.com/latest/INT/BlueprintAPI/Collision/SphereOverlapActors/index.html) for weapons that don’t.
> 
> There are tutorials available on the web/YouTube on how to make a simple FPS setup in UE4. I recommend making your system work in a clean TPP/FPP project first, and then transfer it to MMO Kit.
> 
> The blueprints that you’d want to change are:
> 
> MMOPlayerController - Right-Mouse Button event starts auto-attacking  
> MMOCharacter - Auto-Attack event

---

<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:** [July 6, 2015, 2:33am UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/454 "2015-07-06T02:33:44Z")

</div>

Is there a way to add instanced-based areas, for example, a “group dungeon”? If so, what would be a good strategy in order to set that up?

In other news, forgive the ignorance, however, I downloaded the Nvidia branch, switched versions to that branch, I’m getting a few errors:

> [@](#):
>
> CleanThirdPerson could not be compiled. Try rebuilding from source manually

When I attempt to open the .uproject from the launcher, I get this error:

> [@](#):
>
> Project files could not be generated. Log output:
> 
> Running J:/Unreal Engine Fork/UE4-NVidia/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project=“I:/UE4 Projects/UE4 MMORPG Kit/MMOStarterKit-1.2/CleanThirdPerson.uproject” -game -engine -progress  
> Discovering modules, targets and source code for game…  
> OCULUS: [From Service] [CameraDK2] Request failed - 0x57…  
> OCULUS: [From Service] {ERR-016w} IOCTL\_OCUSBVID\_SET\_ISO\_INTERFACE failed  
> Errors detected while compiling I:\UE4 Projects\UE4 MMORPG Kit\MMOStarterKit-1.2\Intermediate\Build\BuildRules\CleanThirdPersonProjectFileGeneratorModuleRules.dll:  
> i:\UE4 Projects\UE4 MMORPG Kit\MMOStarterKit-1.2\Source\CleanThirdPersonServer.Target.cs(32,45) : error CS0117: ‘UnrealBuildTool.UnrealBuildTool’ does not contain a definition for ‘IsEngineInstalled’  
> UnrealBuildTool Exception: ERROR: UnrealBuildTool encountered an error while compiling source files

Any ideas?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_cfca3538](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cfca3538](https://forums.unrealengine.com/u/anonymous_user_cfca3538)\
**Post date:** [July 6, 2015, 2:00pm UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/455 "2015-07-06T14:00:47Z")

</div>

Anyone tried integrating either of these blueprints from the marketplace?  
[Character Attribute System](https://www.unrealengine.com/content/9b4f1e7519c24fb8a5daaddf28cbfc64)  
[Spell Cast System](https://www.unrealengine.com/content/be70272c643d4c5f8a6dd3b0abb9d26e)

Just wondering how suitable (and difficult) it might be. I think a spell cast system needs to be designed with MMOs in mind because network and graphics performance could become an issue when scaling to hundreds of players if not implemented optimally.

---

<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:** [July 7, 2015, 1:22am UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/456 "2015-07-07T01:22:28Z")

</div>

^ I believe spartan said hes working on a spell casting system for the next update  
As for the attribute system Im not exactly sure how to go about that, would be nice to have that as well for displaying stats mayb just a few examples linked to the persistent database

---

<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:** [July 7, 2015, 10:49am UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/457 "2015-07-07T10:49:12Z")

</div>

> [@](#):
>
> Is there a way to add instanced-based areas, for example, a “group dungeon”? If so, what would be a good strategy in order to set that up?

There’s a section in the FAQ that describes how I’d do regular server travel. For instanced zones, you would use the same principle but launch the server instances dynamically (you could extend chat socket server source code to do that). The game server could send a command to the socket server and the latter would launch the required zone instance using the next available port and send back the port number. The port number is then sent to the players via blueprint so they can connect to the new instance. I plan to add regular zone/server travel in the next update by the way.

> [@](#):
>
> In other news, forgive the ignorance, however, I downloaded the Nvidia branch, switched versions to that branch, I’m getting a few errors:

I’m not familiar with Nvidia branch, looks like it is different from the release/4.8 branch, you could try asking that on the AnswerHub but I recommend waiting until that branch is in sync with the release one.

---

<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:** [July 7, 2015, 10:55am UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/458 "2015-07-07T10:55:35Z")

</div>

The first MMO built using MMO Starter Kit hits Greenlight! 🙂

[Vote for us](http://steamcommunity.com/sharedfiles/filedetails/?id=476757944)

[My thread in Work In progress](https://forums.unrealengine.com/showthread.php?75414-Project-GENOM-Sci-fi-MMO)

**Video (best watched in 1080p):**

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/4/5/e45e7bdc7208bfe8d612651cf7b0d7263b4fca33.jpeg "Steam Greenlight (2015)") ](https://www.youtube.com/watch?v=xjZu8ZIlmXQ)

[http://pgenom.com/wp-content/uploads/2013/10/ProjectGenom02-1024x576.png](http://pgenom.com/wp-content/uploads/2013/10/ProjectGenom02-1024x576.png)

 ![18033080814_ac6da91b9e_b.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/f/6/f62511b088b020daf9e639f5dca1f2891b72f7c1.jpeg)

---

<div class="post-metadata">

**Author:** ![Winterstone](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Winterstone](https://forums.unrealengine.com/u/Winterstone)\
**Post date:** [July 7, 2015, 11:11am UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/459 "2015-07-07T11:11:02Z")

</div>

Dude…DOOOOOODE. This looks way better then The Repop. I voted.

Can I ask this though. Was that truly created solely with the MMO starter kit?

---

<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:** [July 7, 2015, 11:45am UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/460 "2015-07-07T11:45:53Z")

</div>

> [@Winterstone;326251](#):
>
> Dude…DOOOOOODE. This looks way better then The Repop. I voted.
> 
> Can I ask this though. Was that truly created solely with the MMO starter kit?

Not solely, like I said in the thread, it was used as a base and I built Genom-specific features on top of it (non-target combat, RPG stats and skills, exoskeletons and mechs, etc). But the core is basically the same.

Some features were added to Genom first (inventory and equipment) and then ported back to MMO Kit. 🙂

---

<div class="post-metadata">

**Author:** ![Mr\_SquarePeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mr\_SquarePeg](https://forums.unrealengine.com/u/Mr_SquarePeg)\
**Post date:** [July 8, 2015, 6:52am UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/461 "2015-07-08T06:52:01Z")

</div>

> [@DatapawWolf;327011](#):
>
> Wow! Nice work! Any chance you’re adding that non-target combat to your kit as well? ;D

I would like this as well 🙂

Vehicle support would be welcome too 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6d6e3b62](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6d6e3b62](https://forums.unrealengine.com/u/anonymous_user_6d6e3b62)\
**Post date:** [July 8, 2015, 12:49pm UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/462 "2015-07-08T12:49:44Z")

</div>

Hello 🙂

Does this kit include AOI (Area of Interest)? The loading/unloading of players within a set parameter of the client player?

---

<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:** [July 8, 2015, 2:36pm UTC](https://forums.unrealengine.com/t/mmo-starter-kit/16268/463 "2015-07-08T14:36:08Z")

</div>

This project looks awesome, ofcourse i voted for it 🙂

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

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