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

Postby stocksr on Fri Mar 23, 2007 4:51 am

AndrewB wrote:Great update! One suggestion though.

Identifying what belongs to whom takes up a lot of resources on every refresh. So when I am eliminating someone, and clicking attack 100 times, it will slow down the process dramatically.

So here are my questions:

1. Can we cache it somehow? Probably not, because the armies might have been changes between those refreshes. Or maybe just cache XML? Because that AJAX call is still expensive.
2. Can we make this identification optional? So I will turn it off, when I am doing refreshes often...

Great job!


AndrewB , this version improves the 'what belongs to whom' code, I was searching the whole page, for all places the player name appears, (including the game log which was probably the performance problem), this version only attaches the mouseover code to the player list on the right of the map.

I have also added an option to turn it off if required, but please let me know if I have improved the performance at all.



Version .3 : http://robertstocks.co.uk/conquerClub/conquerclub-rjs.3.user.js
r.
User avatar
Corporal stocksr
 
Posts: 132
Joined: Wed Mar 07, 2007 11:30 am
Location: South Coast, UK

Postby yeti_c on Fri Mar 23, 2007 5:05 am

Love the changes...

Couple of things...

1) What's the "123456" bit added when you roll over "who owns what"? it increases depending on number of armies...

2) Why does the map grey?

3) Can I turn off the letter next to the name bit?
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Postby stocksr on Fri Mar 23, 2007 5:52 am

yeti_c wrote:1) What's the "123456" bit added when you roll over "who owns what"? it increases depending on number of armies...

Opps my bad that was some testing code that got left in, please download again - I have taken that out now.

yeti_c wrote:2) Why does the map grey?

To make the army numbers stand out more., you can adjust this or turn it off by editing the options; see the post by tahitiwahini that describes editing options.

yeti_c wrote:3) Can I turn off the letter next to the name bit?

Yes the option you want to edit is.
Code: Select all
OPTIONS['colorblind'] = false;
r.
User avatar
Corporal stocksr
 
Posts: 132
Joined: Wed Mar 07, 2007 11:30 am
Location: South Coast, UK

Postby podge on Fri Mar 23, 2007 5:58 am

Hi
my firefox updated and now its telling me greese monkey needs name rather than id. whereabouts can I change this anybody know ?
User avatar
Sergeant podge
 
Posts: 363
Joined: Sat Nov 11, 2006 5:05 pm

Postby SForce on Fri Mar 23, 2007 6:17 am

podge wrote:Hi
my firefox updated and now its telling me greese monkey needs name rather than id. whereabouts can I change this anybody know ?


Are you sure it's GreaseMonkey, isn't it ConquerTell?
Cook SForce
 
Posts: 6
Joined: Thu Mar 08, 2007 7:51 am
Location: Deventer

Postby podge on Fri Mar 23, 2007 6:21 am

I'm sorry you are right it must be conquer tell.how do I alter the settings.
User avatar
Sergeant podge
 
Posts: 363
Joined: Sat Nov 11, 2006 5:05 pm

Postby SForce on Fri Mar 23, 2007 6:23 am

podge wrote:I'm sorry you are right it must be conquer tell.how do I alter the settings.


Right click ConquererTell, left click the option above 'Open in Tab', it probably says '0' or an other number.
Then type in your username.
Cook SForce
 
Posts: 6
Joined: Thu Mar 08, 2007 7:51 am
Location: Deventer

Postby podge on Fri Mar 23, 2007 6:27 am

conquertell is there in the addons but it doesnt give me an option to do anything. the options box is greyed out. do you know where I could download it from again ?
User avatar
Sergeant podge
 
Posts: 363
Joined: Sat Nov 11, 2006 5:05 pm

Postby SForce on Fri Mar 23, 2007 6:29 am

podge wrote:conquertell is there in the addons but it doesnt give me an option to do anything. the options box is greyed out. do you know where I could download it from again ?


I didn't mean in the addons, just at the bottom of your screen. Next to the GreaseMonkey smiling face ;-)
Cook SForce
 
Posts: 6
Joined: Thu Mar 08, 2007 7:51 am
Location: Deventer

Postby podge on Fri Mar 23, 2007 6:31 am

thanks sforce. sorted now must have been having a blonde moment :oops:
User avatar
Sergeant podge
 
Posts: 363
Joined: Sat Nov 11, 2006 5:05 pm

Postby artur1 on Fri Mar 23, 2007 7:20 am

tahitiwahini wrote:
artur1 wrote:Hi all, I have just installed the new one and I got it to work correctly on all maps but, the USA. I cant see tabel that provides armies, cards and so on?


Take a look at that game again. Make sure the greasemonkey is red and smiling on that page. If he is, right-click and make sure the Conquer Club - Roberts Mods script is listed and checked. Finally, click the refresh icon on that page. You should see the stat table now.

The script really shouldn't have any issues with any of the maps.

Let us know what you find out.


Hi I have done it all it does not work, the strange thing is that the map with the text (y=24) does work but I cant get the table to work on that game. As I said before it is working fine on all the other maps. Maybe I should try to reinstall it. Why dont any of you guys check it out, is it working for you 288082.
Major artur1
 
Posts: 209
Joined: Sun Nov 19, 2006 8:12 pm

Postby tahitiwahini on Fri Mar 23, 2007 8:20 am

artur1 wrote:Hi I have done it all it does not work, the strange thing is that the map with the text (y=24) does work but I cant get the table to work on that game. As I said before it is working fine on all the other maps. Maybe I should try to reinstall it. Why dont any of you guys check it out, is it working for you 288082.


I looked at the game, the table seems to be working for me.

Short of reinstalling everything, I would restart Firefox and see if it's working for that game then.

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

Postby tahitiwahini on Fri Mar 23, 2007 8:29 am



I've noticed a difference between Version 3 and 2 that I don't think is an improvement. When you mouse over a player's name in the roster you see his holdings on the map highlighted. In version 3 it's hard to read the number of armies in the highlight box, while in version 2 the number of armies really stood out. When I'm looking at the map using the highlight feature what's important to me is the number of armies in the country, not the name of the country.

Could you tell me how to modify the script to get back to how version 2 displayed the number of armies when in highlight mode?

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

Postby stocksr on Fri Mar 23, 2007 9:13 am

tahitiwahini wrote:


Could you tell me how to modify the script to get back to how version 2 displayed the number of armies when in highlight mode?

Thanks!


tahitiwahini I don't undersatand the version .2 did not have the highlight on mouseover feature - however you can still access version 2 here if you prefer it.
Version .2 : http://robertstocks.co.uk/conquerClub/conquerclub-rjs.2.user.js
r.
User avatar
Corporal stocksr
 
Posts: 132
Joined: Wed Mar 07, 2007 11:30 am
Location: South Coast, UK

Postby tahitiwahini on Fri Mar 23, 2007 9:20 am

stocksr wrote:New Version:

Hi I have just posted a new version at
http://robertstocks.co.uk/conquerClub/conquerclub-rjs.2.user.js

The version includes ClessAlvein's modification to show the time in 12 hour format AS AN OPTION, so you can now choose your own poison.

It also adds another way of identifying what belongs to whom, try moving the mouse over a player name in the list.
_________________
r.


I'm currently back to using version .2 because of the script because I prefer the way the armies appear in highlight mode better in .2 than .3.

No one else seems to be complaining, so don't worry about it. I can figure out the difference by looking at the script; I was just being lazy by asking. I would like to step up to .3 because it probably runs faster and is more efficient.

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

Postby detlef on Fri Mar 23, 2007 9:36 am

Sorry, I'm a bit of a ludite but how do I change the script? Where are you getting to the text lines?
User avatar
Colonel detlef
 
Posts: 1111
Joined: Thu Jan 11, 2007 2:31 pm
Location: North Carolina

Postby yeti_c on Fri Mar 23, 2007 9:43 am

detlef wrote:Sorry, I'm a bit of a ludite but how do I change the script? Where are you getting to the text lines?


Grrr... Firefox went decidely gay on me whilst trying to edit the script... in the end I had to find the temp file copy to a new location - edit - uninstall existing version and then reinstall...

You *should* be able to right click on the monkey face - goto Manage User Scripts... select your script and click *edit*.

Save it somewhere edit it and then it should work.

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

Postby tahitiwahini on Fri Mar 23, 2007 9:52 am

detlef wrote:Sorry, I'm a bit of a ludite but how do I change the script? Where are you getting to the text lines?


http://www.conquerclub.com/forum/viewtopic.php?p=294543&highlight=Now#294543

Start from the part:

Now you want to edit the script.
Cheers,
Tahitiwahini
User avatar
Private 1st Class tahitiwahini
 
Posts: 964
Joined: Fri Jan 19, 2007 5:26 pm

Postby stocksr on Fri Mar 23, 2007 10:01 am

tahitiwahini wrote:
stocksr wrote:New Version:

Hi I have just posted a new version at
http://robertstocks.co.uk/conquerClub/conquerclub-rjs.2.user.js

The version includes ClessAlvein's modification to show the time in 12 hour format AS AN OPTION, so you can now choose your own poison.

It also adds another way of identifying what belongs to whom, try moving the mouse over a player name in the list.
_________________
r.


I'm currently back to using version .2 because of the script because I prefer the way the armies appear in highlight mode better in .2 than .3.

No one else seems to be complaining, so don't worry about it. I can figure out the difference by looking at the script; I was just being lazy by asking. I would like to step up to .3 because it probably runs faster and is more efficient.

Thanks.


Sorry that was me getting my version numbers muddled up, what you are seeing in the .3 release is some debug text that I forgot to remove.

Try the .4 release
http://robertstocks.co.uk/conquerClub/conquerclub-rjs.4.user.js
For the new feature in this release try moving the mouse over the map.
r.
User avatar
Corporal stocksr
 
Posts: 132
Joined: Wed Mar 07, 2007 11:30 am
Location: South Coast, UK

Postby yeti_c on Fri Mar 23, 2007 10:11 am

Love it... absolutely love it...

(Hovering over someone on the map shows you it's borders...)

Now the only thing that needs to be done is colouring of the drop downs to show you who you're attacking, deploying and fortifying...

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

Postby tahitiwahini on Fri Mar 23, 2007 10:17 am

yeti_c wrote:Love it... absolutely love it...

(Hovering over someone on the map shows you it's borders...)



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

Postby abel on Fri Mar 23, 2007 10:24 am

Good job Tr0y and stocksr!

I still wish I could figure out how to change the actual colors so that I don't need the letters.

The highlighting will come in very handy when you're red and you're looking for the last pink territory on the map. It's amazing how many improvements can be made to an old board game.

I haven't tried the improved counter, but it looks great.

Thanks everyone.
User avatar
Major abel
 
Posts: 368
Joined: Sat Dec 23, 2006 9:20 pm
Location: Somewhere in N.A.

Postby AndrewB on Fri Mar 23, 2007 10:32 am

tahitiwahini wrote:


I've noticed a difference between Version 3 and 2 that I don't think is an improvement. When you mouse over a player's name in the roster you see his holdings on the map highlighted. In version 3 it's hard to read the number of armies in the highlight box, while in version 2 the number of armies really stood out. When I'm looking at the map using the highlight feature what's important to me is the number of armies in the country, not the name of the country.

Could you tell me how to modify the script to get back to how version 2 displayed the number of armies when in highlight mode?

Thanks!


Yeah, I liked it the other way (display armies number not country name) a way better.

As per speed, it seems to be refreshing quicker, but to really test it i need to do this cascading elimination, and with me lately it does not happen often ;)

Great work!

Thanks
User avatar
Lieutenant AndrewB
 
Posts: 1814
Joined: Mon Jun 12, 2006 5:02 pm
Location: Edmonton, Canada, MST

Postby AndrewB on Fri Mar 23, 2007 10:47 am

I've just changed it to display armies myself, but it looks peculiar. The reason is the font mismatch between the underground image and highlighted army's square.

I wonder if anyone knows which font CC is using to display armies count.
User avatar
Lieutenant AndrewB
 
Posts: 1814
Joined: Mon Jun 12, 2006 5:02 pm
Location: Edmonton, Canada, MST

Postby tahitiwahini on Fri Mar 23, 2007 10:56 am

^It's been fixed in the new release...

stocksr wrote:Try the .4 release
http://robertstocks.co.uk/conquerClub/conquerclub-rjs.4.user.js
For the new feature in this release try moving the mouse over the map.
Cheers,
Tahitiwahini
User avatar
Private 1st Class tahitiwahini
 
Posts: 964
Joined: Fri Jan 19, 2007 5:26 pm

PreviousNext

Return to Tool Archives

Who is online

Users browsing this forum: No registered users