inxomnyaa / MagicWE

Lag free asynchronous world editor for PMMP with plenty of options
https://poggit.pmmp.io/ci/inxomnyaa/MagicWE
GNU General Public License v3.0
101 stars 83 forks source link

[10.1.1] Brush can not place occasionally #214

Closed inxomnyaa closed 3 years ago

inxomnyaa commented 3 years ago

Description

Brush, used on -27,53,8 or -29,53,24 Log:

array(11) {
  ["version"]=>
  int(1)
  ["customName"]=>
  string(12) "Sphere Brush"
  ["shape"]=>
  string(41) "xenialdan\MagicWE2\selection\shape\Sphere"
  ["shapeProperties"]=>
  array(1) {
    ["diameter"]=>
    int(17)
  }
  ["action"]=>
  string(45) "xenialdan\MagicWE2\task\action\SetBlockAction"
  ["actionProperties"]=>
  array(0) {
  }
  ["hollow"]=>
  bool(false)
  ["blocks"]=>
  string(5) "stone"
  ["filter"]=>
  string(0) ""
  ["biomeId"]=>
  int(1)
  ["uuid"]=>
  string(36) "0e0d647b-3f5b-32ad-d650-1c46c9dda3b9"
}
string(331) "{"properties":{"version":1,"customName":"Sphere Brush","shape":"xenialdan\\MagicWE2\\selection\\shape\\Sphere","shapeProperties":{"diameter":17},"action":"xenialdan\\MagicWE2\\task\\action\\SetBlockAction","actionProperties":[],"hollow":false,"blocks":"stone","filter":"","biomeId":1,"uuid":"0e0d647b-3f5b-32ad-d650-1c46c9dda3b9"}}"
[04:23:16.638] [Server thread/DEBUG]: [MWE2] Called xenialdan\MagicWE2\event\MWESelectionChangeEvent
Touched Chunk at: -3:0
Touched Chunk at: -3:1
Touched Chunk at: -2:0
Touched Chunk at: -2:1
Touched chunks count: 4
string(577) "a:6:{i:0;i:1;i:1;N;i:2;N;i:3;O:20:"pocketmine\uuid\UUID":2:{s:27:"pocketmine\uuid\UUIDparts";a:4:{i:0;i:114853200;i:1;i:-1547321153;i:2;i:-691487439;i:3;i:-2118540073;}s:29:"pocketmine\uuid\UUIDversion";i:3;}i:4;O:20:"pocketmine\uuid\UUID":2:{s:27:"pocketmine\uuid\UUIDparts";a:4:{i:0;i:66709165;i:1;i:1494562180;i:2;i:-1155715020;i:3;i:1559195029;}s:29:"pocketmine\uuid\UUIDversion";i:3;}i:5;C:41:"xenialdan\MagicWE2\selection\shape\Sphere":120:{a:2:{s:8:"diameter";i:17;s:11:"pasteVector";O:23:"pocketmine\math\Vector3":3:{s:1:"x";i:-28;s:1:"y";i:55;s:1:"z";i:22;}}}}"
string(577) "a:6:{i:0;i:1;i:1;N;i:2;N;i:3;O:20:"pocketmine\uuid\UUID":2:{s:27:"pocketmine\uuid\UUIDparts";a:4:{i:0;i:114853200;i:1;i:-1547321153;i:2;i:-691487439;i:3;i:-2118540073;}s:29:"pocketmine\uuid\UUIDversion";i:3;}i:4;O:20:"pocketmine\uuid\UUID":2:{s:27:"pocketmine\uuid\UUIDparts";a:4:{i:0;i:66709165;i:1;i:1494562180;i:2;i:-1155715020;i:3;i:1559195029;}s:29:"pocketmine\uuid\UUIDversion";i:3;}i:5;C:41:"xenialdan\MagicWE2\selection\shape\Sphere":120:{a:2:{s:8:"diameter";i:17;s:11:"pasteVector";O:23:"pocketmine\math\Vector3":3:{s:1:"x";i:-28;s:1:"y";i:55;s:1:"z";i:22;}}}}"
string(577) "a:6:{i:0;i:1;i:1;N;i:2;N;i:3;O:20:"pocketmine\uuid\UUID":2:{s:27:"pocketmine\uuid\UUIDparts";a:4:{i:0;i:114853200;i:1;i:-1547321153;i:2;i:-691487439;i:3;i:-2118540073;}s:29:"pocketmine\uuid\UUIDversion";i:3;}i:4;O:20:"pocketmine\uuid\UUID":2:{s:27:"pocketmine\uuid\UUIDparts";a:4:{i:0;i:66709165;i:1;i:1494562180;i:2;i:-1155715020;i:3;i:1559195029;}s:29:"pocketmine\uuid\UUIDversion";i:3;}i:5;C:41:"xenialdan\MagicWE2\selection\shape\Sphere":120:{a:2:{s:8:"diameter";i:17;s:11:"pasteVector";O:23:"pocketmine\math\Vector3":3:{s:1:"x";i:-28;s:1:"y";i:55;s:1:"z";i:22;}}}}"
[04:23:16.843] [Server thread/DEBUG]: [NetworkSession: XenialDan] Unhandled BossEventPacket: SgIDAg==
[04:23:16.844] [Server thread/DEBUG]: [NetworkSession: XenialDan] Unhandled BossEventPacket: SgIBAg==
[04:23:18.358] [Server thread/DEBUG]: [NetworkSession: XenialDan] Unhandled BossEventPacket: SgIDAg==
[04:23:18.359] [Server thread/DEBUG]: [NetworkSession: XenialDan] Unhandled BossEventPacket: SgIBAg==
array(11) {
  ["version"]=>
  int(1)
  ["customName"]=>
  string(12) "Sphere Brush"
  ["shape"]=>
  string(41) "xenialdan\MagicWE2\selection\shape\Sphere"
  ["shapeProperties"]=>
  array(1) {
    ["diameter"]=>
    int(17)
  }
  ["action"]=>
  string(45) "xenialdan\MagicWE2\task\action\SetBlockAction"
  ["actionProperties"]=>
  array(0) {
  }
  ["hollow"]=>
  bool(false)
  ["blocks"]=>
  string(5) "stone"
  ["filter"]=>
  string(0) ""
  ["biomeId"]=>
  int(1)
  ["uuid"]=>
  string(36) "0e0d647b-3f5b-32ad-d650-1c46c9dda3b9"
}
string(331) "{"properties":{"version":1,"customName":"Sphere Brush","shape":"xenialdan\\MagicWE2\\selection\\shape\\Sphere","shapeProperties":{"diameter":17},"action":"xenialdan\\MagicWE2\\task\\action\\SetBlockAction","actionProperties":[],"hollow":false,"blocks":"stone","filter":"","biomeId":1,"uuid":"0e0d647b-3f5b-32ad-d650-1c46c9dda3b9"}}"
[04:23:19.757] [Server thread/DEBUG]: [MWE2] Called xenialdan\MagicWE2\event\MWESelectionChangeEvent
Touched Chunk at: -3:0
Touched Chunk at: -3:1
Touched Chunk at: -2:0
Touched Chunk at: -2:1
Touched chunks count: 4
string(576) "a:6:{i:0;i:1;i:1;N;i:2;N;i:3;O:20:"pocketmine\uuid\UUID":2:{s:27:"pocketmine\uuid\UUIDparts";a:4:{i:0;i:-1147085007;i:1;i:65627523;i:2;i:2053136539;i:3;i:-1066033583;}s:29:"pocketmine\uuid\UUIDversion";i:3;}i:4;O:20:"pocketmine\uuid\UUID":2:{s:27:"pocketmine\uuid\UUIDparts";a:4:{i:0;i:66709165;i:1;i:1494562180;i:2;i:-1155715020;i:3;i:1559195029;}s:29:"pocketmine\uuid\UUIDversion";i:3;}i:5;C:41:"xenialdan\MagicWE2\selection\shape\Sphere":120:{a:2:{s:8:"diameter";i:17;s:11:"pasteVector";O:23:"pocketmine\math\Vector3":3:{s:1:"x";i:-28;s:1:"y";i:56;s:1:"z";i:24;}}}}"
[04:23:19.773] [AsyncWorker#0 thread/CRITICAL]: InvalidArgumentException: "Cannot set block at coordinates x=-30,y=54,z=32, terrain is not loaded or out of bounds" (EXCEPTION) in "src/world/SimpleChunkManager" at line 58
[04:23:19.774] [AsyncWorker#0 thread/CRITICAL]: #0 plugins/MagicWE2.phar/src/xenialdan/MagicWE2/task/action/SetBlockAction(52): pocketmine\world\SimpleChunkManager->setBlockAt(integer -30, integer 54, integer 32, object anonymous@src/block/BlockFactory#L338)
[04:23:19.774] [AsyncWorker#0 thread/CRITICAL]: #1 plugins/MagicWE2.phar/src/xenialdan/MagicWE2/task/AsyncActionTask(108): xenialdan\MagicWE2\task\action\SetBlockAction->execute(string[36] 03f9e6ad-5915-3584-bb1d-30345cef6d95, object xenialdan\MagicWE2\selection\Selection, object xenialdan\MagicWE2\helper\AsyncChunkManager, integer 2, array[1], array[0], object xenialdan\MagicWE2\clipboard\SingleClipboard, array[0])
[04:23:19.774] [AsyncWorker#0 thread/CRITICAL]: #2 src/scheduler/AsyncTask(84): xenialdan\MagicWE2\task\AsyncActionTask->onRun()
[04:23:19.774] [AsyncWorker#0 thread/CRITICAL]: #3 (): pocketmine\scheduler\AsyncTask->run()
[04:23:19.823] [Server thread/CRITICAL]: Could not execute asynchronous task AsyncActionTask: Task crashed

MagicWE2 v10.1.1 Information
Website https://github.com/thebigsmileXD/MagicWE2
Version 10.1.1
Plugin API Version 4.0.0
Authors XenialDan
Enabled Yes
Uses UI Yes
Phar No
PMMP Protocol Version v1.16.100
PMMP Version 4.0.0+dev
PMMP API Version 4.0.0