BOB version 1.2 [was CC Greasemonkey script - unofficial]
Moderator: Tech Team
Forum rules
Please read the Community Guidelines before posting.
Please read the Community Guidelines before posting.
-
rondosocal
- Posts: 16
- Joined: Tue May 29, 2007 7:36 pm
- Gender: Male
- Location: Southern California
Bobs grease monkey script
This script makes the game enjoyable and worthwhile. Without it the whole experience is worse than my 30-yr-old Risk board game. Why was the interface changed so this script no longer works? When will it be fixed? Why doesn't Conquer Club permanently add the features that Bobs provides?
New Interface & Monkey Script
I'm looking forward to a updated version of your monkey script to work with the new game interface.
BEER Not just a breakfast beverage any longer!
Is anyone working on the updating BOB to work with AJAX?
Don't forget, that is temporary fix, and lack can disable it it any minute. It was very nice of him to give us the option to disable it.
I am not very good with JS, but if noone is working on it, I will start looking into this. I just know that there are more efficient and more talented programmer in web apps here, then myself
Don't forget, that is temporary fix, and lack can disable it it any minute. It was very nice of him to give us the option to disable it.
I am not very good with JS, but if noone is working on it, I will start looking into this. I just know that there are more efficient and more talented programmer in web apps here, then myself

- 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
AndrewB wrote:Is anyone working on the updating BOB to work with AJAX?
As far as I know, Rob (stocksr) is not working on updating BOB and is not likely to return to it "soon". I am related to Rob in real life.
I would suggest that AndrewB, and/or other members of the community, take on the revisions required to get BOB to work with the new technologies on the site and indeed take BOB forward beyond that as CC progresses.
As AndrewB points out the ability to turn AJAX functionality off is definitely only temporary. I think it would be unwise to leave BOB untouched in the hope that stocksr will return in time to update it before this temporary feature is removed.
I will ask Rob what his thoughts are and post to this thread accordingly.
Regards
Cicero
[author of Help/Info text in BOB]
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.
random me statistic @ 13 December 2008 - 1336 posts : 232nd most public posts (not counting Tower of Babble) of all time.
The basic problem here is that first Greasemonkey modifies the html when it's loaded, and then AJAX comes by and modifies it again. Even if it's modified so that Greasemonkey doesn't break the AJAX stuff - which shouldn't be too hard - getting the greasemonkey-added elements to update when the map refreshes will be a pain in the neck...
The only way I can see it working is for Greasemonkey to inject its own javascript code into the AJAX code, to do all the stuff Greasemonkey is currently doing. This will basically require writing a new Greasemonkey script, cribbing as much code as possible from the old one.
I might see what I can do, I'm definitely not busy and I can handle metaprogramming. Unfortunately Javascript isn't one of my stronger languages.
The only way I can see it working is for Greasemonkey to inject its own javascript code into the AJAX code, to do all the stuff Greasemonkey is currently doing. This will basically require writing a new Greasemonkey script, cribbing as much code as possible from the old one.
I might see what I can do, I'm definitely not busy and I can handle metaprogramming. Unfortunately Javascript isn't one of my stronger languages.
- Ishiro
- Posts: 324
- Joined: Mon Jul 17, 2006 5:53 pm
- Gender: Male
- Location: Under the Rainbow
- Contact:
It might actually be easier to break up the script and get small parts working separately.
The main thing I want back is the XML parser that showed me which countries could attack which countries by hovering over them. That helped a ton on the maps where it sometimes isn't clear if places share a border or not.
The main thing I want back is the XML parser that showed me which countries could attack which countries by hovering over them. That helped a ton on the maps where it sometimes isn't clear if places share a border or not.
Rebuild BOB or change it is not a easy thing, specially for who are not Robert (who write it)!
I do not play team games and has there some functions that is not important to me.
Honestly, what I find important is card, territories and armies count and map inspect.
What functions do you think is important?
I do not play team games and has there some functions that is not important to me.
Honestly, what I find important is card, territories and armies count and map inspect.
What functions do you think is important?
Brazil #3 @ Agu, 2007.
- cheekbones3
- Posts: 17
- Joined: Sat Mar 24, 2007 8:08 am
Stupid question (probably again)
Firstly, what does Ajax actually do, and secondly, why isn't Bob providing all the information it used to when Ajax is turned off?
Not sure whether this is the right place to mention this, but:
BOB doesn't currently include support for the new xml map functions: bombardments, required and overrules, which have now been quenched for the first time in the Pearl Harbor map.
Any clever bods out there to code this?
mucho gracias in advance
BOB doesn't currently include support for the new xml map functions: bombardments, required and overrules, which have now been quenched for the first time in the Pearl Harbor map.
Any clever bods out there to code this?
mucho gracias in advance
- Ishiro
- Posts: 324
- Joined: Mon Jul 17, 2006 5:53 pm
- Gender: Male
- Location: Under the Rainbow
- Contact:
Re: Stupid question (probably again)
cheekbones3 wrote:Firstly, what does Ajax actually do, and secondly, why isn't Bob providing all the information it used to when Ajax is turned off?
AJAX is a method for update parts of the page without reloading the whole page. And even with AJAX off, lack renamed a few pieces of the page so that the script doesn't work right.
- Ishiro
- Posts: 324
- Joined: Mon Jul 17, 2006 5:53 pm
- Gender: Male
- Location: Under the Rainbow
- Contact:
benjikat wrote:Not sure whether this is the right place to mention this, but:
BOB doesn't currently include support for the new xml map functions: bombardments, required and overrules, which have now been quenched for the first time in the Pearl Harbor map.
Any clever bods out there to code this?
mucho gracias in advance
I'll take a look at them once I finish with the AJAX compatible version of BOB.
- Ishiro
- Posts: 324
- Joined: Mon Jul 17, 2006 5:53 pm
- Gender: Male
- Location: Under the Rainbow
- Contact:
Well...
1) You have to be using the FireFox web browser.
2) You have to install the Greasemonkey extension for FireFox.
3) You have to install the script (click on it) from the first post in this thread.
4) You have to go to the "My Settings" section on Conquer Club and turn off AJAX.
Then you'll be ready to play with BOB.
1) You have to be using the FireFox web browser.
2) You have to install the Greasemonkey extension for FireFox.
3) You have to install the script (click on it) from the first post in this thread.
4) You have to go to the "My Settings" section on Conquer Club and turn off AJAX.
Then you'll be ready to play with BOB.


