Originally posted by ouroborosI have a question for you!
Actually, you should be able to right-click on the little monkey icon and select 'Manage User Scripts', click on 'RHP My Games', and then the 'Edit' button. Since you already have it saved on your computer, no need to save it again. Once you make your changes and save/close your editor, it should automatically run the updated script.
I would like to know if you are capable of taking the current data output:
1.32 days/6.66 days
And converting it to
1d 7h / 6d 15h
?
Originally posted by ouroborosSweet. I have a request though.
Actually, you should be able to right-click on the little monkey icon and select 'Manage User Scripts', click on 'RHP My Games', and then the 'Edit' button. Since you already have it saved on your computer, no need to save it again. Once you make your changes and save/close your editor, it should automatically run the updated script.
As I mentioned, I now only have the Timeout Remaining showing. When you start eating into your timebank, this shows as a negative number. Would it be possible when this number turns negative to change it to the Timebank remaining, in bold preferably to distinguish between Timeout/Timebank?
Don't worry if its too much hassle.
D
Done and done.
The script now has some configuration constants at the top of the script that can help you modify the script a little easier.
When you grab the script:
http://members.shaw.ca/ouroboros/RHP/mygames.user.js
make sure that you do a SHIFT-reload so that you aren't pulling the script from your cache.
Note: since I don't usually dip into the timebank unless I'm playing 0 timeout, I haven't tested that part of the display...
Originally posted by ouroborosApart from the binary, what are the possible values for the constants? I preferred the decimal display rather than the days and hours, but am unsure what I need to change the constant to.
Done and done.
The script now has some configuration constants at the top of the script that can help you modify the script a little easier.
When you grab the script:
http://members.shaw.ca/ouroboros/RHP/mygames.user.js
make sure that you do a SHIFT-reload so that you aren't pulling the script from your cache.
Note: since I don't usually dip ...[text shortened]... into the timebank unless I'm playing 0 timeout, I haven't tested that part of the display...
Also, I'm not sure if the neg timeout is working.
I have one game using timebank, and I have 20days, 12 hours and 44 minutes of TB remaining. On My Games, its showing up in bold: 1d 13h. It should show (IMO) 20d 12h, as the T/O figure isn't important anymore, just the Timebank.
I don't know if my requests are confusing the function of the script or not?
Cheers again,
D
Originally posted by RagnorakOh, I just re-read your request and I misunderstood. The script can't do what you are talking about currently.
Apart from the binary, what are the possible values for the constants? I preferred the decimal display rather than the days and hours, but am unsure what I need to change the constant to.
Also, I'm not sure if the neg timeout is working.
I have one game using timebank, and I have 20days, 12 hours and 44 minutes of TB remaining. On My Games, its showin 't know if my requests are confusing the function of the script or not?
Cheers again,
D
You're looking to display the timeout remaining until it runs out and then switch to timebank. Once you make your move, the timeout will then again be displayed. Yes?
Originally posted by ouroborosYup, that's the one.
Oh, I just re-read your request and I misunderstood. The script can't do what you are talking about currently.
You're looking to display the timeout remaining until it runs out and then switch to timebank. Once you make your move, the timeout will then again be displayed. Yes?
I'm just trying to keep the info on an already busy page to a minimum. While I have timeout remaining, I'm not interested in the timebank figures. When my timebank is being eaten up, I'm not interested in what my timeout is doing.
So timeout while its running, when that runs out, switch to display Timebank, but bold it so its obvious that a switch has been made.
Cheers,
D
Originally posted by Drax946Blame that on XanthosNZ. His original modification always showed your timebank. 🙂
The reason I asked was it seems to show the opponent's timeout when it is their move, so I thought it would make sense for it to show their timebank, but the numbers weren't adding up as I had thought.
Thanks
Originally posted by RagnorakOkay, I've updated the script and added ADAPTIVE_MODE which is supposed to do what you want. I'll count on you to test it. 🙂
Yup, that's the one.
I'm just trying to keep the info on an already busy page to a minimum. While I have timeout remaining, I'm not interested in the timebank figures. When my timebank is being eaten up, I'm not interested in what my timeout is doing.
So timeout while its running, when that runs out, switch to display Timebank, but bold it so its obvious that a switch has been made.
Cheers,
D
Originally posted by ouroborosI don't think its working, I've two games with bold time info:
Okay, I've updated the script and added ADAPTIVE_MODE which is supposed to do what you want. I'll count on you to test it. 🙂
1) My opponents TO has depleted and he has 4 days 14 hours TB to move (3 TO/7 TB). It says 1d 17 h on My Games.
2) I'm into my TB. I have 20 days, 4 hours left (14/21 TO/TB) in my TB (according to the game page). It says 1d 4h on My Games.
D
Originally posted by RagnorakThe script still only shows your timebank. So if your opponent is into his timebank, you won't see it.
I don't think its working, I've two games with bold time info:
1) My opponents TO has depleted and he has 4 days 14 hours TB to move (3 TO/7 TB). It says 1d 17 h on My Games.
2) I'm into my TB. I have 20 days, 4 hours left (14/21 TO/TB) in my TB (according to the game page). It says 1d 4h on My Games.
D
Also, once the timeout remaining resets, you'll see the timeout remaining rather than your timebank. So after each move, you will fall back to timeout remaining. If it happens to be bold, that is probably a problem.
I'll have to wait until I'm into my timebank to test it and see. Or, challenge me to a 0 day timeout + x day timebank, unrated and I can test it.
Okay, I've tried to clean the code up a little bit to squash bugs. Of course, that's probably introduced other bugs. 🙁 So give it a shot now. (Release early, release often.)
Also, I've changed the script so that the timebank displayed is dependent on whose move it is. This seems a little more intuitive to me, and to at least one other person I suspect.