This is a read-only snapshot of the ComputerCraft forums,
taken in April 2020.
AE Serializing Item Data for transfer over rednet!
Started by Agent Silence, 28 May 2014 - 05:23 PMPosted 28 May 2014 - 07:23 PM
I have a server running with CC and Applied Energistics and I am trying to make a Item Bank for all the stuff you don't need but other people might, sort of like a free Good Will. And it is a huge pain using BuildCraft TP pipes to make it because you could just tap into the channel and make it funnel into a chest. So I was thinking about converting AE data to CC so it can transfer the data over RedNet to another computer. And forward the received data to the ME server, using a peripheral block like "ME Data Serializer" or something like that. I think it would be really cool to have.
Posted 28 May 2014 - 07:37 PM
There's nothing that would stop people from duplicating items with this, or creating them out of thin air. Have you tried using an export bus pointed at an enderchest for long-distance item transport, or perhaps a tesseract?
Posted 28 May 2014 - 11:00 PM
Supposedly AE data is far too complex and large for regular computers to handle at all, which is why you need special quartz drives to store it.
Posted 23 June 2014 - 11:45 PM
You could have the mod create a one time key that is deleted after use.There's nothing that would stop people from duplicating items with this, or creating them out of thin air. Have you tried using an export bus pointed at an enderchest for long-distance item transport, or perhaps a tesseract?
Posted 24 June 2014 - 07:19 PM
You could have the mod create a one time key that is deleted after use.
Still doesn't quite make sense. Imagine that I scan my computer with some sort of 3d scanner, take the data, 3d print it, and now my "key" is "deleted," so I can't print it again.
(Don't argue that AE isn't 3d printing. I know that)
Posted 24 June 2014 - 11:41 PM
perhaps allow items to be moved over rednet with computer craft, but not stored unless you have one of the ae drives?
Posted 24 June 2014 - 11:58 PM
You do know that if you make a qantum ring, you can transport those materials anywhere, and with a computer and openperipherals, you can request any item or items fromt he ME network connected to the quantum ring?
Edited on 24 June 2014 - 09:58 PM
Posted 26 June 2014 - 09:16 PM
/me broadcasts a diamond to 100 other computers, now I have 100 diamonds!
Posted 29 June 2014 - 10:35 PM
/me broadcasts a diamond to 100 other computers, now I have 100 diamonds!
obviously, item transfer would NOT be the same thing as sending text.
Posted 01 July 2014 - 01:17 AM
What I meant is you would serialize an object like:You could have the mod create a one time key that is deleted after use.There's nothing that would stop people from duplicating items with this, or creating them out of thin air. Have you tried using an export bus pointed at an enderchest for long-distance item transport, or perhaps a tesseract?
uid = ae.serialize(itemID)
This would give the user a unique one-use code. Then you would send that over rednet, the receiving computer would do:ae.deserialize(uid)
If that unique code had already been used, it wouldn't deserialize the object, but if it is a unused code then it would deserialize the object.Posted 01 July 2014 - 02:33 AM
and which receiving computer would actually get it? any computer can receive the message, and in the latest CC there are repeater programs, so how exactly do you envision this to work?What I meant is you would serialize an object like:This would give the user a unique one-use code. Then you would send that over rednet, the receiving computer would do:uid = ae.serialize(itemID)
If that unique code had already been used, it wouldn't deserialize the object, but if it is a unused code then it would deserialize the object.ae.deserialize(uid)
Posted 01 July 2014 - 06:18 PM
Okay, it's still a bad idea…Transmitting your items over a network is much less secure than someone putting a ME terminal on your network and taking the items out.
I can guarantee this isn't going to happen.
I can guarantee this isn't going to happen.
Posted 01 July 2014 - 07:34 PM
Yes, but you can use encryption :D/>So it's a race, whoever can decode the item first gets it?
Posted 02 July 2014 - 05:12 PM
Cleaned up an unnecessary argument. Don't make me do it again.
Posted 11 July 2014 - 04:21 PM
If you're on 1.6.4, consider trying out EnderNet: http://asie.pl/mods/endernet.html - it allows you to send CC messages *and* items between places, worlds and even servers.
Posted 07 October 2014 - 05:29 PM
There could be an added api for sending items in the disk drive/turtle inventory over WIRED ETHERNET to only a specific id.
For example,
fs.itemsend(number id, number quantity, [number slotnumber])
if 'quantity' is higher than the amount in slot 'slotnumber' and if it is a turtle, seeks for other stacks and uses them.
if 'quantity' is higher than you have, then transfers all that you have.
if using computer, then 'slotnumber' either is ignored or is 0.
if recipient 'id' is valid and ethernet is open and connected, then true, otherwise, false.
if item transfer was unsuccessful because of wrong id, then false.
That should be a thing in the next update, or at least a peripheral mod. I need someone to make this happen!
For example,
fs.itemsend(number id, number quantity, [number slotnumber])
if 'quantity' is higher than the amount in slot 'slotnumber' and if it is a turtle, seeks for other stacks and uses them.
if 'quantity' is higher than you have, then transfers all that you have.
if using computer, then 'slotnumber' either is ignored or is 0.
if recipient 'id' is valid and ethernet is open and connected, then true, otherwise, false.
if item transfer was unsuccessful because of wrong id, then false.
That should be a thing in the next update, or at least a peripheral mod. I need someone to make this happen!