Originally posted by LinuxDonald
View Post
Announcement
Collapse
No announcement yet.
MMO Starter Kit
Collapse
X
-
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.
Comment
-
Originally posted by DG드래곤 View PostMMOPlayerState -> On Response Get Character branch node "status = ok" ... this part status is "null "... anybody Please help...OTL
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.Last edited by CodeSpartan; 10-27-2018, 07:14 PM.
Comment
-
Originally posted by MikeRPG View PostDoes 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.
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.
Comment
-
Originally posted by yskwork View PostPackaging failure,why
Are you able to package other projects?
Is the problem reproducible after you delete Intermediate and Binary folders and regenerate visual studio files?
Comment
-
Originally posted by yskwork View Postno use github UE4
Comment
-
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.
PeaceLast edited by Tarly; 10-31-2018, 05:44 PM.
Comment
-
Hello, I'm new to the unreal engine and the MMO starter kit. I have changed the max 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 Max 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 Max 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?
Comment
-
Originally posted by DigiWorldz View PostHello, I'm new to the unreal engine and the MMO starter kit. I have changed the max 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 Max 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 Max 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?
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:
(make sure to always check the "reliable" box whenever you make server/multicast events)
Comment
-
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.
1. Go to the MMO folder, then Blueprints. Double click on the MMOPlayerCharacter to open it's blueprint.
2. Create a new Boolean variable and name it "IsRunning", then pull down the replication box and choose "Replicated".
3. Create a new Float variable and name it "WalkSpeed". Again, pull down the replication box and choose "Replicated".
4. 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.
5. 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.
Comment
-
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.
Comment
Comment