- 100
- 14 279
SharidanDK
Denmark
Приєднався 18 тра 2012
Stream videos of C# live tutorials and other random C#/web development. Possibly other stuff in the future - who knows?
Autonauts #6: Automating the world of Shardania
Autonauts #6: Automating the world of Shardania
Переглядів: 62
Відео
Autonauts #5: Automating the world of Shardania
Переглядів 164 роки тому
Autonauts #5: Automating the world of Shardania
Autonauts #4: Automating the world of Shardania
Переглядів 74 роки тому
Autonauts #4: Automating the world of Shardania
Autonauts #3: Automating the world of Shardania
Переглядів 64 роки тому
Autonauts #3: Automating the world of Shardania
Autonauts #2: Automating the world of Shardania
Переглядів 114 роки тому
Autonauts #2: Automating the world of Shardania
Autonauts #1: Automating the world of Shardania
Переглядів 624 роки тому
Autonauts #1: Automating the world of Shardania
C# live tutorial: Creating a Minecraft server launcher (Part 41)
Переглядів 1,4 тис.6 років тому
C# live tutorial: Creating a Minecraft server launcher (Part 41)
C# live tutorial: Creating a Minecraft server launcher (Part 40)
Переглядів 1506 років тому
C# live tutorial: Creating a Minecraft server launcher (Part 40)
C# live tutorial: Creating a Minecraft server launcher (Part 39)
Переглядів 676 років тому
C# live tutorial: Creating a Minecraft server launcher (Part 39)
C# live tutorial: Creating a Minecraft server launcher (Part 38)
Переглядів 886 років тому
C# live tutorial: Creating a Minecraft server launcher (Part 38)
C# live tutorial: Creating a Minecraft server launcher (Part 37)
Переглядів 2106 років тому
C# live tutorial: Creating a Minecraft server launcher (Part 37)
C# live tutorial: Creating a Minecraft server launcher (Part 36)
Переглядів 656 років тому
C# live tutorial: Creating a Minecraft server launcher (Part 36)
C# live tutorial: Creating a Minecraft server launcher (Part 35)
Переглядів 476 років тому
C# live tutorial: Creating a Minecraft server launcher (Part 35)
C# live tutorial: Creating a Minecraft server launcher (Part 34)
Переглядів 686 років тому
C# live tutorial: Creating a Minecraft server launcher (Part 34)
C# live tutorial: Creating a Minecraft server launcher (Part 33)
Переглядів 496 років тому
C# live tutorial: Creating a Minecraft server launcher (Part 33)
C# live tutorial: Creating a Minecraft server launcher (Part 32)
Переглядів 246 років тому
C# live tutorial: Creating a Minecraft server launcher (Part 32)
C# live tutorial: Creating a Minecraft server launcher (Part 31)
Переглядів 556 років тому
C# live tutorial: Creating a Minecraft server launcher (Part 31)
C# live tutorial: Creating a Minecraft server launcher (Part 30)
Переглядів 2566 років тому
C# live tutorial: Creating a Minecraft server launcher (Part 30)
C# live tutorial: Creating a Minecraft server launcher (Part 29)
Переглядів 706 років тому
C# live tutorial: Creating a Minecraft server launcher (Part 29)
C# live tutorial: Creating a Minecraft server launcher (Part 28)
Переглядів 636 років тому
C# live tutorial: Creating a Minecraft server launcher (Part 28)
C# live tutorial: Creating a Minecraft server launcher (Part 27)
Переглядів 506 років тому
C# live tutorial: Creating a Minecraft server launcher (Part 27)
C# live tutorial: Creating a Minecraft server launcher (Part 26)
Переглядів 3846 років тому
C# live tutorial: Creating a Minecraft server launcher (Part 26)
C# live tutorial: Creating a Minecraft server launcher (Part 25)
Переглядів 256 років тому
C# live tutorial: Creating a Minecraft server launcher (Part 25)
C# live tutorial: Creating a Minecraft server launcher (Part 24)
Переглядів 316 років тому
C# live tutorial: Creating a Minecraft server launcher (Part 24)
C# live tutorial: Creating a Minecraft server launcher (Part 23)
Переглядів 1046 років тому
C# live tutorial: Creating a Minecraft server launcher (Part 23)
C# live tutorial: Creating a Minecraft server launcher (Part 22)
Переглядів 346 років тому
C# live tutorial: Creating a Minecraft server launcher (Part 22)
C# live tutorial: Creating a Minecraft server launcher (Part 21)
Переглядів 176 років тому
C# live tutorial: Creating a Minecraft server launcher (Part 21)
C# live tutorial: Creating a Minecraft server launcher (Part 20)
Переглядів 296 років тому
C# live tutorial: Creating a Minecraft server launcher (Part 20)
C# live tutorial: Creating a Minecraft server launcher (Part 19)
Переглядів 2416 років тому
C# live tutorial: Creating a Minecraft server launcher (Part 19)
C# live tutorial: Creating a Minecraft server launcher (Part 18)
Переглядів 946 років тому
C# live tutorial: Creating a Minecraft server launcher (Part 18)
cool-looking brides you've got there. I still have so much to learn about trains lol. Dropped a like :D
Thank you! Trains are relatively straight forward. The tricky part is figuring out the signals and how to set them up. For the most part the Block Signal is the one you will be using the most, to create individual blocks of track where trains can stop and wait. Our bridge blueprint is 5 foundations long, so we tend to run track pieces 10 foundations at a time and I generally try to have about 4 bridge pieces between each block signal. That seems to work fine for the trains we're using (4 cars). The Path Signal is only used with junctions. Bitz made a video about a year ago explaining the signals and how to use them - link: ua-cam.com/video/Be7m7hY51zg/v-deo.html
Very impressiv how you guys can manage this big build ❤ Always cozy to listen to you guys. ! Thanks for stream 🤗
I love your world,you did a great job with the design❤
It's a team effort - thank you so much :)
Great stream Guys ❤
think i have a old 19" :p nice stream guys !
I recommend using Path.Combine() when merging path parts.
I generally make use of Path.Combine() when dealing with paths, however for this series I deliberately chose to go old-school with most implementations, to show-case how things are done when nifty convenience libraries are not available. In my opinion becoming overly dependent on libraries to do simple things for us, causes developers to become trapped by the libraries they depend on, to a point where they can't continue their development process if a dependency library is suddenly not available. Show-casing how things can be implemented through manual means that are not dependent on a library, also provides the knowledge of how it's actually done by said library. This also has the effect of granting sufficient knowledge to implement similar methods in different languages that may not have a nifty library like System.IO's Path.Combine() available. Once the core knowledge is in place about how things are or can be implemented, library independent, then nitfy time saving libraries can replace the "back-to-basics" ways of implementing things. One key thing to note about Path.Combine() is that it's implementation differs depending which version of the .Net framework you use. In some versions, Path.Combine() only accepts 2 parameters at a time and in more recent versions the argument listing has been changed to accept a params array of path parts, making code written under newer versions of .Net incompatible with older versions, when making use of Path.Combine()
@@SharidanDK I absolutely agree about core coding knowledge. A brain is the first instrument for development. I just wanted to mention a problem which could be caused by a programmer's fault: if someone forgets to add "/" or adds an extra "/" (it will probably happen when somewhere exist values which would be concatenated in the future, i.e. "minecraftVersionsFolderPath=folder; minecraftVersionFileName=file", the string will concat with something like "folder1folder2/folder3//folder4filename". And to prevent that, the code should somehow handle this situation.
Hey bro, do you know how to start minecraft 1.8.9 in Csharp by clicking a 'Play' button? Only with one void, if you can make a video about it I would appreciate it! Like there!
It has been a while since I did these streams, so I don't exactly recall which part(s) I go through the steps of launching a process in this project. The project source code is available on GitHub and you'll need to look in ServerHost.cs under CSharpLibs/Minecraft - line 504 to 518: github.com/Sharidan/MinecraftServerLauncher/blob/f57d22df05a6370724ae684430357ad0421c53dc/MinecraftServerLauncher/CSharpLibs/Minecraft/ServerHost.cs#L504 The Process and ProcessInfo classes in the System.Diagnostics namespace, allow you to launch any process / application, provided you specify the correct parameters and paths for everything. In this project, the assumption is that Java is installed and that you have downloaded the Jar for the specific Minecraft version you want to run. Since this project is a server launcher, the server Jar is assumed downloaded, but you can just as easily launch the game client - it's just a different Jar afterall. You could copy/paste the section of code I've mentioned, modify the parameters to match and stuff it into a regular button. The additional code in ServerHost.cs is there to capture and handle the output that comes from the executing Jar - what typically goes into the console. If there is no need for your project to process that console output, you can leave out that part of the code. The Process class on MSDN: docs.microsoft.com/en-us/dotnet/api/system.diagnostics.process?view=net-5.0
For those wanting the source code for this project, there's a link to the GitHub repository in the description of part 4 and onwards. This series is 40+ parts long, all real time unedited recordings straight from the live streams, so a lot of hours but littered with thoughts and explanations detailing some the efforts that go into designing the code. Worth noting is that some of the code design choices I made, were made for the sake of show-casing / explaining the principles behind the functions, over faster and more efficient implementations.
omg thanks !!
Hey is there any chance that I could get the source code for this? I've been trying to make my own launcher for a while now, and I just wanted to take a look at how it's actually done, Without spending hours watching videos. If you can that would be great! :D
I didn't upload the sourcecode until a bit further into the project. If I recall correctly, the GitHub repo should be in the description in part 4 and onwards, though I would recommend that you follow along anyway, as these streams were intended to teach the code and expose the thinking behind the design of the code. Please also note, that the code in this project was written with the intent to teach code basics - not to show how it can be done the most efficient or compact way. Had I written this project without the need to teach, I would most likely have written it differently, more efficient and more compact, but the cost of doing that is that the code gets harder to read and understand. Feel free to see how I did it here, but keep in mind that there are other ways of achieving the same results.
Thank you very much for this effort, I benefited and learned a lot from you.
I'm glad you found value in this, thank you! :)
@@SharidanDK All thanks goes to you really. I am watching your video second by second and doing what you are teaching us. Again, huge thank you for this really.
thankyou
Mate this is so damn good, I love these tutorials
Glad you like them :) Just keep in mind, that while writing code, there are 1000 different ways to solve the same task or problem. What I showed in these videos is just my chosen approach, but also my thinking behind the choices I made.
great video bro
amazing video
this is gooooooooooooooooooooood video!!!!!!!!
test it
This is so helpfull! You deserve 100 Million subs : D
Glad you find it useful :)
give me project pls
There is a link to the project's GitHub repository in the description. I usually update the repo right after every streaming session or the day after.