[Modpack] Digiline Stuff [digiline_stuff] - digiline devices

User avatar
jogag
Member
Posts: 106
Joined: Wed Aug 12, 2015 18:32
GitHub: jogag
IRC: jogag
In-game: jogag
Location: Online

[Modpack] Digiline Stuff [digiline_stuff] - digiline devices

by jogag » Post

I'm currently working on a modpack:
Digiline Stuff
The modpack adds some digiline devices which do many things.

Currently added things:
  • Memory chips
  • Portable memory cards (SD cards)
  • Digiline Printer
  • Digiline Keyboard
  • Weather Sensor
  • Digline Command Block
Work in progress:
  • Internet of Things: Wi-Fi and hack-ready routers
  • Port expanders for luacontrollers
Dependencies:
  • Digilines (for all mods)
  • Memorandum (if you want the printer)
  • Weather (for the weather sensor)
Download: click to download ZIP file
Repo: GitHub
Spoiler
Coming soon, making them...
Last edited by jogag on Sat Sep 05, 2015 09:27, edited 5 times in total.

User avatar
benrob0329
Member
Posts: 1341
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
IRC: benrob0329
In-game: benrob03
Location: Michigan
Contact:

Re: Digiline Stuff pack - a lot of digiline things!

by benrob0329 » Post

Kubix and I just started experimenting with digilines on our personal server, I can't wait until this gets released!

User avatar
jogag
Member
Posts: 106
Joined: Wed Aug 12, 2015 18:32
GitHub: jogag
IRC: jogag
In-game: jogag
Location: Online

Re: [Modpack] Digiline Stuff [digiline_stuff] - digiline dev

by jogag » Post

Working on IoT (Internet of Things) now, a hack-ready router you can flash with your OpenWRT clone :) or make your wifi lamp you control with a tablet. There are also wifi transceivers you can use to connect luacontrollers to the internet. (they are similar to the ones in technic game, but with more features!!!).

User avatar
benrob0329
Member
Posts: 1341
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
IRC: benrob0329
In-game: benrob03
Location: Michigan
Contact:

Re: [Modpack] Digiline Stuff [digiline_stuff] - digiline dev

by benrob0329 » Post

This mod sounds...AWESOME!

Sadly the Ubuntu install on our server blew up, so we have to start over ;-(

User avatar
AiTechEye
Member
Posts: 1000
Joined: Fri May 29, 2015 21:14
GitHub: AiTechEye
Location: Sweden

Re: [Modpack] Digiline Stuff [digiline_stuff] - digiline dev

by AiTechEye » Post

Can you make 2 other basic but usefull things:
1: player detector like in mesecon, but will get the name :)
2: and a button / scanner that also get the playername on press

User avatar
benrob0329
Member
Posts: 1341
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
IRC: benrob0329
In-game: benrob03
Location: Michigan
Contact:

Re: [Modpack] Digiline Stuff [digiline_stuff] - digiline dev

by benrob0329 » Post

Digiline keyboard?

User avatar
jogag
Member
Posts: 106
Joined: Wed Aug 12, 2015 18:32
GitHub: jogag
IRC: jogag
In-game: jogag
Location: Online

Re: [Modpack] Digiline Stuff [digiline_stuff] - digiline dev

by jogag » Post

WARNING: The download is still not working, I will upload everything soon!
benrob0329 wrote:Digiline keyboard?
I already added it, but I still need to upload to github.
UjEdwin wrote:Can you make 2 other basic but usefull things:
1: player detector like in mesecon, but will get the name :)
2: and a button / scanner that also get the playername on press
The mesecon player detector has already digiline support, but with some bugs...

I also added SD cards, which work simple: a card can store a single (but long!) string, and you can read, write and erase it by putting it in a reader. Useful to store data without paper (memorandum mod) and typing it manually.

And routers have now FULL lua capabilities, so if you want to make a big project, hack one of those!!!

User avatar
jogag
Member
Posts: 106
Joined: Wed Aug 12, 2015 18:32
GitHub: jogag
IRC: jogag
In-game: jogag
Location: Online

Re: [Modpack] Digiline Stuff [digiline_stuff] - digiline dev

by jogag » Post

Fixed a bug: rightclick to insert cards into reader. It will show the formspec instead of putting the card in the reader.
I also added a status LED: red when idle, green when a card is inserted, blue when interacting with the card. You can't eject the card while he LED is blue.
Now you need to punch in order to get the card back.

User avatar
jogag
Member
Posts: 106
Joined: Wed Aug 12, 2015 18:32
GitHub: jogag
IRC: jogag
In-game: jogag
Location: Online

Re: [Modpack] Digiline Stuff [digiline_stuff] - digiline dev

by jogag » Post

Instantly added the Digiprinter, a digiline printer you fill with paper, and it prints everything you send to it on paper!!!
The digiprinter requires memorandum mod for writable paper. That mod is NOT included in my pack.

User avatar
jogag
Member
Posts: 106
Joined: Wed Aug 12, 2015 18:32
GitHub: jogag
IRC: jogag
In-game: jogag
Location: Online

Re: [Modpack] Digiline Stuff [digiline_stuff] - digiline dev

by jogag » Post

Added a rain sensor, it shows like a light sensor but GREEN. You send "GET" to it and it replies with "none", "rain", or "snow". You need weather mod to make it work.

PS: I know I'm writing too many posts but I'm working on this pack...

EDIT: Working for a giant COLOR display which can be controlled via digiline. But it's really big and slow!!! (the full HD one is 1080 blocks tall!)
And routers have now serialization and log functions.
Last edited by jogag on Tue Sep 01, 2015 06:22, edited 2 times in total.

User avatar
benrob0329
Member
Posts: 1341
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
IRC: benrob0329
In-game: benrob03
Location: Michigan
Contact:

Re: [Modpack] Digiline Stuff [digiline_stuff] - digiline dev

by benrob0329 » Post

YES! I am going to try this today! Say, if you wanted, I could make some creative screenshots for you.

User avatar
jogag
Member
Posts: 106
Joined: Wed Aug 12, 2015 18:32
GitHub: jogag
IRC: jogag
In-game: jogag
Location: Online

Re: [Modpack] Digiline Stuff [digiline_stuff] - digiline dev

by jogag » Post

benrob0329 wrote:YES! I am going to try this today! Say, if you wanted, I could make some creative screenshots for you.
Please wait while I upload the major parts to github, the download link does NOT work now...
(I'm messing up everything with git...)

User avatar
benrob0329
Member
Posts: 1341
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
IRC: benrob0329
In-game: benrob03
Location: Michigan
Contact:

Re: [Modpack] Digiline Stuff [digiline_stuff] - digiline dev

by benrob0329 » Post

I'll wait, I still want to get you those screenshots though!

User avatar
jogag
Member
Posts: 106
Joined: Wed Aug 12, 2015 18:32
GitHub: jogag
IRC: jogag
In-game: jogag
Location: Online

Re: [Modpack] Digiline Stuff [digiline_stuff] - digiline dev

by jogag » Post

benrob0329 wrote:I'll wait, I still want to get you those screenshots though!
I committed everything except some buggy mods (IoT, SD cards and command blocks).

User avatar
jogag
Member
Posts: 106
Joined: Wed Aug 12, 2015 18:32
GitHub: jogag
IRC: jogag
In-game: jogag
Location: Online

Re: [Modpack] Digiline Stuff [digiline_stuff] - digiline dev

by jogag » Post

A thing you need to do: search "jogag" on github (click here to search). You can see my name in big "random" chunks!!! (I think they are RSA keys...)

User avatar
benrob0329
Member
Posts: 1341
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
IRC: benrob0329
In-game: benrob03
Location: Michigan
Contact:

Re: [Modpack] Digiline Stuff [digiline_stuff] - digiline dev

by benrob0329 » Post

Looks great!

But how do you use the keyboard?

User avatar
jogag
Member
Posts: 106
Joined: Wed Aug 12, 2015 18:32
GitHub: jogag
IRC: jogag
In-game: jogag
Location: Online

Re: [Modpack] Digiline Stuff [digiline_stuff] - digiline dev

by jogag » Post

benrob0329 wrote:Looks great!

But how do you use the keyboard?
The first time you rightclick the keyboard, you must enter a channel.
The other times, everything you enter will be sent over that channel.

If you want to change channel, simply dig and re-pace the keyboard.

EDIT: if you want, make some screenshots and post them here. I'll upload them to GitHub (and give you the credit!).

User avatar
jogag
Member
Posts: 106
Joined: Wed Aug 12, 2015 18:32
GitHub: jogag
IRC: jogag
In-game: jogag
Location: Online

Re: [Modpack] Digiline Stuff [digiline_stuff] - digiline dev

by jogag » Post

I (finally!) post some detailed instructions about the digiprinter:

Digiprinter
The digiprinter is a simple device you fill with paper and it prints every message you send to it. Useful for information, receipts, and more.
In order to print the paper, the digiprinter mod requires the memorandum mod. If you can't find or craft a digiprinter, remember this!

Place a digiprinter, then right-click it to show the form. You can set the channel and put paper here. To set the channel, you need to press ENTER and NOT ESC.

Then connect it to a luacontroller, a IoT router (coming soon!) or anything that can send messages.
Here's an example for luacontroller, router and compatible devices:

Code: Select all

digiline_send("printer", "Hello World!")
Set a printer to the "printer" channel, then fill the printer with a sheet of paper.
Then run the code. You should see the printer printing the sheet after 3 seconds.

The digiprinter can print a sheet if it's not covered by two or more nodes in front. So you can cover the printer, but with only one block!

The printer also sends messages back over digiline:
  • OK: the sheet has been printed correctly. This message is sent after printing.
  • ERR_PAPER: there's no paper in the printer.
  • ERR_SPACE: the printer is covered by two or more blocks, and there's no space to print the sheet.

User avatar
jogag
Member
Posts: 106
Joined: Wed Aug 12, 2015 18:32
GitHub: jogag
IRC: jogag
In-game: jogag
Location: Online

Re: [Modpack] Digiline Stuff [digiline_stuff] - digiline dev

by jogag » Post

And here are instructions for the memory chips:

WARNING: these chips are not tested and buggy. Use them at your risk!

Memory Chips
These chips look like luacontrollers, however they are not luacontrollers. They are memory units you can use to store data in a centralized chip, which can be accessed by many devices over digiline.
If you want to make big computers with luacontrollers or routers which need to share the memory, these chips are the perfect solution.

Every chip has multiple data locations, called addresses. Each address can store a single (but long!) string.
There's a limited number of addresses, but sometimes you can fit ALL DATA in a single address! (using serialization functions, currently available only on routers).

There are 7 different chip types, each has a different number of addresses.
The chip sizes are currently: 16, 32, 64, 128, 256, 512, 1024.
Note that each chip has the double size of the previous one. You can upgrade your chips by putting two chips of the same size in the crafting grid. You will get a single chip, but with a double size.

These are the digiline commands for these memory units:
  • GET <address>: get the content of an address. ADDRESS must be a number between 1 and the chip size.
  • SET <address> <data>: set the content of an address.
  • ERASE: erase ALL the addresses. Be careful!!!
These chips have only one feedback message: OK. You already know what it means.

User avatar
programmingchicken
Member
Posts: 540
Joined: Sat Apr 18, 2015 02:20
GitHub: pchicken
IRC: chicken pchicken
Location: not here
Contact:

Re: [Modpack] Digiline Stuff [digiline_stuff] - digiline dev

by programmingchicken » Post

I wish for computercraft, and this seems to be it XD
<gamerdude> I apologize for the above content

User avatar
benrob0329
Member
Posts: 1341
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
IRC: benrob0329
In-game: benrob03
Location: Michigan
Contact:

Re: [Modpack] Digiline Stuff [digiline_stuff] - digiline dev

by benrob0329 » Post

I'll get working on those screenshots!

User avatar
Evergreen
Member
Posts: 2135
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen
Location: A forest in the midwest
Contact:

Re: [Modpack] Digiline Stuff [digiline_stuff] - digiline dev

by Evergreen » Post

I am glad to see someone is taking advantage of digilines! Great work.
Back from the dead!

User avatar
jogag
Member
Posts: 106
Joined: Wed Aug 12, 2015 18:32
GitHub: jogag
IRC: jogag
In-game: jogag
Location: Online

Re: [Modpack] Digiline Stuff [digiline_stuff] - digiline dev

by jogag » Post

I planned to add a new device:
Mini wireless chip
Something like this:
Image
(ESP8266 Wi-Fi chip, image from Adafruit)

It's like an IoT router, but it has no mesecons and it's cheaper. It has Wi-Fi, and it can work with almost any router programs which don't use mesecons. It has digilines, so you can interface it to any digiline device.
It's programmed by default to act as a digiline wireless transceiver. It's simply a re-programmable wireless transceiver.

EDIT: the one in the photo is a re-programmable Wi-Fi transceiver, so you know where I taken inspiration xD
Last edited by jogag on Tue Sep 01, 2015 06:25, edited 1 time in total.

User avatar
jogag
Member
Posts: 106
Joined: Wed Aug 12, 2015 18:32
GitHub: jogag
IRC: jogag
In-game: jogag
Location: Online

Re: [Modpack] Digiline Stuff [digiline_stuff] - digiline dev

by jogag » Post

programmingchicken wrote:I wish for computercraft, and this seems to be it XD
Something like an IoT router, but with bigger overheat limit and a built-in text console?
Even with a built-in SD card reader and a dedicated remote control (like the apple remote xD)?
It would be a good idea, but I need to make IoT mod first.

EDIT: if you want to make a computer with luacontrollers, use the keyboard and printer, along with a LCD display. They are currently the best digiline hardware!
WARNING: you need memorandum mod to get the printer!

User avatar
benrob0329
Member
Posts: 1341
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
IRC: benrob0329
In-game: benrob03
Location: Michigan
Contact:

Re: [Modpack] Digiline Stuff [digiline_stuff] - digiline dev

by benrob0329 » Post

I'm trying to make a password activated piston door (for a screenshot), but I can't figure out how to code the digiboard...

I have the port set but the text never reaches the luacontrollar! It never seems to get an event from it, maybe I'm doing something wrong that's painfully easy, but I can't figure it out!

Post Reply

Who is online

Users browsing this forum: No registered users and 41 guests