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

User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Post by yeti_c »

Stocksr...

Not sure if this can be done but...

When you roll over the map you get the territories that you can attack...

However - it might be worth also showing the territories that can attack you? Perhaps with a Circle?

So square for attack... Circle for defend... Star for both? Or something?

Or perhaps different colours?

For a good example check out the KOTM map and roll over a King...

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:Stocksr...

Not sure if this can be done but...

When you roll over the map you get the territories that you can attack...

However - it might be worth also showing the territories that can attack you? Perhaps with a Circle?

So square for attack... Circle for defend... Star for both? Or something?

Or perhaps different colours?

For a good example check out the KOTM map and roll over a King...

C.


Hi yeti_c,

Your ideas are good, however due to the way the data is stored, it is not an easy thing to add.

I have added to my list of good ideas to think about, but sorry no promises.
r.
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Post by yeti_c »

stocksr wrote:
yeti_c wrote:Stocksr...

Not sure if this can be done but...

When you roll over the map you get the territories that you can attack...

However - it might be worth also showing the territories that can attack you? Perhaps with a Circle?

So square for attack... Circle for defend... Star for both? Or something?

Or perhaps different colours?

For a good example check out the KOTM map and roll over a King...

C.


Hi yeti_c,

Your ideas are good, however due to the way the data is stored, it is not an easy thing to add.

I have added to my list of good ideas to think about, but sorry no promises.


No worries - good luck if you can though...

It sounds like you'd have to reverse derive all the attacking possibilities by looping through all the territory data...

Could be done but may slow down loading of the screen up front - however I guess that you do loop through all of this data already to get the other info so perhaps not too much of a slow down?

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:
It sounds like you'd have to reverse derive all the attacking possibilities by looping through all the territory data...

Could be done but may slow down loading of the screen up front - however I guess that you do loop through all of this data already to get the other info so perhaps not too much of a slow down?

C.


You are correct in your analisys, why not have a go at updating the code your self. if you get somthing working, let me have a copy and I will look at integrating your changes into the published version.
r.
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Post by yeti_c »

stocksr wrote:
yeti_c wrote:
It sounds like you'd have to reverse derive all the attacking possibilities by looping through all the territory data...

Could be done but may slow down loading of the screen up front - however I guess that you do loop through all of this data already to get the other info so perhaps not too much of a slow down?

C.


You are correct in your analisys, why not have a go at updating the code your self. if you get somthing working, let me have a copy and I will look at integrating your changes into the published version.


Might do - "greasemonkey" is merely javascript isn't it?

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: merely javascript


Hurmph!

Greasemonkey scripts are highly crafted exquisite examples of the art that is JavaScript programming.

:D :D :D
r.
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Post by yeti_c »

stocksr wrote:
yeti_c wrote: merely javascript


Hurmph!

Greasemonkey scripts are highly crafted exquisite examples of the art that is JavaScript programming.

:D :D :D


Javascript programming is indeed an art form...

If art requires you to constantly test everything, repeatedly with a shit load of alert calls in anyways!!

C.
Image
Highest score : 2297
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 »

It shows how observant I am that I have only just noticed your beautiful extension to the official CC Greasemonkey script. I think I have probably been too busy losing games to notice :|

I'm not as impressed as I might otherwise be simply because I know what to expect from you ;)

After some study I believe I understand the enhanced features. If so this request will make sense.

Can you update the heading of the first stats table column from
Name to Name (cards) [consecutive turns missed]?
The text in the square brackets is probably too long to be practical, but hopefully I have understood the meaning of the square bracketed digit. Perhaps another user can think of a more concise, but meaningful, description.

Thanks very much for the script Robert.
User avatar
stocksr
Posts: 132
Joined: Wed Mar 07, 2007 11:30 am
Location: South Coast, UK

Post by stocksr »

cicero, You are correct in your understanding, the number in square brackets is indeed consecutive turns missed.

cicero wrote:Can you update the heading of the first stats table column from
Name to Name (cards) [consecutive turns missed]?


I am currently leaning towards

Code: Select all

Name (cards) [missed turns]

however I am also considering, moving the card count and the missed turn count into separate columns.

Please discuss.
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 »

Another feature request ...

All the options require that the user edit the script file.
Any way that could be incorporated into a clickable panel along the lines of:

colour blind mode is OFF
text map mode is OFF
etc ... ?

Or is that genuinely beyond the scope of JS ?


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
stocksr
Posts: 132
Joined: Wed Mar 07, 2007 11:30 am
Location: South Coast, UK

Post by stocksr »

cicero wrote:Another feature request ...

All the options require that the user edit the script file.
Any way that could be incorporated into a clickable panel along the lines of:

colour blind mode is OFF
text map mode is OFF
etc ... ?

Or is that genuinely beyond the scope of JS ?


Cicero


It's in the works stay tuned.
r.
User avatar
stocksr
Posts: 132
Joined: Wed Mar 07, 2007 11:30 am
Location: South Coast, UK

Post by stocksr »

NEW VERSION we are now on .6 (yes I know I missed .5 - that was a limited release for testing, friends and family only)

http://www.robertstocks.co.uk/conquerClub/conquerClub-rjs.6.user.js


CHANGES

Code: Select all

-----------------------------------------------------------------------------
   New features in Version RJS.6
-----------------------------------------------------------------------------
   * Adds Options Menu and moves settings into browser storage.
    There is no longer any need to edit the script to change options; it is done using the on page menu.
  * Handle Special case of playername in log not matching playername in player list ( See Game 332574)
-----------------------------------------------------------------------------
   New features in Version RJS.5
-----------------------------------------------------------------------------
   * Add Inspect - show information on hover
   * Change map highlights to be fully transparent
   * Add Continents information to statistics table.
   * Bug fix in statistics table: Changed the * indicator next to Territories
     to show * to indicate taking 1 territory will lose an army ** take 2 and *** take 3.
    [Indicated the wrong number of armies in previous versions.]
r.
poo-maker
Posts: 1275
Joined: Sun Feb 25, 2007 9:58 am
Location: Dublin, Ireland

Post by poo-maker »

The options toolbar is so useful, i wasn't able to open the script to edit the fade options in version 5, thanks alot.
User avatar
mibi
Posts: 3350
Joined: Thu Mar 01, 2007 8:19 pm
Location: The Great State of Vermont
Contact:

Post by mibi »

i edited the script but it doesn't change, still color blind. and if i re-edit, the changes are still there.

or where is the on page menu??
User avatar
Taff
Posts: 45
Joined: Fri Jan 26, 2007 7:28 am
Gender: Male
Location: On the edge of oblivion staring into the abyss!!! And Legion of the Damned.
Contact:

Post by Taff »

Sorry to seem to be an idiot ](*,) but how do you get into the script to edit it. I only want to turn the colour blind options and the fade off.
http://www.legion-of-the-damned.com/

I'm the lightning that strikes just before you hear the thunder. AAAWHOO! I can't stop killing you!

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

Post by stocksr »

Starting from the .6 release you can't edit the options in the script. You have to use the menu on the game page, look below the main menu on the left.
r.
FalconBeach
Posts: 1
Joined: Mon Apr 02, 2007 7:16 pm

Post by FalconBeach »

Thanks a lot. Now I can hax without my friends knowing lol :p
User avatar
Windparson
Posts: 243
Joined: Wed Jan 10, 2007 10:51 pm
Location: Central Virginia

Post by Windparson »

Man! If this gets any better, I know my wife is going to divorce me! The mods are just terrific. Don't know what I did before this came a long!!

Thanks again,

Windparson
"Get there fustest with the mostest", " War means fightin, and fightin' means killin." N.B.F

Find out where your enemy is. Get at him as soon as you can. Strike him as hard as you can, and keep moving on. U.S. Grant
User avatar
Luke035
Posts: 66
Joined: Mon Nov 13, 2006 2:30 pm
Gender: Male
Location: Sandusky, OH
Contact:

Post by Luke035 »

Kudos for another great improvement in adding the toggle button options to the Game Menu area! I haven't told my friends about these great add-ons. Does that make me a bad guy when I play against them with this "extra knowledge"?
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Post by yeti_c »

Stocksr...

This is cheeky I know - but can you make a new version #without# the card counting (now that we have it as standard)...

Another great option would be to be able to show the countries that make up a continent some how (similar to attack/defend highlight)... don't know how you would do it though -> where to rollover for it etc but I've got a game on the Germany map - and I'm buggered if I can tell which continent is which from the key!!

EDIT : Perhaps in your new "continents" on the right you can rollover the name there and it could highlight which countries these are...

Of course if you can just make it play the game for me and always roll 6's then you'd be ace!!!!

C.
Image
Highest score : 2297
User avatar
Ishiro
Posts: 324
Joined: Mon Jul 17, 2006 5:53 pm
Gender: Male
Location: Under the Rainbow
Contact:

Post by Ishiro »

How about integrating confirmation dialog popups from my script into your script and allow them to be toggled on and off per button in your settings? Lots of people might find that useful.
Image
User avatar
stocksr
Posts: 132
Joined: Wed Mar 07, 2007 11:30 am
Location: South Coast, UK

Post by stocksr »

yeti_c wrote:Stocksr...

This is cheeky I know - but can you make a new version #without# the card counting (now that we have it as standard)...

Another great option would be to be able to show the countries that make up a continent some how (similar to attack/defend highlight)... don't know how you would do it though -> where to rollover for it etc but I've got a game on the Germany map - and I'm buggered if I can tell which continent is which from the key!!

EDIT : Perhaps in your new "continents" on the right you can rollover the name there and it could highlight which countries these are...

Of course if you can just make it play the game for me and always roll 6's then you'd be ace!!!!

C.


Give a day or so and I will remove the card counter,

Regarding working out a map, try turning the text map on, its what I use.


Regarding rolling all 6s I could do that but I would have to give the other player 12 sided dice to compensate.
r.
User avatar
stocksr
Posts: 132
Joined: Wed Mar 07, 2007 11:30 am
Location: South Coast, UK

Post by stocksr »

Ishiro wrote:How about integrating confirmation dialog popups from my script into your script and allow them to be toggled on and off per button in your settings? Lots of people might find that useful.


Good idea - can you point me to the most up to date version so that I integrate the correct one.
r.
User avatar
Ishiro
Posts: 324
Joined: Mon Jul 17, 2006 5:53 pm
Gender: Male
Location: Under the Rainbow
Contact:

Post by Ishiro »

stocksr wrote:
Ishiro wrote:How about integrating confirmation dialog popups from my script into your script and allow them to be toggled on and off per button in your settings? Lots of people might find that useful.


Good idea - can you point me to the most up to date version so that I integrate the correct one.

You can get it from this thread:
http://www.conquerclub.com/forum/viewtopic.php?t=7051
Image
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Post by yeti_c »

Stocksr - just thought of another addition...

When you have Cards sometimes you might want to attack that territory so that when you trade you get the bonus...

Finding said territory can be hard (esp in Tamriel (or made up maps)) If you roll over the card name could it be highlighted on the map?

C.
Image
Highest score : 2297
Locked

Return to “Tool Archives”