Jump to content




AE Serializing Item Data for transfer over rednet!


  • You cannot reply to this topic
15 replies to this topic

#1 Agent Silence

  • Members
  • 319 posts
  • Location[string "FindMe"]:23143: bad argument #1 to 'returnPos' (vector expected, got nil)

Posted 28 May 2014 - 06: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.

#2 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 28 May 2014 - 06: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?

#3 apemanzilla

  • Members
  • 1,421 posts

Posted 28 May 2014 - 10: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.

#4 AssossaGPB

  • Members
  • 126 posts
  • LocationFlorida, USA

Posted 23 June 2014 - 10:45 PM

View PostLyqyd, on 28 May 2014 - 06:37 PM, said:

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?
You could have the mod create a one time key that is deleted after use.

#5 misson20000

  • Members
  • 18 posts

Posted 24 June 2014 - 06:19 PM

View PostAssossaGPB, on 23 June 2014 - 10:45 PM, said:

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)

#6 Slash0mega

  • Members
  • 74 posts

Posted 24 June 2014 - 10:41 PM

perhaps allow items to be moved over rednet with computer craft, but not stored unless you have one of the ae drives?

#7 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 24 June 2014 - 10: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 by Cranium, 24 June 2014 - 10:58 PM.


#8 electrodude512

  • Members
  • 167 posts
  • LocationEastern USA

Posted 26 June 2014 - 08:16 PM

/me broadcasts a diamond to 100 other computers, now I have 100 diamonds!

#9 Slash0mega

  • Members
  • 74 posts

Posted 29 June 2014 - 09:35 PM

View Postelectrodude512, on 26 June 2014 - 08:16 PM, said:

/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.

#10 AssossaGPB

  • Members
  • 126 posts
  • LocationFlorida, USA

Posted 01 July 2014 - 12:17 AM

View PostAssossaGPB, on 23 June 2014 - 10:45 PM, said:

View PostLyqyd, on 28 May 2014 - 06:37 PM, said:

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?
You could have the mod create a one time key that is deleted after use.
What I meant is you would serialize an object like:
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.

#11 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 01 July 2014 - 01:33 AM

View PostAssossaGPB, on 01 July 2014 - 12:17 AM, said:

What I meant is you would serialize an object like:
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.
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?

#12 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 01 July 2014 - 05: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.

#13 AssossaGPB

  • Members
  • 126 posts
  • LocationFlorida, USA

Posted 01 July 2014 - 06:34 PM

View Postelectrodude512, on 01 July 2014 - 03:27 PM, said:

So it's a race, whoever can decode the item first gets it?
Yes, but you can use encryption :D

#14 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 02 July 2014 - 04:12 PM

Cleaned up an unnecessary argument. Don't make me do it again.

#15 asie

  • Members
  • 36 posts

Posted 11 July 2014 - 03: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.

#16 LDDestroier

  • Members
  • 1,095 posts
  • LocationACDC Town

Posted 07 October 2014 - 04: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!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users