Portal v1 (r842)
#13
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!Big Grin

As for unloaded chunk: yeah, that could be a big issue...
Reply
Thanks given by:


Messages In This Thread
Portal v1 (r842) - by Taugeshtu - 09-08-2012, 01:22 AM
RE: Portal v1 (r842) - by Taugeshtu - 09-08-2012, 02:29 AM
RE: Portal v1 (r842) - by FakeTruth - 09-08-2012, 06:35 AM
RE: Portal v1 (r842) - by Taugeshtu - 09-08-2012, 07:00 AM
RE: Portal v1 (r842) - by FakeTruth - 09-08-2012, 07:11 AM
RE: Portal v1 (r842) - by xoft - 09-08-2012, 07:17 AM
RE: Portal v1 (r842) - by Taugeshtu - 09-08-2012, 07:25 AM
RE: Portal v1 (r842) - by NiLSPACE - 09-08-2012, 09:25 PM
RE: Portal v1 (r842) - by Taugeshtu - 09-08-2012, 09:47 PM
RE: Portal v1 (r842) - by NiLSPACE - 09-08-2012, 09:58 PM
RE: Portal v1 (r842) - by Taugeshtu - 09-08-2012, 10:38 PM
RE: Portal v1 (r842) - by xoft - 09-08-2012, 11:24 PM
RE: Portal v1 (r842) - by Taugeshtu - 09-08-2012, 11:41 PM
RE: Portal v1 (r842) - by xoft - 09-09-2012, 01:24 AM
RE: Portal v1 (r842) - by Taugeshtu - 09-09-2012, 01:26 AM
RE: Portal v1 (r842) - by RattyDAVE - 03-01-2013, 07:12 PM
RE: Portal v1 (r842) - by NiLSPACE - 03-02-2013, 08:06 PM
RE: Portal v1 (r842) - by RattyDAVE - 03-02-2013, 09:05 PM
RE: Portal v1 (r842) - by RattyDAVE - 03-03-2013, 12:40 AM
RE: Portal v1 (r842) - by wurstmeister - 11-24-2014, 09:55 PM
RE: Portal v1 (r842) - by donvdp - 12-01-2014, 08:01 AM
RE: Portal v1 (r842) - by Pixelfanatic - 05-16-2015, 06:27 AM
RE: Portal v1 (r842) - by xoft - 05-16-2015, 06:47 AM
RE: Portal v1 (r842) - by tonibm19 - 05-16-2015, 07:24 PM



Users browsing this thread: 8 Guest(s)