sketchbook: behavior.SetFiltersDisabled counts as a move

Case number:699969-2005476
Topic:General
Opened by:LociOiling
Status:Closed
Type:Bug
Opened on:Saturday, July 7, 2018 - 18:21
Last modified:Saturday, July 7, 2018 - 18:50

I noticed that some common recipes leak moves before they display an initial dialog.

It turns out that SetFiltersDisabled is the culprit. Recipes may check the filter bonus by first enabling filters (just to be sure), getting the score, disabling the filters and getting the score, then enabling the filters again. The current filter bonus is the difference in the two scores, but the recipe just leaked three moves without doing anything.

Administrative calls like behavior.SetFiltersDisabled shouldn't deduct moves.

This problem is easy to work around with quicksave and quickload.

The following one-line recipes demonstrates the issue:

behavior.SetFiltersDisabled(false)
(Sat, 07/07/2018 - 18:21  |  1 comment)


LociOiling's picture
User offline. Last seen 11 hours 15 min ago. Offline
Joined: 12/27/2012
Groups: Beta Folders

Closing this one, somehow created a duplicate.

https://fold.it/portal/node/2005475 instead

Sitemap

Developed by: UW Center for Game Science, UW Institute for Protein Design, Northeastern University, Vanderbilt University Meiler Lab, UC Davis
Supported by: DARPA, NSF, NIH, HHMI, Amazon, Microsoft, Adobe, RosettaCommons