09-08-2012, 11:41 PM
Quote:how do you tell that they have already transported?Very simple, just one hash-table for items with .teleport_ready boolean variable in it, and .teleport_state int variable (could be boolean too). When item is teleported, .teleport_ready flag drops, when item leaves portal volume (because of water, for example) - .teleport_state indicates it and .teleport_ready flag is up again. So you could even send items between teleports continiously using pistons as flood gates!
As for unloaded chunk: yeah, that could be a big issue...