Only me that would like to see this in an minecraft convension irl where a computer just sits where you can pull switches and things happen irl? Would be absolutely crazy to see.
This is just bafflingly amazing, you are a whiz with technology! You have managed to put a minecraft server into what is essentially a flashlight .... .... .... .... .... .... .... .... .... But *WHY?*
This is the type of video to be in everyone’s recommended in a few years EDIT: I originally found this video by scrolling through this guys channel and clicked on it when it had only around 14k views. Somehow it started to become recommended to people literally a few days later.
I was wondering why I got recommended this after just talking about Minecraft servers, but it's because you also are the one that was making the non-euclidean engine, I wish I found this channel in 2014.
1964: One day personal computers will have more than a kilobyte of RAM. 2014: 1 kilobyte of RAM. 1964: Huh? 2014: ...on a computer the size of a fingernail. It runs Minecraft. 1964: What... what is Minecraft?
Ha! I'm sitting here thinking that's great, you've got Minecraft running on a micro. Pretty cool, but not sure what to do with that beyond the challenge of actually running there. Then you flicked on the lights... My god, sir that is a freaking amazing result, my brain is overwhelmed with possibilities! Thankyou *so much* for sharing!
@@estehbread Imagine that by interfacing some stuff in game, people can do something in phisical world. For instance watch movie Ready Player One. There is similar situation. It is possible to implement it in opposite way. Maybe first application would be optimization for trafic lights control. When player does it correctly, gains cryptocurrency instead of silly gamepoints...
RU-vid recommended this to everyone, now sadly we are going to start being filled with "This got recommended to you didn´t it" and Meme comments that will slowly drown out the old ones.
this code literally has no meaning or purpose and should not in any way be able to work but is somehow a vital part of this and removing it kills the entire sequence. HOW??!?
Bill Gates: 640 KB of RAM is all you'll ever need. Owners of $100 phones: Haha nice joke, we have 2 Gb of RAM and it's barely enough to even boot. This guy: hold my beer... **gets whapping 1 KB of RAM**
Sweet. I like the idea of using a Minecraft world to make an interface for electronics too. I made my raspberry pi connect redstone signals with its physical GPIO lines. Fun exercise, albeit not nearly as badass as this!
why is this just now showing up in my feed? I only recently learned about bitcoin but from what I hear, unless you are pouring millions into making a mining farm for bitcoin (because it's all automated) you won't get your money back :T
Next Video: This server runs on 1byte of memory.. Me: How? CNLohr: I’m not sure, the aliens said something about alternate realities and quantum properties.. but that’s all I understood.
@@Dennis19901 Why not? It serves a valid Minecraft session. It may be incomplete, but it's valid (the game doesn't crash or quit from the server due to an error), it's a Minecraft session, and it's being served. Therefore, by definition of all 3 words, it's a valid Minecraft server.
@@Architector_4 Because aside of a handful of packets, it supports nothing that is the essence of Minecraft as a game. The server can only serve a very, very specific use-case for the client and literally nothing else. "the game doesn't crash or quit from the server due to an error" 1. How do you know this? Have you tried literally anything but what the video shows? 2. What an arbitrary requirement for a server. So any game that crashes due to a miscommunication with a server is not a server?
This is fucking great man! I've worked a little with AVR (and also play minecraft ;) ). I can't even begin to imagine how you managed to shove all that stuff into 1k of ram... man. You said it's awful a few times but I say it's fucking great!
You could use three 8 bit (or more) integers representing RGB and have each lever add to the respective values. It should allow you to stack colors (to a certain extent) and also save a ton of memory.
Holy hell. I know next to nothing about network programming and stuff like that but I do know a little bit about MCU and embedded systems. This just blows my mind completely. You're controlling physical lights with a MCU through a video game. That's just crazy to me. Please do a lengthy video on how this whole process works and explanation of the protocols & processes step by step. I would definitely watch the hell out of it.
By not actually being a Minecraft server. By supporting a very, very limited piece of the Minecraft network stack. Enough, for someone to 1: Log in 2: Move 3: Click levers
@@sam_music555 For the server aspect. It's a basic tcp-ish servert (he made his own tcp stack) which accepts certain parts of the Minecraft protocol (you can find these online). All the data and handlings in the "server" are static. This is the only world in the server and pulling the levers is the only functionality it has. To elaborate on this. You can write a simple application that does Minecraft servery things on your own pc in any language. Throw a TCP server/host on there (since the client communicates through TCP) and go through the checkboxes to have someone connect. Find out what the connection packets are, and send the appropriate response to the client. That's the very least you need to have. From there. implement anything else you want. Throw it on a PCB and presto
Hmm, right now I'm using my smartphone to provide tethering to my PC to get internet (cause I'm waiting on better connection to get an ethernet cable into it). But I was thinking, could I use my ESP8266 instead of the phone? Is it powerful enough? It should do the job, right?
@@ianbos3581 My then shitty phone was bottlenecking me as well I think. Now I use that phone as a webcam through DroidCam because its battery lasts about 20 minutes after years of use.
Hey, I use avr-gcc (comes with Linux Mint) AVRDude and A TinyISP of my own design. In fact I've made ~25 TinyISPs of my own design and keep using them. They're like guitar picks. Whenever I need one there's always one laying around. Mayhap I do a video on it :). It costs ~$5? ~$6 in parts and is nicer than the really rough Tiny44 ISPs.
If you are just starting, buy some cheap ISP programmer (like USBasp it cost around 3$ from China and it sort of work). If you want to push to limit then you need some HVSP/HVPP programmer (high voltage serial/parallel programmer) but there is limited number of them ( I use Atmel AVR Dragon but it have some faults or you can use STK500 but you need RS232 port for it) and they are not so cheap.
imagine using a minecraft server to control the lights in your house "Yo man can you turn on the led lights" "Yeah let me boot up minecraft real quick"
I swear this channel is so precious. I have a question though, in your video it says you're using TCP but with no syn/ack. Why not use UDP instead of TCP if you "don't care" about packets not reaching their dest.? Is there any component in your setup forcing you to do so ? Is it because Minecraft's netcode is TCP based and it can only receive and parse TCP packets? Or it can accept both and only needs to look at the data header? Nonetheless, amazing instructive video !
this is actually so cool, small usb device with a living world inside kind of thing that u can actually interact with. imagine finding one of these and disovering its contents is a mc server and u find shit inside