GM Script: Watch this game - Version 1.4.4

Archival storage to keep things organized and uncluttered. Can't find what you need? Search for old topics here.

Moderator: Tech Team

Forum rules
Please read the Community Guidelines before posting.
Post Reply
User avatar
amazzony
Posts: 10406
Joined: Tue Nov 14, 2006 12:58 pm
Gender: Female

Re: Watch this game - 1.3.2

Post 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).
"Thou shalt accept thy dice rolls as the will of the Gods" (Church of Gaming)
"amazzony is a beast" (Woodruff)
Dako
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Gender: Male
Location: St. Petersburg, Russia
Contact:

Re: Watch this game - 1.3.2

Post 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.
Image
User avatar
amazzony
Posts: 10406
Joined: Tue Nov 14, 2006 12:58 pm
Gender: Female

Re: Watch this game - 1.3.2

Post 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:
"Thou shalt accept thy dice rolls as the will of the Gods" (Church of Gaming)
"amazzony is a beast" (Woodruff)
Dako
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Gender: Male
Location: St. Petersburg, Russia
Contact:

Re: Watch this game - 1.3.2

Post 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
Image
User avatar
amazzony
Posts: 10406
Joined: Tue Nov 14, 2006 12:58 pm
Gender: Female

Re: Watch this game - 1.3.3

Post 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.

[bigimg]http://img.photobucket.com/albums/v480/amazzony/Pic1.jpg[/bigimg]

[bigimg]http://img.photobucket.com/albums/v480/amazzony/Pic2.jpg[/bigimg]
"Thou shalt accept thy dice rolls as the will of the Gods" (Church of Gaming)
"amazzony is a beast" (Woodruff)
Dako
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Gender: Male
Location: St. Petersburg, Russia
Contact:

Re: Watch this game - 1.3.3

Post 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!
Image
Dako
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Gender: Male
Location: St. Petersburg, Russia
Contact:

Re: Watch this game - 1.3.3

Post 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
Image
User avatar
amazzony
Posts: 10406
Joined: Tue Nov 14, 2006 12:58 pm
Gender: Female

Re: Watch this game - 1.3.3

Post by amazzony »

Sorry about not getting back before, didn't have time. Anyways, seems fixed now, thanks! =D>
"Thou shalt accept thy dice rolls as the will of the Gods" (Church of Gaming)
"amazzony is a beast" (Woodruff)
User avatar
Ace Rimmer
Posts: 1911
Joined: Mon Dec 01, 2008 1:22 pm
Gender: Male

Re: Watch this game - 1.3.3

Post 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
Foxglove
Posts: 1308
Joined: Sun Dec 16, 2007 1:05 pm

Re: Watch this game - 1.3.3

Post 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.
Dako
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Gender: Male
Location: St. Petersburg, Russia
Contact:

Re: Watch this game - 1.3.3

Post 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.
Image
User avatar
lordnex
Posts: 167
Joined: Sun Dec 14, 2008 10:21 am
Gender: Male
Location: Belgrade, Serbia
Contact:

Re: Watch this game - 1.3.3

Post 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 :)
Image
User avatar
Night Strike
Posts: 8512
Joined: Wed Apr 18, 2007 2:52 pm
Gender: Male

Re: Watch this game - 1.3.3

Post by Night Strike »

It would be beneficial if the games were ordered by number or even by a custom order.
Image
Dako
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Gender: Male
Location: St. Petersburg, Russia
Contact:

Re: Watch this game - 1.3.3

Post 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).
Image
Chuuuuck
Posts: 1298
Joined: Thu May 31, 2007 11:09 am

Re: Watch this game - 1.3.3

Post 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.
Dako
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Gender: Male
Location: St. Petersburg, Russia
Contact:

Re: Watch this game - 1.3.3

Post 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!
Image
User avatar
Sir. Ricco
Posts: 4555
Joined: Tue Oct 02, 2007 2:33 pm
Gender: Male
Location: Making kingdoms burn and bloodshed start.
Contact:

Re: Watch this game - 1.3.3

Post 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.
Image
Image
Image
User avatar
Denise
Posts: 1376
Joined: Fri Oct 09, 2009 3:43 am

Re: Watch this game - 1.3.3

Post by Denise »

Love the script, Dako. Especially for account sitting. Thanks! :)
Image
Dako
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Gender: Male
Location: St. Petersburg, Russia
Contact:

Re: Watch this game - 1.3.3

Post 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 :-).
Image
User avatar
jricart
Posts: 2931
Joined: Fri Jan 09, 2009 6:52 pm
Gender: Male

Re: Watch this game - 1.3.3

Post 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.
Dako
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Gender: Male
Location: St. Petersburg, Russia
Contact:

Re: Watch this game - 1.3.3

Post 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.
Image
User avatar
jricart
Posts: 2931
Joined: Fri Jan 09, 2009 6:52 pm
Gender: Male

Re: Watch this game - 1.3.3

Post 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.
Dako
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Gender: Male
Location: St. Petersburg, Russia
Contact:

Re: Watch this game - 1.3.3

Post 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.
Image
User avatar
jricart
Posts: 2931
Joined: Fri Jan 09, 2009 6:52 pm
Gender: Male

Re: Watch this game - 1.3.3

Post 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
User avatar
Night Strike
Posts: 8512
Joined: Wed Apr 18, 2007 2:52 pm
Gender: Male

Re: Watch this game - 1.3.3

Post 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?
Image
Post Reply

Return to “Tool Archives”