Page 5 of 19

Re: Watch this game - 1.3.2

PostPosted: Wed Apr 21, 2010 2:24 am
by amazzony
Dako wrote:
amazzony wrote:Sorry if it has been asked before but after I installed new version all my watched games went unwatched so I have 0 watched now (had like a... bunch before :P). Is it supposed to happen or did I screw up something?

Cool plugin, btw! Love it when running tournaments!

Ummm, no, nothing should have been lost.

Try this to recover them - go to about:config and filter by "watch" keyword. I think I capitalized the name of the script - it might have reset the value of the games. See if you have different values for "games" property. You can copy and paste old value into new value. Hope that helps.


Thanks for it but I think it'll be just easier to look up the games and start watching them again :D

Night Strike wrote:EDIT: The ability to watch games that are still recruiting players, especially for tournaments, would be beneficial.


You can watch them (at least with previous version you could).

Re: Watch this game - 1.3.2

PostPosted: Wed Apr 21, 2010 2:37 am
by Dako
Night Strike wrote:The ability to watch games that are still recruiting players, especially for tournaments, would be beneficial.

amazzony wrote:You can watch them (at least with previous version you could).


You can watch them manually, but they are not being added when you use the input field. CC has weird API that doesn't return empty slots for the game - once that is fixed I will add an option to choose whether to add waiting games or not.

Re: Watch this game - 1.3.2

PostPosted: Wed Apr 21, 2010 2:46 am
by amazzony
Dako wrote:
Night Strike wrote:The ability to watch games that are still recruiting players, especially for tournaments, would be beneficial.

amazzony wrote:You can watch them (at least with previous version you could).


You can watch them manually, but they are not being added when you use the input field. CC has weird API that doesn't return empty slots for the game - once that is fixed I will add an option to choose whether to add waiting games or not.


Aah, makes sense, I'm one step behind understanding this tool :oops:

Re: Watch this game - 1.3.2

PostPosted: Wed Apr 21, 2010 8:30 am
by Dako
This week is definitely easy at work for me :-).

New version is out with some small fixes
Link - http://userscripts.org/scripts/show/58929

Version 1.3.3:
  • Added - option to watch waiting games
  • Fixed - script was not loading tab when you were watching game that has recently expired
  • Fixed - script was not loading tab when there were no games being watched

Re: Watch this game - 1.3.3

PostPosted: Thu Apr 22, 2010 11:25 am
by amazzony
I have a weird problem which is basically that the page where I see all the watched games, in 3 games - instead of wrexam I can see mjs94 in the game. I've added screenshots of one of the games to make it more understandable.

Click image to enlarge.
image


Click image to enlarge.
image

Re: Watch this game - 1.3.3

PostPosted: Thu Apr 22, 2010 1:26 pm
by Dako
amazzony wrote:I have a weird problem which is basically that the page where I see all the watched games, in 3 games - instead of wrexam I can see mjs94 in the game. I've added screenshots of one of the games to make it more understandable.

Well, I cannot reproduce this bug but I can understand why it might happen (but it seems impossible to me anyway).

Their user id #'s are 42690 and 4269. Maybe, maybe, CC API somehow messed the request and returned the wrong user.

Can you please specify the version of: operating system, browser, Greasemonkey, WTG script? I will try to find the same settings and look at these games.

Refreshing the browser and restarting didn't help, did it?

EDIT: I understood how that happened (while I was taking shower, lol) - I will fix it tomorrow or on Saturday. It's a rare to spot bug - thanks for posting it!

Re: Watch this game - 1.3.3

PostPosted: Fri Apr 23, 2010 6:58 am
by Dako
I have a weird problem which is basically that the page where I see all the watched games, in 3 games - instead of wrexam I can see mjs94 in the game. I've added screenshots of one of the games to make it more understandable.

Try to install the new version - it should be fixed now.

http://userscripts.org/scripts/show/58929

Re: Watch this game - 1.3.3

PostPosted: Sun Apr 25, 2010 11:45 am
by amazzony
Sorry about not getting back before, didn't have time. Anyways, seems fixed now, thanks! =D>

Re: Watch this game - 1.3.3

PostPosted: Mon Apr 26, 2010 11:25 am
by Ace Rimmer
I haven't seen it mentioned, but freemiums show up as premium in watched games. I think you can fix that though, since it works in Game Link.

Jake

Re: Watch this game - 1.3.3

PostPosted: Mon Apr 26, 2010 11:29 am
by Foxglove
jakewilliams wrote:I haven't seen it mentioned, but freemiums show up as premium in watched games. I think you can fix that though, since it works in Game Link.

Jake


It works properly in Game Link because I don't use the API calls - I just suck the info I need out of the pages, vampire like. Dako most correctly switched his code to use the CC API, but I believe it doesn't return all of the necessary information.

Re: Watch this game - 1.3.3

PostPosted: Mon Apr 26, 2010 2:09 pm
by Dako
Foxglove wrote:
jakewilliams wrote:I haven't seen it mentioned, but freemiums show up as premium in watched games. I think you can fix that though, since it works in Game Link.

Jake


It works properly in Game Link because I don't use the API calls - I just suck the info I need out of the pages, vampire like. Dako most correctly switched his code to use the CC API, but I believe it doesn't return all of the necessary information.

What she said. Known issue - waiting for lack to fix CC API.

Re: Watch this game - 1.3.3

PostPosted: Thu Apr 29, 2010 12:27 pm
by lordnex
Dako, can you pleeease make "Are you sure?" dialog on the "Unwatch all games" feature... it's so frustrating when clicked by mistake :(


otherwise.. great script. brilliant idea.. so needed :)

Re: Watch this game - 1.3.3

PostPosted: Wed May 05, 2010 10:19 pm
by Night Strike
It would be beneficial if the games were ordered by number or even by a custom order.

Re: Watch this game - 1.3.3

PostPosted: Thu May 06, 2010 6:42 am
by Dako
lordnex wrote:Dako, can you pleeease make "Are you sure?" dialog on the "Unwatch all games" feature... it's so frustrating when clicked by mistake :(


otherwise.. great script. brilliant idea.. so needed :)


Sure, no problems, will do in next release.

Night Strike wrote:It would be beneficial if the games were ordered by number or even by a custom order.

They are ordered by the "Remaining time" either ascending or descending (depends on your option in the script menu).

Re: Watch this game - 1.3.3

PostPosted: Mon May 17, 2010 2:22 pm
by Chuuuuck
I almost feel like I am just being needy for asking. But is it possible to make it where you can click on "watch game" from just a game link and not ever actually going to the game.

I am sure you use it a lot like I do where we watch clan games. So it would be nice to just go down a forum post where all of the games are and be able to click watch game from the links without going into each individual game. I would think (but certainly do not know) this could be accomplished with the Game link add-on in some way. Thanks again Dako.

Re: Watch this game - 1.3.3

PostPosted: Mon May 17, 2010 2:28 pm
by Dako
Yeah, I got you - add "watch" snippet to each [game] tag. This should not be hard and I will try to do it in the next update.

Thanks for nice suggestion!

Re: Watch this game - 1.3.3

PostPosted: Fri May 28, 2010 11:07 am
by Sir. Ricco
This is a possible bug. Its not a big deal, I just wanted to mention it.

I am watching games using the USA West, USA Southwest, USA Southeast, USA Rockies, USA New England, USA Great Lakes, & USA. When I go to the watch game tab, they all show up as the USA map.

Re: Watch this game - 1.3.3

PostPosted: Fri May 28, 2010 11:56 am
by Denise
Love the script, Dako. Especially for account sitting. Thanks! :)

Re: Watch this game - 1.3.3

PostPosted: Fri May 28, 2010 3:17 pm
by Dako
Sir. Ricco wrote:This is a possible bug. Its not a big deal, I just wanted to mention it.

I am watching games using the USA West, USA Southwest, USA Southeast, USA Rockies, USA New England, USA Great Lakes, & USA. When I go to the watch game tab, they all show up as the USA map.

Oh shit :p. Will fix it in the new version.

Denise wrote:Love the script, Dako. Especially for account sitting. Thanks! :)

Thanks, always nice to hear that :-).

Re: Watch this game - 1.3.3

PostPosted: Thu Jun 10, 2010 12:35 pm
by jricart
Hey, nice script.

It is possible to make the Box where you put the Game Number a bit smaller in width? I think its about 150px right now and it will be better if you can change it to 115px.

It is possible for the user to change that?

Thx.

Re: Watch this game - 1.3.3

PostPosted: Fri Jun 11, 2010 3:24 am
by Dako
jricart wrote:Hey, nice script.

It is possible to make the Box where you put the Game Number a bit smaller in width? I think its about 150px right now and it will be better if you can change it to 115px.

It is possible for the user to change that?

Thx.

You can change the script on your PC yourself, but what is the problem with the width of the box? Does it look bad on your PC? Can you post a screenshot please.

It is 145px right now.

Re: Watch this game - 1.3.3

PostPosted: Fri Jun 11, 2010 11:47 am
by jricart
It doesnt look that bad, but if I can fix it, great. Its on my Mac.

Image

Where it is in the script? Where can I find it so I can change it!

Thanks.

Re: Watch this game - 1.3.3

PostPosted: Sat Jun 12, 2010 6:18 am
by Dako
Line 1087:
GM_addStyle('#wtg-menu textarea { font-family: monospace; color: #ccc; font-size: 1em; line-height: 0.9em; height: 18px; width: 145px; padding: 0px; }');

Guess you do not have monospace font or Max has different size measures. I will try to find a Mac and look into it.

Re: Watch this game - 1.3.3

PostPosted: Sat Jun 12, 2010 3:35 pm
by jricart
Dako wrote:Line 1087:
GM_addStyle('#wtg-menu textarea { font-family: monospace; color: #ccc; font-size: 1em; line-height: 0.9em; height: 18px; width: 145px; padding: 0px; }');

Guess you do not have monospace font or Max has different size measures. I will try to find a Mac and look into it.


Thanks.

5md5xdlm8.jpg

Re: Watch this game - 1.3.3

PostPosted: Tue Jun 22, 2010 4:13 pm
by Night Strike
Dako wrote:
Night Strike wrote:It would be beneficial if the games were ordered by number or even by a custom order.

They are ordered by the "Remaining time" either ascending or descending (depends on your option in the script menu).


Is it possible to add other ordering options?