Behaviour: Wiggle/Shake score change threshold
Case number: | 671071-987729 |
Topic: | Game: Other |
Opened by: | Crashguard303 |
Status: | Closed |
Type: | Suggestion |
Opened on: | Thursday, May 20, 2010 - 12:52 |
Last modified: | Saturday, July 27, 2013 - 03:10 |
As I learned, some users run fold.it minimized.
My idea is, to create a threshold slider in the beviour bar, which makes shake or wiggle automatically stop gererally, if there is no change in score, or smaller than the selected amount.
This would speed up all scripts at once, LUA and regular scripts and lower excessive CPU using duration.
regards,
Alex
The only way to speed things up at the moment works like this (global wiggle as example):
function xwiggleall(iter,threshold)
curr_iter=0
exit_condition=false
repeat
curr_iter=curr_iter+1
tempScore=get_score()
do_global_wiggle_all(1)
tempScore2=get_score()
if (iter>0) and (curr_iter==iter) then exit_condition=true end
if abs(tempScore2-tempScore)
until exit_condition==true
end -- function
where abs() returns an absolute value.
And you see here again, that it won't work if the puzzle score are below 0.
Status: Open » Closed |
newer version of LUA time bound closed
The threshold value should work as absolute value, as there are some rebuild/clashing importance scripts, which cause the score to drop (because they must).