BOB version 1.2 [was CC Greasemonkey script - unofficial]

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

What should the name of this script be?

Poll ended at Fri May 18, 2007 5:51 am

Bob
11
28%
TSAR
7
18%
TSAR BOMBA
6
15%
B.O.M.B.
5
13%
Trojan
1
3%
Trojan Horse
9
23%
 
Total votes: 39

User avatar
gimil
Posts: 8599
Joined: Sat Mar 03, 2007 12:42 pm
Gender: Male
Location: United Kingdom (Scotland)

Post by gimil »

yeti_c wrote:On the left hand side of your screen is an option menu for BOB...

Colourblind is switchable there.

C.


thanxs yeti your the best geek i know :)
What do you know about map making, bitch?

natty_dread wrote:I was wrong


Top Score:2403
User avatar
Sargeant_Pepper
Posts: 58
Joined: Mon Jan 01, 2007 8:03 pm
Contact:

Post by Sargeant_Pepper »

gimil wrote:
yeti_c wrote:On the left hand side of your screen is an option menu for BOB...

Colourblind is switchable there.

C.


thanxs yeti your the best geek i know :)

Word. That's a pretty neat feature. Wish i'd known it sooner!
Visit Felipe Alvarez's website.
User avatar
The1exile
Posts: 7140
Joined: Tue Aug 15, 2006 7:01 pm
Location: Devastation
Contact:

Post by The1exile »

Image

Seems to be a problem with team strengths?
Image
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Post by yeti_c »

Something to do with rounding I guess...

Perhaps a format needs to be applied to that field.

C.
Image
Highest score : 2297
User avatar
stocksr
Posts: 132
Joined: Wed Mar 07, 2007 11:30 am
Location: South Coast, UK

Post by stocksr »

yeti_c wrote:When you are having a turn the clock counts down from 1 hour to 0...

When someone else is having a turn it stays on the 24 hour count down...

For Sequential games - could we swap it to count down the hour of the person having the turn?

(Technically this is a site "bug" but I reckon Bob could sort it out?)

C.


Sorry yeti_c there would be a lot of work needed for this
for example at the moment BOB does not know or care if somebody is in the middle of their turn.

Additionally BOB at them moment doesn't care if your local clock is correct (it just takes the clock the site provides and runs it) we would need to start working out the time difference between NOW (on your machine) and the start turn Log entry (site time)



It would be much better if lack where to fix this.
r.
User avatar
stocksr
Posts: 132
Joined: Wed Mar 07, 2007 11:30 am
Location: South Coast, UK

Post by stocksr »

yeti_c wrote:Something to do with rounding I guess...

Perhaps a format needs to be applied to that field.

C.


Correct - fixed in BOB v1.3
r.
User avatar
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

Post by cicero »

On the subject of rounding/display ...

Can we fix the display of strength and card set estimates to 2 decimal places.

As has been noted previously the presence of decimal places reinforces that these figures are estimates.

At present if one of these estimates happens to come out to a whole number it is displayed as, for example, "8". I think it would be better if this were displayed as "8.00".

Similarly "8.3" would be "8.30".

Bring on v1.3 - I want my asterisks back!
[Currently using v1.0 as a work around.]


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.
Mustard
Posts: 4
Joined: Thu Jun 07, 2007 9:42 pm

Post by Mustard »

Mustard wrote:
stocksr wrote:
Mustard wrote:an amazing extension and CC script! I am very delighted by this, and it has worked so far remarkably well, without a single glitch.

I have one request. At work, my firewall blocks access to many websites, including CC. For that I use an anonymous web proxy to log into CC and play. I added the URL for the proxy to the script's options page, but it fails to work, even thought the proxy is configured for JavaScript.

How can I make this script work with a free anonymous web proxy?


Mustard,
Sorry, We will be unable to help you unless you tell us which anonymous proxy you use, so that we can check out how it works.


I used http://sureproxy.com and I allowed ALL cookies, ads, scripts, etc. I also added sureproxy.com to the list of allowed sites in BOB 1.0


I also tried another proxy http://hidemyass.com (not porn, just a free anonymous proxy :lol:) Still doesn't work. Any ideas stocksr?
weirdbro
Posts: 52
Joined: Wed Jan 24, 2007 6:33 pm

Post by weirdbro »

If conquer club is blocked, you'll need to find a way to get the script to run on the proxy site, by modify it in the greasemonkey settings, and have a way to get the map data, which the proxy would have trouble getting. You might need to backup all the xml files to another site, and modify the GM_xmlhttprequest in the script to point to that folder.
dpg
Posts: 10
Joined: Mon Mar 26, 2007 6:00 pm

Post by dpg »

Love the script - thanks.

The only issue I have is that Firefox seems to use quite a bit of CPU power when I am in a game and running the script. I have Greasemonkey 0.7 and BOB 1.2 on Firefox 2.0.0.4. CPU is between 5% and 20% depending on which PC I am using - I see the issue on 3 different machines, 1 running Windows 2000, the other 2 have XP. If I disable the script, CPU load returns to normal (more or less 0%).

I'm not sure whether this is something that has recently changed, or whether it is just that I haven't noticed it before.

Cheers.
User avatar
NL
Posts: 7
Joined: Thu Jun 28, 2007 5:35 pm
Location: Earth Colony

Post by NL »

This is Great! I've been figuring this stuff on paper for my games.--Love it!
Image
BEER Not just a breakfast beverage any longer!
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Post by yeti_c »

dpg wrote:Love the script - thanks.

The only issue I have is that Firefox seems to use quite a bit of CPU power when I am in a game and running the script. I have Greasemonkey 0.7 and BOB 1.2 on Firefox 2.0.0.4. CPU is between 5% and 20% depending on which PC I am using - I see the issue on 3 different machines, 1 running Windows 2000, the other 2 have XP. If I disable the script, CPU load returns to normal (more or less 0%).

I'm not sure whether this is something that has recently changed, or whether it is just that I haven't noticed it before.

Cheers.


Some of the maps are more intensive than others... Also the longer the Game log the longer the script runs.

C.
Image
Highest score : 2297
User avatar
reverend_kyle
Posts: 9250
Joined: Tue Mar 21, 2006 4:08 pm
Location: 1000 post club
Contact:

Post by reverend_kyle »

Mustard wrote:
Mustard wrote:
stocksr wrote:
Mustard wrote:an amazing extension and CC script! I am very delighted by this, and it has worked so far remarkably well, without a single glitch.

I have one request. At work, my firewall blocks access to many websites, including CC. For that I use an anonymous web proxy to log into CC and play. I added the URL for the proxy to the script's options page, but it fails to work, even thought the proxy is configured for JavaScript.

How can I make this script work with a free anonymous web proxy?


Mustard,
Sorry, We will be unable to help you unless you tell us which anonymous proxy you use, so that we can check out how it works.


I used http://sureproxy.com and I allowed ALL cookies, ads, scripts, etc. I also added sureproxy.com to the list of allowed sites in BOB 1.0


I also tried another proxy http://hidemyass.com (not porn, just a free anonymous proxy :lol:) Still doesn't work. Any ideas stocksr?


put a * after the url you want to work.
DANCING MUSTARD FOR POOP IN '08!
dpg
Posts: 10
Joined: Mon Mar 26, 2007 6:00 pm

Post by dpg »

yeti_c wrote:
dpg wrote:Love the script - thanks.

The only issue I have is that Firefox seems to use quite a bit of CPU power when I am in a game and running the script. I have Greasemonkey 0.7 and BOB 1.2 on Firefox 2.0.0.4. CPU is between 5% and 20% depending on which PC I am using - I see the issue on 3 different machines, 1 running Windows 2000, the other 2 have XP. If I disable the script, CPU load returns to normal (more or less 0%).

I'm not sure whether this is something that has recently changed, or whether it is just that I haven't noticed it before.

Cheers.


Some of the maps are more intensive than others... Also the longer the Game log the longer the script runs.

C.


I would have thought that the length of the game log or the complexity of the map should only affect the amount of processing that needs to be done when a turn is taken or the map is refreshed - and I do see 100% CPU for around a second or so when this happens. But I am talking about a constant CPU load of up to 20% just for looking at a game, no map refreshes or anything.
dpg
Posts: 10
Joined: Mon Mar 26, 2007 6:00 pm

Post by dpg »

I think I've tracked down the cause of the constant background CPU load with the script. It is the animated clock. If I change the script so that it updates less frequently, say just once per minute, then the CPU load drops down to 0 until the clock is updated when I see a spike of CPU load while it updates.
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Post by yeti_c »

dpg wrote:I think I've tracked down the cause of the constant background CPU load with the script. It is the animated clock. If I change the script so that it updates less frequently, say just once per minute, then the CPU load drops down to 0 until the clock is updated when I see a spike of CPU load while it updates.


That'll be because the clock counter code is an infinite loop that waits for a second before moving the clock... pretty intensive way of moving a clock... but possibly the only way in GreaseMonkey/javascript to do it!!

Just turn it off if you don't like the load.

C.
Image
Highest score : 2297
dpg
Posts: 10
Joined: Mon Mar 26, 2007 6:00 pm

Post by dpg »

yeti_c wrote:
Just turn it off if you don't like the load.

C.


Don't get me wrong, I really like the script and don't want to turn it off. So I've modified it to include a new menu option for turning the animated clock on or off. I'll send a copy of my changes to stocksr in case he is interested in including them in the next version.

Cheers.
User avatar
stocksr
Posts: 132
Joined: Wed Mar 07, 2007 11:30 am
Location: South Coast, UK

Post by stocksr »

dpg wrote:
yeti_c wrote:
Just turn it off if you don't like the load.

C.


Don't get me wrong, I really like the script and don't want to turn it off. So I've modified it to include a new menu option for turning the animated clock on or off. I'll send a copy of my changes to stocksr in case he is interested in including them in the next version.

Cheers.


Received and merged will be in BOB v1.3.
r.
User avatar
gaunt773
Posts: 19
Joined: Sat Jun 23, 2007 12:12 am
Location: the ghetto, chicago, illinois
Contact:

Post by gaunt773 »

neat! thanks
"Real talk" from R. Kelly's new album, Double Up, may very well be one of the most genius songs of the decade...
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Post by yeti_c »

dpg wrote:
yeti_c wrote:
Just turn it off if you don't like the load.

C.


Don't get me wrong, I really like the script and don't want to turn it off. So I've modified it to include a new menu option for turning the animated clock on or off. I'll send a copy of my changes to stocksr in case he is interested in including them in the next version.

Cheers.


Apologies - I thought the clock already had an Off mechanism?!

C.
Image
Highest score : 2297
User avatar
king achilles
Support Admin
Support Admin
Posts: 13396
Joined: Wed Jun 13, 2007 10:55 pm
Gender: Male
Contact:

Post by king achilles »

Hi guys. A quick question here. Has anybody encountered any issues with the script after they have upgraded their firefox version to Firefox/2.0.0.4?

I was just about to try the script and install it but it said that it is not compatible with the version of the firefox that I have. So I was not able to install it.
User avatar
stocksr
Posts: 132
Joined: Wed Mar 07, 2007 11:30 am
Location: South Coast, UK

Post by stocksr »

king achilles wrote:Hi guys. A quick question here. Has anybody encountered any issues with the script after they have upgraded their firefox version to Firefox/2.0.0.4?

I was just about to try the script and install it but it said that it is not compatible with the version of the firefox that I have. So I was not able to install it.


I am running 2.0.0.4, with greasemonkey 0.7.20070607.0,

Please could you post more details of the "not compatible" error message you received.
r.
User avatar
king achilles
Support Admin
Support Admin
Posts: 13396
Joined: Wed Jun 13, 2007 10:55 pm
Gender: Male
Contact:

Post by king achilles »

I'm okay now. I just installed it this morning again and it worked. Strange that I was doing the same exact things and the script just won't install yesterday. Anyway, thanks stocksr.
User avatar
Aerial Attack
Posts: 1132
Joined: Mon Jun 04, 2007 7:59 pm
Location: Generation One: The Clan

I just installed

Post by Aerial Attack »

It seems excellent from what I've seen so far.

One minor request. You always indicate enemies by (r)ed, (g)reen, (b)blue, (y)ellow, (t)eal, (p)ink/purple, and (n)eutral.

For map inspect if the army color is neutral - could a) if you are hovering over the neutral country then every connected country is defend only [except for neutrals]; b) if a neutral country is connected to the country you are hovering over then it should be attack only.

Hopefully that's just a small "static" change.

A MUCH tougher change would be to dynamically determine the current user's color and make those non-attack/non-defend as well

Thanks for all your hard work.
User avatar
stocksr
Posts: 132
Joined: Wed Mar 07, 2007 11:30 am
Location: South Coast, UK

Re: I just installed

Post by stocksr »

Aerial Attack wrote:It seems excellent from what I've seen so far.

One minor request. You always indicate enemies by (r)ed, (g)reen, (b)blue, (y)ellow, (t)eal, (p)ink/purple, and (n)eutral.

For map inspect if the army color is neutral - could a) if you are hovering over the neutral country then every connected country is defend only [except for neutrals]; b) if a neutral country is connected to the country you are hovering over then it should be attack only.

Hopefully that's just a small "static" change.

A MUCH tougher change would be to dynamically determine the current user's color and make those non-attack/non-defend as well

Thanks for all your hard work.



Hi,

Thanks for your suggestion, as I understand your suggestion you are asking for the map inspect text description that appears below the map on hover to be changed to reflect the status of the board, I.E. if there is no need to defend a territory then show that in the text.

This information is as you point out is available in the colour coding, and I feel that the information about the structure of the map that would be lost with your suggested change is critical to planning a strategy, particularly on a new map.

If you are one of the colour blind users of the site and are unable to make use of the colour information then I am happy to work with you to provide the information in a format that is usable for you, for example we could add the prefix letters same as we do for armies on the map.
r.
Locked

Return to “Tool Archives”