From: Ian Jackson Date: Mon, 23 Nov 2020 02:24:12 +0000 (+0000) Subject: bugs X-Git-Tag: otter-0.2.0~378 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=ae83ade54317b20bf2a48043add25d39ceae0d67;p=otter.git bugs Signed-off-by: Ian Jackson --- diff --git a/specs/penultima.game.toml b/specs/penultima.game.toml index 7ceb27ae..2e6ff80b 100644 --- a/specs/penultima.game.toml +++ b/specs/penultima.game.toml @@ -2,9 +2,6 @@ # SPDX-License-Identifier: AGPL-3.0-or-later # There is NO WARRANTY. -# xxx -# xxx also put this in the README.md - table_size = [300, 200] [[pieces]] diff --git a/src/bin/otter.rs b/src/bin/otter.rs index c6967712..22567b8b 100644 --- a/src/bin/otter.rs +++ b/src/bin/otter.rs @@ -2,6 +2,16 @@ // SPDX-License-Identifier: AGPL-3.0-or-later // There is NO WARRANTY. +// xxx +// chiark:~> otter join-game unix:ijackson::test +// already in game, as player #1 "ijackson" +// redelivering existing access token +// thread 'main' panicked at 'execution error: game alternations failed (maybe partially); response to: AlterGame { game: InstanceName { account: AccountName { scope: Unix { user: "ijackson" }, subaccount: "" }, game: "test" }, insns: [RedeliverPlayerAccess(1#1)], how: Online } +// +// Caused by: +// AuthorisationUninitialised', src/bin/otter.rs:414:25 + + #![allow(unused_imports)] use otter::imports::*; diff --git a/templates/script.ts b/templates/script.ts index 42bb4192..10fb4a1f 100644 --- a/templates/script.ts +++ b/templates/script.ts @@ -37,6 +37,8 @@ // #def.{}.stuff // generated by server, reserved for Piece trait impl +// xxx Error (reloading may help?):exception handling update Piece: {"Piece":{"piece":"10.1","op":{"Modify":{"pos":[151,40],"svg":"\n\n \n \n \n \n \n \n \n \n \n \n \n \n\n","held":"2#1","z":"g04r000000","zg":60,"pinned":false,"uos":[]}}}}: TypeError: players[p.held] is undefined + type PieceId = string; type PlayerId = string; type Pos = [number, number];