Skip to content

Error when connect to server #18

@sublimegame

Description

@sublimegame

Hi!
I can run the server and trying to connect android PE 0.14.3 version to this server, but this throw error bellow,
Please help me:

Starting numerous-alpaca server version 0.14.3 (1.1.0)
Started numerous-alpaca server on *:19132
{
  "keyword": "enum",
  "dataPath": "",
  "schemaPath": "#/oneOf/0/enum",
  "params": {
    "allowedValues": [
      "native"
    ]
  },
  "message": "should be equal to one of the allowed values",
  "schema": [
    "native"
  ],
  "parentSchema": {
    "enum": [
      "native"
    ]
  },
  "data": [
    "array",
    {
      "countType": "i8",
      "type": [
        "container",
        {
          "name": "cost",
          "type": "i32"
        },
        {
          "name": "enchantments",
          "type": [
            "array",
            {
              "countType": "i8",
              "type": [
                "container",
                {
                  "name": "id",
                  "type": "i32"
                },
                {
                  "name": "level",
                  "id": "i32"
                }
              ]
            }
          ]
        },
        {
          "name": "name",
          "type": "string"
        }
      ]
    }
  ]
}
/Users/craft_server/numerous-alpaca-master/node_modules/protodef-validator/index.js:81
      throw new Error("validation error");
      ^

Error: validation error
    at Validator.validateType (/Users/craft_server/numerous-alpaca-master/node_modules/protodef-validator/index.js:81:13)
    at Object.keys.forEach (/Users/craft_server/numerous-alpaca-master/node_modules/protodef/src/protodef.js:100:26)
    at Array.forEach (<anonymous>)
    at ProtoDef.addTypes (/Users/craft_server/numerous-alpaca-master/node_modules/protodef/src/protodef.js:98:26)
    at new Client (/Users/craft_server/numerous-alpaca-master/node_modules/raknet/src/client.js:29:11)
    at Socket.socket.on (/Users/craft_server/numerous-alpaca-master/node_modules/raknet/src/server.js:30:16)
    at Socket.emit (events.js:198:13)
    at UDP.onMessage [as onmessage] (dgram.js:628:8)
apples-iMac:numerous-alpaca-master apple$ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions