Page 12 of 42
Re: BOB Bugs
Posted: Mon May 26, 2008 5:06 pm
by Atilla
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
Posted: Fri May 30, 2008 8:16 am
by Kilazul
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 2536178As 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 WarMight 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
Posted: Fri May 30, 2008 9:26 am
by lancehoch
Kilazul wrote:Texans WarMight 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.
Re: BOB Bugs
Posted: Fri May 30, 2008 4:32 pm
by Night Strike
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
Posted: Sat May 31, 2008 2:52 pm
by hambone
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):
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.jsAgain, use at your own risk... it works for me, etc, etc.
Re: BOB Bugs
Posted: Sun Jun 01, 2008 1:28 am
by hambone
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...
Re: BOB Bugs
Posted: Sun Jun 01, 2008 11:20 am
by yeti_c
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.
Re: BOB Bugs
Posted: Mon Jun 02, 2008 9:39 pm
by hambone
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
Re: BOB Bugs
Posted: Tue Jun 03, 2008 3:15 am
by yeti_c
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.
Re: BOB Bugs
Posted: Tue Jun 03, 2008 3:39 am
by chipv
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.
Re: BOB Bugs
Posted: Tue Jun 03, 2008 4:25 am
by chipv
Just like to add that hambone's RegExp fix for title.replace is absolutely mandatory as & is a special character.
Re: BOB Bugs
Posted: Tue Jun 03, 2008 5:12 am
by chipv
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?
Re: BOB Bugs
Posted: Tue Jun 03, 2008 5:25 am
by yeti_c
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.
Re: BOB Bugs
Posted: Tue Jun 03, 2008 5:28 am
by chipv
Fair enough. I can amend the request to correct the umlaut then, I do agree with you.
Re: BOB Bugs
Posted: Tue Jun 03, 2008 9:29 am
by Coleman
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.
Re: BOB Bugs
Posted: Tue Jun 03, 2008 9:31 am
by BENJIKAT IS DEAD
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
Posted: Tue Jun 03, 2008 10:37 am
by yeti_c
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.
Re: BOB Bugs
Posted: Wed Jun 04, 2008 8:35 am
by yeti_c
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=52867C.
Re: BOB Bugs
Posted: Wed Jun 04, 2008 2:05 pm
by yeti_c
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.
Re: BOB Bugs
Posted: Wed Jun 04, 2008 10:43 pm
by BaldAdonis
Have a look at
Game 2499372
Re: BOB Bugs
Posted: Thu Jun 05, 2008 2:43 am
by yeti_c
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.
Re: BOB Bugs
Posted: Mon Jun 09, 2008 11:55 am
by grunion
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.
Re: BOB Bugs
Posted: Mon Jun 09, 2008 5:35 pm
by lancehoch
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.
Re: BOB Bugs
Posted: Mon Jun 09, 2008 6:12 pm
by Incandenza
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 2583817Game 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.
Re: BOB Bugs
Posted: Mon Jun 09, 2008 8:14 pm
by chipv
People, have you just started noticing these problems since the medals site rework?
EDIT : i.e. since the ratings and medals upgrade.