Skip to content

Gridworld fails when creating #37

@bizzlebazzle

Description

@bizzlebazzle

On a freshly installed host, when trying to create a gridworld using the Create new gridworld button in the clusterio UI it gives the following error;

[error] Unexpected error responding to gridworld:CreateFactionGrid: TypeError: Cannot create property 'updatedAtMs' on number '1070700608' at SubscribableDatastore.set (/home/clusterio/clusterio/node_modules/@clusterio/lib/src/datastore.ts:265:20) at createLobbyServer (/home/clusterio/clusterio/node_modules/@danielv123/gridworld/src/worldgen/createLobbyServer.js:53:30) at createFactionGrid (/home/clusterio/clusterio/node_modules/@danielv123/gridworld/src/worldgen/factionGrid/createFactionGrid.js:12:28) at ControllerPlugin.createRequestHandler (/home/clusterio/clusterio/node_modules/@danielv123/gridworld/src/request_handlers/createFactionGridRequestHandler.js:16:21) at ControlConnection._processRequest (/home/clusterio/clusterio/node_modules/@clusterio/lib/src/link/link.ts:386:15) at ControlConnection._processMessage (/home/clusterio/clusterio/node_modules/@clusterio/lib/src/link/link.ts:229:9) at WsServerConnector.<anonymous> (/home/clusterio/clusterio/node_modules/@clusterio/lib/src/link/link.ts:116:10) at WsServerConnector.emit (node:events:524:28) at WsServerConnector._processMessage (/home/clusterio/clusterio/node_modules/@clusterio/lib/src/link/connectors.ts:266:9) at WebSocket.<anonymous> (/home/clusterio/clusterio/node_modules/@clusterio/controller/src/WsServerConnector.ts:164:10)

At a guess, could be because of the typescript re-write, but I'm no programmer!

Let me know if there is any other info that would be helpful and I'll do my best to get it to you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions