Conquer Club

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.

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

Re: bug?

Postby jaydog on Sat Jun 02, 2007 5:47 am

The1exile wrote:I just encountered a bug with this script.

See the bit about reds cards and cashins on this screenshot:

Image

Not sure what triggered it.




can someone please send me the link to set my greasemonky like that?
I currently use the first version and the notifier.

If someone could pm thelink to me it would be greatly aprreciated.
cheers
User avatar
Lieutenant jaydog
 
Posts: 468
Joined: Fri Jan 27, 2006 7:24 pm
Location: on the other side of the planet

Re: bug?

Postby tahitiwahini on Sat Jun 02, 2007 8:13 am

jaydog wrote:
can someone please send me the link to set my greasemonky like that?
I currently use the first version and the notifier.

If someone could pm thelink to me it would be greatly aprreciated.
cheers


First, you should be using the latest version of BOB, stocksr's greasemonkey script, which you can obtain from here:

http://www.conquerclub.com/forum/viewtopic.php?t=8801

Then once you have installed the script you need to use the Greasemonkey Menu (on the upper left hand side of the page in a game window) to set the Text Map to ON.

Good luck.
Cheers,
Tahitiwahini
User avatar
Private 1st Class tahitiwahini
 
Posts: 964
Joined: Fri Jan 19, 2007 5:26 pm

Postby pancakemix on Sat Jun 02, 2007 1:28 pm

yeti_c wrote:
stocksr wrote:
pancakemix wrote:I'm having a problem.

The script isn't working. I've had it installed for a while now, but it just disappeared. It's not on my list of installed scripts and when I try to reinstall it, it says it's already installed.


This is a known bug in greasemonkey, you will need to delete the script file from your profile folder manually, I am posting from my phone or I would provide detailed instructions


Now there is dedication... Hang on - I'll help...

Scripts will be located in the following folder...

C:\Documents and Settings\Chris\Application Data\Mozilla\Firefox\Profiles\cdheyiiz.default\gm_scripts

(Modify for your username on your PC)

Delete them from there and hey presto...

C.


This didn't work. I did, however find a roundabout solution. I had to uninstall greasemonkey and install version 0.7.
Epic Win

"Always tell the truth. It's the easiest thing to remember." - Richard Roma, Glengarry Glen Ross

aage wrote:Never trust CYOC or pancake.
User avatar
Corporal 1st Class pancakemix
 
Posts: 7973
Joined: Wed Jan 31, 2007 3:39 pm
Location: The Grim Guzzler

Re: bug?

Postby alex_white101 on Sun Jun 03, 2007 6:20 am

i use stocksrs script and have done since about 3 days after it came out, and have updated a few times, however i am completely lost as to whether i have the newest version or whether it updates or what. could someone please explain to me what i need to do?
''Many a true word is spoken in jest''
User avatar
Corporal 1st Class alex_white101
 
Posts: 1992
Joined: Sun Feb 25, 2007 1:05 am

Re: bug?

Postby tahitiwahini on Sun Jun 03, 2007 7:19 am

alex_white101 wrote:i use stocksrs script and have done since about 3 days after it came out, and have updated a few times, however i am completely lost as to whether i have the newest version or whether it updates or what. could someone please explain to me what i need to do?


It does not update automatically (which we would probably not want it to do anyway). You must go to the Utilities and Plugins for Conquer Club sticky topic at the top of the General Discussion forum here:

http://www.conquerclub.com/forum/viewtopic.php?t=8801

The one you want is called stocksr's greasemonkey script (soon to be known as BOB).

If you haven't kept up with the new releases you may have to do a one-time configuration using the Greasemonkey Menu on the left side of a a game window to set up your preferences, once the script is installed.

Good luck.
Cheers,
Tahitiwahini
User avatar
Private 1st Class tahitiwahini
 
Posts: 964
Joined: Fri Jan 19, 2007 5:26 pm

Postby NormalGuy on Sun Jun 03, 2007 11:51 am

I am an idiot...problem solved.

NG
Last edited by NormalGuy on Mon Jun 04, 2007 12:35 pm, edited 1 time in total.
Sergeant 1st Class NormalGuy
 
Posts: 48
Joined: Tue May 01, 2007 6:37 pm

Postby cicero on Sun Jun 03, 2007 4:59 pm

Sparqs, on 30 May 2007, wrote:I see that you are about to release BOB so it might be a bit late, but a few suggestions:

Remember custom fade setting for each map
The fade is great, but I need more fade on some maps to make them readable than I need on others.

I have no 'official' knowledge, but I do know that Rob has this one in mind. Perhaps we will see it in BOB v1.0 ...

Sparqs, on 30 May 2007, wrote:Click fills-in Attacker/Defender
It would be nice if clicking on a country filled in the appropriate select box, saving me from choosing from the list.

Again no official knowledge, but I think this one has been discussed before and I believe because of a lack of information in the XML for each map this is not currently possible.

Sparqs, on 30 May 2007, wrote:Toggle stats and text map
When examining the log to determine what happened, referring back to the map is made more difficult by the stats and text map. Rather than click through various modes and waiting for redraw, it would really help to twiddle a control and hide those displays temporarily. As a workaround, an option to switch the log between it's current position and above stats would suffice.

I like this one. In fact I like Sparqs workaround better than the initial suggestion.

I'm not sure how best to incorporate it into the menu though ... since there are already so many options on the menu another one/two for Stats and Text Map position would be less than perfect.

How about Stats having the options 'Standard above map|Standard below map|Extended above map|Extended below map|Off' ... ?

And similarly for Text Map ?

I don't think so, too unwieldy ...

Rob/others ?
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

Postby cicero on Sun Jun 03, 2007 5:48 pm

As you may know Rob has delegated the maintenance of the Help/Info text for BOB to me.

I am currently working on a revision. Could you assist by casting your eyes over this draft of the Credits section and let me know of any amendments/additions/clarifications etc required.

Tr0y
Author of the original 'Conquer Club' Greasemonkey script from which this script has evolved. The original script included Time Remaining Countdown, Card Set Redemption Values, Colourblind letter prefixes, basic Stats table including number of cards, number of armies, number of territories held, strength indicator and armies due (without continent bonuses). See thread at http://www.conquerclub.com/forum/viewtopic.php?t=6672.
stocksr
Author of BOB. Original creator of much of the BOB code and responsible for combining and optimising other authorsā€™ code.
tahitiwahini
Author of the original card set estimate code. See tahitiwahiniā€™s post in the BOB thread dated 28 April 2007 for detail of the calculation.
Ishiro
Author of the original Confirm Phase Ends and Confirm Auto-Attack code. See thread at http://www.conquerclub.com/forum/viewtopic.php?t=7051.
ClessAlvein
Contributor to the Clock Format code.
weirdbro
Contributor to the optimised Time Remaining Countdown code.
yeti_c
Contributor of BOB - Battle Observation Briefing - acronym.
cicero
Author of this Help/Info document.
Others
Please post amendments/corrections/additions to this list in the BOB thread and this section will be updated.


If modesty prohibits you from posting to this thread please feel free to PM me :)


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

Postby andreweberman on Sun Jun 03, 2007 11:58 pm

Can you add a attack chart? Some small grid which shows how many territorys each color has taken from each other color.
Sergeant 1st Class andreweberman
 
Posts: 61
Joined: Wed Mar 14, 2007 11:56 pm

Postby yeti_c on Mon Jun 04, 2007 4:06 am

He he - I got a mention... not sure I deserve one... but I'll take it!!!!

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

Postby cicero on Mon Jun 04, 2007 12:34 pm

yeti_c wrote:He he - I got a mention... not sure I deserve one... but I'll take it!!!!

C.

lol

Why else do you think I volunteered to do the Help/Info text ;)

C.icero
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

Postby wacicha on Tue Jun 05, 2007 5:22 pm

Ok I finally downloaded the new monkey script --Alot of bells and whistiles -

after i figured how to turn a couple of things off and fix the fade - it is pretty darn awesome
Image
User avatar
Major wacicha
 
Posts: 3988
Joined: Fri Jan 27, 2006 6:51 pm

Postby Sparqs on Wed Jun 06, 2007 12:14 am

cicero wrote:
Sparqs, on 30 May 2007, wrote:Click fills-in Attacker/Defender
It would be nice if clicking on a country filled in the appropriate select box, saving me from choosing from the list.

Again no official knowledge, but I think this one has been discussed before and I believe because of a lack of information in the XML for each map this is not currently possible.


I saw in another thread that this is apparently high on the CC UI to do list, so perhaps not a priority for BOB. Yet, I'm unclear on why this wouldn't be possible with the current info. I've gotten excited over a map idea and distracted from greasemonkeying, so I can't say for sure, but: Can't you read a click from the same area that currently registers hovering? I'm sure clicking on army circles would be fine - it doesn't need to register the whole country area.

In fact, I wonder if CC will ever register country-clicks as opposed to army-clicks. As you point out, the xml doesn't have country boundaries and adding them would make it much more difficult for users to create maps, plus the chore of updating the many existing ones.
User avatar
Sergeant Sparqs
 
Posts: 173
Joined: Tue May 29, 2007 5:52 am

Postby stocksr on Wed Jun 06, 2007 2:53 am

Sparqs wrote:
cicero wrote:
Sparqs, on 30 May 2007, wrote:Click fills-in Attacker/Defender
It would be nice if clicking on a country filled in the appropriate select box, saving me from choosing from the list.

Again no official knowledge, but I think this one has been discussed before and I believe because of a lack of information in the XML for each map this is not currently possible.


I saw in another thread that this is apparently high on the CC UI to do list, so perhaps not a priority for BOB. Yet, I'm unclear on why this wouldn't be possible with the current info. I've gotten excited over a map idea and distracted from greasemonkeying, so I can't say for sure, but: Can't you read a click from the same area that currently registers hovering? I'm sure clicking on army circles would be fine - it doesn't need to register the whole country area.

In fact, I wonder if CC will ever register country-clicks as opposed to army-clicks. As you point out, the xml doesn't have country boundaries and adding them would make it much more difficult for users to create maps, plus the chore of updating the many existing ones.




Sparqs is correct, however the actual problem I have been pondering over is how to handle the fortification stage.

Depoly is easy, click to select
Attack is also easy - if you click on a territiory you own then it is FROM if you click on one you don't it is TO.


Fortification is the tricky one - please post suggestions, when we have a feasible, LOGICAL, idea for how to handle that stage, I will get to work implementing it. When making suggestions remember that in TEAM games you can fortify your team mates as well.
r.
User avatar
Corporal stocksr
 
Posts: 132
Joined: Wed Mar 07, 2007 11:30 am
Location: South Coast, UK

Postby Sparqs on Wed Jun 06, 2007 5:25 am

stocksr wrote:Fortification is the tricky one - please post suggestions, when we have a feasible, LOGICAL, idea for how to handle that stage, I will get to work implementing it. When making suggestions remember that in TEAM games you can fortify your team mates as well.

How about this:
When in fortify phase, clicking a country you own selects it, puts up the highlight square (maybe white?), and fills in the FROM box.
If a country is selected and you click an eligible country, it fills in the TO box.
If you click on the selected country, it is deselected and the highlight is removed.

[Edit: I was just thinking that you want hover to work while deciding on a destination country. Can you leave up the white square while you show/hide squares for hovering?]

Once you fortify and the page reloads, it would be helpful if it remembered the TO box - making it easier to aggregate a stack. I suppose you could do it the other way around and remember the select state, but I think that would be intrusive, and probably less useful.

Also, some way to reduce the number of times I have to bring up the "number of armies" list would be nice. Remembering the setting during the phase would help - but if that might cause problems for people, maybe some radio buttons would work. I suspect "2" is a common choice.

[Edit: Thanks for the error checking, yeti_c.]
Last edited by Sparqs on Wed Jun 06, 2007 5:35 am, edited 3 times in total.
User avatar
Sergeant Sparqs
 
Posts: 173
Joined: Tue May 29, 2007 5:52 am

Postby yeti_c on Wed Jun 06, 2007 5:30 am

I agree with Rob here - this is the trickiest one... and I reckon Lack is having the same problem...

With a mouse of course you do have at least 2 buttons to use...

You could capture a left click on the country as from.
You could capture a right click on the country as to.

Alternatively - double click could work - but may not.

C.

PS Sparqs - be careful with your terminology - you mentioned "Deploy" when actually you mean "Fortify".
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Postby stocksr on Wed Jun 06, 2007 5:57 am

Sparqs wrote:
stocksr wrote:Fortification is the tricky one - please post suggestions, when we have a feasible, LOGICAL, idea for how to handle that stage, I will get to work implementing it. When making suggestions remember that in TEAM games you can fortify your team mates as well.

How about this:
When in fortify phase, clicking a country you own selects it, puts up the highlight square (maybe white?), and fills in the FROM box.
If a country is selected and you click an eligible country, it fills in the TO box.
If you click on the selected country, it is deselected and the highlight is removed.

[Edit: I was just thinking that you want hover to work while deciding on a destination country. Can you leave up the white square while you show/hide squares for hovering?]


OK, I like where you are heading with this, from an interface point of view, but I do have some concerns, for example what would happen if you selected the first one by clicking on the map, then changed the drop down.

Sparqs wrote:Once you fortify and the page reloads, it would be helpful if it remembered the TO box - making it easier to aggregate a stack. I suppose you could do it the other way around and remember the select state, but I think that would be intrusive, and probably less useful.

Sorry, this is not a direction that we want to take BOB in, BOB will never remember things from one turn to the next. Please post a suggestion in the suggestions forum though as I think this would be an easy thing for Lack to add. (remember to use the form from the sticky or you will be hounded out of the forum)


Sparqs wrote:Also, some way to reduce the number of times I have to bring up the "number of armies" list would be nice. Remembering the setting during the phase would help - but if that might cause problems for people, maybe some radio buttons would work. I suspect "2" is a common choice.


This is more possible for BOB, but I think it would be better if lack did it. again please post a suggestion.
I would love to see an ALL option in there, that moves as many as is possible. save me having to subtract 1 from the army count then find that number.
r.
User avatar
Corporal stocksr
 
Posts: 132
Joined: Wed Mar 07, 2007 11:30 am
Location: South Coast, UK

Postby stocksr on Wed Jun 06, 2007 6:04 am

yeti_c wrote:I agree with Rob here - this is the trickiest one... and I reckon Lack is having the same problem...

With a mouse of course you do have at least 2 buttons to use...

You could capture a left click on the country as from.
You could capture a right click on the country as to.

Alternatively - double click could work - but may not.

C.

PS Sparqs - be careful with your terminology - you mentioned "Deploy" when actually you mean "Fortify".


Right clicks are problematic, (but not insurmountable) because the default behaviour for a right click is to show the browser context menu.

Please keep the suggestions comming.
r.
User avatar
Corporal stocksr
 
Posts: 132
Joined: Wed Mar 07, 2007 11:30 am
Location: South Coast, UK

Postby alex_white101 on Wed Jun 06, 2007 6:30 am

this may be a shocking idea or already suggested, but for fortification maybe some kind of click and drag idea could be used? i know thats vague but im not really in the know about these kind of things so if its good u guys can run with it if not just ignore :)
''Many a true word is spoken in jest''
User avatar
Corporal 1st Class alex_white101
 
Posts: 1992
Joined: Sun Feb 25, 2007 1:05 am

Postby Sparqs on Wed Jun 06, 2007 6:43 am

stocksr wrote:
Sparqs wrote:
stocksr wrote:Fortification is the tricky one - please post suggestions, when we have a feasible, LOGICAL, idea for how to handle that stage, I will get to work implementing it. When making suggestions remember that in TEAM games you can fortify your team mates as well.

How about this:
When in fortify phase, clicking a country you own selects it, puts up the highlight square (maybe white?), and fills in the FROM box.
If a country is selected and you click an eligible country, it fills in the TO box.
If you click on the selected country, it is deselected and the highlight is removed.

[Edit: I was just thinking that you want hover to work while deciding on a destination country. Can you leave up the white square while you show/hide squares for hovering?]


OK, I like where you are heading with this, from an interface point of view, but I do have some concerns, for example what would happen if you selected the first one by clicking on the map, then changed the drop down.

I think the simplest answer is to clear BOB's selection state if the user changes the drop down.

I think the preferred answer is to have the highlight box change to the selected country. In fact, it might be nice for people if it always highlighted the selected source country. Perhaps not on page load, but after adjusting the drop down, even if you haven't clicked on the map.
User avatar
Sergeant Sparqs
 
Posts: 173
Joined: Tue May 29, 2007 5:52 am

Postby yeti_c on Thu Jun 07, 2007 2:54 am

alex_white101 wrote:this may be a shocking idea or already suggested, but for fortification maybe some kind of click and drag idea could be used? i know thats vague but im not really in the know about these kind of things so if its good u guys can run with it if not just ignore :)


Click and Drag won't work without add-ons being installed that some people won't like...

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

Postby yeti_c on Thu Jun 07, 2007 3:02 am

Rob,

Here's some code for banning right clicks and some key presses...

Would be easy to recode.

C.

Code: Select all
var _banBrowserControls=true;
if (_banBrowserControls == true)
{
   document.onkeydown = _keyboardControls ;
   document.oncontextmenu = _contextMenu ;
}

function _keyboardControls()
{
   if (event.keyCode==122)
   {
      _banEvent("F11") ;
      return false ;
   }

   if (event.altKey && event.keyCode==37)
   {
        _banEvent("Alt-Left Arrow") ;
        return false;
   }

   if (event.altKey && event.keyCode==39)
   {
        _banEvent("Alt-Right Arrow") ;
        return false;
   }

    if (event.ctrlKey && event.keyCode==78)
    {
        _banEvent("Ctrl-N") ;
        return false;
    }

   if (event.ctrlKey && event.keyCode==82)
   {
        _banEvent("Ctrl-R") ;
        return false;
   }

   if (event.keyCode==116)
   {
        _banEvent("F5") ;
        return false;
   }
}

function _contextMenu()
{
   _banEvent("Right Click") ;
   return false ;
}

function _banEvent(msg)
{
        event.cancelBubble = true;
        event.keyCode = 0;
        alert("Using " + msg + " is not supported when using InsuranceFaces") ;
}
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Postby cicero on Thu Jun 07, 2007 2:45 pm

stocksr wrote:BOB will never remember things from one turn to the next.


Now that explains a lot ;)


C.icero
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

Postby stocksr on Thu Jun 07, 2007 4:18 pm

cicero wrote:
stocksr wrote:BOB will never remember things from one turn to the next.


Now that explains a lot ;)


C.icero


Oi! I resemble that implication.
r.
User avatar
Corporal stocksr
 
Posts: 132
Joined: Wed Mar 07, 2007 11:30 am
Location: South Coast, UK

Postby cicero on Fri Jun 08, 2007 1:11 am

I know that we're thinking mostly about fortifying since it is more complex but how about the following suggestion for deployment:

Change the menu option from "Confirm Deploy" with "On|Off" as the options to "Deploy" with "Standard|Confirm|Click" as the options.

"Standard" - as now; with confirm off.
"Confirm" - as now; with confirm on.
"Click" - dropdown not used. A single click on your territory deploys a single army to that territory.

Because point and click is so intuitive I think the number of armies being deployed would have to be pretty high before single clicking became onerous.
Anticipating that perhaps it certainly will become onerours at some point the options could become "Standard|Confirm|Click 1|click 2|click 4" or similar ?


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

PreviousNext

Return to Tool Archives

Who is online

Users browsing this forum: No registered users