![]() |
Portal v1 (r842) - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Plugins (https://forum.cuberite.org/forum-1.html) +--- Forum: Plugin Releases (https://forum.cuberite.org/forum-2.html) +--- Thread: Portal v1 (r842) (/thread-558.html) |
RE: Portal v1 (r842) - Taugeshtu - 09-08-2012 I think it's possible... RE: Portal v1 (r842) - xoft - 09-08-2012 I'm not sure about that. If the destination is in a chunk that has been unloaded, there's no way to touch that chunk, to add data to it, or to load it in order to make those things happen. You can transport a player there, because that will load the chunk, but items, no, probably not. Also, if the portal is both-ways, how would you handle the items? should they cycle between the places periodically, or should they transport once? If they should transport once, how do you tell that they have already transported? RE: Portal v1 (r842) - Taugeshtu - 09-08-2012 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... RE: Portal v1 (r842) - xoft - 09-09-2012 This is supposing that the server doesn't stop / restart for maintenance ![]() RE: Portal v1 (r842) - Taugeshtu - 09-09-2012 Well, we could always store .teleport_ready, could we?) RE: Portal v1 (r842) - RattyDAVE - 03-01-2013 This plugin does not want to work with the latest release. Or am I not installing it correctly. RE: Portal v1 (r842) - NiLSPACE - 03-02-2013 fixed it. didn't test it though RE: Portal v1 (r842) - RattyDAVE - 03-02-2013 No prob. Ill test on my server. RE: Portal v1 (r842) - RattyDAVE - 03-03-2013 Does not quite work. /pwarp works. It created the 2 files. I select the wooden sword and type /penter warp and /penter seems to be not recognized. RE: Portal v1 (r842) - wurstmeister - 11-24-2014 i fixed it.. |