Documentation inconsistency

Game development with Board Game Arena Studio
Post Reply
User avatar
gilthe
Posts: 17
Joined: 30 October 2015, 22:05

Documentation inconsistency

Post by gilthe »

In the studio doc on https://en.doc.boardgamearena.com/Game_ ... ns.inc.php it says that the time control setting is to be interpreted like this:
200 (const GAMESTATE_CLOCK_MODE) - game speed profile, array(0,1,2) - realtime, values 11-21 - turn based
But when I query from php, the first turn-based option appears to be 10, not 11. Should probably be fixed in the doc ...
User avatar
Tisaac
Posts: 2743
Joined: 26 August 2014, 21:28

Re: Documentation inconsistency

Post by Tisaac »

gilthe wrote: 31 August 2021, 23:24 In the studio doc on https://en.doc.boardgamearena.com/Game_ ... ns.inc.php it says that the time control setting is to be interpreted like this:
200 (const GAMESTATE_CLOCK_MODE) - game speed profile, array(0,1,2) - realtime, values 11-21 - turn based
But when I query from php, the first turn-based option appears to be 10, not 11. Should probably be fixed in the doc ...
The doc is a wiki, feel free to change it if you spot issue.
User avatar
gilthe
Posts: 17
Joined: 30 October 2015, 22:05

Re: Documentation inconsistency

Post by gilthe »

Thanks Tisaac, it is not editable from a Studio login, which always trips me. In any case, I'd rather not edit documentation of code I cannot actually see/verify (which is the case here).
User avatar
Victoria_La
Posts: 665
Joined: 28 December 2015, 20:55

Re: Documentation inconsistency

Post by Victoria_La »

Yes 10 is turn based

10 is "Fast Turn-based - 24 moves per day"
User avatar
gilthe
Posts: 17
Joined: 30 October 2015, 22:05

Re: Documentation inconsistency

Post by gilthe »

Brief follow-up: is it true that training mode corresponds to value 9999? This is rather unexpected and worth mentioning in the doc.
Post Reply

Return to “Developers”