Conquer Club

Greasemonkey script - Conquer Club Turn Watch

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.

Re: Greasemonkey script - CONQUER CLUB TURN WATCH (Testing)

Postby chipv on Fri May 16, 2008 6:34 pm

lancehoch wrote:
chipv wrote:Mystifying.

Can you run through these checks please (see if you can see all of these images) :

http://forums.mozillazine.org/viewtopic.php?t=288184

I went to the page, and I was able to see all 5 blimps (the first blimp did not have a number on it, is that just my computer?). If this is just a problem with me, I can live with it. I have a tendency to play similar games, so I usually use the dropdown anyway.


Well, I would still like to get to the bottom of it. Are you running with any ad-blockers or something that might prevent images from displaying from various sites?
User avatar
Major chipv
Head Tech
Head Tech
 
Posts: 2840
Joined: Mon Apr 28, 2008 5:30 pm

Re: Greasemonkey script - CONQUER CLUB TURN WATCH (Testing)

Postby lancehoch on Fri May 16, 2008 6:58 pm

chipv wrote:Well, I would still like to get to the bottom of it. Are you running with any ad-blockers or something that might prevent images from displaying from various sites?

I do not believe I am having any other problems viewing images on any other sites. I only play from my laptop, which is running:
  • Windows XP Pro (Security Center: Firewall ON)
  • McAfee VirusScan Enterprise 8.0.0
  • Firefox 2.0.0.14 (Under Tools>Options>Content Block Pop-up Windows is checked)
  • Greasemonkey 0.7.20080121.0
  • Conquer Club Turn Watch 1.5.0
Is there anything that I should check under Tools>Options>Content>File Types>Manage?
Sergeant lancehoch
 
Posts: 4183
Joined: Wed Dec 05, 2007 4:13 pm

Re: Greasemonkey script - CONQUER CLUB TURN WATCH (Testing)

Postby chipv on Fri May 16, 2008 7:12 pm

It's long shot, but your firewall is a possibility. I'm not running XP so cannot guide you, but there may well be a
setting to prevent images that do not come from the same server, something like that and if that were the case
then it would specifically block images created from Turn Watch. The only other images that appear to come from Turn Watch are the
rank icons but in fact they come directly from the CSS (on the conquerer server) so they work fine.

So there may be a firewall setting like "don't allow images unless from same server" in which case you can disable it.

Have you ever seen this happen before on any other pages (images not appearing but no red 'X' visible)?
User avatar
Major chipv
Head Tech
Head Tech
 
Posts: 2840
Joined: Mon Apr 28, 2008 5:30 pm

Re: Greasemonkey script - CONQUER CLUB TURN WATCH (Testing)

Postby chipv on Fri May 16, 2008 7:57 pm

Any chance of a screenshot, lancehoch?
User avatar
Major chipv
Head Tech
Head Tech
 
Posts: 2840
Joined: Mon Apr 28, 2008 5:30 pm

Re: Greasemonkey script - CONQUER CLUB TURN WATCH (Testing)

Postby lancehoch on Fri May 16, 2008 8:06 pm

What would you like a screenshot of?

The firewall could be the issue. I am also running off of a router and cable modem. I believe the router has its own firewall. I have not had this issue before with any other pictures or websites. I also did not see this message (don't allow images unless from same server) on the firewall settings. I will be using a different internet port starting on the 1st, so I can see if it changes at that time.
Sergeant lancehoch
 
Posts: 4183
Joined: Wed Dec 05, 2007 4:13 pm

Re: Greasemonkey script - CONQUER CLUB TURN WATCH (Testing)

Postby chipv on Fri May 16, 2008 8:16 pm

lancehoch wrote:What would you like a screenshot of?

The firewall could be the issue. I am also running off of a router and cable modem. I believe the router has its own firewall. I have not had this issue before with any other pictures or websites. I also did not see this message (don't allow images unless from same server) on the firewall settings. I will be using a different internet port starting on the 1st, so I can see if it changes at that time.


I just found some websites describing problems like this but unfortunately with a different firewall (Symantec). If I find anything for yours, I will
let you know.

Screenshot of any page showing the small 5x5 boxes on the game label where the image should be.

I have just uploaded a test script for you to try.

Can you let me know if you see any text with this script on the game label where the image should be?
User avatar
Major chipv
Head Tech
Head Tech
 
Posts: 2840
Joined: Mon Apr 28, 2008 5:30 pm

Re: Greasemonkey script - CONQUER CLUB TURN WATCH (Testing)

Postby lancehoch on Fri May 16, 2008 9:53 pm

Image
As you can see, I see the text that was added. Before the text was there, the box that you can see was about a 5x5 square. Now the height is 4 pixels, the length is about 30 pixels. It also seems that the background is going over the line by 1 pixel. I am sorry that I did not get the 5x5 box, I downloaded this update before I saw your message.
Sergeant lancehoch
 
Posts: 4183
Joined: Wed Dec 05, 2007 4:13 pm

Re: Greasemonkey script - CONQUER CLUB TURN WATCH (Testing)

Postby chipv on Sat May 17, 2008 4:29 am

I know exactly what the 5x5 box looks like, don't worry, that is what the test was for - the image can't be loaded.

Can you try clearing your cache please? Tools->Clear Private Data->and make sure only Cache is checked
(don't worry about the rest - it will clear your history if you leave Browsing History checked).

Also can you try this url in your browser address bar:

http://www.conquerclub.com/maps/Classic~.thumb.png

it should normally show you the classic map thumbnail image.
User avatar
Major chipv
Head Tech
Head Tech
 
Posts: 2840
Joined: Mon Apr 28, 2008 5:30 pm

Re: Greasemonkey script - CONQUER CLUB TURN WATCH (Testing)

Postby cicero on Sat May 17, 2008 5:05 am

Out of curiosity, is any one apart from lancehoch suffering from this problem ?
FREE M-E-Mbership and simple rules. Conquer Club - it's not complicated.

random me statistic @ 13 December 2008 - 1336 posts : 232nd most public posts (not counting Tower of Babble) of all time.
User avatar
Sergeant cicero
 
Posts: 1358
Joined: Wed Mar 07, 2007 1:51 pm
Location: with the infected neutrals ... handing out maps to help them find their way to CC

Re: Greasemonkey script - CONQUER CLUB TURN WATCH (Testing)

Postby cicero on Sat May 17, 2008 6:03 am

Suggestion to enhance game list:

Change "8p, rd78" to "8(3)p, rd78" ... where the number in brackets is the number of players remaining in the game.
FREE M-E-Mbership and simple rules. Conquer Club - it's not complicated.

random me statistic @ 13 December 2008 - 1336 posts : 232nd most public posts (not counting Tower of Babble) of all time.
User avatar
Sergeant cicero
 
Posts: 1358
Joined: Wed Mar 07, 2007 1:51 pm
Location: with the infected neutrals ... handing out maps to help them find their way to CC

Re: Greasemonkey script - CONQUER CLUB TURN WATCH (Testing)

Postby chipv on Sat May 17, 2008 6:14 am

lancehoch, I've found instructions on the Firefox settings in your firewall:

http://kb.mozillazine.org/Firewalls

Scroll down to Windows Firewall.

Not suggesting this will fix your problem but worth investigating.

Also this page contains a lot of info about missing images in Firefox so please go through this:

http://support.mozilla.com/en-US/kb/Ima ... o+not+show
User avatar
Major chipv
Head Tech
Head Tech
 
Posts: 2840
Joined: Mon Apr 28, 2008 5:30 pm

Re: Greasemonkey script - CONQUER CLUB TURN WATCH (Testing)

Postby chipv on Sat May 17, 2008 6:31 am

cicero wrote:Suggestion to enhance game list:

Change "8p, rd78" to "8(3)p, rd78" ... where the number in brackets is the number of players remaining in the game.


Another good idea. Just a bit reticent about putting in too much shorthand as not everyone is going to find
the shorthand immediately obvious.

It's not good if a new user has to reach for the help link straight away, but perhaps this one is reasonably obvious.

Not sure.
User avatar
Major chipv
Head Tech
Head Tech
 
Posts: 2840
Joined: Mon Apr 28, 2008 5:30 pm

Re: Greasemonkey script - CONQUER CLUB TURN WATCH (Testing)

Postby lancehoch on Sat May 17, 2008 1:56 pm

chipv wrote:Can you try clearing your cache please? Tools->Clear Private Data->and make sure only Cache is checked
Also can you try this url in your browser address bar:

http://www.conquerclub.com/maps/Classic~.thumb.png

it should normally show you the classic map thumbnail image.

Cleared my cache, nothing changed. I can see the image on that page.

chipv wrote:lancehoch, I've found instructions on the Firefox settings in your firewall:

http://kb.mozillazine.org/Firewalls

Scroll down to Windows Firewall.

Not suggesting this will fix your problem but worth investigating.

Also this page contains a lot of info about missing images in Firefox so please go through this:

http://support.mozilla.com/en-US/kb/Ima ... o+not+show

I tried all of this, no luck. Honestly, if no one else is having this problem, I would bet money that the issue is due to the firewall on the router that my family uses. I also think that, at least for now, your time would be better spent helping everyone else, or upgrading the plugin. I will continue to use the scrip as is and I will let you know if it changes when I change internet connections.
Sergeant lancehoch
 
Posts: 4183
Joined: Wed Dec 05, 2007 4:13 pm

Re: Greasemonkey script - CONQUER CLUB TURN WATCH (Testing)

Postby yeti_c on Sat May 17, 2008 2:49 pm

chipv wrote:
cicero wrote:Suggestion to enhance game list:

Change "8p, rd78" to "8(3)p, rd78" ... where the number in brackets is the number of players remaining in the game.


Another good idea. Just a bit reticent about putting in too much shorthand as not everyone is going to find
the shorthand immediately obvious.

It's not good if a new user has to reach for the help link straight away, but perhaps this one is reasonably obvious.

Not sure.


One thing I would also like to see in here are "T" or "P" for Tournament or Private games.

Also - Perhaps consider "S" for Speed games.

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Re: Greasemonkey script - CONQUER CLUB TURN WATCH (Testing)

Postby chipv on Sat May 17, 2008 5:22 pm

yeti_c wrote:
One thing I would also like to see in here are "T" or "P" for Tournament or Private games.

Also - Perhaps consider "S" for Speed games.

C.


Can't do these practically, I'm afraid, I have just investigated. The loading process would slow down considerably , overkill for this from
a technical viewpoint. (The information is not actually available on active game pages so it would need to be fetched separately either on game addition or on the fly. Both ways introduce more lag).
User avatar
Major chipv
Head Tech
Head Tech
 
Posts: 2840
Joined: Mon Apr 28, 2008 5:30 pm

Re: Greasemonkey script - CONQUER CLUB TURN WATCH (Testing)

Postby yeti_c on Sun May 18, 2008 4:24 am

chipv wrote:
yeti_c wrote:
One thing I would also like to see in here are "T" or "P" for Tournament or Private games.

Also - Perhaps consider "S" for Speed games.

C.


Can't do these practically, I'm afraid, I have just investigated. The loading process would slow down considerably , overkill for this from
a technical viewpoint. (The information is not actually available on active game pages so it would need to be fetched separately either on game addition or on the fly. Both ways introduce more lag).


They are available from the Mygames page - they are titles of each game...

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Re: Greasemonkey script - CONQUER CLUB TURN WATCH (Testing)

Postby cicero on Sun May 18, 2008 4:38 am

1.5.2
Looking good chipv ...

I like" 5/8p" - it's more intuitive and one character more concise than my suggestion :)
And you'll be pleased to know I'm not going to suggest adding anything more to the game list data.

In fact if anything, I'm going to suggest taking something off ...
I've not yet used the "X" and am having trouble imagining a situation where I would ... ?
Even if it is a necessary function, would it be better placed within the expanded view of a game to avoid accidentally removing a game from the Turn Watch List ?
I think some concentrated discussion on a "Mode" setting as previously mooted would be beneficial.

Cicero
FREE M-E-Mbership and simple rules. Conquer Club - it's not complicated.

random me statistic @ 13 December 2008 - 1336 posts : 232nd most public posts (not counting Tower of Babble) of all time.
User avatar
Sergeant cicero
 
Posts: 1358
Joined: Wed Mar 07, 2007 1:51 pm
Location: with the infected neutrals ... handing out maps to help them find their way to CC

Re: Greasemonkey script - CONQUER CLUB TURN WATCH (Testing)

Postby cicero on Sun May 18, 2008 4:40 am

yeti_c wrote:One thing I would also like to see in here are "T" or "P" for Tournament or Private games.

Also - Perhaps consider "S" for Speed games.


I think this data should be included in the expanded view, not in the front end list.
FREE M-E-Mbership and simple rules. Conquer Club - it's not complicated.

random me statistic @ 13 December 2008 - 1336 posts : 232nd most public posts (not counting Tower of Babble) of all time.
User avatar
Sergeant cicero
 
Posts: 1358
Joined: Wed Mar 07, 2007 1:51 pm
Location: with the infected neutrals ... handing out maps to help them find their way to CC

Re: Greasemonkey script - CONQUER CLUB TURN WATCH (Testing)

Postby chipv on Sun May 18, 2008 5:59 am

yeti_c wrote:
chipv wrote:
yeti_c wrote:
One thing I would also like to see in here are "T" or "P" for Tournament or Private games.

Also - Perhaps consider "S" for Speed games.

C.


Can't do these practically, I'm afraid, I have just investigated. The loading process would slow down considerably , overkill for this from
a technical viewpoint. (The information is not actually available on active game pages so it would need to be fetched separately either on game addition or on the fly. Both ways introduce more lag).


They are available from the Mygames page - they are titles of each game...

C.


Yes, I know that full well , but not the actual games pages, and that does not cover every scenario.
People may be adding other games to monitor aside from mygames (someone did ask for that)
in which case the info is not available directly from mygames. (It is possible but an extra fetch is needed).
Also we have eliminated/finished games to consider which would require a separate fetch on
first installation. Currently you can add these types of games no problem.
Awaiting games, no problem since the game page does contain that info.
Biggest problem is people removing one of their games (for 300+ games)
and then adding that one back in - an additional fetch of mygames is required.

So in all cases, loading time increases regardless of how it's done.
This is more relevant when you have a lot of games.
User avatar
Major chipv
Head Tech
Head Tech
 
Posts: 2840
Joined: Mon Apr 28, 2008 5:30 pm

Re: Greasemonkey script - CONQUER CLUB TURN WATCH (Testing)

Postby chipv on Sun May 18, 2008 6:14 am

cicero wrote:1.5.2
Looking good chipv ...

I like" 5/8p" - it's more intuitive and one character more concise than my suggestion :)
And you'll be pleased to know I'm not going to suggest adding anything more to the game list data.

In fact if anything, I'm going to suggest taking something off ...
I've not yet used the "X" and am having trouble imagining a situation where I would ... ?
Even if it is a necessary function, would it be better placed within the expanded view of a game to avoid accidentally removing a game from the Turn Watch List ?
I think some concentrated discussion on a "Mode" setting as previously mooted would be beneficial.

Cicero


The X is for people with a lot of games. Say you've got no chance in 10 games so lost interest but still
have 15 other games that you want to monitor. Then you don't want all these games loaded so you remove
those 10 redundant ones. You may also want to remove eliminated/finished games.

If I move the X, removing blocks of games becomes tedious ( I already suggested checkboxes for block delete but
got no repsonse).

Mode is definitely on the cards when we can flesh out a working theory - I'm still not sure which way to
go on this one but possible.
User avatar
Major chipv
Head Tech
Head Tech
 
Posts: 2840
Joined: Mon Apr 28, 2008 5:30 pm

Re: Greasemonkey script - CONQUER CLUB TURN WATCH (Testing)

Postby yeti_c on Sun May 18, 2008 11:42 am

chipv wrote:
yeti_c wrote:
chipv wrote:
yeti_c wrote:
One thing I would also like to see in here are "T" or "P" for Tournament or Private games.

Also - Perhaps consider "S" for Speed games.

C.


Can't do these practically, I'm afraid, I have just investigated. The loading process would slow down considerably , overkill for this from
a technical viewpoint. (The information is not actually available on active game pages so it would need to be fetched separately either on game addition or on the fly. Both ways introduce more lag).


They are available from the Mygames page - they are titles of each game...

C.


Yes, I know that full well , but not the actual games pages, and that does not cover every scenario.
People may be adding other games to monitor aside from mygames (someone did ask for that)
in which case the info is not available directly from mygames. (It is possible but an extra fetch is needed).
Also we have eliminated/finished games to consider which would require a separate fetch on
first installation. Currently you can add these types of games no problem.
Awaiting games, no problem since the game page does contain that info.
Biggest problem is people removing one of their games (for 300+ games)
and then adding that one back in - an additional fetch of mygames is required.

So in all cases, loading time increases regardless of how it's done.
This is more relevant when you have a lot of games.


So this could be done if you added games via "mygames" or "Game Finder" as the information is available there but not for if you add games via the actual game page (as the info isn't available here!)

So only an extra fetch would be required upon adding a game from it's own page. -> which would be fairly easy as you know it's game number and could run a query across a game finder page...

The fetch would only need to be done upon addition if you then stored the info away.
(Note speed game info is available in the game space)

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Re: Greasemonkey script - CONQUER CLUB TURN WATCH (Testing)

Postby chipv on Sun May 18, 2008 11:54 am

yeti_c wrote:
So this could be done if you added games via "mygames" or "Game Finder" as the information is available there but not for if you add games via the actual game page (as the info isn't available here!)

So only an extra fetch would be required upon adding a game from it's own page. -> which would be fairly easy as you know it's game number and could run a query across a game finder page...

The fetch would only need to be done upon addition if you then stored the info away.
(Note speed game info is available in the game space)

C.


Almost. Currently the information has not been stored for your current list so this would only
work for subsequent additions. That pretty much means clearing the associated preferences and starting again.
Not good if you have spent a lot of time already removing a shedload of games.Game finder query works for
all games regardless, so that's the best option.

A better solution is getting lackattack to publish the info on the games pages, let's see what happens.
User avatar
Major chipv
Head Tech
Head Tech
 
Posts: 2840
Joined: Mon Apr 28, 2008 5:30 pm

Re: Greasemonkey script - CONQUER CLUB TURN WATCH (Testing)

Postby yeti_c on Sun May 18, 2008 12:54 pm

chipv wrote:
yeti_c wrote:
So this could be done if you added games via "mygames" or "Game Finder" as the information is available there but not for if you add games via the actual game page (as the info isn't available here!)

So only an extra fetch would be required upon adding a game from it's own page. -> which would be fairly easy as you know it's game number and could run a query across a game finder page...

The fetch would only need to be done upon addition if you then stored the info away.
(Note speed game info is available in the game space)

C.


Almost. Currently the information has not been stored for your current list so this would only
work for subsequent additions. That pretty much means clearing the associated preferences and starting again.
Not good if you have spent a lot of time already removing a shedload of games.Game finder query works for
all games regardless, so that's the best option.

A better solution is getting lackattack to publish the info on the games pages, let's see what happens.


As the script is fairly young - I don't think changing it so that people have to re-add their games to get Private or Tournament status for their games is too much to ask - especially as they can just uninstall fully - and then reinstall - and it will pick up all their games anyway?

I really think that it should be a "done when added" thing - rather than something that needs querying... it's not like the data is gonna change in the interim... (amongst a number of other things too)

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Re: Greasemonkey script - CONQUER CLUB TURN WATCH (Testing)

Postby chipv on Sun May 18, 2008 1:35 pm

yeti_c wrote:As the script is fairly young - I don't think changing it so that people have to re-add their games to get Private or Tournament status for their games is too much to ask - especially as they can just uninstall fully - and then reinstall - and it will pick up all their games anyway?

Agreed.
I really think that it should be a "done when added" thing - rather than something that needs querying... it's not like the data is gonna change in the interim... (amongst a number of other things too)
C.

I already said this, surely, just not using exactly the same words... so agreed.

I'm in favour of the info being added to the game page if only to avoid another race condition between the
game finder query and the game page. It's not a big problem either way, just dependent on what happens with my suggestion.
User avatar
Major chipv
Head Tech
Head Tech
 
Posts: 2840
Joined: Mon Apr 28, 2008 5:30 pm

Re: Greasemonkey script - CONQUER CLUB TURN WATCH (Testing)

Postby yeti_c on Sun May 18, 2008 1:40 pm

chipv wrote:I already said this, surely, just not using exactly the same words... so agreed.


Apologies - I misconstrued your comment.

chipv wrote:I'm in favour of the info being added to the game page if only to avoid another race condition between the
game finder query and the game page. It's not a big problem either way, just dependent on what happens with my suggestion.


Agreed - I do think this should be on the game screen.

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

PreviousNext

Return to Tool Archives

Who is online

Users browsing this forum: No registered users