Could there be something on the My Games page to say how long you have to move in each game? That way we can see without having to open each game. I know there is the info option but having the 'time remaining' next to each game would be very helpful, IMHO.
Originally posted by asromacalcio Could there be something on the My Games page to say how long you have to move in each game? That way we can see without having to open each game. I know there is the info option but having the 'time remaining' next to each game would be very helpful, IMHO.
Firefox + Greasemonkey + the script in that thread + some basic math = the solution
Seriously if you have a 7 day timeout game then it starts to run timebank at the same time of day it was moved in 7 days later.
If it's already running timebank then DON'T START WONDERING HOW LONG YOU HAVE LEFT TO MOVE JUST MOVE!
Edit: Imagine a page of 100 games and of each of them the site has to call the database to see how long is left for every reload of the page.
After reviewing the way that said script works and the source of the my games page I think it might be possible to adapt the script to print the timeout remaining. As for time at which it starts running it looks like that could be done via adding days to the last moved date.
Right, I've adapted ouroboros' My Games script so instead of showing timebank total it shows timebank remaining. That was simple enough.
Now it should be possible to show when timebanks starts running by Last Moved Date + timeout. This is currently beyond my ability. If anyone wants to have a run at it feel free I guess (especially you ouroboros).
Until then here is what I've done (Thanks to Starrman for hosting):
http://www.dogstarr.org.uk/downloads/mygamesextra.user.js
Note: The majority of this code is not mine. Thanks ouroboros for the actual work, all I did was add in one tiny bit (and it's done badly).
Okay, the script has been changed. XanthosNZ's changes have been merged in and I have displayed the time remaining until timebank starts and the number of moves made.
Originally posted by ouroboros Okay, the script has been changed. XanthosNZ's changes have been merged in and I have displayed the time remaining until timebank starts and the number of moves made.
Nice work. I knew it wouldn't be long before you put my version out of date. Hope you didn't mind my change.
Originally posted by Ragnorak Cheers. I found it to be a bit busy, so I modified it just to show Timeout Remaining, as it was the only piece of info I was interested in.
Thanks for that.
D
Personally I removed the rated/unrated bit because for the most part I don't play unrated games (except occasional set piece games but that is obvious).
Originally posted by XanthosNZ Personally I removed the rated/unrated bit because for the most part I don't play unrated games (except occasional set piece games but that is obvious).
Can you make public the script so that I can swipe it?
Originally posted by Freddie2006 Can you make public the script so that I can swipe it?
All you need to do is remove part of the last expression. From memory (I don't have the script on hand at uni) it's:
+ '/' + attr[10];
Replace this with just a semicolon and reinstall the script (to do the editing you'll have to save the .js to your computer, change to .txt, do the edit and then change back to .js and open with firefox).
Originally posted by XanthosNZ (to do the editing you'll have to save the .js to your computer, change to .txt, do the edit and then change back to .js and open with firefox).
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.