-marspank-
On it, found the problem and fixed it. Published again with fixed ending script. I missed a line of code.
-doti-
I dont know why that happened. You should get a 4 second addition to your time limit every time you are too slow, and 2 seconds removed when you are on time. This should mean you need to get a bit quicker as the task goes on, but it should not prevent you making progress towards finishing the task.
I think it might be caused by how long the task ended up being, as 40 mins is a bit longer than I was working with when doing the maths. I was aiming for the task to be roughly around 10-20 mins, so maybe the length of the task caused it to go wrong.
I suggest that you change the code slightly to reduce the penalties/timelimit changes a bit, and see if that makes a difference. I have run each mistress a couple of times so far, but not for more than 15-20 mins per task so far.
Here is a changed section of code to transplant into the script to make the time limit a bit more forgiving on longer tasks, see if this helps:
--------------------
line = lines[getRandom(lines.size)];
punish=0;
counter=counter+1;
start=getTime();
typed=getString("Type: "+line,"");
end=getTime();
if (line==typed) {text="Correct, one second removed from punishment time penalty, but 1 second also removed from time limit."; punishtime=punishtime-1; timelimit=timelimit-1; "Time limit now "+Math.round(timelimit)+" seconds. Punishment Time Penalty now "+Math.round(punishtime)+" seconds."
}
else {text="Wrong, your punishment time penalty has increased by "+Math.round(Difficulty)+" seconds. Time limit now "+Math.round(timelimit)+" seconds. Punishment Time Penalty now "+Math.round(punishtime+Difficulty)+" seconds."; punishtime=punishtime+Difficulty
mistakes=mistakes+1
miscount=miscount+1
totalmiscount=totalmiscount+1
punish=punish+punishtime}
if (end-start>timelimit) {text=text+", \n"+
" \n"+
" \n"+
"Still too fucking slow, "+Math.round(Difficulty)+" seconds added to punisment time penalty, but I am not without mercy so 6 seconds added to your time limit. Time limit now "+Math.round(timelimit+6)+" seconds. Punishment time penalty now set at "+Math.round(punishtime+Difficulty)+" seconds."
punishtime=punishtime+Difficulty
timelimit=timelimit+6
punish=punish+(punishtime/2)}
if (punish>0) {time=time+punish; text=text+" You have "+punish+" seconds added to the task. Total Task Time is now "+Math.round(time/60)+" minutes."; }
------------------------
Is anyone else having this problem with Mistress Jewell, or any of the other Mistresses?