Page 9 of 19

Re: Watch this game - 1.4.2 (2010-12-05)

PostPosted: Tue Aug 02, 2011 11:15 am
by greenoaks
almost all games are watched from game finder
almost all games are unwatched from the WTG tab

the last time this happened i unwatched all games. all it did was get rid of the games it was then watching, stuff i'd finished with. i still had to go through thousands of games to re-watch the current stuff.

why do i have to waste another week of my time going through my tournaments to reestablish the list of watched games just so this can happen again next week ](*,) ](*,) ](*,)

Re: Watch this game - 1.4.2 (2010-12-05)

PostPosted: Tue Aug 02, 2011 11:42 am
by Dako
Well if you unwatch all games from menu it just purges the whole list.

If you still have the problem (like you watched tons of games) and then you unwatched can you please send me your watched game setting string? Go to about:config and send me greasemonkey.scriptvals.http://userscripts.org/Conquer Club - Watch This Game.games

Also, if you remember, how many games did you have on your watched tab last time this magical disappearance happened?

Re: Watch this game - 1.4.2 (2010-12-05)

PostPosted: Tue Aug 02, 2011 12:18 pm
by Pirlo
I don't have problems with the script... it's very cool for clan games and constant stalking.... also, when someone asks you to sit for him, this script makes your life easier.

thanks Dako.

Re: Watch this game - 1.4.2 (2010-12-05)

PostPosted: Tue Aug 02, 2011 8:10 pm
by greenoaks
i had about 220 games.

Re: Watch this game - 1.4.2 (2010-12-05)

PostPosted: Mon Aug 08, 2011 12:06 am
by GreecePwns
Why, when installing this on Google Chrome, does the extension ask for "your data on all websites?"

Re: Watch this game - 1.4.2 (2010-12-05)

PostPosted: Mon Aug 08, 2011 9:59 am
by sherkaner
GreecePwns wrote:Why, when installing this on Google Chrome, does the extension ask for "your data on all websites?"

Implementation detail, chrome uses @match to identify on which websites it should run, and greasemonkey uses @include. This means that Chrome assumes it is for all sites if the @match is missing, though it works only for the sites set through @include.
I now use both, might switch to @match only (since greasemonkey can read them too since the last version).

Re: Watch this game - 1.4.2 (2010-12-05)

PostPosted: Fri Sep 09, 2011 12:01 pm
by MeanestBossEver
I'm getting the endless "Processing watched games" spinner.

Using WTG 1.4.2 w/ Firefox 6.0.2 and Greasemonkey 0.9.10. I am using other CC plugins but I get the same error when they are disabled.

Here are my current applicable preference values:
greasemonkey.scriptvals.http://userscripts.org/Conquer Club - Watch This Game.games;9687050
greasemonkey.scriptvals.http://userscripts.org/Conquer Club - Watch This Game.lastUpdate;1315587563771
greasemonkey.scriptvals.http://userscripts.org/Conquer Club - Watch This Game.options;({profile_link:true, reverse_order:true, waiting_games:false, sort_by:"time"})
greasemonkey.scriptvals.http://userscripts.org/Conquer Club - Watch This Game.updateAvailable;false

Re: Watch this game - 1.4.2 (2010-12-05)

PostPosted: Fri Sep 09, 2011 3:18 pm
by Dako
What do you see when you visit the link http://www.conquerclub.com/api.php?mode ... gn=9687050 ?

I tried to run WTG with your settings on FF 6 but could not reproduce an error. Anything of interest in script error console (ctrl+shift+j)?

Re: Watch this game - 1.4.2 (2010-12-05)

PostPosted: Fri Sep 09, 2011 3:24 pm
by MeanestBossEver
Got something hopefully useful with the script error console:

"Error: Greasemonkey access violation: unsafeWindow cannot call GM_getValue."

Here's the source of that link:

<api>
<page>1 of 1</page>
<games total="1">
<game>
<game_number>9687050</game_number>
<game_state>A</game_state>
<tournament>2011 [Aug] A Fistful of Sixes vs Nemesis - AFOS Home Batch 1</tournament>

<private>Y</private>
<speed_game>N</speed_game>
<map>Hive</map>
<game_type>T</game_type>
<initial_troops>E</initial_troops>
<play_order>S</play_order>

<bonus_cards>1</bonus_cards>
<fortifications>M</fortifications>
<war_fog>Y</war_fog>
<round>2</round>
<time_remaining>21:14:45</time_remaining>
<chat></chat>

<players>
<player state="Waiting">210762</player>
<player state="Waiting">397155</player>
<player state="Waiting">152549</player>
<player state="Ready">313158</player>
<player state="Waiting">426686</player>

<player state="Waiting">79386</player>
</players>
<events />
</game>
</games>
</api>

Re: Watch this game - 1.4.2 (2010-12-05)

PostPosted: Fri Sep 09, 2011 3:43 pm
by Dako
So the link works, that is good. Does it show the line of the error?

Also I run GS 0.9.11 and suggest you update yours just in case. Also my script doesn't use unsafeWindow so it is very strange you see this message. Are you sure it is related to WTG? What scripts do you have enabled?

Re: Watch this game - 1.4.2 (2010-12-05)

PostPosted: Fri Sep 09, 2011 3:54 pm
by MeanestBossEver
Upgrading to 0.9.11 fixed the problem.

Bizarrely, I'm now getting the error message (as a popup alert): "window.initLightbox is not a function" but it doesn't seem to impact the functionality.

Re: Watch this game - 1.4.2 (2010-12-05)

PostPosted: Fri Sep 09, 2011 4:08 pm
by MeanestBossEver
OK -- figured it out. I was looking for conflicts in other GreaseMonkey scripts. It was actually the firebug console -- no idea why.

Even with that disabled, I'm still getting the "window.initLightbox is not a function" but it doesn't seem to impact the functionality so I don't really care.

Re: Watch this game - 1.4.2 (2010-12-05)

PostPosted: Mon Sep 12, 2011 5:19 pm
by Teflon Kris
Whatever was wrong for me previously is now fixed after a re-install :)

Re: Watch this game - 1.4.2 (2010-12-05)

PostPosted: Mon Sep 12, 2011 5:50 pm
by Dako
MeanestBossEver wrote:Upgrading to 0.9.11 fixed the problem.

Bizarrely, I'm now getting the error message (as a popup alert): "window.initLightbox is not a function" but it doesn't seem to impact the functionality.

Ah. admins have renamed it to window.initLightbox. I will change it later - it is the function that starts image viewer when you click in map image. Firebug console is a debugger tool with sensitive error handling - it may easily have blocked the script on some minor warning.

DJ Teflon wrote:Whatever was wrong for me previously is now fixed after a re-install :)

Happy to hear that!

Re: Watch this game - 1.4.2 (2010-12-05)

PostPosted: Mon Sep 12, 2011 10:15 pm
by greenoaks
my WTG takes a long time to load because of the large number of games being watched. i really couldn't care less about most of them as it is only when the game finishes that i need to know about them.

would it be possible to have it load like a Join A Game page does where only the first 50 games show and there are buttons at the bottom of the page to go to page 2, 3, 4 etc.

Re: Watch this game - 1.4.2 (2010-12-05)

PostPosted: Tue Sep 13, 2011 8:05 am
by Dako
greenoaks wrote:my WTG takes a long time to load because of the large number of games being watched. i really couldn't care less about most of them as it is only when the game finishes that i need to know about them.

would it be possible to have it load like a Join A Game page does where only the first 50 games show and there are buttons at the bottom of the page to go to page 2, 3, 4 etc.

That would be a problem because I need to sort them to know which part of 120 games to show you. I plan to optimize the script on this weekend and it should provide reasonable speed up. Stay tuned.

Re: Watch this game - 1.4.2 (2010-12-05)

PostPosted: Tue Sep 13, 2011 9:45 am
by greenoaks
all i really need is the finalised games so anything that speeds up the load time would be great

Re: Watch this game - 1.4.2 (2010-12-05)

PostPosted: Sat Sep 17, 2011 11:37 am
by Dako
Hello everyone. New version has been released with some fixes and new features.

Version 1.4.3
  • Fixed - "watch all player's games" link was not in place
  • Fixed - Now script makes 3 requests to the server instead of dozens. This will greatly speed-up tab loading time. Try it yourself!


Enjoy - Install link

Re: Watch this game - 1.4.3 (2011-09-17)

PostPosted: Sat Sep 17, 2011 12:23 pm
by Lindax
Hi Dako,

Love this script. Unfortunately it shows the wrong player names after I installed the latest update....

Lx

Re: Watch this game - 1.4.3 (2011-09-17)

PostPosted: Sat Sep 17, 2011 12:37 pm
by Dako
Please tell me the names that have swapped and game numbers if you can. Thanks.

Re: Watch this game - 1.4.3 (2011-09-17)

PostPosted: Sat Sep 17, 2011 12:53 pm
by Lindax
Dako wrote:Please tell me the names that have swapped and game numbers if you can. Thanks.


All of them? That's going to take a while to figure out. I'll have to get back to you later today.

Lx

Re: Watch this game - 1.4.3 (2011-09-17)

PostPosted: Sat Sep 17, 2011 1:43 pm
by Lindax
Lindax wrote:
Dako wrote:Please tell me the names that have swapped and game numbers if you can. Thanks.


All of them? That's going to take a while to figure out. I'll have to get back to you later today.

Lx


Here are some, maybe that helps for now. I'll get the rest later (if still needed):

7 pascalleke & dragon dor 9733512
9733513
8 canona85 & benga 9733514
reptile shows for pascalleke, danryan shows for dragon dor, danfrank shows for benga, GallantPellham shows for canona85

----

13 reptile & bfunny27 9733523
9733525
14 downfall & Lindax 9733526
jigger1986 shows for reptile, benga shows for bfunny27, Krissan shows for Lindax, Ryno99 shows for downfall

----

Edit: aha, it only happens if I fill in the tournament name in the window of WTG Menu. If I find the games through game finder and click "Watch Game", they come out correct!

Lx

Re: Watch this game - 1.4.3 (2011-09-17)

PostPosted: Sat Sep 17, 2011 1:51 pm
by WILLIAMS5232
Lindax wrote:Hi Dako,

Love this script. Unfortunately it shows the wrong player names after I installed the latest update....

Lx


it has affected mine in that way too.

if you like i can give you some game numbers and names.

and thanks, this is a very usefull tool for running tournaments by the way. i probably wouldn't do them without it....

just so you know :-D

Re: Watch this game - 1.4.3 (2011-09-17)

PostPosted: Sat Sep 17, 2011 1:55 pm
by Dako
Fixed it. Please manually update the script and everything will be ok. Thanks for the report!

Re: Watch this game - 1.4.3 (2011-09-17)

PostPosted: Sat Sep 17, 2011 2:06 pm
by WILLIAMS5232
Dako wrote:Fixed it. Please manually update the script and everything will be ok. Thanks for the report!


everything looks good now. thanks. =D>