Page 1 of 2

Hotseat feature request to speed up development, and bug report

Posted: 10 October 2020, 13:05
by salty-horse
Hi,

I'm not sure this the right forum. I understand this feature is in beta. I use it a lot during development, because it cuts down much of the time required to start a game, compared to the regular method of opening multiple windows, inviting a player, and clicking several buttons in both windows.
  1. When choosing the "hotseat" option, a popup appears asking you to enter a name. It would be really helpful if the name field was auto-focused, and save me from clicking it. It would also be nice to be allowed to enter 1-character names. I think the minimum is 0.
  2. When a game starts, and the hotseat player goes first, there is a Javascript error. The stack trace:

    Code: Select all

    Uncaught TypeError: can't access property "style" of null
        giveHotseatFocusTo https://en.1.studio.boardgamearena.com:8083/data/themereleases/201006-1727/js/modules/layer/ly_studio.js:2
        checkHotseatFocus https://en.1.studio.boardgamearena.com:8083/data/themereleases/201006-1727/js/modules/layer/ly_studio.js:2
        hitch Dojo
    

Re: Hotseat feature request to speed up development, and bug report

Posted: 10 October 2020, 14:22
by RicardoRix
Have you used the "Express Start" feature in BGA Studio?

Re: Hotseat feature request to speed up development, and bug report

Posted: 10 October 2020, 14:25
by salty-horse
What does "Express Start" do? I clicked it and it thought I want to start a game with 1 player, and gave an error.

Re: Hotseat feature request to speed up development, and bug report

Posted: 10 October 2020, 20:16
by RicardoRix
Essentially it's everything you need in 1-click.
Choose more than 1 player...?

It's the way to quickly start a game and the developer plays as all the players. You can click the little right arrow next to each players name.

Re: Hotseat feature request to speed up development, and bug report

Posted: 10 October 2020, 20:20
by salty-horse
So first I need to invite people (without waiting for them to confirm), and then click it?

Re: Hotseat feature request to speed up development, and bug report

Posted: 10 October 2020, 20:32
by RicardoRix
No, just click the button.

Re: Hotseat feature request to speed up development, and bug report

Posted: 11 October 2020, 09:06
by Een
You have to setup the max number of players on the table, then click express start. It will start a game with the max numbers of players set, and you'll be able to switch player through an arrow icon in the player panel.

Hope it helps!

Re: Hotseat feature request to speed up development, and bug report

Posted: 11 October 2020, 09:28
by salty-horse
Thanks, it's working now. Not sure why I got that error before.
This is much smoother than the "hotseat" approach! Consider still looking into my comments about that in the future.

Re: Hotseat feature request to speed up development, and bug report

Posted: 10 April 2022, 17:26
by salty-horse
I'm still getting this hotseat error from time to time. Is it possible to fix it?
Am I doing something wrong that I'm seeing it?
It's in ly_studio.js:27239

Code: Select all

var i = window.frames['hotseat_iframe_' + this.hotseat_focus].contentDocument.getElementById('hotseat_mask');
e.style(i, 'display', 'block')
hotseat_mask isn't found, so the style call fails.

Re: Hotseat feature request to speed up development, and bug report

Posted: 11 April 2022, 09:47
by Een
salty-horse wrote: 10 April 2022, 17:26 I'm still getting this hotseat error from time to time. Is it possible to fix it?
Am I doing something wrong that I'm seeing it?
It's in ly_studio.js:27239

Code: Select all

var i = window.frames['hotseat_iframe_' + this.hotseat_focus].contentDocument.getElementById('hotseat_mask');
e.style(i, 'display', 'block')
hotseat_mask isn't found, so the style call fails.
You mean you have hotseat errors while using Express Start?