CraftBook 3

CraftBook 3

139k Downloads

Craftbook Gate creates invinite door

LadyCailinBot opened this issue ยท 18 comments

commented

CRAFTBOOK-3054 - Reported by LordRazen

Preparations: See the first screenshot - prepare a gate with stained glass. Below the gate, there must be stone - if not directly under the gate, it shouldnt be more then 2 or 3 blocks under it.

Bug: Create the Gate-Sign with [gate] in the second and 160:11 in the third line. We always created the sign in the left lower corner. Now switch the gate - instead of toggling the glass-panes, it toggle tons of stones beneath the gate - in some cases, if you toggle a second time, it doesnt place the stones again: it took more stones into the sign (record: 1300 stones). If you destroy the sign, it drops the items like expected - just: it shouldnt have this material inside...

We allowed gates with stained glass and doors with normal stones and some other material. I also tested the bug with doors deactivated and it worked.

Here the report: http://pastebin.com/1vAv5Lzb

commented

Comment by me4502

This is quite odd. My best guess would be that for some reason 160:11 is being seen as an invalid block, and it's defaulting to stone.

commented

Comment by LordRazen

but shouldnt be fence the default-block of gates and not stone?

commented

Comment by me4502

Well when parsing an item from a line of text, the default block is stone. The gate doesn't know that the line was seen as invalid, only that it has been given stone.

commented

Comment by me4502

Are you able to run this test program and comment back with the log.txt file?

commented

Comment by LordRazen

no, but I'll hand it over to the developer. Bad part: he's on vacation. He'll be back in a week or so... I'll write back then

commented

Comment by LordRazen

here you go...

commented

Comment by me4502

I've made it public

commented

Comment by LordRazen

I'll inform him.

commented

Comment by LlmDl

I've had a very similar thing happen on my server:

Steps to reproduce:

  1. Build regular gate, fences inside an arch, above stone.
  2. Fill out only the [gate] line of the sign.
  3. Sign auto-fills remaining lines with STONE.
  4. Break sign to remove massive amounts of stone from the ground, exposing any ores in its range of field.

This is the gate section of my mechanisms.yml (Note that stone is not enabled and enforce-type: true)

Gate:
    allow-redstone: true
    limit-columns: true
    max-columns: 20
    blocks:
    - FENCE
    - SPRUCE_FENCE
    - ACACIA_FENCE
    - BIRCH_FENCE
    - DARKOAK_FENCE
    - IRON_FENCE
    - THIN_GLASS
    - NETHER_FENCE
    enforce-type: true
    max-column-height: 30
    gate-search-radius: 4
commented

Comment by LordRazen

erm, is the issue still cared on?

commented

Comment by me4502

That log indicates nothing is wrong, and I haven't been able to reproduce the issue.

Is there any other information about this?

commented

Comment by LordRazen

are you online? join my server and i show you, maybe we can make it out: mc.blockminers.de (1.7.10) - teamspeak: ts.blockminers.de

commented

Comment by me4502

It's more of an issue of why it's happening, rather than seeing it happen.

commented

Comment by LordRazen

so you can reproduce it but have no clue what it could be? Or you cant reproduce it and just wonder? What do you need? Pluginlist of our server?

commented

Comment by me4502

I can't reproduce it, plugin list probably won't help. It's a very odd issue

commented

Comment by LordRazen

well, just leaving it doesnt seem like an option :D

commented

Comment by me4502

Are you able to tweak random parts of the setup, and see if it fixes it?

commented

Comment by LordRazen

In this case, I suggest you add the second admin to this issue: http://youtrack.sk89q.com/issue/CRAFTBOOK-3050 - his name is Asgarioth and he's responsible for the technical part. He tryed to look here earlier, but looks like the issue is private. He can do this...