MMO Starter Kit

Hi,

Can I use this project for Android application? How much does it cost? Can you help me to build my own project?

replication graph is a new tool that deals with replication for large actor count muliplayer games they developed it for fortnite. New in 4.20.

Thanks, I’ll be reading up on that.

One thing that the 4.20 version improved dramatically is that they finally fixed the situation where reliable multicasts would forcibly open replication channels to actors that are netculled, forcing EVERYONE to create an actor, receive the multicast, and then allow the actor to be netculled again. It was very resource intensive, and if you wanted to go around it, you had to perform multicasts unreliably or to do them through variables’ OnRep functions. Neither of those are great. Thankfully it’s finally fixed.

Ok, so I’ve watched the video on replication graph and got the gist of it. It’s a flexible system that allows you to define rules for when, how often and what to replicate to what connection. It’s nice, but it’s really supposed to be configured once you have most of your game with all the classes, because you define replication rules on the per class basis. It’s supposed to be done late in development. It wouldn’t be of much use for the MMO Kit, because the kit is only the foundation for a game.

Personally, I’ll wait till it’s out of the experimental phase and has some more documentation, then I’ll implement it for the MMO I’m working on. And we’re always one version behind the latest ue4 version. So I’ll probably really dive into it in half a year or so.

Getting a weird issue and I have no idea why.



LogScriptCore: Warning: Script Msg: Attempted to access index 0 from array 'CallFunc_GetAllActorsOfClass_OutActors' of length 0 in '/Game/MMO/Blueprints/Inventory/Equipment.Equipment_C:ExecuteUbergraph_Equipment'!
LogVaRest: Response (200): 
JSON(
)JSON
LogVaRest: Error: UVaRestJsonObject::SetRootObject(45): Trying to set invalid json object as root one. Reset now.
LogVaRest: Warning: No field with name status of type String
LogVaRest: Warning: No field with name status of type String
LogBlueprintUserMessages: [GWPlayerState_C_0] Server: 
LogBlueprintUserMessages: [GWPlayerState_C_0] Server: ID: 0
LogVaRest: Request (json): POST http://localhost/gb/mmogetcharacters.php 
JSON(
{
    "sessionkey": "",
    "userid": 0
}
)JSON
LogVaRest: Response (200): 
JSON(
)JSON
LogVaRest: Error: UVaRestJsonObject::SetRootObject(45): Trying to set invalid json object as root one. Reset now.
LogVaRest: Warning: No field with name status of type String
LogBlueprintUserMessages: [GWPlayerState_C_0] Server: Get all characters failed status check.

I got these weird errors when I tried to upgrade my project to 4.20. I made the changes in to VaRestPlugin.

Looks like your php scripts don’t return anything, your local scripts/db aren’t set up correctly.

Did you back up your project before upgrading and can you confirm that these errors weren’t present in your previous version?

Upload the project to google drive and send me a link in PM, I’ll have a look at it.

Yeah in the previous version I didn’t get these errors. I’ll upload it and send it over shortly thanks so much!!

I inspected your project. You forgot to check the ā€œRun Dedicated Serverā€ checkbox after migrating to 4.20

Yeah sorry to trouble you, a friend just told me the same thing. Thanks for the support.

Hi, I downloaded the new mmokit version 4.20 and Iv done all the setups but when I go to start map I can not make a username or password, the password just diapers.I have added my domain name and everything checks out right I clicked run dedicated server, this is a fresh install of mmokit. Version 4.19 works great just cant get passed the making a username and password in 4.20

Thank you

Is this happening in editor or in cooked build?

If in editor, then ā€œrun dedicated serverā€ should not be checked when running the start map, because you’re just supposed to be a client here. But anyway, what happens in the log when the password disappears and nothing happens? You should see an error coming back from php.

Hi, I’m rebuilding the mmokit right now and then I will test it agine, So fare there are no errors in the logs so once this is done compiling I will get it another go. website is setup php is all setup and Iv added it to the hostname to ue4 mmoInstant but when I get to the part where you have to make an account, there’s where I get stuck at ,the passwords just go away and it keeps doing that. But I will be back to post and let you know how the rebuild goes. Thank you

Oh and fogot to say it happens in editor.

I dont know what to do but here is my log file

I just looked through your log file and notice that you’re getting the same issue that I just had. What seemed to have fixed it for me is to delete my db and php scripts and replace them with clean versions from a fresh project. Not sure what I had done to break them in the first place though… maybe backup everything if you have done any custom stuff and try my solution?

From the log, this is what is returned from the hoster when you attempt to register. The first JSON(…) is your request, the second JSON (…) is the response:

https://i.gyazo.com/156600e48a53d37a8007578ad7de32ec.png

Instead of accessing the .php script directly, it seems to be wrapped into something with javascript by the hoster. This will never work. Change the hoster or contact their support.

Ok I changed web hosting to another one and everything works out good thanks guys for all your help :slight_smile:

The two Client,Why only one Client output speed,UE4 4.20.1