You'd still need hamachi or port forwarding.
This tool just makes the server appear on the LAN world list. If you're both on different LANs you still can't communicate directly.
So, I had a look with Wireshark at how Minecraft announces LAN worlds. It sends an UDP packet to the IP 224.0.2.60, port 4445, with a string like "[MOTD]server motd here[/MOTD][AD]server address here[/AD]".
So I made a little Java tool that does just that, announce servers on LAN so that anyone who clicks the "Multiplayer" button will see it. The fun thing is that it works too even if the server is a regular server, and not a LAN world. The address can even be a domain name, and it can be any address, not only on LAN.
Possible uses of this:
- If you set up a real server on LAN (Bukkit or vanilla) you can still have it announced like LAN worlds!
- You can also announce your outside-LAN server!
@Monopoly2121: Thanks for making a schematic! I can't check it out right now, i'm really busy. I will later. I'm curious to see how you optimized it :biggrin.gif:
@jp86ii: Nice video :biggrin.gif: How are you generating the signal to retract the pistons? It can't be seen clearly from the video. I've actually been thinking at how to make a vertical variant of my design but didn't come up with a solution... This looks actually a nice one!
(BTW I love the fishing rod on pressure plate trick! It's really useful! Thanks!)
@Neptunic: :biggrin.gif: Glad you find it useful. I'm curious to see what you can come up with using this.
So, well, this is the circuit I came up today on a friend's server after being challenged to build a 5-piston extender/retracter. I then realized that what I had built could be extended to any number of pistons.
It solves the classic problem of extending and retracting a row of pistons completely. And most importantly, the circuit has a cool triangular shape! :biggrin.gif:
The row of repeaters and redstone in front of the pistons extends them in the proper order, and does the first step of retracting. Then the signal is fed into a falling edge detector (right) which powers all the rows in the triangle one after another with a certain delay. Every row emits a series of pulses that retracts the pistons 1 block more. The last piston pulse, to retract the block at the end, is powered directly from the back of the triangle.
It's quite sensitive to the timings, I've got what seemed to work stable for me, but it maybe can be sped up a bit.
It is extendable up to 15 (16?) pistons, whatever the pushing limit is.
I'm pretty the front row of repeaters can be incorporated to the triangle in a compact way. Maybe adding an extra row like the other ones, and then adding a simple chain of repeaters that powers the pistons in normal order? :tongue.gif:
That way the pistons would be powered from one side only, which is more useful :biggrin.gif:
I can't put a download link because I made it in a friend's server, so I'll post lots of pics instead! If there's enough interest I'll build it again in singleplayer and upload it :smile.gif:
A 4 button, 5 presses lock like the one I made has 4^5 = 4*4*4*4*4 = 1024 possible combinations (different possible PIN codes).
If we make a 10-lever lock, like this one below I just put together, it has 2^10 = 1024 combinations too. Every lever can be either on or off, and all the levers have to be in their correct position for the lock to open. Since it has the same number of combinations, it's equally secure. (as long as you manually turn all the levers off after using, obviously)
The lever-based lock is way more compact than ANY other lock in terms of combinations/volume ratio.
This is why I say that combinations/volume is not a good measure of compactness.
Yea, I thought about the combinations:volume ratio too, but I think that's not a good measure.
The reason is that crappy lever+AND gate locks would win at this measurement. For example, you can easily make it 4 blocks of volume per lever. For N levers, the number of combinations would be 2^N, while the volume would be 4*N. So you can make N as large as you want, and the ratio 2^N/(4*N) gets as high as you want.
The problem with lever+AND combo locks is that they're extremely tedious to operate: you have to reset them manually after use. So in usability, PIN-based combo locks win.
I once made a lever-based combo lock which used 1-wide tileable RS-NOR latches instead of levers, so you had N buttons to turn the latches on, and one reset button that turned all the latches off. The reset was triggered also when the correct code was entered, so it could be operated easily. Though that's not as beautiful as a PIN lock :tongue.gif:
Yeah, this lock supports the same number twice in a row because the pistons are activated from back to front, and the signal goes from front to back.
Though yea, it has problems with multiple button pressing. At least, due to the pulse limiters, you can't replace the buttons with levers and flick them all on. But yes, you can get 4 people on an SMP server and each one spams a different button, and the door opens (I think, I haven't tested)
I'm yet to see a compact secure combo lock :tongue.gif:
Maybe the problem with the multiple button presses can be solved by a minecart destination selector (it only allows 1 output to be on at the same time. I saw a nice 1-wide tileable design for it somewhere) and then pulse limiters. But that wouldn't be quite... compact :tongue.gif:
4 buttons, 5 button presses makes it an only 10x14x3 circuit! This makes it the (nearly :tongue.gif:) most compact combo lock in this forum.
It's expandable up to infinite button presses (it'd get quite slow though) and up to 15 buttons (16 maybe).
The strength of this lock is that I managed to make it only 3 high (counting the floor, so it could be said to be 2-high too) using pistons.
It auto-resets every 5 button presses so it's secure. It can be modified to have any combination.
1
This tool just makes the server appear on the LAN world list. If you're both on different LANs you still can't communicate directly.
1
So I made a little Java tool that does just that, announce servers on LAN so that anyone who clicks the "Multiplayer" button will see it. The fun thing is that it works too even if the server is a regular server, and not a LAN world. The address can even be a domain name, and it can be any address, not only on LAN.
Possible uses of this:
- If you set up a real server on LAN (Bukkit or vanilla) you can still have it announced like LAN worlds!
- You can also announce your outside-LAN server!
Screenshot:
The tool:
How an announced server looks like:
Download: http://dirbaio.net/d/MineAnnouncer.zip
Instructions: Download, unzip, and run MineAnnouncer.jar with Java.
Source code: https://github.com/D...o/MineAnnouncer
0
How? Could you post some screenshots or schematics? Thanks!
0
@Monopoly2121: Thanks for making a schematic! I can't check it out right now, i'm really busy. I will later. I'm curious to see how you optimized it :biggrin.gif:
@jp86ii: Nice video :biggrin.gif: How are you generating the signal to retract the pistons? It can't be seen clearly from the video. I've actually been thinking at how to make a vertical variant of my design but didn't come up with a solution... This looks actually a nice one!
(BTW I love the fishing rod on pressure plate trick! It's really useful! Thanks!)
@Neptunic: :biggrin.gif: Glad you find it useful. I'm curious to see what you can come up with using this.
5
It solves the classic problem of extending and retracting a row of pistons completely. And most importantly, the circuit has a cool triangular shape! :biggrin.gif:
The row of repeaters and redstone in front of the pistons extends them in the proper order, and does the first step of retracting. Then the signal is fed into a falling edge detector (right) which powers all the rows in the triangle one after another with a certain delay. Every row emits a series of pulses that retracts the pistons 1 block more. The last piston pulse, to retract the block at the end, is powered directly from the back of the triangle.
It's quite sensitive to the timings, I've got what seemed to work stable for me, but it maybe can be sped up a bit.
It is extendable up to 15 (16?) pistons, whatever the pushing limit is.
I'm pretty the front row of repeaters can be incorporated to the triangle in a compact way. Maybe adding an extra row like the other ones, and then adding a simple chain of repeaters that powers the pistons in normal order? :tongue.gif:
That way the pistons would be powered from one side only, which is more useful :biggrin.gif:
I can't put a download link because I made it in a friend's server, so I'll post lots of pics instead! If there's enough interest I'll build it again in singleplayer and upload it :smile.gif:
0
0
A 4 button, 5 presses lock like the one I made has 4^5 = 4*4*4*4*4 = 1024 possible combinations (different possible PIN codes).
If we make a 10-lever lock, like this one below I just put together, it has 2^10 = 1024 combinations too. Every lever can be either on or off, and all the levers have to be in their correct position for the lock to open. Since it has the same number of combinations, it's equally secure. (as long as you manually turn all the levers off after using, obviously)
The lever-based lock is way more compact than ANY other lock in terms of combinations/volume ratio.
This is why I say that combinations/volume is not a good measure of compactness.
0
I will ignore that comment to not start an argument. As you can see I've edited the title of my topic.
0
The reason is that crappy lever+AND gate locks would win at this measurement. For example, you can easily make it 4 blocks of volume per lever. For N levers, the number of combinations would be 2^N, while the volume would be 4*N. So you can make N as large as you want, and the ratio 2^N/(4*N) gets as high as you want.
The problem with lever+AND combo locks is that they're extremely tedious to operate: you have to reset them manually after use. So in usability, PIN-based combo locks win.
I once made a lever-based combo lock which used 1-wide tileable RS-NOR latches instead of levers, so you had N buttons to turn the latches on, and one reset button that turned all the latches off. The reset was triggered also when the correct code was entered, so it could be operated easily. Though that's not as beautiful as a PIN lock :tongue.gif:
Yeah, this lock supports the same number twice in a row because the pistons are activated from back to front, and the signal goes from front to back.
Though yea, it has problems with multiple button pressing. At least, due to the pulse limiters, you can't replace the buttons with levers and flick them all on. But yes, you can get 4 people on an SMP server and each one spams a different button, and the door opens (I think, I haven't tested)
I'm yet to see a compact secure combo lock :tongue.gif:
Maybe the problem with the multiple button presses can be solved by a minecart destination selector (it only allows 1 output to be on at the same time. I saw a nice 1-wide tileable design for it somewhere) and then pulse limiters. But that wouldn't be quite... compact :tongue.gif:
0
But, true,it has 6 button presses. Adding one more to this lock would make it 2 blocks longer...
You can expect a redesign soon :tongue.gif:
0
10x14x3 = 420
9x12x4 = 432
What other ways are there to compare sizes?
0
I once made a really similar combo lock design using piston counters too.
http://www.minecraftforum.net/topic/773335-most-compact-auto-resetting-combo-lock-ever/page__p__10043529__fromsearch__1
(that one didn't turn out to be the most compact one. I've made another http://www.minecraftforum.net/topic/917442-most-compact-redstone-combo-lock/ which *is* the most compact one, even more compact than grizdale's)
0
I like the simple design of these cannons.
The use of enchantment tables is... interesting :tongue.gif: I'd never thought of that!
0
No, it's not. He's not counting the floor, while I am, so his is technically 4 high. (or mine is 2 high then :tongue.gif:)
:smile.gif:
0
It's expandable up to infinite button presses (it'd get quite slow though) and up to 15 buttons (16 maybe).
The strength of this lock is that I managed to make it only 3 high (counting the floor, so it could be said to be 2-high too) using pistons.
It auto-resets every 5 button presses so it's secure. It can be modified to have any combination.
Pics:
World download: http://dirbaio.net/d/rs/combolock2.zip
(the code of the lock is 23213)
Enjoy and please tell me what you think!