Page 1 of 1

Timing bug concerning 1st move in Tokaido

Posted: 03 July 2016, 18:02
by dudi2
During selection of roles in Tokaido there seems to be a timing bug.

At start of the game the time of all players should be running till they select a role.
When every player selected a role, only for the player at turn should run. This seems to be the case.

But at the starting phase something is misaccounted.

Time analysis from the log for game 22297161 (2.5 days/player = 60 hours):

http://de.boardgamearena.com#!gamerevie ... ;;60:00:00
Start;meyodin;time used;cofunguy;time used;cumulative;time left;cumulative;time left;
27.06.16 20:10;27.06.2016 22:17:34;02:07:34;28.06.2016 00:24:32;04:14:32;02:07:34;57:52:26;04:14:32;55:45:28;
;;;28.06.2016 00:24:35;00:00:03;02:07:34;57:52:26;04:14:35;55:45:25;
;;;28.06.2016 00:24:47;00:00:12;02:07:34;57:52:26;04:14:47;55:45:13;
;;;28.06.2016 00:24:59;00:00:12;02:07:34;57:52:26;04:14:59;55:45:01;
;28.06.2016 07:19:09;06:54:10;;;09:01:44;50:58:16;04:14:59;55:45:01;
;28.06.2016 07:19:16;00:00:07;;;09:01:51;50:58:09;04:14:59;55:45:01;
;;;28.06.2016 15:01:36;07:42:20;09:01:51;50:58:09;11:57:19;48:02:41;
;28.06.2016 22:57:49;07:56:13;;;16:58:04;43:01:56;11:57:19;48:02:41;
;28.06.2016 22:58:08;00:00:19;;;16:58:23;43:01:37;11:57:19;48:02:41;
;;;29.06.2016 01:51:02;02:52:54;16:58:23;43:01:37;14:50:13;45:09:47;
;29.06.2016 08:34:20;06:43:18;;;23:41:41;36:18:19;14:50:13;45:09:47;
;;;29.06.2016 15:34:26;07:00:06;23:41:41;36:18:19;21:50:19;38:09:41;
;;;29.06.2016 15:34:37;00:00:11;23:41:41;36:18:19;21:50:30;38:09:30;
;29.06.2016 15:37:25;00:02:48;;;23:44:29;36:15:31;21:50:30;38:09:30;
;29.06.2016 15:37:30;00:00:05;;;23:44:34;36:15:26;21:50:30;38:09:30;
;;;29.06.2016 18:35:57;02:58:27;23:44:34;36:15:26;24:48:57;35:11:03;
;30.06.2016 09:42:10;15:06:13;;;38:50:47;21:09:13;24:48:57;35:11:03;
;;;30.06.2016 17:03:11;07:21:01;38:50:47;21:09:13;32:09:58;27:50:02;
;30.06.2016 18:06:07;01:02:56;;;39:53:43;20:06:17;32:09:58;27:50:02;
;30.06.2016 18:06:11;00:00:04;;;39:53:47;20:06:13;32:09:58;27:50:02;
;30.06.2016 18:06:16;00:00:05;;;39:53:52;20:06:08;32:09:58;27:50:02;
;;;30.06.2016 19:56:26;01:50:10;39:53:52;20:06:08;34:00:08;25:59:52;
;;;30.06.2016 19:56:31;00:00:05;39:53:52;20:06:08;34:00:13;25:59:47;
;;;30.06.2016 19:56:45;00:00:14;39:53:52;20:06:08;34:00:27;25:59:33;
;30.06.2016 20:05:46;00:09:01;;;40:02:53;19:57:07;34:00:27;25:59:33;
;30.06.2016 20:05:58;00:00:12;;;40:03:05;19:56:55;34:00:27;25:59:33;
;;;30.06.2016 22:04:31;01:58:33;40:03:05;19:56:55;35:59:00;24:01:00;
;;;30.06.2016 22:04:40;00:00:09;40:03:05;19:56:55;35:59:09;24:00:51;
;30.06.2016 23:12:05;01:07:25;;;41:10:30;18:49:30;35:59:09;24:00:51;
;;;01.07.2016 01:41:17;02:29:12;41:10:30;18:49:30;38:28:21;21:31:39;
;01.07.2016 13:49:44;12:08:27;;;53:18:57;06:41:03;38:28:21;21:31:39;
;;;01.07.2016 17:08:35;03:18:51;53:18:57;06:41:03;41:47:12;18:12:48;
;;;01.07.2016 17:09:01;00:00:26;53:18:57;06:41:03;41:47:38;18:12:22;
;01.07.2016 18:13:37;01:04:36;;;54:23:33;05:36:27;41:47:38;18:12:22;
;;;02.07.2016 00:21:04;06:07:27;54:23:33;05:36:27;47:55:05;12:04:55;
;02.07.2016 00:45:02;00:23:58;;;54:47:31;05:12:29;47:55:05;12:04:55;
;02.07.2016 00:45:09;00:00:07;;;54:47:38;05:12:22;47:55:05;12:04:55;
;02.07.2016 00:45:14;00:00:05;;;54:47:43;05:12:17;47:55:05;12:04:55;
;;;02.07.2016 04:16:27;03:31:13;54:47:43;05:12:17;51:26:18;08:33:42;
;;;02.07.2016 04:16:32;00:00:05;54:47:43;05:12:17;51:26:23;08:33:37;
;;;02.07.2016 04:16:42;00:00:10;54:47:43;05:12:17;51:26:33;08:33:27;
;;;02.07.2016 04:16:56;00:00:14;54:47:43;05:12:17;51:26:47;08:33:13;
;;;02.07.2016 04:17:04;00:00:08;54:47:43;05:12:17;51:26:55;08:33:05;
;02.07.2016 08:56:22;04:39:18;;;59:27:01;00:32:59;51:26:55;08:33:05;
;02.07.2016 08:56:27;00:00:05;;;59:27:06;00:32:54;51:26:55;08:33:05;
;02.07.2016 08:56:33;00:00:06;;;59:27:12;00:32:48;51:26:55;08:33:05;
;;;02.07.2016 13:54:41;04:58:08;59:27:12;00:32:48;56:25:03;03:34:57;
;02.07.2016 13:54:54;00:00:13;;;59:27:25;00:32:35;56:25:03;03:34:57;
;;;02.07.2016 13:56:41;00:01:47;59:27:25;00:32:35;56:26:50;03:33:10;
;02.07.2016 13:56:46;00:00:05;;;59:27:30;00:32:30;56:26:50;03:33:10;
;;;02.07.2016 16:01:09;02:04:23;59:27:30;00:32:30;58:31:13;01:28:47;out of time

At the moment "out of time", i.e. the moment meyodin decided to skip the turn of cofunguy, both players should have some time left:
meyodin: about 32 minutes (used 59:27:30)
cofunguy: about 68 minutes (used 58:31:13)

From the statitics page http://de.boardgamearena.com#!table?table=22297161 meyodin should have used 3567 min, cofunguy should have used 3638 min. The value for the 1st player on the table (meyodin) is correct (59h27 = 3567min), but the value for the 2nd player on the table (cofunguy) is incorrect (58h31 = 3511min). The difference to the value from the statistics page ist 127 minutes, which is the difference of the times when meyodin and cofunguy selected their role.

So there is some bug in time accounting for the 1st move.

I found similar for tables https://de.boardgamearena.com#!gamerevi ... e=22292180 and https://de.boardgamearena.com#!gamerevi ... e=22027540

Re: Timing bug concerning 1st move in Tokaido

Posted: 03 July 2016, 19:59
by cofunguy
I know on my side it showed at most a -1 or -2 hours at best. I play when I can but don't " sit" on my tablet waiting for games
Meyodin claims in the game comments that I had -37 hrs.
If so that is a serious bug.

But the point of allowing a person to quit a game, namely in a tournament, should not be allowed as well. I can see it in casual games but tourneys do have the bot (or whatever does it) that ends the tourney games when one player has negative time and determines who wins. Allowing a player to quit a tourney game allows people to get cheap wins.

And I do agree that for selecting a character in Tokaido should be penalty free. BUT also you have to move the game forward too. Is it possible to have 24 hours (just saying the time..maybe allow the tourney creator be allowed to select a time for games that have player selection or placement) for both players to select. And this time to not go against the players playing time. Obviously after that player selection time is gone then count the time against the players who haven't selected. And obviously if both players select their characters (or whatever is required for setup in the game) to start the count.

Re: Timing bug concerning 1st move in Tokaido

Posted: 03 July 2016, 21:15
by dudi2
Just analysed this game: http://de.boardgamearena.com#!gamereview?table=22297161

It seems that the following is the bug:

Assume starting at 00:00 with 120 hours each player.
Player1 selects role at 01:00.
Player2 selects role at 03:00.
Then at 03:00 Player1 should have 119 hours left, which is correct.
Player2 should have 117 hours left, but has only 115 hours, cause in addition to the time since start of the table the time difference between role selection moment of Player1 and role selection moment of Player2 is subtracted in addition, i.e. in total twice.

Extreme example:
Start of game at 01.07.2016 00:00 with 5 days per player.
Player1 selects role at 02.07.2016 00:00, time left: 4 days.
Player2 selects role at 03.07.2016 12:00, time left: 1 day, but should be 2.5 days.

It looks like this bug affects every Tokaido game, with significant effect if one player selects role long time after the first player.

Submitted bug report: http://de.boardgamearena.com#!bug?id=5225

Please vote this bug up to trigger a fast bug fix.