Score not updating

Game development with Board Game Arena Studio
Post Reply
User avatar
cmgames
Posts: 16
Joined: 05 October 2016, 22:14

Score not updating

Post by cmgames »

I am working on my second game, and for some reason, in this game, the scores (in the player areas above the log) are not updating. The scores are correct in the database. The scores are correct in the JS gamedatas. The score track is correct. But the scores are not showing up in those panels on the right. BTW, is there an official name for those? I can find documentation on adding custom icons, etc. to the logs, but can't find where the documentation is on adding elements to those player areas.

I have individual player boards for keeping all the player resources, etc., and those are working fine. I just happened to notice that the scores weren't updating in those player areas. I know that some games don't show the scores there, or only show your score and the other players' scores show 0 until the end of the game. So I figure I must have somehow enabled that feature or something similar.

Can anybody point me in the right direction?

Thanks,
~cmgames
User avatar
paramesis
Posts: 398
Joined: 28 April 2020, 05:00

Re: Score not updating

Post by paramesis »

User avatar
Tisaac
Posts: 2736
Joined: 26 August 2014, 21:28

Re: Score not updating

Post by Tisaac »

Can you provide the getAllDatas function ? There is a quirk here, you need to format the players as expected by the framework, otherwise the scores won't update.
User avatar
cmgames
Posts: 16
Joined: 05 October 2016, 22:14

Re: Score not updating

Post by cmgames »

Thank you paramesis. That did the trick. I wonder why I did not need to use that function in my first game (Yspahan).

~cmgames
Post Reply

Return to “Developers”