Does the plugin handle publicly populated areas vs instances? If I have a main city how will the plugin handle 100 players?
Are there any instance/dungeon examples for dynamic server expansion?
Want to treat instances as squad based pvp events, this plugin is very appealing but I’m not sure if the networking/instancing aspects are robust enough.
Hi. If I understood you correctly, you get an empty response from php scripts? Looks like there might be an error in your scripts. Did you modify something? The server you’re running the scripts on may have an error.log which should contain the exact error you’re getting.
Also, try accessing the script in your browser, but change these two lines manually to an account and character in your db:
$mydata = json_decode(file_get_contents(‘php://input’));
$charid = $mydata ->charid;
$userid = $mydata ->userid;
So, for example, change it to:
$charid = 1;
$userid = 0;
Then access the .php file in the browser and see what you’re getting in response.
There are no instances in MMOKit. It’s a good starting point for an MMO, but it doesn’t do everything, I’m afraid.
To have instances, you’d have to write a small program that would raise servers dynamically when necessary, communicate the port number back to players, things like that.
Regarding 100 players, it’s a question purely for UE4 in general, not for the MMOKit itself (which doesn’t have enough logic of its own to create any plugs or bottlenecks). If your game is optimized well enough, 100 players should not be a problem, maybe you can go up to 150.
Have you changed anything in the kit? If so, are you able to package unmodified MMOKit?
Are you able to package other projects?
Is the problem reproducible after you delete Intermediate and Binary folders and regenerate visual studio files?
Launcher engine is very limited in what it can build. You need github engine. I know for a fact that it can’t build server target. I never tried building client target, but it looks like it can’t do it either.
Yes, the Unreal front end is AWESOME… but, you have to remember to compile that also, as it didn’t seem to compile when I compiled the engine.
Also, don’t forget to change the build type in shipping so YOUR .ico is used for your .exe instead of the default unreal one.
Plz see here for more info.
Hello, I’m new to the unreal engine and the MMO starter kit. I have changed the walk speed value to 160 and Using blueprints, I tried changing the movement in the MMOPlayerCharacter blueprint to include the ability to “Toggle” between walk and run using a “Keypress” from the keyboard. I am simply “listening” for a keypress and when the keypress is sensed it toggles a flipflop which changes the Walk Speed value to 600 for run, or 160 for walk. It appears to be working, meaning it is changing the value as expected, but my character seems to be “Fighting” the speed change and I’m suspecting it is caused by the server over riding the change in this value. If I manually set the Walk Speed at 160, my character walks fine in the PIE mode, or if I change the value to 600 my character “Runs” just fine in PIE mode, but if I set the value to either 160 or 600, then allow my keypress to change the value, the character appears to “Jitter”, or “Fight” the change while in PIE mode. How can I fix this please?
The speed needs to be the same on server and on client.
Best way to do it:
1- Call a Server event from client.
2- In this event on server, call a Multicast event.
3- In that multicast event, change the speed, so it happens on both client and server. Multicast events can only be called from server. They’re broadcasted to clients, and they’re executed on server as well.
Server/Multicast is what you set in the event properties:
Not yet sure if this is the best way, but it appears to be working for me.
Please note… I used the “R” key to toggle run.
If someone knows of a reason I shouldn’t be doing it this way, I would be grateful if you would reply here and give your feedback.
The steps I did are below in case someone else wants to do the same.
Go to the MMO folder, then Blueprints. Double click on the MMOPlayerCharacter to open it’s blueprint.
Create a new Boolean variable and name it “IsRunning”, then pull down the replication box and choose “Replicated”.
Create a new Float variable and name it “WalkSpeed”. Again, pull down the replication box and choose “Replicated”.
Create a new function and name it “TogRunWalk”. Add 3 separate inputs/types in this function:
IsRunning - Boolean
WalkSpeed - Float
OurCharMove - Character Movement Component
I then “Wired” the function up like the 1st pic shows.
In the event graph, I did as picture 2 shows.
Notice, I didn’t use multicast, but instead I created a custom event named “TogRunWalkClient” which has 3 inputs and is replicated on Owning Client and is reliable. This event was made to call the “TogRunWalk” custom function we made earlier.
I then made a 2nd custom event named “TogRunWalkSvr” and added the same 3 inputs and is replicated reliably only on the server. This event was also made to call the “TogRunWalk” custom function we made earlier.
Then simply wired it up the rest as shown.
Ported to and tested with 4.21.0
No special steps required if you’re porting yourself. Just turn off runtime physics and vehile physics plugins (not sure which one is causing problems for the engine when packaged, but either way it’s an engine issue and will probably be resolved after a few engine hotfixes). Fixed a bug that didn’t deserialize group updates properly.
Changed LOD settings on a building in the demo map.
Hello , great work on this kit, i really like it. I have a stupid question! If i set the maximum player to 100 per session. How that’s work to have 10 sessions of 100 players? Do i need 10 VPS?
I think it’s simply due to the fact that the uploader is configured to work with linux and you’re trying to upload it into a local windows directory, which results in paths that windows doesn’t understand. (the path separator is different on different systems and I’m not sure it’s even possible to retrieve the OS from the ftp protocol, so I simply assumed that it’d always be linux)