Notification history ordering bug

Game development with Board Game Arena Studio
Post Reply
User avatar
quietmint
Posts: 265
Joined: 31 July 2017, 00:28

Notification history ordering bug

Post by quietmint »

I think I'm seeing a bug related to notification order of "history_history" messages?

I tried states like this:

Code: Select all

game (notifyAllPlayers send #1)
-> activeplayer (notifyPlayer send #2)
-> game (notifyAllPlayers send #3)

OR

game (notifyAllPlayers send #1, notifyPlayer send #2)
-> activeplayer
-> game (notifyAllPlayers send #3)
In both cases, live play works correctly and notifications come in proper order (1, 2, 3). But if I refresh the page (refresh sends "history_history" instead of true notifications), the order is wrong as (2, 1, 3). Can it be fixed?

(At first I thought it was related to sending notification from 'activeplayer' state, but I tried sending both notifications #1 and #2 together from same game state and still bug.)

Maybe it is because notification #1 is public and notification #2 is private?
Screen Shot 2018-01-09 at 00.05.26.png
Screen Shot 2018-01-09 at 00.05.26.png (49.48 KiB) Viewed 865 times
Post Reply

Return to “Developers”