MemoryStone

MemoryStone

12.5k Downloads

Custom structuretypes failing to load

loopyluke opened this issue ยท 5 comments

commented

So I've edited the structuretypes.yml file to customize the default shape and blocks to be used in a standard memorystone like this:

-   structure:
    -   z: 1
        material: OBSIDIAN
        y: 1
        x: 1
    -   z: 1
        material: GLOWSTONE
        y: 3
        x: 1
    -   z: 1
        material: BEDROCK
        y: 0
        x: 1
    -   z: 1
        material: OBSIDIAN
        y: 2
        x: 1
    rotator: NONE
    name: Memory Stone
    metadata:
        distanceLimit: '0'
        memorizecost: '200'
        teleportcost: '50'
        global: 'false'
        buildcost: '1000'
        type: MEMORYSTONE
        permissionRequired: memorystone.create.local

The structure works fine and memorystones are created, which function normally.

However upon reloading the server the existing stones do not load and I receive these errors:

19:26:59 [INFO] [MemoryStone] loaded 1 structure types
19:26:59 [WARNING] [MemoryStone] New: structure was bad
19:26:59 [WARNING] [MemoryStone] A structure couldn't be loaded
19:26:59 [INFO] [MemoryStone] Loaded 0 structure(s)

Upon reverting the structuretypes.yml to default it works fine and reloads the structures on server reload.

commented

I can't quite make out the shape of the stone you're creating here, but I have noticed there are problems if you don't have a corner stone, ie, you need stones at the bottom corners (hence the sqaure shape). I should probably rework it to use the block behind the sign as the base stone instead..

On Tuesday 18 October 2011 at 11:09 AM, loopyluke wrote:

So I've edited the structuretypes.yml file to customize the default shape and blocks to be used in a standard memorystone like this:

  • structure:
  • z: 1
    material: OBSIDIAN
    y: 1
    x: 1
  • z: 1
    material: GLOWSTONE
    y: 3
    x: 1
  • z: 1
    material: BEDROCK
    y: 0
    x: 1
  • z: 1
    material: OBSIDIAN
    y: 2
    x: 1
    rotator: NONE
    name: Memory Stone
    metadata:
    distanceLimit: '0'
    memorizecost: '200'
    teleportcost: '50'
    global: 'false'
    buildcost: '1000'
    type: MEMORYSTONE
    permissionRequired: memorystone.create.local

The structure works fine and memorystones are created, which function normally.

However upon reloading the server the existing stones do not load and I receive these errors:

19:26:59 [INFO] [MemoryStone] loaded 1 structure types
19:26:59 [WARNING] [MemoryStone] New: structure was bad
19:26:59 [WARNING] [MemoryStone] A structure couldn't be loaded
19:26:59 [INFO] [MemoryStone] Loaded 0 structure(s)

Upon reverting the structuretypes.yml to default it works fine and reloads the structures on server reload.

Reply to this email directly or view it on GitHub:
#22

commented

If thats the bug making all the x's and z's 0 should help its supposed to be a vertical pillar of.

glowstone
obsidian
obsidian
bedrock

commented

We discussed this and figured out that this was our problem, not sure how it slipped past both of us so easily!

commented

got loopy to reopen as I believed it should still work even like this.
Loopy is a co-admin of my server, I had no clue on this bug so told him to palm it off to github.

commented

hehe, cool - you're right, this is an issue that should be fixed up