Buildinggadgets: Invisible Indestructible Blocks From Copy Paste in MP

Created on 3 Nov 2018  路  24Comments  路  Source: Direwolf20-MC/BuildingGadgets

I'm on a Stoneblock Server, 1.0.25, using Building Gadgets 2.3.8. When Copy Pasting a large structure, there are some missing invisible blocks that are indestructible (can't break with pickaxe, haven't tried other means yet), doesn't fix when relogging or server restart, can't past over it, can't use exchanging gadget.

2018-11-03_11 11 12
2018-11-03_11 10 18
2018-11-03_11 10 47

In the images I copy pasted near max size, 1 layer of an internal gear shape, all cobblestone, pastes about 13 stacks of cobble.

bug incompatibility

All 24 comments

EDIT: Can break with pickaxe, just takes a really long time, maybe longer than obsidian.

Do the fake blocks apper in the same place in each paste? @MechanizedIT could you also pastebin your copy?

Do the fake blocks apper in the same place in each paste?

If you look at the top image, they seem to be random, but huge swaths each time, and it is not the same each layer, that was pasted.

@MechanizedIT Having a copy of your paste data would be very helpful. You should be able to copy it to clipboard from the copy & paste tool.

@MechanizedIT Having a copy of your paste data would be very helpful. You should be able to copy it to clipboard from the copy & paste tool.

How? Copy the area again or is there a way with the existing copy paste data of the tool?

I'm confident that each of those invisible blocks is an EffectBlock set by a BlockBuildEntity. It seems that the block to be placed is failing to replace the EffectBlock in BlockBuildEntity#setDespawning.

I can't figure out how to copy the copy/paste data to clipboard from the tool. I am on the nfinit.games stoneblock server that comes with the pack, stoneblock 1 server, MC user name MechanizedIT. If you want to contact the admin the discord link is here https://discord.gg/xxK29Y

Maybe someone can come on and get the tool to get the data, or get the server files from the admin. Location -5999, 145, -6997, copy paste tool in chest.

@MechanizedIT You need to use a Template Manager block to transfer the data in the Copy/Paste tool to your computer's clipboard. The question mark in the top right of the Template Manager GUI will answer any questions you may have.

There seems to be RFTools builder preview blocks in the copy/paste data, don't know if that is a problem or not.

That definitely could be related! Maybe its failing to place those preview blocks in the world, I'll do some testing!

So I tested, and I'm getting the expected behavior in my test world, if you don't have any RFTool support blocks in your inventory, it just places nothing (as in, it doesn't even attempt to place something there).. Weird..More testing!

I'm having trouble replicating this issue :(.

I carved out the 10 ten blocks or so with an RF builder, in a 65 radius circle, and some of the preview blocks stuck around even after I removed the builder. I layed out 1/4 of the gear on the top layer, copied, rotated and pasted to finish the gear, then copied the whole thing, I then dug out 100 blocks down in a circle under the top 10 blocks, then went to the bottom and pasted one layer at at time of the gear, sometimes it worked fine, other times it didn't as you can see, I wonder if lag or the 'Lag'B'Gon' plugin interfered at times with the placing of the blocks. I'm going to try to quarry out the thing again and see if it removes all of the invisble blocks. @Direwolf20-MC hopefully it is a very rare case, and hope it comes easy to fix. Excellent mod, almost as good as having world edit in survival.

Hrmm lag b gone? :). No sure what that is. Is it a forge mod or something else?

@Direwolf20-MC
https://github.com/DoctorFTB/LagBGonReborn
https://minecraft.curseforge.com/projects/lagbgon-reborn

I can only assume, the original was never continued past 1.7.10. Doesn't look like the mod would be causing an issue as it's more about entity monitoring.

@MechanizedIT plz turn this into pastebin link https://github.com/Direwolf20-MC/BuildingGadgets/issues/126#issuecomment-435608358

Oh that could be related. I see that mod messes with entities and my mod uses entities for the cool rendering effects. I could absolutely see this mod affecting mine.

@MichaelHillcox Done
@Direwolf20-MC Every few minutes chat says 'Lag'B'Gon' cleared 'n' entities, etc. and also unloads chunks.

If possible can you see if the issue happens without this mod installed.

@Direwolf20-MC It is on a server, that I don't run. I could inform the admins of the bug, maybe they could look into it, or give you a copy of the server files. Otherwise, I will try to go to single player and see if I can get it to happen there.

Sounds good :)

Ok, so I've done testing in single player, and it worked flawlessly.
2018-11-03_19 26 28

There was a difference in clipboard data from server to single player as seen below.
2018-11-03_19 28 13
Server Version.

2018-11-03_17 33 15
Singleplayer Version.

Lastly, I tested in mp some more, and Lag' B' Gon definitely interfered, it was working perfectly until lag b gon ran and unloaded chunks, blocks in a certain chunk wouldn't spawn right, and placing after that, it continued to not work right in that chunk. Lag B Gon ran again and got rid of entities and that time the whole paste failed. See Video here: https://youtu.be/smlyyt4zig0

I messaged a couple of server admins on discord, haven't heard back from them.

Definitely sounds like my theory is correct. Lag b gone is killing my entities. In my entity death code is where the block place occurs. If lag b gone is not letting that run the blocks don鈥檛 swap.

Unfortunately this is not something I can solve. As far as I know at least. Sorry!

Closing as cross mod compatibility issue.

@MechanizedIT It probably wont fix this particular issue, but it couldn't hurt to blacklist BG entities. Ask the server owner to run /bgon toggleentity buildinggadgets:blockbuildentity (and /bgon toggleentity buildinggadgets:constructionblockentity, just in case) That will at least exempt them from being specifically targeted in clearing operations, which is capable of causing similar issues.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

loordgek picture loordgek  路  6Comments

MajorTuvok picture MajorTuvok  路  6Comments

MichaelHillcox picture MichaelHillcox  路  4Comments

WenXin20 picture WenXin20  路  4Comments

WenXin20 picture WenXin20  路  3Comments