Page 1 of 1

idle kicker and removal of time

Posted: December 4th, 2011, 9:21 am
by Planitia
I'm not quite sure how the idle time remover works, But it appears to know the correct active time but not display that correct that time in /info, instead it displays the time + idle time there.

eg a player with 2.5 hrs active time showed 6.5 hrs total time and when I used setinfo to remove time (Because I thought it was clearly wrong it said changing from 2.5h to 4h).

I am confused.

Re: idle kicker and removal of time

Posted: December 4th, 2011, 11:46 am
by fragmer
Players' "totalTime" record gets updated when a player disconnects. Until then, /info takes the old totalTime value and adds length of the current session. In your case, I'll assume that the player in question was online and idle. They were probably online for 4 hours, and had 2.5 hours previously on record. So /Info showed (2.5 + 4) = 6.5 hours total.

When you did /SetInfo, it changed the totalTime from 2.5 to 4, so /Info now showed (4 + 4) = 8 hours.

Re: idle kicker and removal of time

Posted: December 4th, 2011, 9:32 pm
by Planitia
Yes, that's correct. So if the player has a totaltime of 6.5 hours but 2.5 of that is idle time does autorank (unsupported I know) use the total 6.5 or just the 3 hours of non idle time?