jinrou
jinrou copied to clipboard
多重ログ
https://jinrou.uhyohyo.net/room/135355 誰かが発言する度に、「狼の子の力で、今日は2人襲撃できます。」が増える。 更新するとログ2つに戻る。 #302 とはまた別の不具合?
https://jinrou.uhyohyo.net/room/135809 #341 と同じバグだが、向こうは発言しても多重ログにならなかった。 勝利判定前のシステムログだと起こる?
また、勝利判定前のシステムログが条件だとすると、勝利判定前に夜が訪れなくなったため、(勝利時に狼の子のログが流れなくなった。) 実質呪われた者のログでしか再現出来なさそう?
This line is the direct reason of this bug. The two skill log of 「狼の子の力で、今日は2人襲撃できます。」 have same timestamp as 1538998719490, which causes the two keys to be the same.
Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted
This room has the same bug on the log of 「毛尖金艳橙白毫 受到诅咒变成了人狼。」 These duplicate logs come out because of #341 , and this is why I made pull request #350.
I'm planning to give unique IDs to each log to get rid of duplicate keys.
Well, what about to add a filter into LogSaver for preventing duplicate logs?
https://jinrou.uhyohyo.net/room/136757 悪霊憑きも同時刻・同文面になるため、再現