As I was editing this, I felt like there were some things that I could have explained a little better. This is my first tutorial and I'm always learning, so I'll do my best to explain things in more detail in the future. If you guys have any feedback regarding the video, please let me know 👇
@CodemasterJamal5 жыл бұрын
You did well. Very well. Keep up the good work.
@kaveman29405 жыл бұрын
This is much better than the method I did! This is gonna help a lot! Thanks!
@tomweiland5 жыл бұрын
I'm glad you found it helpful :)
@davidardelean28325 жыл бұрын
Great job bro!
@antoinetoussaint4834 жыл бұрын
very useful, especially with uNet being disabled on Unity... ure a god , thx !
@MintAIO5 жыл бұрын
Please don't randomly stop uploading these videos. You see a lot of tutorials where they just stop without warning. Good video.
@tomweiland5 жыл бұрын
Yeah I've seen my fair share of those. I definitely plan on continuing this series-in fact I'm editing part two right now :)
@MintAIO5 жыл бұрын
@@tomweiland do you know any resources that I can read more about how all of this actually works?
@tomweiland5 жыл бұрын
@@MintAIO apart from the Microsoft docs, I'm not aware of any good written resources, and unfortunately the docs really only explain the what, not the why. I personally learned how this stuff works by watching tutorial videos like the ones I'm making now, and then playing around and working with it for the last (almost) 2 years. I'd encourage you to join my Discord server (link in description). You can ask questions there and we can have a more efficient conversation than here in the comments section :)
@rafaelgpontes5 жыл бұрын
Oh, boy! You deserve so many more subscribers!! This is SOLID content!! I started studying C# last week and I'm loving it! I came here because of Dani and now you have +1 subscriber/liker!! Keep it up, man!
@tomweiland5 жыл бұрын
Thank you Rafael, that means a LOT to hear! Welcome to the community :D
@TimothyBreadman4 жыл бұрын
Tom, my guy, you just turned what would have been who knows how long looking into network programming into like an hour or two of work. You're a lifesaver.
@tomweiland4 жыл бұрын
Glad I could help :D
@7verdy4 жыл бұрын
First and foremost, thanks a lot for this networking tutorial. I came here thanks to Dani's videos but I stuck because of how well everything is explained and way more intuitive than other methods I tried. Having a multiplayer in my school project being mandatory, I really feel like I owe you one. Anyway, thanks man !
@tomweiland4 жыл бұрын
I'm glad you decided to stick around :D Is this a project for university or are you still in high school?
@7verdy4 жыл бұрын
@@tomweiland An university project ! I'm in junior year so basically it's meant for us to get our hands in the dirt, kind of :')
@tomweiland4 жыл бұрын
@@7verdy got it, although mandatory multiplayer seems like quite a steep requirement for a junior year project doesn't it?
@7verdy4 жыл бұрын
@@tomweiland Looking back at what a mess it has been since the beginning because of the multiplayer, I could not agree more. That's why your videos really came in handy !
@tomweiland4 жыл бұрын
@@7verdy well I'm glad I could lend a hand!
@theboomcommenter68943 жыл бұрын
You are reading and replying to comments in this video even to this day... your dedication is just surprising. You gained one sub, you deserve a lot more :)
@tomweiland3 жыл бұрын
Haha thanks, welcome to the community :D
@audacityfilmsproductions53344 жыл бұрын
This series is PERFECT thank you so much I already understand so much of it just from this 12 min video, you’re very great at explaining things lol! about a year ago I was using UNET and just gave up because it would NEVER sync the clients movements and would keep a copy as a child of the main player the whole time I just gave up definitely going to give this a try. I’ll lyk my results! THANK YOU SO MUCH!
@tomweiland4 жыл бұрын
Haha yeah, I never liked UNet :P Glad I could help!
@Hypersniper054 жыл бұрын
Straight to the point. I love it! I had to slow the video down so I can catch up with my typing but it’s no biggie. Thanks for putting this together.
@tomweiland4 жыл бұрын
Glad you don't mind the speed too much! The future parts are a bit slower though :)
@garishtiger1403 жыл бұрын
Just found this because of Dani's channel but I've been looking for a good comprehensive tutorial for a while and this was a perfect start!
@tomweiland3 жыл бұрын
Glad I could help :)
@erkamenescol2314 жыл бұрын
I was lacking the networking knowledge, now that i found your channel im hoping to fill the holes in my knowledge with information! Thank you
@tomweiland4 жыл бұрын
Hopefully your expectations will be met :)
@rhetthenderson59934 жыл бұрын
Dang man, this is awesome. I really appreciate the effort put into this video, and I'll definitely be watching till the end of the series.
@tomweiland4 жыл бұрын
Awesome, I'm glad you liked it!
@ToniMussolini8 ай бұрын
@@tomweilandit’s lan or online connection?
@lagosta4 жыл бұрын
This is such a great tutorial. I have been looking for this for months, the way you explain for me makes it more easier to understand thank you.
@tomweiland4 жыл бұрын
I'm glad it's been helpful :)
@calvinhuang24264 жыл бұрын
Really Stellar Tutorial! I can't thank you enough. One addition I would suggest is to go over the logical flow really quickly at the end. For example: TcpListener -> Accepts Client -> Connects to Client Socket -> Stream that Accepts data
@tomweiland4 жыл бұрын
Thank you :) I'll keep that in mind for future tutorials since there's not much I can do at this point.
@teddyreid90553 жыл бұрын
This is such a fantastic video for professional programmers pivoting into game development. No bullshit, straight to the point, clear and well spoken voice that sounds good at 1.5x speed. Cheers for this, mate.
@tomweiland3 жыл бұрын
Glad to hear that you like it! I'm surprised you're watching it at 1.5x speed-most people slow down the video, are you sure you're human 😳
@DespairOfAriadne4 жыл бұрын
This is probably the first Unity tutorial I've watched that is quick, concise, and thorough, while still understandable. Thank you!
@tomweiland4 жыл бұрын
I'm glad you like it :D
@pedofangst3 жыл бұрын
you should check out bracys
@straightafitness3 жыл бұрын
execuse me understandable?!?!?! XD, i just coppying codes and hoping that would work
@yousefyousef4955 жыл бұрын
dani talked abouuut you ,, thanks nice tut.
@ffccardoso5 жыл бұрын
I come here after his hint too
@tomweiland5 жыл бұрын
I've never had so many notifications in my life, welcome to the community guys :D
@sir-red11385 жыл бұрын
@@tomweiland It's a great tutorial, extremely fast-paced though, I've been programming for a long time and can't even keep up on 0.75x speed haha. That's why we got the pause button though :)
@tomweiland5 жыл бұрын
@@sir-red1138 exactly. Personally, whenever I'm watching a tutorial, I'm constantly pausing it, so I though I may as well speed things up a little bit. That way the tutorials don't go on forever (starting a series of 30-60min long videos can be very daunting).
@kermitthedog_52114 жыл бұрын
Yeee
@tomweiland5 жыл бұрын
Since uploading this video, I've created a repository on GitHub. If you run into issues, you can compare your code mine: github.com/tom-weiland/tcp-udp-networking/tree/tutorial-part1
@hilmiakgunlu10365 жыл бұрын
Wow
@JaradBailey4 жыл бұрын
"Compare" sure...
@tomweiland4 жыл бұрын
@@JaradBailey what do you mean?
@pollomagico2714 жыл бұрын
@@tomweiland I think he meant that most of the people would just copy and paste the code.
@Mikelica694 жыл бұрын
@@pollomagico271 this
@owofinctive81865 жыл бұрын
Awesome tutorial! Thank you. I would like to suggest you to set your font size larger when you are recording tutorials. It's not easy to read your code in 720p or a small screen :D
@tomweiland5 жыл бұрын
Other people suggested the same thing, and in later tutorials I increased the code size. In the most recent tutorial, I forgot to do so when I was recording, so I ended up just zooming in on the areas of interest, which I think is the best solution. The only drawback is that it takes more time to edit, but let me know what you think of that when you get there :)
@owofinctive81865 жыл бұрын
@@tomweiland ok, thanks for sharing!
@elijahw.61444 жыл бұрын
I can read it on my fucking phone. What the fuck
@zyxyfn36834 жыл бұрын
@@elijahw.6144 thats the thing on larger screen on 720p it will be more pixelated because its a big screen like a 27 inch monitor its more pixelated like for me
@embodyingocean1893 жыл бұрын
I spent two days on this single video but I learned so much, not just about networking, but other C# features too
@tomweiland3 жыл бұрын
Glad to hear it :D
@mtate4054 жыл бұрын
Finally! After searching the whole web I found exactly what I wanted!Dedicated servers! Thank you, Tom
@tomweiland4 жыл бұрын
I'm glad you found what you're looking for, but I'm guessing you meant "dedicated", not "deprecated" 😂
@mtate4054 жыл бұрын
@@tomweiland Yes)
@benceberenyi96214 жыл бұрын
the feeling when i coded half an hour but im just 6 minutes in the video
@tomweiland4 жыл бұрын
😅
@noobmuffin4 жыл бұрын
it took me 2 hours
@ganeshsingh47024 жыл бұрын
me too but I took more than 1 hour
@debojyotiganguly56294 жыл бұрын
me too
@tsangboris62764 жыл бұрын
It took me one day for finding errors but luckily there are lots of friendly people in discord server helped me😊
@Dayogg5 жыл бұрын
Thank you for sharing this knowledge with everyone, it's amazing.
@tomweiland5 жыл бұрын
You're welcome, I'm glad you're finding some value in it :)
@setseretze35654 жыл бұрын
"hosting minecraft servers with server jar" flashbacks
@tomweiland4 жыл бұрын
😅
@setseretze35654 жыл бұрын
wow you still reply even tho the video is one year old
@tomweiland4 жыл бұрын
@@setseretze3565 I do my best to reply to all the comments :P
@crazyksp83444 жыл бұрын
@@tomweiland nice
@YulRun4 жыл бұрын
Glad you have these videos out here, found the first half of this video a little fast. Trying to figure out how and why you're doing something and it already moves on to the next. Appreciate it none-the-less. Gonna have to just watch it a couple times I think to figure out how things are working.
@tomweiland4 жыл бұрын
Yeah sorry about that-this was my first tutorial and I didn't realize how fast I was actually going :P
@YulRun4 жыл бұрын
@@tomweiland All good man, I do suggest if you ever get the time to maybe redo the one video, as it is a pretty important one when getting started, and the fundamentals are the most important to understand! Still appreciate the videos.
@theothercreare3 жыл бұрын
Finally someone who codes fast! I quickly rung that bell.
@tomweiland3 жыл бұрын
Glad you appreciate it! I personally hate slow tutorials which is why I wanted to make sure this wasn't another one of those, although I think I did go a bit too far in the opposite direction 😅
@tomweiland4 жыл бұрын
*Next tutorial:* kzbin.info/www/bejne/aqarhYaho6x9l7s If you'd like to support me directly, you can do so on Ko-fi: tomweiland.net/kofi
@thegamerjoshua28484 жыл бұрын
hey I can have a name of a scene called Lobby and not main
@thegamerjoshua28484 жыл бұрын
just for idk 8:05
@tomweiland4 жыл бұрын
@@thegamerjoshua2848 you can name your scene whatever you like, it makes no difference.
@Shakespeare16124 жыл бұрын
@@thegamerjoshua2848 I played with this and it was actually more difficult than I thought. You can double click on the script in the asset viewer. This will open it in VScode, or maybe monoDevelop. Then use the "save as" function in the program and exit the program. When you get back to Unity a new script with you new name should appear in the asset viewer. You can then delete the old script and attach the new script to what ever game objects you like. Maybe I'm wrong but I found no way to right click or double click or edit the name directly in Unity in any way.
@creativecreeper07284 жыл бұрын
would I have to use this server for localhost or can I forward a port and make it a public online server?
@faceless83375 жыл бұрын
Who here from Dani's video?
@tomweiland5 жыл бұрын
Many, many people 😅
@d7a6on.5 жыл бұрын
Me
@tomweiland5 жыл бұрын
Welcome to the community guys :)
@faceless83375 жыл бұрын
@@tomweiland I just finished watching this series and i am so glad you did this. Easy to follow and understand. Deserves more veiws
@tomweiland5 жыл бұрын
@@faceless8337 well this video got a 4.5k view boost today alone 😅 I'm glad you enjoyed it though!
@aliforpeace5 жыл бұрын
Thank You bro. I'm working in City of Ragdolls. I was so confused how to add multiplayer XD
@tomweiland5 жыл бұрын
Well hopefully this series can alleviate some of the confusion :)
@bubberiffic4 жыл бұрын
@@tomweiland Ye
@David-mp2jt4 жыл бұрын
100% subscribed, please keep these videos up Tom, there really are few decent resources on this. I think this is the path to getting a crazy amount of subscribers!
@tomweiland4 жыл бұрын
Welcome to the community! And you're right, I would be nowhere near 10k subs without this series :P
@prometheuspickle29463 жыл бұрын
At first it did not work for me, but after 10 minutes of fear, i realised i was executing the wrong file, and after that it worked! Great tutorial!
@tomweiland3 жыл бұрын
I'm glad it worked out in the end :)
@SearchEnvyYT4 жыл бұрын
11:54 I "SMASHED the like button. Now I need a new laptop :D
@tomweiland4 жыл бұрын
Sounds like you were a bit too enthusiastic 😂
@MekaniQ5 жыл бұрын
Thank you!!!!!! I gonna start making my game!!!
@tomweiland5 жыл бұрын
Good luck!
@CryztalzArtjom4 жыл бұрын
Thanks for the tutorial! I have one question: Wouldn't a UDP connection be preferrable to a TCP connection, specifically when writing the server for a game? Edit:// just saw part 3, I should probably watch more before asking x)
@tomweiland4 жыл бұрын
Hahaha well it's still a valid question. The reason we use both TCP and UDP is because at some point you're going to need to send messages which won't get lost-that's what TCP is for. When it doesn't really matter if all the packets arrive, UDP is great because it's slightly faster.
@CryztalzArtjom4 жыл бұрын
@@tomweiland That explains everything. Thank you!
@CodemasterJamal5 жыл бұрын
The list of ports are superb. Didn't even know that thing existed. Excellent.
@tomweiland5 жыл бұрын
Yep, it's definitely a good reference!
@leeoiou72952 жыл бұрын
The pacing for this video is perfect. Not fast, not slow. Good job!
@tomweiland2 жыл бұрын
Thanks, but you should use the newer tutorials instead. This solution isn't very good in comparison.
@kaij1n604 жыл бұрын
legends say that he spoke so fast to optimize the videolength, on clientside it's supposed to be slowed down to 0,75. Genius move.
@tomweiland4 жыл бұрын
Well I'm glad you think so-most people think it's _too_ fast, and I mostly agree. I personally hate it when tutorials are so slow that I constantly skip ahead, but I think I went a bit overboard with trying to avoid that :P
@bubberiffic4 жыл бұрын
@@tomweiland lol
@bubberiffic4 жыл бұрын
If you are on Visual Studio 2019 with all of the installed stuff that you need. Then just go in the console and click "Run" or start it will show a green play button, so just click on that to start/run the code.
@borisnliscool5 жыл бұрын
I must say, this was a bit fast for me. I had to pause it like a bajilion times. But still, nice video!
@tomweiland5 жыл бұрын
Thanks! I figured that since it's a tutorial, you'd be pausing a lot anyways (at least that's what I do when I'm watching tutorials), so a bit of extra speed wouldn't be a problem. It keeps the videos at a more manageable length, and keep in mind you can change the playback speed to something like 0.5x :)
@StreamOStreamS5 жыл бұрын
iam come from DDAANNII!!
@tomweiland5 жыл бұрын
Welcome to the community :)
@andreas22914 жыл бұрын
This is really good stuff. You honestly deserve a lot more subscribers, considering you have over 60k views on this video at the moment.
@tomweiland4 жыл бұрын
Thank you, that means a lot :D
@bittenbroccoli99014 жыл бұрын
LET'S GO! Never felt so amazing after copying a tutorial. Thanks a lot for putting this video together even if I did not understand most of it.
@tomweiland4 жыл бұрын
Glad you liked it :) Don't worry if you didn't get it right away-it took me a couple months before this stuff really clicked.
@rancorusia4 жыл бұрын
"double check you didnt miss anything" hard not to when you talk at 90mph...
@tomweiland4 жыл бұрын
Sorry about that. This was my first tutorial and I didn't realize how fast I was actually going-the later videos get better.
@HaxzploiD4 жыл бұрын
You can even set the video speed to 0.5 it has the added bonus of your instructor sounding extremely drunk...
@tomweiland4 жыл бұрын
@@HaxzploiD 😂
@thedude40394 жыл бұрын
Rancorusia It’s amazing. He codes at the speed of speech. That just goes to show how well he knows the subject.
@tomweiland4 жыл бұрын
@@thedude4039 the footage _is_ sped up, I don't actually type that fast :P
@ArrowBlitz-tq7rf4 жыл бұрын
Like if you were here before Dani and then saw Dani make it popular.
@tomweiland4 жыл бұрын
The networking series was actually on a pretty consistent upward trend even before Dani's shoutout, but of course everything went through the roof in the week afterwards :P
@kalix21105 жыл бұрын
Anyone else come from Dani?
@tomweiland5 жыл бұрын
Nearly 300 new subscribers overnight, and I'm sure many others as well! Welcome to the community :)
@tomweiland5 жыл бұрын
@@someoneelsenone822 I agree!
@FateShape4 жыл бұрын
You're the man! Even professional Unity lessons can't match this.
@tomweiland4 жыл бұрын
Well I don't know about that 😅
@qokhan34634 жыл бұрын
I watched and typed code in same time during video.. I couldn't believe the program was going to work at the end of the video. But I'm surprised... Its working well... YOU ARE AWESOME
@tomweiland4 жыл бұрын
Why didn't you believe that it would work 😅
@qokhan34634 жыл бұрын
@@tomweiland I discovered this channel before fall asleep :) result miracle for me :)
@CarbonDev3 жыл бұрын
Wish I could understand any of this, you came in clutch Tom
@tomweiland3 жыл бұрын
I know I could've explained things better, but if you stick with it it'll start to make sense eventually. I spent several months of working with this stuff before it really clicked for me, so it'll come if you stay persistent :)
@mello-rl64184 жыл бұрын
Best networking tutorial.
@tomweiland4 жыл бұрын
Thanks 😅
@TheIronicRaven3 жыл бұрын
It WOOORRRKKKSSS!!! I Don't understand most of what I typed, but it freakin worked!!!!! Stoked to try out the next videos! Amazing tutorial!
@tomweiland3 жыл бұрын
Seeing it work the first time is a special moment :P Stick with it and eventually it'll make sense!
@heinzketchup25424 жыл бұрын
Don't know if you still read replies, but thank you so much for this tutorial. My game wouldn't be possible without your help.
@tomweiland4 жыл бұрын
I do still read comments! I'm glad you enjoyed it :)
@bartoszkmiecik31933 жыл бұрын
Finally found a good tutorial on how to use .NET with Unity. Been looking for months for something like that. Thanks mate you're great!
@tomweiland3 жыл бұрын
Glad you like it :D
@SDev3 жыл бұрын
What plugins have you got installed, I installed just visual studio, but the default console app is showing much diferent! :(
@tomweiland3 жыл бұрын
I don't have any plugins installed... If your console app looks different, you may want to join the Discord server and post a picture there.
@SDev3 жыл бұрын
The problem is solved, I was just using the wrong version of the C# console, I just installed the model for .NET and it fixed it
@griffinbrooks67483 жыл бұрын
before dani: 720 subs 3 views after dani credited you: BRRRRRRRR tbh tho man, you deserve it! keep it up :D
@tomweiland3 жыл бұрын
Thanks 😅
@ae-_ae4 жыл бұрын
Thank you so much, I was having so much trouble setting up multiplayer, not my strongsuit. This is already helping a ton.
@tomweiland4 жыл бұрын
Awesome :)
@MrDeadNote4 ай бұрын
this gives a good idea for people who want to actually know how it works, extremely helpful
@tomweiland3 ай бұрын
Glad you like it :)
@guldberg754 жыл бұрын
If this is your first tutorial, it's a bang good job.
@tomweiland4 жыл бұрын
Thanks, although there's tons I could've done better, particularly the speed :P
@guldberg754 жыл бұрын
@@tomweiland Will you, or have you already, made a match making system? such as when a player makes a game others will be able to see the game and join it. I bet its a personal preference, some like the high speed and some dont. I like the most that you explain what the code does instead of just saying the actual code words your writing. For me, yeah sometimes the speed is a little bit too high if i want to write the code myself along with watching your video. I learn and remember alot better when writing things down.
@youngdollarzs4 жыл бұрын
Very Good tutorial easy to follow and all errors were addressed on the spot I love it. Pls keep this up as it has already helped me so much. So much thanks
@tomweiland4 жыл бұрын
I'm glad you liked it!
@reillybickerton25494 жыл бұрын
Super informational tutorial, great series and an over all great job. Thanks for using your time to help the uninformed.
@tomweiland4 жыл бұрын
I'm glad you like it :D
@mr_f3nr1r4 жыл бұрын
Thanks a lot for your c# tutorials, really helps me to write my bachelor diploma. Hope to finish it and make some sort of my own project video review :)
@tomweiland4 жыл бұрын
Awesome, I'm glad I could help!
@jalenmorgan6954 жыл бұрын
This was an excellent tutorial. I'll be watching all your videos from now on.
@tomweiland4 жыл бұрын
I'm glad you like it, welcome to the community :D
@julezgermany58394 жыл бұрын
Holy! Great Work- I have no experience in Networking and I think I was able to follow your coding very well. 12 Minute video and I was able to create my first connection =) NOICE! Keep it up m8 =)
@tomweiland4 жыл бұрын
That's good to hear!
@horoclanfake87204 жыл бұрын
Not much of a feedback, but t's kinda funny how people get turned down by amount of brain-storm needed to understand networking. Just look at views/likes in following videos. Great content btw, networking handling came super easy with several episodes and basic understanding of networks and TCP and UDP protocols. Love your work! I really love how you made everything in code so clear and organised!
@tomweiland4 жыл бұрын
Haha yeah the number of views basically decays exponentially as you go through the series :P I'm glad you liked the tutorial. As for the organization part, wait until you see the upgraded solution I've been working on-it's _so_ much cleaner and easier to use!
@tomweiland3 жыл бұрын
*IMPORTANT: these tutorials and the code in them are outdated!* I've been working on RiptideNetworking (a _much_ better multiplayer solution) for the last year, and I finally made a tutorial on how to use it: kzbin.info/www/bejne/bJy6f42Fe8h5h9k
@gamopshot11503 жыл бұрын
This Tutorial was really very helpful , I Didn't found such a good tutorial on youtube . Thanks :)
@tomweiland3 жыл бұрын
Glad to hear it :)
@djungelskogmemes3 жыл бұрын
What version of unity?
@RubrumsHandle3 жыл бұрын
6:52 After I do that last thing you said with Server.Start, Server is underlined red and this message shows up, "The name 'Server' does not exist in the current context". Any ideas?
@tomweiland3 жыл бұрын
Aside from your Server class being in a different namespace than where you're trying to call Server.Start, I'm not really sure what the problem might be without seeing it. I'd recommend joining the Discord server and asking there (and include screenshots).
@theodoks27383 жыл бұрын
At 5:45 in line 13 I get an error with . The type or namespace name 'Client' could not be found (are you missing a using directive or an assembly reference?) I don't really understand where this Client comes from as I see only TcpClient.
@tomweiland3 жыл бұрын
Do you not have a Client class? By that point in the video, you should have created one...
@jovannovakovic59755 жыл бұрын
Thank you very much for this one, Tom! It helped me a lot! This time next year you will have 100K subscribers! Cheers!
@tomweiland5 жыл бұрын
Haha, fingers crossed! I'm glad you found the tutorial helpful :)
@jonasbruskin36665 жыл бұрын
I think this is an amazing tutoriel, on something that is quite complicated. Good job :)
@tomweiland5 жыл бұрын
Thank you, that means a lot to hear!
@pyramear54144 жыл бұрын
This tutorial is excellent. Exactly what I was looking for.
@tomweiland4 жыл бұрын
Thank you :)
@someshshukla99053 жыл бұрын
why cant i find user control (wpf) server class at 1:20
@tomweiland3 жыл бұрын
You don't need it. I created a regular C# class, but my mouse was hovering over the user control thing when I pressed enter, which kind of made it look like I chose that one.
@someshshukla99053 жыл бұрын
@@tomweiland you're awesome!
@nootherkyle3 жыл бұрын
Dani really helped me, btw nice tutorial dude ; )
@tomweiland3 жыл бұрын
Thanks :)
@tristanbouchard99974 жыл бұрын
I came here from Dani because the UNet system is about to be out of date and will cost a bunch if I decide I wanna publish my game.. but holy cow. I don't even know how you keep up with yourself. You went so fastttt
@tomweiland4 жыл бұрын
Yeah sorry about the speed 😅 This was my first tutorial, but it gets better in later videos. I'm also working on an improved version of this solution, and when I make a video about that I'll definitely ensure that it's slower :)
@Enum_Dev5 жыл бұрын
Daddy Dani sent us here. Keep up the great work I subbed
@tomweiland5 жыл бұрын
Thanks for subscribing! Welcome to the community :)
@687r45dfg4 жыл бұрын
Thank You So Much, I Stuck At The End Part But Than Realized The Mistake. :) Really Helpful
@tomweiland4 жыл бұрын
Glad it helped :)
@jopo64455 жыл бұрын
Looking forward to seeing the future of the series
@tomweiland5 жыл бұрын
Glad you liked it, part 2 will be out this Saturday :)
@emnd45403 жыл бұрын
Hi tom. Nice tutorial. And new subscriber here. Came from dani’s recommendation.
@tomweiland3 жыл бұрын
Glad you liked it, welcome to the community :)
@harryhaddow62033 жыл бұрын
Thanks for building these tutorials. Much appreciated
@tomweiland3 жыл бұрын
Hopefully they're helpful! You may want to consider checking out my new tutorial though: kzbin.info/www/bejne/bJy6f42Fe8h5h9k
@rorschacht84784 жыл бұрын
I was gonna take a shot every time I had to pause the video. Glad I didn't cause I'd have alcohol poisoning at 0:20. Edit: Sorry I forgot to say thank you for these tutorials; straight to the point, nice quality, great volume, nice voice that doesn't burn my years. The only thing I'd critique is the font size of the IDE, would be nice if you had increased it just smudge as it can be kind of hard to read at times, especially since not everyone has GB internet and a 32" 4k monitor. *Sad 720p noises* Anyway, great video!
@tomweiland4 жыл бұрын
Hahahaha :P I increased the font size in later videos-I would've done it sooner but no one mentioned that was an issue for quite a while since the video wasn't getting too many views in the beginning.
@rorschacht84784 жыл бұрын
@@tomweiland Yeah I'm further in the playlist now and the font size has indeed increased so that's awesome! Keep up the good work! Glad I found your channel.
@mrcryptographic480310 ай бұрын
I don't use Unity for the Client. I use a normal c# program, but I get this error: "No connection could be made because the target machine actively refused it." Why is that, and what can I do about it? Sometimes it's working and sometimes I get this error.
@tomweiland10 ай бұрын
I'm not sure what might cause that-perhaps antivirus, firewall, and/or closed ports on your router? Use Riptide instead, this solution & tutorial series are outdated.
@AZR93L6 ай бұрын
Hello, I know that this tutorial is outdated but is it still posible to use this if I am just making a game that is LAN based since I have a school project that is asking me to not use the server stuff pre built into unity and I do not know how to connect a python server to unity since I have not learned that language yet
@tomweiland6 ай бұрын
This should still work, yes, but it was always messy and somewhat buggy. _"asking me to not use the server stuff pre built into unity"_ If you're referring to Riptide, that isn't "pre built into Unity." In fact it is not dependent on Unity in any way and you can just as well use it in a regular console app. _"I do not know how to connect a python server to unity since I have not learned that language yet"_ Then I'm not sure how using this series helps...Unity uses C# and this tutorial/solution uses C# too.
@AZR93L6 ай бұрын
@@tomweiland thank you
@leecandy86893 жыл бұрын
Yep, First one worked well for me in 2020.3.15f... now for the rest of them, Thank you.
@tomweiland3 жыл бұрын
Glad to hear it :)
@calcumalations12353 жыл бұрын
I remember doing this and my pc would crash idk why it works now but I’m happy that I can use this cause it’s better than pre built ones with limits
@tomweiland3 жыл бұрын
That sounds really strange, glad it's working now though :)
@booooo98634 жыл бұрын
Hi, I'm watching this tutorial but without using unity, Is there any way to destroy the object instance without implementing monobehaviour?
@tomweiland4 жыл бұрын
Regular classes don't need to be destroyed the same way game objects/MonoBehaviours do. If you remove all references to the class instance it will be destroyed by the garbage collector: stackoverflow.com/a/25765055
@mehmedcavas30693 жыл бұрын
for the first time I have watched a video and finished it with out any errors :D
@tomweiland3 жыл бұрын
Congrats :P
@silversurfer80575 жыл бұрын
one of the best tutorials on the subject. my wish would be an advanced tutorial on individual areas. eg how to do the server search, or the lobby with chat / game start and co. i'm pretty sure that this channel will get a lot more growth ;-)
@tomweiland5 жыл бұрын
Thank you :) Believe it or not, those topics you listed aren't actually that advanced. I'm not saying you're dumb or anything, but once you get into the "multiplayer mindset" things like that become just as straightforward as singleplayer game mechanics. Debugging is always a little trickier because there's more places where things can go wrong, but as you get used to working with a multiplayer solution like this one, you'll start to wonder why you thought these things seemed so complicated. Just stick with it!
@haihu57583 жыл бұрын
Hi I have a question, I am on mac and how should i run the server like you did at 7:10
@tomweiland3 жыл бұрын
There should be a green play button at the top of the Visual Studio window. In the video I think I pressed F5, not sure if that works on Mac though. If that doesn't work, just google how to run an application in VS on Mac.
@rosapink23904 жыл бұрын
This was awesome! I was able to learn, C# server creation, connection with client, Singleton Pattern and basic Unity UI. I like the way you explain. Like say exactly whats reading in the code with some comments on the idea of what is actually happening.
@tomweiland4 жыл бұрын
Thanks, I'm glad you like it!
@amitmalik51964 жыл бұрын
Dani Talked about you are just awesome bro....awesome tut....
@tomweiland4 жыл бұрын
Indeed he did-I'm glad you liked it :P
@shaxodatanvarova63194 жыл бұрын
[7:11] I missed to check "Allow private networks" when I rin the code. And There is not any Security alert window in the second time when I run the code. Can you tell me how to solve this issue?
@tomweiland4 жыл бұрын
You'll have to go into your settings and manually allow the server/client through the firewall.
@shaxodatanvarova63194 жыл бұрын
@@tomweiland I am Sorry, which seetings?
@acoupleofgsanrandaneaniandann3 жыл бұрын
I never knew seeing a line appear in a console could make me so happy.
@tomweiland3 жыл бұрын
Congrats 😂
@junglecookie26034 жыл бұрын
I am pretty young but your video still helped me soooo much and i understood everything very clearly. thank you :D
@tomweiland4 жыл бұрын
Glad I could help :)
@GGHandelGG3 жыл бұрын
In my opinion this ist the best Tutorial about Networking on KZbin. The structure of the project is also clear and easy to follow. But I'd like to know how many clients can this server handle at the same time? Is there a limit for the number of clients that can connect at the same time?
@tomweiland3 жыл бұрын
If you like this one, you should really check out my new series-this series here isn't very good, and the code we write in it is a straight up mess 😅 Neither this solution nor Riptide (the solution I cover in the new series) imposes any arbitrary connection limits like Photon does for example. Although the maximum number of players you'll be able to support with a single server instance depends heavily on your game and how resource intensive it is, Riptide is much more performant than the solution from these videos, so that'll be able to support even more players.
@pctomobile26584 жыл бұрын
do you know what: CS1501 C# No overload for method 'Copy' takes 4 arguments it is my only error in my project pls help
@tomweiland4 жыл бұрын
You're trying to pass 4 variables to the Copy method when you should be passing just 3. There are overloads that take 4 parameters, but apparently your types don't match up.
@rezamoeini96573 жыл бұрын
Its amazing!! Short and useful!
@tomweiland3 жыл бұрын
And a little too fast 😅
@frankzander59464 жыл бұрын
This is really awsome... it taught me so much and finally got me going on my multiplayer game .. thx so much !
@tomweiland4 жыл бұрын
Glad I could help :)
@iHouqLF4 жыл бұрын
Your Videos are very Helpful! thx man
@tomweiland4 жыл бұрын
Glad to hear it!
@princelol5183 жыл бұрын
I am getting an error that the given key was not present in the dictionary when I click the connect button
@tomweiland3 жыл бұрын
Check your for loops and make sure they all match
@princelol5183 жыл бұрын
okay, thanks :)
@konokdas10844 жыл бұрын
Dani learned from your video. Great job bruh...!!!
@tomweiland4 жыл бұрын
Thanks :)
@dragonminja2463 жыл бұрын
Content quality 100% , but set speed to 0.75 at times you go so blazing quick man. Any company should pay you triple the wage for that working speed haha. Good job
@tomweiland3 жыл бұрын
Yeah sorry about the speed-the later videos are a bit better in that regard. Glad you liked it :)
@xanmichaels4 жыл бұрын
Jimmy Cricket, you make it look, easy man! this video is the best thing ever after sliced bread (sorry Bread is tasty).
@tomweiland4 жыл бұрын
Haha thanks :P
@PatriotZest3 жыл бұрын
Hello Tom, I had a question how did you get the project template for visual studio 2019? Because I am not able to find it I also asked in ur discord server thanks
@tomweiland3 жыл бұрын
Pretty sure it was installed for me by default, but according to this (docs.microsoft.com/en-us/dotnet/core/tutorials/with-visual-studio) you need the .NET Core cross-platform development workload installed.
@PatriotZest3 жыл бұрын
@@tomweiland thanks man, also how do you get the wpf app? thanks for the fast reply! :D