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
Abishai
Posts: 52
Joined: Sun Feb 11, 2007 5:58 pm
Location: St. Louis
Contact:

Help.

Post by Abishai »

I did not read all 35 pages. (Only a few.) I do not understand how to make the changes even after reading them. I was told if I just deleted the old script and loaded the new I would be good to go. The problem is I do not even know how to delete the old script. Can someone help me. I miss my color blind option. It is a bit harder to play without it.
Troy--------Foot Soldier
Jesus Christ God Son Savior
User avatar
Abishai
Posts: 52
Joined: Sun Feb 11, 2007 5:58 pm
Location: St. Louis
Contact:

deleted user scripts.

Post by Abishai »

I was doing some more playing to see if I could figure things out. I click on the little monkey in the corner and found a line the said manage user script. I then could delete all my scripts. So I am going to add bob's and see how it goes.
Troy--------Foot Soldier
Jesus Christ God Son Savior
User avatar
Abishai
Posts: 52
Joined: Sun Feb 11, 2007 5:58 pm
Location: St. Louis
Contact:

Yeah It works.

Post by Abishai »

Yeah it works.
Troy--------Foot Soldier
Jesus Christ God Son Savior
oldbenjamin
Posts: 56
Joined: Mon Jun 11, 2007 5:21 pm

Strength

Post by oldbenjamin »

I have to ask what the reasoning behind the strength calculation is. It is currentArmies (how many you have) + expectedArmies (how many you will get) - (territories * (2/3)). Which as far as I can figure, means that every territory you have reduces strength. Can I ask the reasoning behind that?
User avatar
Ishiro
Posts: 324
Joined: Mon Jul 17, 2006 5:53 pm
Gender: Male
Location: Under the Rainbow
Contact:

Re: Strength

Post by Ishiro »

oldbenjamin wrote:I have to ask what the reasoning behind the strength calculation is. It is currentArmies (how many you have) + expectedArmies (how many you will get) - (territories * (2/3)). Which as far as I can figure, means that every territory you have reduces strength. Can I ask the reasoning behind that?


I think it is because, generally speaking, armies spread over larger areas are weaker and have more borders to defend... the score does not take into account the geography of the map.

I could be wrong though...
Image
User avatar
Nephilim
Posts: 1272
Joined: Tue Oct 03, 2006 11:16 pm
Location: ole kantuck

Post by Nephilim »

ummm, mine stopped working just now, going into panic mode......
Liberté, egalité, cash moné

Hey, Fox News: Pedicabo ego vos et irrumabo

My heart beats with unconditional love
But beware of the blackness that it's capable of
User avatar
lackattack
Posts: 6097
Joined: Sun Jan 01, 2006 10:34 pm
Location: Montreal, QC

Post by lackattack »

I just made the game chat run on AJAX. Must have broken BOB. Sorry I didn't think it would. Someone should come up with a fix soon enough.
User avatar
Night Strike
Posts: 8512
Joined: Wed Apr 18, 2007 2:52 pm
Gender: Male

Post by Night Strike »

So you were tinkering with the system. No wonder why CC wouldn't even open. And I miss my BOB. Thanks a lot lack. :cry: :cry: :evil:
Image
User avatar
happy2seeyou
Posts: 4021
Joined: Mon Jan 22, 2007 2:59 pm
Gender: Female
Location: A state that is in the shape of a mitten!
Contact:

Post by happy2seeyou »

I have not been able to use BOB in a week. (my computer is boxed up). I miss my BOB!!!
User avatar
narominded
Posts: 33
Joined: Thu Mar 22, 2007 4:14 am
Location: Orange County. Double pair...it's always a double pair!
Contact:

Post by narominded »

Yep, Lack changed something. I cant figure out exactly what it is any ideas?
Last edited by narominded on Mon Aug 13, 2007 11:57 pm, edited 1 time in total.
User avatar
Night Strike
Posts: 8512
Joined: Wed Apr 18, 2007 2:52 pm
Gender: Male

Post by Night Strike »

Someone will come by and fix it for us eventually.........for now, take as few turns as possible. :shock:
Image
User avatar
jako
Posts: 1022
Joined: Sun Jun 03, 2007 4:50 am
Gender: Male
Location: A lost soul with no-one to stalk.

Post by jako »

if u actually took the time to read about 3 posts from this, then u will see that lack said that he made the game chats run on AJAX and it broke BOB, no fix as of yet, cause it just happened like 10 minutes ago.
Image

Time to retire this much loved sig of mine with a new clan.
User avatar
Night Strike
Posts: 8512
Joined: Wed Apr 18, 2007 2:52 pm
Gender: Male

Post by Night Strike »

jako wrote:if u actually took the time to read about 3 posts from this, then u will see that lack said that he made the game chats run on AJAX and it broke BOB, no fix as of yet, cause it just happened like 10 minutes ago.


You weren't talking about me were you???
Image
Xyl
Posts: 68
Joined: Fri Apr 06, 2007 2:43 am
Location: Seattle, WA

Post by Xyl »

I looked at the code, and it looks like it has nothing to do with the game chat. Lack made a separate change in the way data on army positions is passed to map.php, and the script can't parse the new format.

Disclaimer: I'm using an older version of the script with some custom changes, YMMV...
User avatar
Incandenza
Posts: 4949
Joined: Thu Oct 19, 2006 5:34 pm
Gender: Male
Location: Playing Eschaton with a bucket of old tennis balls

Post by Incandenza »

It's not just BOB. I went back to Troy's script while the whole countries/territories thing was sorted out in BOB, and now I've got nothing.

Except, like neph, panic.

Next thing you know, we'll have to play this damn game on a piece of cardboard using actual dice.
THOTA: dingdingdingdingdingdingBOOM

Te Occidere Possunt Sed Te Edere Non Possunt Nefas Est
User avatar
narominded
Posts: 33
Joined: Thu Mar 22, 2007 4:14 am
Location: Orange County. Double pair...it's always a double pair!
Contact:

Post by narominded »

Yep, I hope someone knows how exactly to fix it. All I have ever taken is 1 java script class, well, and a second one that I failed. I found this code

/*---- Check for Required Components ----*/
var logDiv = document.getElementById('log');
var rightside = document.getElementById('right_hand_side');
var dashboard = document.getElementById('dashboard');
var map = document.getElementById('inner-map');


//If we cannot find any of the following just quit out.
if( !( logDiv && rightside && dashboard && map ) ) return;


I was only able to find document.getElementById('log') on the game script. I could find the items ('right_hand_side') and the others but there was no pretense of document.getElementById() before it. I really know nothing about programming I just enjoy playing around with it and trying to understand a fraction of it. Anyways, if some1 has a solution that would be great. Else, GL to us all.
rabbiton
Posts: 138
Joined: Sat May 12, 2007 7:24 pm

Post by rabbiton »

i fixed it temporarily, for myself at least

find the line:

var mapSize = armiesArr[0].split(/resolution=/)[1].split(/&/)[0];

and put after it:

mapSize='S';

if you use small maps or

mapSize='L';

if you like large.

i'm sure someone will fix it properly, but that's a quick fix
User avatar
narominded
Posts: 33
Joined: Thu Mar 22, 2007 4:14 am
Location: Orange County. Double pair...it's always a double pair!
Contact:

Post by narominded »

rabbiton wrote:i fixed it temporarily, for myself at least

find the line:
var mapSize = armiesArr[0].split(/resolution=/)[1].split(/&/)[0];
and put after it:
mapSize='S';
if you use small maps or
mapSize='L';
if you like large.
i'm sure someone will fix it properly, but that's a quick fix


I had to put mine before the code like so:
//alert(armiesArr[0]);
var mapName = armiesArr[0].split(/map=/)[1].split(/&/)[0];
mapSize= 's';
var mapSize = armiesArr[0].split(/resolution=/)[1].split(/&/)[0];

// alert('http://www.conquerclub.com/maps/'+mapName+'.xml');
But it seems to be working thus far. Thanks Rabbiton

It runs quite a bit slower though too. Oh well at least it works!
User avatar
lackattack
Posts: 6097
Joined: Sun Jan 01, 2006 10:34 pm
Location: Montreal, QC

Post by lackattack »

I rolled back my changes that broke this script, so everything should work as it did yesterday.
User avatar
magneticgoop
Posts: 851
Joined: Fri Jun 01, 2007 9:03 pm
Location: Screaming at the TV as Norv Turner turns the chargers into the worst team in the NFL =(

Post by magneticgoop »

greasemonkey died on me when i updated fire fox any help?
Fool me once, strike one. Fool me twice, strike...three.Image
User avatar
jako
Posts: 1022
Joined: Sun Jun 03, 2007 4:50 am
Gender: Male
Location: A lost soul with no-one to stalk.

Post by jako »

Night Strike wrote:
jako wrote:if u actually took the time to read about 3 posts from this, then u will see that lack said that he made the game chats run on AJAX and it broke BOB, no fix as of yet, cause it just happened like 10 minutes ago.


You weren't talking about me were you???


no i was refering to narominded, not u night strike

magneticgoop wrote:greasemonkey died on me when i updated fire fox any help?


where the hell have u been? that firefox prob was a month ago, adn its been fixed, this more recent prob (like last night) was due to lack making some changes to game chat and broke BOB, hes rolled back the changes so, hes saying BOB should be able to run again.

i havent seen it yet
Image

Time to retire this much loved sig of mine with a new clan.
User avatar
magneticgoop
Posts: 851
Joined: Fri Jun 01, 2007 9:03 pm
Location: Screaming at the TV as Norv Turner turns the chargers into the worst team in the NFL =(

Post by magneticgoop »

jako wrote:
magneticgoop wrote:greasemonkey died on me when i updated fire fox any help?


where the hell have u been? that firefox prob was a month ago, adn its been fixed, this more recent prob (like last night) was due to lack making some changes to game chat and broke BOB, hes rolled back the changes so, hes saying BOB should be able to run again.

i havent seen it yet

i just kept putting updates off and now bob doesn't work
well any real help then?
Fool me once, strike one. Fool me twice, strike...three.Image
User avatar
jako
Posts: 1022
Joined: Sun Jun 03, 2007 4:50 am
Gender: Male
Location: A lost soul with no-one to stalk.

Post by jako »

magneticgoop wrote:
jako wrote:
magneticgoop wrote:greasemonkey died on me when i updated fire fox any help?


where the hell have u been? that firefox prob was a month ago, adn its been fixed, this more recent prob (like last night) was due to lack making some changes to game chat and broke BOB, hes rolled back the changes so, hes saying BOB should be able to run again.

i havent seen it yet

i just kept putting updates off and now bob doesn't work
well any real help then?


go to the first post of this thread, and unistall ur current BOB, then install the patched BOB that was made to work with the XML changes adn it should work properly again
Image

Time to retire this much loved sig of mine with a new clan.
nathansamson
Posts: 11
Joined: Wed May 30, 2007 1:56 pm

Post by nathansamson »

And it seems to be broken again. (after the maintenance, it didn't work anymore)
User avatar
misterman10
Posts: 9412
Joined: Thu May 24, 2007 1:48 pm
Location: Out on the Pitch.
Contact:

Post by misterman10 »

nathansamson wrote:And it seems to be broken again. (after the maintenance, it didn't work anymore)


same here
Pleasant Chaps still suck cock.

Yakuza power.
Locked

Return to “Tool Archives”