Current.GetScore() doesn't refresh filter

Started by Bruno Kestemont

Bruno Kestemont Lv 1

In the example bellow, BonusEnergy() gives the filter bonus (e.g. 810).
On the same puzzle, BonusRank() returns 0

Is it normal that current.GetScore() does not refresh the filter bonus?

On a puzzle with bonus = 810:
BonusEnergy()
behavior.SetSlowFiltersDisabled(false)
ScoreFilterEnabled=current.GetEnergyScore()
behavior.SetSlowFiltersDisabled(true)
ScoreFilterDisabled=current.GetEnergyScore()
Bonus=ScoreFilterEnabled-ScoreFilterDisabled
return Bonus
end
BonusEnergy() returns 810

BonusRank()
behavior.SetSlowFiltersDisabled(false)
ScoreFilterEnabled=current.GetScore()
behavior.SetSlowFiltersDisabled(true)
ScoreFilterDisabled=current.GetScore()
Bonus=ScoreFilterEnabled-ScoreFilterDisabled
return Bonus
end
BonusRank()returns 0

Bruno Kestemont Lv 1

either current.GetEnergyScore() does not refresh at start …

When it comes in a more complex function, it works.

Is there any delay for refreshing?

brow42 Lv 1

A related question: The help for scoreboard.GetScore and scoreboard.GetGroupScore explicitly say they return rosetta energy. Is this still the case? Or do they return the creditbest with the filter bonus?