Hey guys, 👨🏫 My Patreon link: www.patreon.com/kekdot Download Project Files | Premium Tutorials | Courses 💦 Get our Game on Steam | Kekdot Center: store.steampowered.com/app/1487180/Kekdot_Center/
@VizibilityZero Жыл бұрын
This was quite literally the best explanation of multiplayer in ue I've seen on the internet, easy to follow, easy to understand, reason and information behind every concept, I will definitely recommend this to others.
@thebadluckraven8217 Жыл бұрын
this series has taken me from barely getting by to a firm grasp of what i need to do in my project. THANK YOU SO MUCH Kekdot!
@jakedubs2 жыл бұрын
I really like the detailed explanations. It helps a lot.
@Kekdot2 жыл бұрын
Glad to hear! I’ll keep them coming
@Jaysinxe9 ай бұрын
You're tutorials on multiplayer are so helpful. Thank you!!!
@longnguyen8632 жыл бұрын
That was super clear explanation, I hope you can make more video about this series, thanks you
@Kekdot2 жыл бұрын
Will do
@christofferwinterjenssen57842 жыл бұрын
Continue with the great work guys. Kind regards Chris
@구원자-j8m2 жыл бұрын
I need this explanataion. When I opened MBLS, it totallay looked like rocket science. Thank you Kekdot😄
@Kekdot2 жыл бұрын
hahaha, enjoy!
@spartanvs Жыл бұрын
Really great series with all the framework justification
@anon80812 жыл бұрын
Thanks for this, please do continue the series! waiting for next video
@kevinl5219 Жыл бұрын
What a fantastic tutorial ! Impressive.
@glenzhang3646 Жыл бұрын
So good, hope you can make a complete mini multiplayer game tut one day
@yakubuyusuf9522 Жыл бұрын
Nice tutorial, well done.
@m.r53802 жыл бұрын
Great video, looking forward to the next ones!
@zeeonpc2 жыл бұрын
Thank you! Very clear and cannot wait for the next video, Make it a "Part" Series, Your explanations are very straight forward and understanding. The best videos ive seen on this yet. - Question When I load my character into a single player level, and then load a new level into a multiplayer session, What default classes should be changed in the updated Gamemode defaults?
@Kekdot2 жыл бұрын
I recommend setting your Game Mode, Game State, PlayerState, Player controller. And set the default pawn to none, and spawn the character with code via a GameMode function, which you call from the beginplay of your PlayerController. Glad you enjoy it! Nice to hear your nice feedback. More coming this weekend.
@zeeonpc2 жыл бұрын
@@Kekdot A clearly explained and understood comment. Thank you much.
@ruellerz2 жыл бұрын
Omg this video and discussion on next vid is what i neeeeeed! The only thing left i really really really need in my design is "account mgmt". What is the best method of accpunt creation for server/client? Website? I dont want to use EOS or Steams etc
@Tranehed Жыл бұрын
Thank you!
@Karlettto896 ай бұрын
Hello @Kekdot This is a great explanation for the handling of players. I am trying to use seamless travel from the game mode, but I am finding that with this setup it doesn't quite work. I followed the instructions in the documentation, but I noticed that the player list gets messed up when I try to keep track of data associated to the player controllers across level. Should I be using the "Handle Starting New Player" event in the game mode to populate the PC array? Do player controllers change during seamless travel? Thank you! :)
@Hissatsui2 жыл бұрын
I love the Content very insightful I was wondering when you're going to work on the player state and player controller I can't wait for more of your videos
@Kekdot2 жыл бұрын
Coming soon! (This week I hope)
@Hissatsui2 жыл бұрын
Awesome!! Can't wait for it I've been stuck with some issues with a turn based game in VR and i think your next video will help me greatly thank you soo much
@DragonFang253D Жыл бұрын
@@Kekdot Did that video ever get done? I don't think i saw it anywhere on your channel videos...
@JyotiEntertainmentProduction5 ай бұрын
Just wanted to ask, why you didn't connect the Player Array For Each Loop to any event?
@arthurspears8477 Жыл бұрын
I'm keeping a copy of player controllers both as a base reference and as the casted controller, that way I can cast the originals to the new controller when going from a lobby to the game. Hope it works out like I hope.
@Kekdot Жыл бұрын
If you want to get the originals at any time, you can also simply use the Players variable from the default available variables from the Game State. That might be easier for you in this case 😄 Try typing Get ‘Player Array’ from the Game State.
@arthurspears8477 Жыл бұрын
@@Kekdot Does this work from any game state?
@Kekdot Жыл бұрын
Yep
@arengnightcore5201 Жыл бұрын
what if you have lobby game mode with a player controller , and an in game gamemode with its player controller , how does that node "on swap player controller " work in that case ? , Thanks for the tutorial
@heqiqi-qb5wz Жыл бұрын
If there are 8 local players, on the same big touch screen, 8 players interact at the same time, how to configure? thanks a lot!
@yakubuyusuf9522 Жыл бұрын
It has been impossible for me to get "Simple Move to location" and "AI Move To" to work in a multiplayer game. Any possibility of you doing a tutorial along this line ?
@Kekdot Жыл бұрын
You sure you using a nav mesh in your world. Really all you need is a navmesh and then plugin your ai controller.
@bxb5625 Жыл бұрын
Hello I have a big problem with what you done, my gamemode get his variable reset each time on postlogin get called so AllPC's is always of length 1 and if I have a counter, it's always 0. Anyone has a solution
@PhilOsof2 жыл бұрын
I wonder: May it also be possible to just cast to game state and get the PlayerArray from there? What would be the difference?
@Kekdot2 жыл бұрын
Hi there, Yes that is also possible! This is a technique for inside of the game mode. It’s not mandatory, it simply an example of how one can handle having an overview of players in the Game Mode directly.
@PhilOsof2 жыл бұрын
@@Kekdot ah okay thank you :) I have a way better understanding of the multiplayer framework because of your work :) helps a lot
@jonmill4414 Жыл бұрын
Is there a reason you're not removing the old PC before adding the new PC ?
@zasranecify Жыл бұрын
12:23 After changing the level, GameMode will be created again with empty array of player controllers, and event OnSwapPC would be called on this new GameMode, you dont need to remove old PC then
@Jsfilmz2 жыл бұрын
hey mate can you make a tutorial on how to add names on top of players when they join automatically and make it work with your chat product? I am having to manually make names for my players. I want them to be able to use their epic id atleast. thanks!
@Kekdot2 жыл бұрын
To use the epic ID name, simply hook up the Player State’s Player Name variable.
@arjunc58962 жыл бұрын
Hi, In case I want to pass variables from the last client map from which the player is connecting to a dedicated server, which functionality should I use? I have a menu from which a player connect to the dedicated server. It's a lobby map in the server and based on the menu selection of the user, I want the loby to take him to matchmaking.
@giacomofumagalli8532 Жыл бұрын
Hello Kekdot, quick question: does this setup works for dedicated server too?
@Kekdot Жыл бұрын
Yep in essence all the same stuff. This is all just server side logic.
@giacomofumagalli8532 Жыл бұрын
thank you Kekdot! The only thing Im not able to achieve right now is that every player gets assigned his personal playerController once a session is created on a dedicated server hosted on GameLift, do you have any idea why? Thank you
@thomasd19587 Жыл бұрын
I understand but i have a Question. Maybe somebody can help. What if i want to disable the input of a Player that is a Client Controller? I cant get it. It works if i want to disable the input of the Player who is the Server...but not Client.
@thomasd19587 Жыл бұрын
I Tried that with a RPC but it dont work
@thomasd19587 Жыл бұрын
I can only make it if the Player push a Button to Do that as an Event. But if i want Do that in the Game Mode it wont work with an event
@stormolflak2 жыл бұрын
👍
@freedomofspeech21007 ай бұрын
I still dont find any use for the player state. I believe everything can be done without it.
@offlinemoe2 жыл бұрын
Hey man just a quick questions, this multiplayer asset is it cross platform or just for a pc ? and is it online or just local (lan)
@Kekdot2 жыл бұрын
It’s fully replicated so you can make it cross platform with any platform of your choice. Simply implement your bewished subsystems.
@offlinemoe2 жыл бұрын
@@Kekdot Just some more questions : ), because I really want to make an online game and probably gonna buy this asset/plug-in Can I make my own game and add this online functionality inside it? does this support multiple levels simply (is it dedicated or listen)? Hope you answer all the questions
@MasterSifou Жыл бұрын
if any one having issues with this someone may want to run a server event on an actor as a client (that doesnt work) basically u can only do that if u own that actor (so what i do is set the owner to that character and then run the event) this is not a good idea for obline pvp games but if anyone have a better way pls share with us
@Kekdot Жыл бұрын
Hi there, This is actually not the case. Simply ensure that you don't call a direct RunOnServer node from the Client side of the character or playercontroller etc. So in short: First you Call an event on for example your character that is a simple offline event, that event then calls the Character's Server version of that event. Now that we're on the server, that server version event can simply call a server event existing on whatever actor without having OwnerShip of it since the Server owns everything. What you are doing is having the local client call server events on actors it doesnt own. That indeed fails. So go from local, to server, to server on actor.