Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

MoonlightOwl

Members
  • Content Count

    34
  • Joined

  • Last visited

  • Days Won

    16

MoonlightOwl last won the day on September 12

MoonlightOwl had the most liked content!

6 Followers

About MoonlightOwl

  • Rank
    Junior Member

Contact Methods

  • Minecraft
    Totoro
  • GitHub
    MoonlightOwl

Recent Profile Visitors

1101 profile views
  1. What is STEM? Did you ever want to have a linked card, but without this pair-to-pair limitations? Well, you have internet card. And that is already half of the solution. The other half is to use Stem. Stem is a message transmitter for your OpenComputers devices with internet cards. Using a small OpenOS library you can use Stem to send and receive messages. Unlike the standard `modem` component, Stem-messaging uses not addresses, but `channels`. You can send messages to any channels, and you can subscribe to any number of channels to listen for messages from them. Installation The best way is to use HPM: hpm install stem If you do not have HPM, install it like this: pastebin run vf6upeAN If you do not want to use HPM repository, you can just use wget: wget https://gitlab.com/UnicornFreedom/stem/raw/master/stem.lua Example of a program using STEM local event = require('event') -- use STEM client library local stem = require('stem') -- open a connection to a STEM server -- the `stem.fomalhaut.me` is a default one local server = stem.connect('stem.fomalhaut.me') -- subscribe for messages from the channel with ID 'my-channel-id' server:subscribe('my-channel-id') -- then listen for events in a loop... while true do local name, channel_id, message = event.pull('stem_message') if name ~= nil then print(channel_id, message) end end -- ...or register an event listener event.listen('stem_message', function(_, _, channel_id, message) print(channel_id, message) end) -- you can also send message to the channel -- (you do not need to be subscribed to this channel, to send a message) server:send('my-channel-id', 'hello there') -- unsubscribe from channel server:unsubscribe('my-channel-id') -- completely close the connection to the STEM server server:disconnect() That is all. But there is more. Web client If you open the link to Stem server in your browser: https://stem.fomalhaut.me/ You will see some statistics and the web client. Enter your channel ID into the form, and you can send messages to your robot in real time, right from your phone, without even starting Minecraft. The web client is limited with UTF-8 encoding, though. (Using OpenOS you can send literally anything, as long as the message fits in 64kb of data.) Security Questions The channels by default do not have any special security measures applied. They do not have any authentication mechanisms, the do not have any encryption. Anyone who knows the ID of a channel can send a message to it and can listen for responses. But. The length of ID is 256 bytes. And that can be any bytes - from 0 to 255. That means, that you have 256^256 possible combinations for your ID. And that is a giant number. If you need to secure your channel - just use something long and incomprehensible as your ID. As an additional measure you can use end-to-end encryption, or anything else - this is up to you. Default STEM server uses HTTPS, and does not store any information - message in, message out. Self-hosted STEM solution For those of you who are strong in spirit and computer knowledge - there is a self-hosted option. You can build Stem server from sources and run it on your machine. This is also pretty easy. Additional instructions can be found on GitLab. Useful links GitLab repository: https://gitlab.com/UnicornFreedom/stem Protocol description: https://gitlab.com/UnicornFreedom/stem/wikis/protocol Default server: https://stem.fomalhaut.me/ HPM package: https://hel.fomalhaut.me/#packages/stem If I forgot something - feel free to ask here, or in IRC (my nickname is Totoro there). Also the project contains at least one "Easter egg" feature, that can offer some interesting options if you know HTML/CSS/JS. The Stem protocol is open - you can modify it, you can create your own clients in any programming language, etc.
  2. Hello Doggle. The projector need to be connected to the computer (where the editor is running) with a cable. The cable can be connected to the computer from any side, and to the projector only from the bottom side. You can check a list of components available for the computer by entering an OpenOS command: components If the resulting output will contain any string with a word `hologram` in it - there you are. Unfortunately, this editor models are not compatible with the 3D printer. To create 3D models for the printer with some comfort you can use some external voxel tools like this, and then convert a *.vox file to the printer compatible format, for example with this JS converter.
  3. Yeah, quite reasonable feature, i think. I will add it to the next version sometime soon. =)
  4. I tracked down these bugs and fixed them. Also refactored source codes a bit (particularly textbox widget) Try the new version, please: Hologram Editor 0.7.1-en Hologram Viewer 0.7.1-en
  5. Wow. That's a nice bunch of bugs I'll look at the code and try to fix them this evening. Thank you for the screens!
  6. 0.7 version includes a few improvements, but yeah, it pretty much does the same. =) How do you specify the path to you model? `show` util is purely console, and basically it can be used like this: show yourfile You can try to use full path (/home/yourmodel) or relative (./yourmodel). Also it is worth mentioning, that in last version (0.7.0) saved hologram files have a new (effectively compressed) format `*.3dx`. Pay attention to file extension, when spelling file name. UPD. I have updated the first post, and added new editor version (0.7.0) with English localization (translation is pretty raw, if you see any errors, feel free to write me about them =)). Hologram Editor 0.7.0 (English) Hologram Viewer 0.7.0 (English)
  7. You need to run `holo` program, then draw something on the grid, then input new file name in textbox, then click the `Save` button. New file will be created in the same directory, where `holo` program lies. Yeah, console interface (commands like `holo myholofile.3d`) would be nice for work, but is not yet available. =) P.S. Also, `holo` is Hologram Editor here, not Hologram Viewer.
  8. Hm.. Checked both on 1.5.12 and 1.5.9 (MC 1.7.10). I can not reproduce the error. All functions works fine.
  9. 1) Install 0.7.1: http://pastebin.com/LPb4FEv4 0.7.0: http://pastebin.com/2kG4V3tB 0.6.0: http://pastebin.com/bR33cXDU You can use internet card, and command: pastebin get LPb4FEv4 holo 2) What do you need a) Diamond Screen and Graphics card (for good resolution). Beginning from version 0.7.0 you can use a golden GPU card. Diamond processor (just faster; before OC 1.4 it's not important) c) 2 Golden memory planks. d) Internet card (to get program from pastebin) e) Hologram projector (to preview your creation) f) other parts, any levels 3) What can it do? This is a simple tool for hologram edition, viewing, saving and distribution (as `*.3d` or `*.3dx` files). You create hologram in layers. (48x32x48 voxels). You can switch between "Top", "Front" and "Side" projections. The editor can show additional layer as "ghost", for comparison between layers. By default this is layer "below" or "above" current. Also the editor allow you to use some hotkeys: '~' '1' '2' '3' for eraser tool or brushes, 'Del' to clear layer. 3DX format is quite lightweight (around 1.4 kB for a complex model). Old 3D format is around 19kB per model, but is easier to parse. 4) What does this look like? 5) I just want to show my model, do I need a full editor tool for this? To "deploy" hologram (any computer, any components), you cant use small `show` tool: 0.7.1: http://pastebin.com/1iW9fX7i 0.7.0: http://pastebin.com/vvxKKGff 0.6.0: http://pastebin.com/ggwXr81P pastebin get 1iW9fX7i show Usage: show filename[.3d/.3dx] [scale] 6) What do you think?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.