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

Re: Watch this game - 1.3.0

Post by Dako »

chipv wrote:
Dako wrote:Wow guys, I just manage to create new version with some vast improvements. And it all started from a bottle of beer tonight :-D.

Download it and see yourself ;-).

http://userscripts.org/scripts/source/58929.user.js

If you have problems - here is previous stable version - http://userscripts.org/scripts/version/ ... 20.user.js


Any input and all the bugs are highly appreciated.


I have tried your latest version and...

It is excellent work! Looking really good - and using the API, which is great to see.


Thanks a lot! I still need to do a lot of enhancing there because I don't like the way certain things work.
Image
User avatar
elfish_lad
Posts: 1155
Joined: Sat Jul 18, 2009 7:49 pm

Re: Watch this game - 1.3.0

Post by elfish_lad »

Cheers! I really like the search feature. I just used it to mark games in a long tournament I'm in so I can follow who is beating the living crap out of whom!

As far as a mention in an up coming article goes... you never know!

Thanks again. Fantastic.

E.
User avatar
Night Strike
Posts: 8512
Joined: Wed Apr 18, 2007 2:52 pm
Gender: Male

Re: Watch this game - 1.3.0

Post by Night Strike »

It appears like the script does not work with tournaments that have a number at the start of their title (I just tried 2010 Sprint Cup Series and it gave me game number 2010). Perhaps there should be 3 different input boxes, 1 each for game number, player name, and tournament name.
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.0

Post by Dako »

Night Strike wrote:It appears like the script does not work with tournaments that have a number at the start of their title (I just tried 2010 Sprint Cup Series and it gave me game number 2010). Perhaps there should be 3 different input boxes, 1 each for game number, player name, and tournament name.

Ok, somehow script thought that you were looking for a game with the number 2010.

I will fix that tomorrow.
Image
User avatar
Ace Rimmer
Posts: 1911
Joined: Mon Dec 01, 2008 1:22 pm
Gender: Male

Re: Watch this game - 1.3.0

Post by Ace Rimmer »

It's also set to run on all of CC, so it shows up even when you're not logged in. Minor detail, but still... :)

Exclude http://www.conquerclub.com/public.php* and I think that will do it.

Jake
User avatar
Night Strike
Posts: 8512
Joined: Wed Apr 18, 2007 2:52 pm
Gender: Male

Re: Watch this game - 1.3.0

Post by Night Strike »

Could the Watch Game button be removed on the My Games main page? It's pretty obvious that you don't need to watch the game if you're already in 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.0

Post by Dako »

New version is out with some hot fixes (thanks to NS and Jake for finding bugs).
New version - http://userscripts.org/scripts/show/58929

Update, version 1.3.1:
Image
User avatar
pmchugh
Posts: 1264
Joined: Sat Feb 09, 2008 7:40 pm

Re: Watch this game - 1.3.0

Post by pmchugh »

Night Strike wrote:Could the Watch Game button be removed on the My Games main page? It's pretty obvious that you don't need to watch the game if you're already in it!


I disagree, if you have all clan war/tourney games in there except your own then you have to remember yours as well as being in a team with someone you are sitting for.
2009-08-12 03:35:31 - Squirrels Hat: MWAHAHAHAHAHAHA!!!!!!!!!!
2009-08-12 03:44:25 - Mr. Squirrel: Do you think my hat will attack me?
User avatar
Ace Rimmer
Posts: 1911
Joined: Mon Dec 01, 2008 1:22 pm
Gender: Male

Re: Watch this game - 1.3.0

Post by Ace Rimmer »

pmchugh wrote:
Night Strike wrote:Could the Watch Game button be removed on the My Games main page? It's pretty obvious that you don't need to watch the game if you're already in it!


I disagree, if you have all clan war/tourney games in there except your own then you have to remember yours as well as being in a team with someone you are sitting for.


Agreed, sometimes I watch my own games if they're in a tourney I'm running.
Dako
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Gender: Male
Location: St. Petersburg, Russia
Contact:

Re: Watch this game - 1.3.0

Post by Dako »

Night Strike wrote:Could the Watch Game button be removed on the My Games main page? It's pretty obvious that you don't need to watch the game if you're already in it!

I can make it as an option if you want.
Image
User avatar
elfish_lad
Posts: 1155
Joined: Sat Jul 18, 2009 7:49 pm

Re: Watch this game - 1.3.1

Post by elfish_lad »

I'm guessing there is no way to do this, but I don't really know so I'm going to ask. Is there any way to have mutliple "watch" tags and mark them as you wish? Here is what I mean: it would be cool to have a number of sections right now for "Clan Wars," "JRT's Tourney," and "Sitting." As my game count goes up this would be awesome. :)

Cheers.

E.
Dako
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Gender: Male
Location: St. Petersburg, Russia
Contact:

Re: Watch this game - 1.3.1

Post by Dako »

elfish_lad wrote:I'm guessing there is no way to do this, but I don't really know so I'm going to ask. Is there any way to have mutliple "watch" tags and mark them as you wish? Here is what I mean: it would be cool to have a number of sections right now for "Clan Wars," "JRT's Tourney," and "Sitting." As my game count goes up this would be awesome. :)

Cheers.

E.

This is possible, that was suggested already and I will implement it in the next phase - don't expect it to be before summer.
Image
User avatar
elfish_lad
Posts: 1155
Joined: Sat Jul 18, 2009 7:49 pm

Re: Watch this game - 1.3.1

Post by elfish_lad »

Guess I should've read the whole thread.

E.
User avatar
elfish_lad
Posts: 1155
Joined: Sat Jul 18, 2009 7:49 pm

Re: Watch this game - 1.3.1

Post by elfish_lad »

Hey bro, I did a quick scan of the thread and didn't catch anything about this so thought I would ask.

If I'm on the "watch" page and enter one of the games listed to see what's what, and then hit the back arrow it takes me back to my main games page rather than the "watch" page. Is that normal? It would be great to go back to the "watch" page.

E.
User avatar
Night Strike
Posts: 8512
Joined: Wed Apr 18, 2007 2:52 pm
Gender: Male

Re: Watch this game - 1.3.1

Post by Night Strike »

elfish_lad wrote:Hey bro, I did a quick scan of the thread and didn't catch anything about this so thought I would ask.

If I'm on the "watch" page and enter one of the games listed to see what's what, and then hit the back arrow it takes me back to my main games page rather than the "watch" page. Is that normal? It would be great to go back to the "watch" page.

E.


From what I can see, the Watch page is not actually a new page but rather a javascript image on whatever page you came from. So if you came from the Active Games page (which is the site's mygames1 page), then you'll go back to that.
Image
User avatar
elfish_lad
Posts: 1155
Joined: Sat Jul 18, 2009 7:49 pm

Re: Watch this game - 1.3.1

Post by elfish_lad »

Ah. That makes sense. It just looks like a CC page. Cheers.
Dako
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Gender: Male
Location: St. Petersburg, Russia
Contact:

Re: Watch this game - 1.3.1

Post by Dako »

elfish_lad wrote:Ah. That makes sense. It just looks like a CC page. Cheers.

Yes, NS is correct. Hitting back will bring you to whatever "My games" screen you was when you clicked on watched tab. Because tab is not a real page - just a text+images the script inserts when you click on watched tab.

However, I will look into this problem and see how it can be resolved.
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.2

Post by Dako »

Got some free time at work - new version is out - be the first to update it ;-).

Install link

Update, version 1.3.2:


I think the script has shaped into something serious now and I can start preparations for the 2.0 version.
Image
User avatar
elfish_lad
Posts: 1155
Joined: Sat Jul 18, 2009 7:49 pm

Re: Watch this game - 1.3.2

Post by elfish_lad »

Dako wrote:Got some free time at work - new version is out - be the first to update it ;-).

I think the script has shaped into something serious now and I can start preparations for the 2.0 version.


Sweet update. The "back" feature is brilliant.

Cheers.

E.
sherkaner
Posts: 1595
Joined: Thu May 03, 2007 3:21 am
Gender: Male
Location: Zwolle

Re: Watch this game - 1.3.2

Post by sherkaner »

Back button works (I knew this workaround actually, but haven't used it myself), watched games tab doesn't load when you don't have any watched games.
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 »

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!
"Thou shalt accept thy dice rolls as the will of the Gods" (Church of Gaming)
"amazzony is a beast" (Woodruff)
User avatar
elfish_lad
Posts: 1155
Joined: Sat Jul 18, 2009 7:49 pm

Re: Watch this game - 1.3.2

Post by elfish_lad »

Ha! The "Watch all player's games" feature took me be surprise this morning. I'm used to clicking the last tab that says, "Show all games together." Had to "unwatch" 25 meaningless games. :lol:

Cool feature though.

E.
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 »

sherkaner wrote:Back button works (I knew this workaround actually, but haven't used it myself), watched games tab doesn't load when you don't have any watched games.

Ok, thanks, will look into it.

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.

elfish_lad wrote:Ha! The "Watch all player's games" feature took me be surprise this morning. I'm used to clicking the last tab that says, "Show all games together." Had to "unwatch" 25 meaningless games. :lol:

Cool feature though.

E.

Ok :-).
Image
User avatar
Night Strike
Posts: 8512
Joined: Wed Apr 18, 2007 2:52 pm
Gender: Male

Re: Watch this game - 1.3.2

Post by Night Strike »

That's the new tournament update I was referring to, so hopefully you can put it to use when calling your script.

EDIT: The ability to watch games that are still recruiting players, especially for tournaments, would be beneficial.
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.2

Post by Dako »

sherkaner wrote:Back button works (I knew this workaround actually, but haven't used it myself), watched games tab doesn't load when you don't have any watched games.

Ok, I uploaded new fix (without version increment - the bug is not that crucial). Just reinstall the script.

Install link
Image
Post Reply

Return to “Tool Archives”