BOB Bugs
Moderator: Tech Team
Forum rules
Please read the Community Guidelines before posting.
Please read the Community Guidelines before posting.
Re: BOB Bugs
The version of mozilla was updated today and once installed it gave an error message saying BOBs uncompatable with it. I've tried to system restore prior to the update to no effect... any suggestions?
Re: BOB Bugs
More on Aredennes - I'm having similar problems as others. On top of that though sometimes it loads in to the map just fine, but when I click on the drop down box to place units the bottom half is grey(not my team color) and if I select and click the placement button nothing happens. The game I'm having problems with is Game 2536178
As a side note - I'm also playing Game 2495389 on the same map with no problems.
Problem game - 4 player and I'm blue
Working game - 8 players and I'm red
Texans War
Might not be Bob. This might be a map bug.
Game 2495399 If you cursor over Lubbock on the top center of the map it says Pampa. The reason it might be the map is that when I go to place units, I don't own Lubbock , I own pampa
As a side note - I'm also playing Game 2495389 on the same map with no problems.
Problem game - 4 player and I'm blue
Working game - 8 players and I'm red
Texans War
Might not be Bob. This might be a map bug.
Game 2495399 If you cursor over Lubbock on the top center of the map it says Pampa. The reason it might be the map is that when I go to place units, I don't own Lubbock , I own pampa
Re: BOB Bugs
Kilazul wrote:Texans War
Might not be Bob. This might be a map bug.
Game 2495399 If you cursor over Lubbock on the top center of the map it says Pampa. The reason it might be the map is that when I go to place units, I don't own Lubbock , I own pampa
This has been mentioned before. The XML was coded incorrectly, the army circle locations for Pampa and Lubbock were switched. For any bugs with a specific map, please post the error in the specific thread in the Map Foundry (Link). It appears that currently they are trying to get in touch with the person who wrote the XML file for that map.
- Night Strike
- Posts: 8512
- Joined: Wed Apr 18, 2007 2:52 pm
- Gender: Male
Re: BOB Bugs
My Ardennis problem seems to be a little bit different than the others. When I was attacking from LVIII to Army Group B, the defending army count never showed up in the drop down list. Then, when I attacked the map hung and the dice never showed up. I had to F5, Ctrl F5, or leave the map all together to get it to continue. I've also had a problems on advancing the game after confirming End Attacks.
Re: BOB Bugs
I was having the "Initializing Statistics Table" hangup on issue, but not on the WWII Ardennes map. For me it was happening on the Rail Europe map.
I fixed it by changing these lines in the bob script (lines 4661 to 4663):
to
The same code is at lines 4766 to 4768, and I changed those, too, although I was able to the the map to load with only the first change.
If someone wants to test this out for their WWII Ardennes map and report back, I would appreciate it. Like I said, I was able to load that map ok, but my symptoms were the same on the Rail Europe map.
If things go wrong you should be able to just reinstall yeti_c's version of the script.
Modified script: http://ml10.org/cc/conquer_club_-_bob.user.js
Again, use at your own risk... it works for me, etc, etc.
I fixed it by changing these lines in the bob script (lines 4661 to 4663):
Code: Select all
title = title.replace("&",/&/);
title = title.replace("<",/</);
title = title.replace(">",/>/);
to
Code: Select all
title = title.replace("&","&");
title = title.replace("<","<");
title = title.replace(">",">");
The same code is at lines 4766 to 4768, and I changed those, too, although I was able to the the map to load with only the first change.
If someone wants to test this out for their WWII Ardennes map and report back, I would appreciate it. Like I said, I was able to load that map ok, but my symptoms were the same on the Rail Europe map.
If things go wrong you should be able to just reinstall yeti_c's version of the script.
Modified script: http://ml10.org/cc/conquer_club_-_bob.user.js
Again, use at your own risk... it works for me, etc, etc.
Re: BOB Bugs
Sorry guys, I misread the trouble some of you were having. If you're getting stuck on the "Initializing Statistics Table" when Bob loads your map, my change might help you out. The other issues that are happening with the WWII Ardennes map would not be fixed by this change.
Sorry for the confusion...
Sorry for the confusion...
Re: BOB Bugs
hambone wrote:Sorry guys, I misread the trouble some of you were having. If you're getting stuck on the "Initializing Statistics Table" when Bob loads your map, my change might help you out. The other issues that are happening with the WWII Ardennes map would not be fixed by this change.
Sorry for the confusion...
Nice work Hambone - when I read this bug - I had an inkling it would be todo with that part of the code...
When I get a chance sometime soon - I'll run some tests and fix it - I'm pretty sure that you might have it nailed though.
C.

Highest score : 2297
Re: BOB Bugs
Ok, I have a workaround for the WWII Ardennes problems. Not sure if this is the proper way to do this, but it works.
Problem: It turns out this problem has to do with the entity encoded characters for some of the territory names. The from_country and to_country drop downs don't appear to account for the entity encoded characters.
Example:
in the xml, there is this territory: which displays as
but in the drop downs (and the game log) it shows up like this: I checked this in FireFox 3.0b5 and IE (IE6, I think).
So when the javascript tries to find the territory/country "3 Fallschirmj?ger Division", it can't and the script errors out.
My work around involves stripping out the non-ascii characters from the countriesArray and trimming the question marks from the names in the to_country and from_country drop downs when doing the comparison, if the appropriate entry in countriesArray cannot be found through the other means. It's not fool-proof, but it appears to work. If a territory/country has a question mark in it's name, or if you strip the unicode characters from one territory/country and it equals the name of another territory/country, there could be issues.
Updated file, and in patch form
Problem: It turns out this problem has to do with the entity encoded characters for some of the territory names. The from_country and to_country drop downs don't appear to account for the entity encoded characters.
Example:
in the xml, there is this territory:
Code: Select all
3 FallschirmjȨger DivisionCode: Select all
3 FallschirmjȨger Divisionbut in the drop downs (and the game log) it shows up like this:
Code: Select all
3 Fallschirmj?ger DivisionSo when the javascript tries to find the territory/country "3 Fallschirmj?ger Division", it can't and the script errors out.
My work around involves stripping out the non-ascii characters from the countriesArray and trimming the question marks from the names in the to_country and from_country drop downs when doing the comparison, if the appropriate entry in countriesArray cannot be found through the other means. It's not fool-proof, but it appears to work. If a territory/country has a question mark in it's name, or if you strip the unicode characters from one territory/country and it equals the name of another territory/country, there could be issues.
Updated file, and in patch form
Re: BOB Bugs
Yeah - I've a feeling that select boxes don't support all the characters that HTML supports...
Which is an oversight by MS/Mozilla!!
I've not had a chance to look at this yet - so use hambone's files for now - until I can get a new version up. (I've not tested them yet - as am not in Ardennes game just yet -> Note to self- this will need to be fixed before Iceland comes out)
C.
Which is an oversight by MS/Mozilla!!
I've not had a chance to look at this yet - so use hambone's files for now - until I can get a new version up. (I've not tested them yet - as am not in Ardennes game just yet -> Note to self- this will need to be fixed before Iceland comes out)
C.

Highest score : 2297
Re: BOB Bugs
Just a small point , I think that special character is wrong.
If you search for the word Fallschirmjager you will see it should be an 'a umlaut' which is in fact ä not Ȩ
The display is wrong as a result. You may also find this mucks up the search.
If you search for the word Fallschirmjager you will see it should be an 'a umlaut' which is in fact ä not Ȩ
The display is wrong as a result. You may also find this mucks up the search.
Re: BOB Bugs
Just like to add that hambone's RegExp fix for title.replace is absolutely mandatory as & is a special character.
Re: BOB Bugs
I've put in a request on the XML thread - actually it's probably better to avoid HTML special characters as BOB will
be comparing the raw XML coding with the dropdown HTML parsed coding and will fail if I read the code correctly.
So avoiding these special characters is better.
Are there any other maps with HTML special characters out of interest?
be comparing the raw XML coding with the dropdown HTML parsed coding and will fail if I read the code correctly.
So avoiding these special characters is better.
Are there any other maps with HTML special characters out of interest?
Re: BOB Bugs
chipv wrote:I've put in a request on the XML thread - actually it's probably better to avoid HTML special characters as BOB will
be comparing the raw XML coding with the dropdown HTML parsed coding and will fail if I read the code correctly.
So avoiding these special characters is better.
Are there any other maps with HTML special characters out of interest?
I disagree...
These special XML charachters enrich the display of the XML allowed - therefore allowing the site better display etc...
As these are add-ons then we can code round these small issues.
C.

Highest score : 2297
Re: BOB Bugs
Fair enough. I can amend the request to correct the umlaut then, I do agree with you.
Re: BOB Bugs
Why doesn't bob recognize last bonus received in fog games? It isn't kept a secret in the log, you just can't see why they got certain bonuses.
Warning: You may be reading a really old topic.
- BENJIKAT IS DEAD
- Posts: 775
- Joined: Sun Jan 06, 2008 9:47 am
- Location: Waterloo
Re: BOB Bugs
Coleman wrote:Why doesn't bob recognize last bonus received in fog games? It isn't kept a secret in the log, you just can't see why they got certain bonuses.
It does - sort of - the bug is that it currently doesn't include autodeployed armies.

Re: BOB Bugs
BENJIKAT IS DEAD wrote:Coleman wrote:Why doesn't bob recognize last bonus received in fog games? It isn't kept a secret in the log, you just can't see why they got certain bonuses.
It does - sort of - the bug is that it currently doesn't include autodeployed armies.
The problem is - Lack got lazy - and wrote the autodeploy stuff to use the same log asif you hold a card and play a set...
Thus it's not possible to determine whether or not you got these from a card or from autodeploy from that line alone...
Especially difficult in freestyle - when everyones logs can be intermingled.
C.

Highest score : 2297
Re: BOB Bugs
With regards to Ardennes - I have come to the conclusion - that it's the site that is at fault...
Thus have raised the following report.
viewtopic.php?f=4&t=52867
C.
Thus have raised the following report.
viewtopic.php?f=4&t=52867
C.

Highest score : 2297
Re: BOB Bugs
The ardennes problem is now fixed - you won't need to update your version of BOB either.
(If you are using Hambone's version - I suggest you reupgrade to the standard version (just click "latest version installed" to do this))
C.
(If you are using Hambone's version - I suggest you reupgrade to the standard version (just click "latest version installed" to do this))
C.

Highest score : 2297
- BaldAdonis
- Posts: 2334
- Joined: Fri Aug 24, 2007 1:57 am
- Location: Trapped in Pleasantville with Toby McGuire
Re: BOB Bugs
Have a look at Game 2499372
Re: BOB Bugs
BaldAdonis wrote:Have a look at Game 2499372
Ah yes - a slight flaw in my territory counter - I haven't taken into account the starting positions code...
This will also happen for New worlds...
I'll sort a fix out sometime -> possibly not til next week though!!
C.

Highest score : 2297
Re: BOB Bugs
Hi,
I'm a big fan of BoB - it has cut down on my "stupid error" rate tremendously. Thanks for doing this and keeping it updated.
I don't know if this has been reported - I checked the last 4 pages of this thread and didn't notice anything about it. It seems that BoB isn't accurately counting territories in New World map with Fog On, like in 2465715. It isn't showing any territories for some players who have not actually been eliminated (I am assuming it is a European player who has their homeland only). and seems to be undercounting other players by one territory and army. Plyers who are still in the game sometimes don't show up in the Statistics section.
I'm a big fan of BoB - it has cut down on my "stupid error" rate tremendously. Thanks for doing this and keeping it updated.
I don't know if this has been reported - I checked the last 4 pages of this thread and didn't notice anything about it. It seems that BoB isn't accurately counting territories in New World map with Fog On, like in 2465715. It isn't showing any territories for some players who have not actually been eliminated (I am assuming it is a European player who has their homeland only). and seems to be undercounting other players by one territory and army. Plyers who are still in the game sometimes don't show up in the Statistics section.
Re: BOB Bugs
grunion wrote:Hi,
I'm a big fan of BoB - it has cut down on my "stupid error" rate tremendously. Thanks for doing this and keeping it updated.
I don't know if this has been reported - I checked the last 4 pages of this thread and didn't notice anything about it. It seems that BoB isn't accurately counting territories in New World map with Fog On, like in 2465715. It isn't showing any territories for some players who have not actually been eliminated (I am assuming it is a European player who has their homeland only). and seems to be undercounting other players by one territory and army. Plyers who are still in the game sometimes don't show up in the Statistics section.
I think this is a general bug on any fog map. I am having the same problem in Game 2580485. Also, the next redemption value is not correct.
- Incandenza
- Posts: 4949
- Joined: Thu Oct 19, 2006 5:34 pm
- Gender: Male
- Location: Playing Eschaton with a bucket of old tennis balls
Re: BOB Bugs
Yeah, BOB has been giving me issues in fog games on waterloo. Seems to think we each have 34 terits (the starting #), tho the games are well advanced.
Game 2583817
Game 2583814
(for what it's worth)
EDIT: also, the snapshots are registering as having been taken in round zero, which obviously is a bit weird. The game clock is a bit wonky too.
Game 2583817
Game 2583814
(for what it's worth)
EDIT: also, the snapshots are registering as having been taken in round zero, which obviously is a bit weird. The game clock is a bit wonky too.
THOTA: dingdingdingdingdingdingBOOM
Te Occidere Possunt Sed Te Edere Non Possunt Nefas Est
Te Occidere Possunt Sed Te Edere Non Possunt Nefas Est
Re: BOB Bugs
People, have you just started noticing these problems since the medals site rework?
EDIT : i.e. since the ratings and medals upgrade.
EDIT : i.e. since the ratings and medals upgrade.


