Conquer Club

BOB Bugs

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.

Re: BOB Bugs

Postby cspare on Sun Nov 09, 2008 12:32 pm

e_i_pi wrote:In the 'Aggression' and 'Reinforcements' sections, all the numbers are showing up as zero. Has this been reported before, or is it just me?

The Aggression and Reinforcements sections are actually from a different plugin than BOB, they are from ConquerStats. The problem might be related to a problem in BOB though:

(Technical explanation:)
BOB doesn't implement the refreshGMScript function correctly. It replaces the unsafeWindow's function with a new one, which removes the implementation ConquerStats uses. This doesn't cause any problems as long as the ConquerStats code is executed before BOB's (e.g. if ConquerStats is installed/updated after BOB was installed/updated). But BOB was recently updated, and by that introduced the problem.
To fix this BOB should call the original refreshGMScript's code after BOB's refreshGMScript is completed:
Code: Select all
var originalRefreshGMScript;
originalRefreshGMScript = unsafeWindow.refreshGMScript;
unsafeWindow.refreshGMScript = function()
{
   // Do Stuff
   originalRefreshGMScript();
}



A workaround for users is to change the order of the scripts as they appear in the Greasemonkey window. You can drag&drop the scripts to a new spot in the list. Make sure BOB script is placed above ConquerStats. Another way would be to reinstall ConquerStats.
Last edited by cspare on Sun Nov 09, 2008 12:51 pm, edited 1 time in total.
Sergeant 1st Class cspare
 
Posts: 101
Joined: Sun Apr 08, 2007 12:56 pm

Re: BOB Bugs

Postby Frop on Sun Nov 09, 2008 12:36 pm

cspare wrote:
e_i_pi wrote:In the 'Aggression' and 'Reinforcements' sections, all the numbers are showing up as zero. Has this been reported before, or is it just me?

The Aggression and Reinforcements sections are actually from a different plugin than BOB, they are from ConquerStats. The problem might be related to a problem in BOB though:

(Technical explanation:)
BOB doesn't implement the refreshGMScript function correctly. It replaces the unsafeWindow's function with a new one, which removes the implementation ConquerStats uses. This doesn't cause any problems as long as the ConquerStats code is executed before BOB's (e.g. if ConquerStats is installed/updated after BOB was installed/updated). But BOB was recently updated, and by that introduced the problem.
To fix this you should call the original refreshGMScript's code after BOB's code is completed:
Code: Select all
var originalRefreshGMScript;
originalRefreshGMScript = unsafeWindow.refreshGMScript;
unsafeWindow.refreshGMScript = function()
{
   // Do Stuff
   originalRefreshGMScript();
}

Isn't it somewhat easier for the average user to change the GM loading sequence at Manage User Scripts... so that ConquerStats is loaded before BOB?

Right mouse on Image -> Manage User Scripts... -> Drag/drop the scripts in the left window to change the loading sequence. Make sure Conquerstats precedes Conquer Club - BOB in the list.
Last edited by Frop on Sun Nov 09, 2008 12:40 pm, edited 1 time in total.
User avatar
Captain Frop
 
Posts: 1201
Joined: Thu May 10, 2007 3:02 pm

Re: BOB Bugs

Postby cspare on Sun Nov 09, 2008 12:39 pm

Frop wrote:Isn't it somewhat easier for the average user to change the GM loading sequence at Manage User Scripts... so that ConquerStats is loaded before BOB?

Hehe, beat you to it;) I had updated my post already ^^
Anyways your explanation is lot better ^^
ConquerStats should be below BOB in the list though, not on top. So in effect:
Right mouse on Image -> Manage User Scripts... -> Drag/drop the scripts in the left window to change the loading sequence. Make sure Conquer Club - BOB precedes Conquerstats in the list.
Sergeant 1st Class cspare
 
Posts: 101
Joined: Sun Apr 08, 2007 12:56 pm

Country Totals

Postby ben.carbery on Sun Nov 09, 2008 9:28 pm

Country totals are wrong in World 2.1, I haven't checked other maps.

I count 115 countries in the XML. However bob has two conflicting numbers. 113 under 'totals', but if you add up the numbers in brackets (fog of war) it adds up to only 112.
Sergeant ben.carbery
 
Posts: 20
Joined: Mon Sep 24, 2007 9:07 am

Re: Country Totals

Postby yeti_c on Mon Nov 10, 2008 4:28 am

ben.carbery wrote:Country totals are wrong in World 2.1, I haven't checked other maps.

I count 115 countries in the XML. However bob has two conflicting numbers. 113 under 'totals', but if you add up the numbers in brackets (fog of war) it adds up to only 112.


There are 113 zones in World 2.1 - And the CALC column doesn't have a value in the totals field - so I can only assume that there was 1 zone left neutral.

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

Re: BOB Bugs

Postby e_i_pi on Mon Nov 10, 2008 4:52 am

Fixed, yeah it was ConquerStats, it needed an update. Thanks guys :D
User avatar
Captain e_i_pi
 
Posts: 1775
Joined: Tue Feb 12, 2008 2:19 pm
Location: Corruption Capital of the world

Re: BOB Bugs

Postby lokisgal on Wed Nov 12, 2008 4:37 pm

i have a mac os 10.4.11

it wont seem to let me download the new bob for some reason

was auto updated to the new firefox - when i try an update bob I just see a flash of the box which usually comes up and asks me if i want to down load then nothing

any ideas??
Image
User avatar
Lieutenant lokisgal
SoC Training Adviser
 
Posts: 1514
Joined: Sat Mar 17, 2007 8:11 pm
Location: Clowns to the left of me Jokers to the right...
22

Re: BOB Bugs

Postby yeti_c on Thu Nov 13, 2008 1:37 am

lokisgal wrote:i have a mac os 10.4.11

it wont seem to let me download the new bob for some reason

was auto updated to the new firefox - when i try an update bob I just see a flash of the box which usually comes up and asks me if i want to down load then nothing

any ideas??


Do you still have Greasemonkey installed?

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

Re: BOB Bugs

Postby fishydance on Thu Nov 13, 2008 8:33 am

I'm having trouble with scripts since the Firefox update in the night. No new scripts will install, and existing ones are failing.
User avatar
Major fishydance
Clan Director
Clan Director
 
Posts: 979
Joined: Wed Aug 15, 2007 8:28 am
Location: Mini-soda (basically southern Canada)

Re: BOB Bugs

Postby yeti_c on Thu Nov 13, 2008 8:40 am

I've not had a Firefox update - what version of FF are you both running?

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

Re: BOB Bugs

Postby fishydance on Thu Nov 13, 2008 8:52 am

yeti_c wrote:I've not had a Firefox update - what version of FF are you both running?

C.


I'm using the Windows version 3.0.4. I decided to reinstall it, and that fixed the problem.
User avatar
Major fishydance
Clan Director
Clan Director
 
Posts: 979
Joined: Wed Aug 15, 2007 8:28 am
Location: Mini-soda (basically southern Canada)

Re: BOB Bugs

Postby yeti_c on Thu Nov 13, 2008 8:58 am

fishydance wrote:
yeti_c wrote:I've not had a Firefox update - what version of FF are you both running?

C.


I'm using the Windows version 3.0.4. I decided to reinstall it, and that fixed the problem.


I'm on 3.0.3 at the moment and haven't been prompted to upgrade...

Seems that may be the problem then.

Bizarre.

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

Re: BOB Bugs

Postby fishydance on Thu Nov 13, 2008 9:08 am

yeti_c wrote:I'm on 3.0.3 at the moment and haven't been prompted to upgrade...

Seems that may be the problem then.

Bizarre.

C.


Yeah it is bizarre. If anyone else runs into this problem, I'd reinstall Firefox. I didn't even do an uninstall of Firefox first, as I wanted to preserve my scripts if I could. Worked just fine.
User avatar
Major fishydance
Clan Director
Clan Director
 
Posts: 979
Joined: Wed Aug 15, 2007 8:28 am
Location: Mini-soda (basically southern Canada)

Re: BOB Bugs

Postby yeti_c on Thu Nov 13, 2008 9:18 am

fishydance wrote:
yeti_c wrote:I'm on 3.0.3 at the moment and haven't been prompted to upgrade...

Seems that may be the problem then.

Bizarre.

C.


Yeah it is bizarre. If anyone else runs into this problem, I'd reinstall Firefox. I didn't even do an uninstall of Firefox first, as I wanted to preserve my scripts if I could. Worked just fine.


So just an install over the top then?

Cool.

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

Re: BOB Bugs

Postby fishydance on Thu Nov 13, 2008 11:51 am

yeti_c wrote:So just an install over the top then?

Cool.

C.


Yes - right over the top worked very nicely and solved the problem without having to lose all the scripts that were there. I suspect that something in that update was corrupted and caused the original problem.
User avatar
Major fishydance
Clan Director
Clan Director
 
Posts: 979
Joined: Wed Aug 15, 2007 8:28 am
Location: Mini-soda (basically southern Canada)

Re: BOB Bugs

Postby yeti_c on Thu Nov 13, 2008 1:44 pm

fishydance wrote:
yeti_c wrote:So just an install over the top then?

Cool.

C.


Yes - right over the top worked very nicely and solved the problem without having to lose all the scripts that were there. I suspect that something in that update was corrupted and caused the original problem.


Good stuff - I've just been upgraded - but haven't taken a turn yet... will post my findings - hopefully Mozilla fixed it in the interim!

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

Re: BOB Bugs

Postby lokisgal on Thu Nov 13, 2008 9:54 pm

yeti_c wrote:
lokisgal wrote:i have a mac os 10.4.11

it wont seem to let me download the new bob for some reason

was auto updated to the new firefox - when i try an update bob I just see a flash of the box which usually comes up and asks me if i want to down load then nothing

any ideas??


Do you still have Greasemonkey installed?

C.



yes I still have Greasemonkey - the last version of bob is working fine - just cant seem to get the new one to download
Image
User avatar
Lieutenant lokisgal
SoC Training Adviser
 
Posts: 1514
Joined: Sat Mar 17, 2007 8:11 pm
Location: Clowns to the left of me Jokers to the right...
22

Re: BOB Bugs

Postby yeti_c on Fri Nov 14, 2008 4:03 am

lokisgal wrote:
yeti_c wrote:
lokisgal wrote:i have a mac os 10.4.11

it wont seem to let me download the new bob for some reason

was auto updated to the new firefox - when i try an update bob I just see a flash of the box which usually comes up and asks me if i want to down load then nothing

any ideas??


Do you still have Greasemonkey installed?

C.



yes I still have Greasemonkey - the last version of bob is working fine - just cant seem to get the new one to download


OK - a similar user had this same problem - can you reinstall Firefox and see if that solves it?

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

Re: BOB Bugs

Postby yeti_c on Fri Nov 14, 2008 4:03 am

yeti_c wrote:
fishydance wrote:
yeti_c wrote:So just an install over the top then?

Cool.

C.


Yes - right over the top worked very nicely and solved the problem without having to lose all the scripts that were there. I suspect that something in that update was corrupted and caused the original problem.


Good stuff - I've just been upgraded - but haven't taken a turn yet... will post my findings - hopefully Mozilla fixed it in the interim!

C.


Well BOB still works at the moment - but I haven't tried to upgrade.

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

Re: BOB Bugs

Postby yeti_c on Fri Nov 14, 2008 9:00 am

Check Blues armies out...

Game 3168896

It seems that if one player is killed then their partner deadbeats - the FOW analyzer gives the armies to the dead played instead of no-one.

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

Re: BOB Bugs

Postby tabsnake on Fri Nov 14, 2008 12:25 pm

tabsnake wrote:on the Statistics section all the information is highlighted in each individual persons color and makes it very difficult to read. So for example the red person has the hole line highlighted in red, green is highlighted in green, and so on. How do I get this to turn off so just the text is the persons color and the line is not highligted in the persons color? Please let me know.

thank you



Can anybody please help me with this.

Thank You
User avatar
Lieutenant tabsnake
 
Posts: 242
Joined: Wed Jan 03, 2007 7:20 pm
Location: California

Re: BOB Bugs

Postby yeti_c on Fri Nov 14, 2008 1:32 pm

tabsnake wrote:
tabsnake wrote:on the Statistics section all the information is highlighted in each individual persons color and makes it very difficult to read. So for example the red person has the hole line highlighted in red, green is highlighted in green, and so on. How do I get this to turn off so just the text is the persons color and the line is not highligted in the persons color? Please let me know.

thank you



Can anybody please help me with this.

Thank You


I tried before - you appear to have more than one copy of BOB or conflicting scripts installed.

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

Re: BOB Bugs

Postby tabsnake on Wed Nov 19, 2008 11:44 am

yeti_c wrote:
tabsnake wrote:
tabsnake wrote:on the Statistics section all the information is highlighted in each individual persons color and makes it very difficult to read. So for example the red person has the hole line highlighted in red, green is highlighted in green, and so on. How do I get this to turn off so just the text is the persons color and the line is not highligted in the persons color? Please let me know.

thank you



Can anybody please help me with this.

Thank You


I tried before - you appear to have more than one copy of BOB or conflicting scripts installed.

C.


That was it!!! Thank You!
User avatar
Lieutenant tabsnake
 
Posts: 242
Joined: Wed Jan 03, 2007 7:20 pm
Location: California

Re: BOB Bugs

Postby jkppkj on Sun Nov 23, 2008 1:23 am

This is more of a scripts in general bug from a newbie to this whole Greasemonkey world

When I run BOB, conquerstats, dice analyzer, or clickable maps in any combo that I've tried so far the map will stop auto-refreshing in speed games and I won't be able to click any of the buttons (Attack, Reinforce, etc.) on the page.

Running FF3 in Vista (if that makes a difference)
Sergeant jkppkj
 
Posts: 12
Joined: Mon Aug 04, 2008 3:39 am

Re: BOB Bugs

Postby yeti_c on Sun Nov 23, 2008 3:52 am

jkppkj wrote:This is more of a scripts in general bug from a newbie to this whole Greasemonkey world

When I run BOB, conquerstats, dice analyzer, or clickable maps in any combo that I've tried so far the map will stop auto-refreshing in speed games and I won't be able to click any of the buttons (Attack, Reinforce, etc.) on the page.

Running FF3 in Vista (if that makes a difference)


Next time it happens - can you goto "Tools -> Error Console" Click the "Errors" tab - and then post anything in there in here.

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

PreviousNext

Return to Tool Archives

Who is online

Users browsing this forum: No registered users