BetterPistons some mechanics are too powerful
LadyCailinBot opened this issue ยท 19 comments
CRAFTBOOK-2418 - Reported by kaitoyuuki
after running a few tests, I found that the [crush] piston is able to break bedrock, end portal frame blocks, and even portal blocks. out of those, it only drops bedrock, so there's not much worry about players using them to relocate end portals or something like that. It would be good if you could change it so that it doesn't break these blocks at all so that players can't mess up end portals and the like. Also, I have found that if you don't put a block that can't be pushed on the other side of the block to be broken, the mechanic will duplicate it- it both drops the block and pushes it forward.
Second, the superpush pistons can push any block, including portal frames and bedrock. while it is kind of cool to have a piston powerful enough to push obsidian, since that lets us make interesting new machine set-ups, I don't think it should be able to push bedrock or portal frames.
on a separate note, if you could possibly add the ability to move obsidian to the supersticky mechanic and make a parameter on the 4th line for superpush and supersticky (something like o or all) to be able to push obsidian. Oh! perhaps you could add another permission node for those two piston mechanics like craftbook.mech.BetterPistons.op to let users set the parameter "op"/"all" on the fourth line of crush, superpush, and supersticky that would allow them to push/pull/break any block, whereas without the parameter, it would only be able to interact with blocks that pistons can normally act on.
speaking of permission nodes, what are the nodes required for the BetterPistons mechanics?
Comment by N3SLO
Update:
I recreated the setup in a different area and voila! I can now crush blocks! .. except for obsidian. If I place an obsidian block in the crush zone the piston simply does not move when activated. And I have nothing in my blacklists in the config. So now how do I get it to break obsidian?
Comment by me4502
Bukkit mayve changed and disallowed it. Are you using 3.7b1? I'll look into a fix
Comment by me4502
After looking into it, the Crush piston was affected by the movement blacklist also, which is why Obsidian would have been blocked. I've now removed its requirement from the movement blacklist.
Comment by N3SLO
yep.. confirmed that fix.. I can now crush obsidian. Thank you very much for your assistance.
On another note. I observed that when using wireless redstone (QuantumConnectors) to activate the pistons.. it will not activate the pistons if a block is sitting in the crush zone. Even tho the receivers (levers) switch properly and the redstone is lit up going to the piston. If i manually activate the receiver (lever) then it works. If the crush zone is empty then the piston can be activated wirelessly. Not sure if this is Craftbook issue or QuantumConnector issue.. but thought I would post in both dev sites.
Thanks again :)
Comment by me4502
That's an Issue with their plugin, they mustn't be updating the redstone properly.
Edit: why not use the wireless redstone IC's?
Comment by N3SLO
I didnt even know that was a feature of Craftbook. I havent gotten that far in examining everything Craftbook can do but now that you tell me this I am omw to check out the redstone components. This plugin sure does a lot of stuff.
Thanks!
Comment by N3SLO
OK, first of all, I am having a blast looking into and trying all this stuff. But I am having a problem with the radius/offset thing for planter/harvester. I first noticed that placing [mc1234]s just makes the device work no matter what and it does its job to the max dimensions. Not exactly what I want. So I put the IC block on the ground over a water block, placed a chest on top of the IC block, tilled the soil 4 blocks in each direction from the IC block.. with that water block that soil stays irrigated and ready for planting.. I place a sign on the IC block with the second line as '[mc1234]' .. third line with '295' (wheat seeds) and the 4th line with '4=0:0:0' .. assuming this means 4 block radius, no blocks offset east/west, no blocks down and no blocks north/south. I placed several stacks of wheat seeds in the chest .. And nothing happens.
So what did I do wrong? And I tried many variations on /up/down to no avail. Tried it with the wheat seed id and without. I require no offset east/west or north/south.
Its the same thing for the harvester as well.. if I dont specify the radius/offset and use [mc1239]s instead it works perfectly.. albeit a bit on the large scale side.
So I am stumped... it works like gangbusters with [mcxxxx]s on the second line tho.
Comment by me4502
Um.. Just try it with a radius but no offset, so just 4. Also, you can leave the seed line blank, also, what version are you on?
Comment by N3SLO
I figured it out... you have to use [mcxxxx]s on the second line.. not [mcxxxx]. Then the radius and offset works as expected.
Next is figuring out the CB wireless method.
Comment by me4502
[MC1110] and [MC1111] are the wireless IC's. One is transmitter the other receiver. You can use [MC1111]S to have it update by itself.
Comment by me4502
craftbook.mech.pistons.pistonmechname
If you are seeing a dupe, it's client side. In which case the block doesn't exist and is caused by lag on the server. Nothing I can do about, as its client side.
Comment by kaitoyuuki
ok, it is indeed just a client-side thing for the duplication. It is still an issue about the piston mechanics affecting bedrock and the like, though.
Comment by me4502
Should I add an option of 'disallowed blocks', and just have it by default obsidian and bedrock?
Edit: Bounce and Crush already had the blacklist.. I have just added the blacklist to movement pistons though, instead of hardcoding bedrock and obsidian.
Comment by N3SLO
add whatever gives us the most options.. hopefully that suits more server/player needs.
My previous post wasn't clear tho about my issue.. so my bad. Specifically, I cannot crush obsidian. And that feature is one of the main reasons I chose Craftbook. The sign says [Crush], it gives me the "Created Crush .." message when I place the sign but all the piston will do is push blocks.
So I did something wrong or something isn't working quite right.
Comment by me4502
Wait.. So it can't crush anything? Or does it push obsidian.. How are you powering the piston?
Comment by N3SLO
Doesn't crush.. just moves the block.. except obsidian. It doesn't move obsidian.. just sits there. I am powering it with a lever next to the piston. Once activated it only pushes.. doesn't crush.
I set it up just like the pic.. with a crush sign but it only pushes blocks .. up to 5 I think.
Maybe I am doing something wrong?