Page 28 of 42

Re: BOB Bugs

Posted: Wed Dec 10, 2008 11:47 am
by yeti_c
clapper011 wrote:I started getting this error today:
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: file:///C:/Documents%20and%20Settings/Owner/Application%20Data/Mozilla/Firefox/Profiles/7s59918e.default/extensions/%7Be4a8a97b-f2ed-450b-b12d-ee082ba24781%7D/components/greasemonkey.js :: getFullLog :: line 3464" data: no]

but i have been having allot of trouble , with page not loading, and having to hit refresh or go and come back into the game.


You can get that error - if you leave a game whilst the log is still downloading...

C.

Re: BOB Bugs

Posted: Wed Dec 10, 2008 9:05 pm
by Zemljanin
Forgive me for not reading all 46 pages, if this bug is already reported before - just let me know and give me some help to find the corresponding posts...

(I can't determine who's responsible - BOB, Lack's engine, or Firefox itself.)

I've just recently realized that it is better to keep BOB off and just turn it on when it's needed... And today, I first time tried to play some moves without BOB.

I can do ONLY ONE operation and all buttons remain dead! That means:

i) I opened a game in new tab, replaced cards but couldn't deploy.
ii) I had to open game again (and I closed the previous one) and then deploy. I couldn't attack, though...
iii) I opened game third time and threw dice. He got six.
iv) for next attack - again a new copy of the game...

I don't need to proceed, you understand...

(It's not an isolated case, I played this way in three games today)

Re: BOB Bugs

Posted: Thu Dec 11, 2008 2:29 am
by yeti_c
Zemljanin wrote:Forgive me for not reading all 46 pages, if this bug is already reported before - just let me know and give me some help to find the corresponding posts...

(I can't determine who's responsible - BOB, Lack's engine, or Firefox itself.)

I've just recently realized that it is better to keep BOB off and just turn it on when it's needed... And today, I first time tried to play some moves without BOB.

I can do ONLY ONE operation and all buttons remain dead! That means:

i) I opened a game in new tab, replaced cards but couldn't deploy.
ii) I had to open game again (and I closed the previous one) and then deploy. I couldn't attack, though...
iii) I opened game third time and threw dice. He got six.
iv) for next attack - again a new copy of the game...

I don't need to proceed, you understand...

(It's not an isolated case, I played this way in three games today)


By "turning BOB off" - did you use the "Auto BOB" feature?

If so - you're correct - that doesn't work too well at the moment... I suggest either - turning BOB off completely (in the menu bottom right hand corner) or always running with Auto BOB : ON - or always clicking "Start BOB" after your game has first loaded.

C.

Re: BOB Bugs

Posted: Thu Dec 11, 2008 11:14 am
by Zemljanin
yeti_c wrote:By "turning BOB off" - did you use the "Auto BOB" feature?

Yes. However, if I turn it off in Greasemonkey's menu, nothing changes. It seems I'll have to make a new habit - starting BOB every time...

Re: BOB Bugs

Posted: Thu Dec 11, 2008 11:33 am
by yeti_c
Zemljanin wrote:
yeti_c wrote:By "turning BOB off" - did you use the "Auto BOB" feature?

Yes. However, if I turn it off in Greasemonkey's menu, nothing changes. It seems I'll have to make a new habit - starting BOB every time...


For the GM menu to work - it will need to be done before you enter the game.

I'm looking into fixing the Auto BOB thing - but am massively busy at the moment.

C.

Re: BOB Bugs

Posted: Mon Dec 15, 2008 6:44 am
by Gilligan
Not sure if this is a BOB bug, but here goes.

Game 3830582

BOB is telling me that there are teams in the game... But there aren't. Ironically, the games were supposed to be teams.

Re: BOB Bugs

Posted: Mon Dec 15, 2008 6:51 am
by yeti_c
Ha - this is indeed a bug...

The (old) code does this...

Code: Select all

//    ---- Get Game Type ----
    if (dashboard.innerHTML.has("Doubles") ) m_gameType = eGameType.DOUBLES;
    else if (dashboard.innerHTML.has("Triples") ) m_gameType = eGameType.TRIPLES;
    else if (dashboard.innerHTML.has("Quadruples") ||  dashboard.innerHTML.has("Game Type: <b></b>")) m_gameType = eGameType.QUADRUPLES;
    else if (dashboard.innerHTML.has("Terminator") ) m_gameType = eGameType.TERMINATOR;
    else if (dashboard.innerHTML.has("Assassin") ) m_gameType = eGameType.ASSASSIN;
    else m_gameType = eGameType.STANDARD;


And your tournament is called "Triples of Terror" - which catches the pattern match (now that the title is displayed)!!

Amusing.

C.

Re: BOB Bugs

Posted: Mon Dec 15, 2008 6:57 am
by Gilligan
So it's doing that because 'triples' is in the title?

Re: BOB Bugs

Posted: Mon Dec 15, 2008 7:00 am
by yeti_c
Gilligan wrote:So it's doing that because 'triples' is in the title?


Yep!

C.

Re: BOB Bugs

Posted: Fri Dec 19, 2008 1:30 am
by Gohozoq Pohobo
On a similar note, I've tried reinstalling firefox, Bob and grease monkey to no avail.
Any other suggestions?

Re: BOB Bugs

Posted: Sun Dec 28, 2008 1:53 pm
by DragonCharmer84
Interesting. It appears that the User Scripts Update script on my computer causes BOB to hang. It stops at "Creating Statistics Table" and I have to reload the page a bunch of times before it gets past that point. By disabling the User Scripts Update script, I'm able to load BOB just fine.

Re: BOB Bugs

Posted: Tue Dec 30, 2008 10:47 pm
by n00blet
Something interesting I noticed tonight:

[bigimg]http://i351.photobucket.com/albums/q475/ThaRealDonut/BOBBug.jpg[/bigimg]

If you'll notice, Guderian09 is eliminated, but BOB thinks that he still has 1 territory (this is a foggy game).
I have no explanation as to why this would happen. Thoughts?

Re: BOB Bugs

Posted: Tue Dec 30, 2008 11:09 pm
by lancehoch
When was the last time you updated BOB? There is the possibility that BOB did not parse the entire log and missed one lost territory for yellow due to the log not being loaded entirely.

Re: BOB Bugs

Posted: Tue Dec 30, 2008 11:16 pm
by n00blet
It says mine is up to date...Did I miss something?

Re: BOB Bugs

Posted: Tue Dec 30, 2008 11:32 pm
by lancehoch
I don't know, it seems to happen every once in a while. There was a game a little while back on Age of Merchants where someone was not assigned the right territories or something.

Re: BOB Bugs

Posted: Tue Dec 30, 2008 11:48 pm
by n00blet
Oh, another thing: at the beginning of every foggy New World game it says that all of the players have been eliminated (e.g. it draws a line through their name on the statistics box and says they have 0 territories). This persists until they have taken their turn, and then it works correctly. This doesn't happen with FW, any of the AORs, or treasure of galapagos to my knowledge, so I figure it's something map-specific...

Re: BOB Bugs

Posted: Fri Jan 02, 2009 11:34 am
by yeti_c
Yeah there are a couple of small issues in the FOW counter - mainly around starting positions - and deadbeats after eliminations.

C.

Re: BOB Bugs

Posted: Fri Jan 02, 2009 4:30 pm
by lancehoch
Are there any issues with a team game when one user deadbeats? I have not had a game like that, but I know the territories transfer to another teammate.

Re: BOB Bugs

Posted: Sat Jan 03, 2009 3:19 pm
by yeti_c
lancehoch wrote:Are there any issues with a team game when one user deadbeats? I have not had a game like that, but I know the territories transfer to another teammate.


Yes - see above post!!!

C.

Re: BOB Bugs

Posted: Sat Jan 03, 2009 3:26 pm
by lancehoch
I thought you were only referring to standard fog games, my mistake.

Re: BOB Bugs

Posted: Sun Jan 04, 2009 1:48 pm
by yeti_c
lancehoch wrote:I thought you were only referring to standard fog games, my mistake.


No no - Deadbeats - and eliminations can only affect other counts in Team games!!

C.

Re: BOB Bugs

Posted: Sun Jan 04, 2009 3:33 pm
by cspare
Yeti, I was wondering if you had planned on fixing the bug as described below. It would be nice if you could include it for next release.

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

Re: BOB Bugs

Posted: Sun Jan 04, 2009 8:19 pm
by n00blet
I don't know why this is happening, but it's pretty annoying:
If I have BOB enabled, I'll press "begin turn" or "assault" or any other action button, and nothing will happen. I have to refresh at least once or twice to get it to work for that one action, and then it stops working again. Both of the other plugins I have installed and operational are working fine (Map Rank, Clickies).
If it helps, I recently used User Agent Switcher to switch the Mobile Safari iPhone User Agent, but then switched back to the default. It was around this time that the problems started cropping up. I'm using FF3 v3.0.5...any insight?

Re: BOB Bugs

Posted: Mon Jan 05, 2009 1:16 am
by Night Strike
I should probably go ahead and post this here, even though it might have just been an issue with the BR games and not affect all games.

While I was putting together the BR carnage report, loading the full logs did not calculate the terminator points correctly at the end of the elimination summary. If I refreshed the page (to close the full log view), they were calculated correctly. I noticed it on the Europe BR, but it affected all the terminator ones.

EDIT: After chatting with lance, it looks like the script works correct with the small log OR having full logs load by default. The problem showed up when I clicked the load entire log button.

Re: BOB Bugs

Posted: Tue Jan 06, 2009 7:56 am
by yeti_c
Yeah - there seems to be an issue with the "load full log" thing - I'm not sure if it's me of Lack though.

C.