WorldEdit
Hello, welcome to the forum. Nice of you to come and look around Smile

Actually, we have an object that represents an entire .schematic file (cBlockArea class) and it knows how to write itself into the world (cBlockArea:Write). It does so using extremely fast copy operation, which is several orders of magnitude faster than setting individual blocks, but on the other hand it cannot be sliced into smaller work packages effectively. And there's no point in offloading it to another thread, the world's chunkmap needs to be locked during the write operation, so the world tick thread wouldn't be able to run anyway.

What we'd need is something that can write the intersection of cBlockArea and a single specified chunk, then split larger cBlockArea writing into per-chunk packages using this new API function. It would even make sense to use it with the cWorld:ChunkStay() API, because that reports individual chunks being made available.

@SBPrime, in case you're interested, here is the documentation on the API accessible to Lua plugins: http://apidocs.cuberite.org/
Reply
Thanks given by:


Messages In This Thread
WorldEdit - by NiLSPACE - 05-03-2013, 12:46 AM
RE: WorldEdit - by tonibm19 - 05-03-2013, 05:59 AM
RE: WorldEdit - by NiLSPACE - 05-03-2013, 06:03 AM
RE: WorldEdit - by tonibm19 - 05-03-2013, 06:07 AM
RE: WorldEdit - by NiLSPACE - 05-03-2013, 06:14 AM
RE: WorldEdit - by xoft - 05-03-2013, 05:52 PM
RE: WorldEdit - by NiLSPACE - 05-03-2013, 10:48 PM
RE: WorldEdit - by tonibm19 - 05-03-2013, 10:56 PM
RE: WorldEdit - by patsch - 11-15-2015, 09:13 AM
RE: WorldEdit - by NiLSPACE - 05-03-2013, 11:03 PM
RE: WorldEdit - by tonibm19 - 05-03-2013, 11:12 PM
RE: WorldEdit - by NiLSPACE - 05-03-2013, 11:24 PM
RE: WorldEdit - by xoft - 05-03-2013, 11:03 PM
RE: WorldEdit - by NiLSPACE - 05-03-2013, 11:07 PM
RE: WorldEdit - by NiLSPACE - 05-06-2013, 06:22 AM
RE: WorldEdit - by NiLSPACE - 05-21-2013, 12:15 AM
RE: WorldEdit - by NiLSPACE - 05-23-2013, 01:45 AM
RE: WorldEdit - by tonibm19 - 05-24-2013, 01:46 AM
RE: WorldEdit - by NiLSPACE - 05-24-2013, 02:16 AM
RE: WorldEdit - by tonibm19 - 05-24-2013, 04:34 AM
RE: WorldEdit - by NiLSPACE - 05-24-2013, 04:39 AM
RE: WorldEdit - by FakeTruth - 05-24-2013, 04:34 AM
RE: WorldEdit - by tonibm19 - 05-24-2013, 05:15 AM
RE: WorldEdit - by NiLSPACE - 05-24-2013, 05:16 AM
RE: WorldEdit - by tonibm19 - 05-24-2013, 06:00 AM
RE: WorldEdit - by NiLSPACE - 05-24-2013, 06:13 AM
Functions.lua Syntax Error? - by tigerw - 05-27-2013, 02:13 AM
RE: WorldEdit - by NiLSPACE - 05-27-2013, 04:01 AM
RE: WorldEdit - by tonibm19 - 05-27-2013, 04:18 AM
RE: WorldEdit - by NiLSPACE - 05-27-2013, 04:20 AM
RE: WorldEdit - by tonibm19 - 05-27-2013, 05:16 AM
RE: WorldEdit - by NiLSPACE - 05-29-2013, 01:02 AM
RE: WorldEdit - by tonibm19 - 05-29-2013, 01:28 AM
RE: WorldEdit - by NiLSPACE - 05-27-2013, 05:19 AM
RE: WorldEdit - by tonibm19 - 05-27-2013, 05:28 AM
RE: WorldEdit - by NiLSPACE - 05-29-2013, 01:33 AM
RE: WorldEdit - by xoft - 06-19-2013, 06:20 AM
RE: WorldEdit - by NiLSPACE - 06-19-2013, 10:21 PM
RE: WorldEdit - by NiLSPACE - 06-19-2013, 06:33 AM
RE: WorldEdit - by xoft - 06-19-2013, 10:27 PM
RE: WorldEdit - by NiLSPACE - 06-19-2013, 11:12 PM
RE: WorldEdit - by xoft - 06-20-2013, 12:45 AM
RE: WorldEdit - by NiLSPACE - 06-20-2013, 12:57 AM
RE: WorldEdit - by catboy5 - 06-23-2013, 03:22 AM
RE: WorldEdit - by NiLSPACE - 06-23-2013, 09:01 PM
RE: WorldEdit - by NiLSPACE - 07-03-2013, 09:54 PM
RE: WorldEdit - by NiLSPACE - 07-04-2013, 12:18 AM
RE: WorldEdit - by NiLSPACE - 07-04-2013, 03:42 AM
RE: WorldEdit - by NiLSPACE - 08-08-2013, 04:21 AM
RE: WorldEdit - by bearbin - 08-08-2013, 04:58 AM
RE: WorldEdit - by jlkkljh - 12-13-2013, 01:36 PM
RE: WorldEdit - by tigerw - 12-13-2013, 07:41 PM
RE: WorldEdit - by xoft - 12-26-2013, 08:32 PM
RE: WorldEdit - by bearbin - 12-27-2013, 12:43 AM
RE: WorldEdit - by NiLSPACE - 12-27-2013, 12:47 AM
RE: WorldEdit - by xoft - 12-27-2013, 01:50 AM
RE: WorldEdit - by NiLSPACE - 12-27-2013, 01:54 AM
RE: WorldEdit - by xoft - 12-27-2013, 02:08 AM
RE: WorldEdit - by NiLSPACE - 12-27-2013, 02:23 AM
RE: WorldEdit - by NiLSPACE - 12-28-2013, 08:43 AM
RE: WorldEdit - by xoft - 12-30-2013, 06:22 AM
RE: WorldEdit - by NiLSPACE - 12-30-2013, 06:23 AM
RE: WorldEdit - by xoft - 12-30-2013, 06:27 AM
RE: WorldEdit - by NiLSPACE - 12-30-2013, 06:28 AM
RE: WorldEdit - by bearbin - 12-30-2013, 06:40 AM
RE: WorldEdit - by xoft - 12-30-2013, 07:03 AM
RE: WorldEdit - by bearbin - 12-30-2013, 09:31 PM
RE: WorldEdit - by NiLSPACE - 12-30-2013, 07:11 AM
RE: WorldEdit - by xoft - 12-31-2013, 12:29 AM
RE: WorldEdit - by bearbin - 12-31-2013, 04:04 AM
RE: WorldEdit - by xoft - 01-04-2014, 09:50 AM
RE: WorldEdit - by NiLSPACE - 01-25-2014, 10:09 PM
RE: WorldEdit - by NiLSPACE - 01-25-2014, 11:38 PM
RE: WorldEdit - by louisgg - 02-17-2014, 05:14 AM
RE: WorldEdit - by NiLSPACE - 02-17-2014, 05:17 AM
RE: WorldEdit - by NiLSPACE - 03-01-2014, 02:24 AM
RE: WorldEdit - by xoft - 03-01-2014, 11:19 AM
RE: WorldEdit - by LogicParrot - 04-07-2014, 05:11 PM
RE: WorldEdit - by NiLSPACE - 06-05-2014, 11:45 PM
RE: WorldEdit - by AntherusCraft - 07-11-2014, 06:06 PM
RE: WorldEdit - by NiLSPACE - 08-09-2014, 08:07 PM
RE: WorldEdit - by NiLSPACE - 09-29-2014, 12:10 AM
RE: WorldEdit - by Mathias - 10-05-2014, 06:52 PM
RE: WorldEdit - by xoft - 10-05-2014, 06:54 PM
RE: WorldEdit - by Mathias - 10-05-2014, 07:01 PM
RE: WorldEdit - by StropyBrush - 11-01-2014, 07:42 AM
RE: WorldEdit - by xoft - 11-01-2014, 07:46 AM
RE: WorldEdit - by NiLSPACE - 11-01-2014, 11:47 PM
RE: WorldEdit - by NiLSPACE - 04-06-2015, 04:43 AM
RE: WorldEdit - by DiamondToaster - 04-06-2015, 07:43 AM
RE: WorldEdit - by NiLSPACE - 04-07-2015, 05:31 AM
RE: WorldEdit - by DiamondToaster - 04-07-2015, 06:05 AM
RE: WorldEdit - by NiLSPACE - 04-07-2015, 06:11 AM
RE: WorldEdit - by DiamondToaster - 04-07-2015, 06:18 AM
RE: WorldEdit - by NiLSPACE - 04-09-2015, 06:19 AM
RE: WorldEdit - by xoft - 04-09-2015, 06:20 AM
RE: WorldEdit - by NiLSPACE - 04-09-2015, 07:36 AM
RE: WorldEdit - by xoft - 04-09-2015, 07:46 AM
RE: WorldEdit - by NiLSPACE - 04-10-2015, 06:12 AM
RE: WorldEdit - by DiamondToaster - 04-10-2015, 06:47 AM
RE: WorldEdit - by NiLSPACE - 04-12-2015, 10:00 PM
RE: WorldEdit - by NiLSPACE - 04-14-2015, 06:18 AM
RE: WorldEdit - by NiLSPACE - 05-11-2015, 06:00 AM
RE: WorldEdit - by xoft - 05-11-2015, 07:24 AM
RE: WorldEdit - by NiLSPACE - 05-14-2015, 10:07 PM
RE: WorldEdit - by xoft - 05-15-2015, 04:04 AM
RE: WorldEdit - by NiLSPACE - 06-16-2015, 03:31 AM
RE: WorldEdit - by NiLSPACE - 06-30-2015, 08:10 AM
RE: WorldEdit - by tigerw - 06-30-2015, 09:02 AM
RE: WorldEdit - by NiLSPACE - 06-30-2015, 09:08 AM
RE: WorldEdit - by worktycho - 06-30-2015, 09:56 AM
RE: WorldEdit - by xoft - 06-30-2015, 03:52 PM
RE: WorldEdit - by NiLSPACE - 06-30-2015, 08:01 PM
RE: WorldEdit - by SBPrime - 06-30-2015, 09:13 PM
RE: WorldEdit - by xoft - 06-30-2015, 09:21 PM
RE: WorldEdit - by NiLSPACE - 06-30-2015, 09:34 PM
RE: WorldEdit - by SBPrime - 06-30-2015, 09:40 PM
RE: WorldEdit - by worktycho - 06-30-2015, 09:55 PM
RE: WorldEdit - by xoft - 06-30-2015, 10:16 PM
RE: WorldEdit - by SBPrime - 07-01-2015, 03:22 AM
RE: WorldEdit - by NiLSPACE - 07-01-2015, 03:52 AM
RE: WorldEdit - by worktycho - 07-01-2015, 06:33 AM
RE: WorldEdit - by xoft - 07-01-2015, 07:03 AM
RE: WorldEdit - by Sonorpearl - 07-09-2015, 06:14 PM
RE: WorldEdit - by NiLSPACE - 07-09-2015, 06:19 PM
RE: WorldEdit - by NiLSPACE - 07-09-2015, 07:17 PM
RE: WorldEdit - by NiLSPACE - 07-10-2015, 07:34 AM
RE: WorldEdit - by DrMasik - 08-26-2015, 05:53 AM
RE: WorldEdit - by NiLSPACE - 08-26-2015, 06:09 AM
RE: WorldEdit - by cv6 - 09-11-2015, 01:40 PM
RE: WorldEdit - by NiLSPACE - 09-11-2015, 04:26 PM
RE: WorldEdit - by NiLSPACE - 10-10-2015, 01:40 AM
RE: WorldEdit - by Zee1234 - 11-11-2015, 10:26 PM
RE: WorldEdit - by NiLSPACE - 11-11-2015, 10:31 PM
RE: WorldEdit - by Zee1234 - 11-12-2015, 01:13 AM
RE: WorldEdit - by NiLSPACE - 11-15-2015, 11:51 PM
RE: WorldEdit - by PureTryOut - 11-20-2015, 03:17 AM
RE: WorldEdit - by Seadragon91 - 11-20-2015, 03:22 AM
RE: WorldEdit - by NiLSPACE - 11-20-2015, 04:02 AM
RE: WorldEdit - by PureTryOut - 11-20-2015, 06:58 AM
RE: WorldEdit - by NiLSPACE - 11-20-2015, 07:09 AM
RE: WorldEdit - by PureTryOut - 11-20-2015, 07:32 AM
RE: WorldEdit - by NiLSPACE - 11-20-2015, 07:57 AM
RE: WorldEdit - by NiLSPACE - 11-21-2015, 04:30 AM
RE: WorldEdit - by PureTryOut - 11-21-2015, 07:35 AM
RE: WorldEdit - by NiLSPACE - 11-21-2015, 08:32 AM
RE: WorldEdit - by Schwertspize - 11-21-2015, 09:38 AM
RE: WorldEdit - by NiLSPACE - 11-21-2015, 11:27 PM
RE: WorldEdit - by LogicParrot - 11-22-2015, 02:05 AM
RE: WorldEdit - by Zee1234 - 11-24-2015, 01:27 PM
Sim[pler - by LogicParrot - 11-24-2015, 04:49 PM
RE: WorldEdit - by NiLSPACE - 11-22-2015, 02:15 AM
RE: WorldEdit - by NiLSPACE - 11-24-2015, 07:32 PM
RE: WorldEdit - by NiLSPACE - 01-17-2016, 08:03 AM
RE: WorldEdit - by NiLSPACE - 01-18-2016, 08:11 PM
RE: WorldEdit - by xoft - 01-19-2016, 05:10 AM
RE: WorldEdit - by NiLSPACE - 01-19-2016, 06:05 AM
RE: WorldEdit - by NiLSPACE - 01-19-2016, 06:13 PM
RE: WorldEdit - by NiLSPACE - 02-06-2016, 10:26 PM
RE: WorldEdit - by DiamondToaster - 02-07-2016, 06:46 AM
RE: WorldEdit - by NiLSPACE - 02-07-2016, 10:39 AM
RE: WorldEdit - by Boo - 04-14-2016, 08:14 PM
RE: WorldEdit - by LogicParrot - 04-14-2016, 08:51 PM
RE: WorldEdit - by NiLSPACE - 04-14-2016, 10:58 PM
RE: WorldEdit - by LogicParrot - 04-15-2016, 01:07 AM
RE: WorldEdit - by NiLSPACE - 04-15-2016, 01:37 AM
RE: WorldEdit - by NiLSPACE - 04-15-2016, 02:11 AM
RE: WorldEdit - by PureTryOut - 04-15-2016, 02:13 AM
RE: WorldEdit - by NiLSPACE - 04-15-2016, 02:17 AM
RE: WorldEdit - by LogicParrot - 04-15-2016, 02:34 AM
RE: WorldEdit - by LogicParrot - 04-15-2016, 03:02 AM
RE: WorldEdit - by PureTryOut - 04-15-2016, 03:08 AM
RE: WorldEdit - by LogicParrot - 04-15-2016, 04:44 PM
RE: WorldEdit - by tigerw - 04-20-2016, 08:11 AM
RE: WorldEdit - by Seadragon91 - 09-06-2016, 09:26 PM
RE: WorldEdit - by NiLSPACE - 09-06-2016, 10:07 PM



Users browsing this thread: 7 Guest(s)