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.
Locked
User avatar
Atilla
Posts: 74
Joined: Sat Jan 13, 2007 4:55 pm
Location: Forsyth, Ga

Re: BOB Bugs

Post 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?
User avatar
Kilazul
Posts: 528
Joined: Fri Dec 28, 2007 2:10 pm
Location: My own little world.

Re: BOB Bugs

Post 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 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
Image
lancehoch
Posts: 4183
Joined: Wed Dec 05, 2007 4:13 pm

Re: BOB Bugs

Post by lancehoch »

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.
User avatar
Night Strike
Posts: 8512
Joined: Wed Apr 18, 2007 2:52 pm
Gender: Male

Re: BOB Bugs

Post 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.
Image
hambone
Posts: 37
Joined: Thu Feb 08, 2007 10:17 am

Re: BOB Bugs

Post 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("&lt;",/</);
         title = title.replace("&gt;",/>/);

to

Code: Select all

         title = title.replace("&amp;","&");
         title = title.replace("&lt;","<");
         title = title.replace("&gt;",">");


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.
hambone
Posts: 37
Joined: Thu Feb 08, 2007 10:17 am

Re: BOB Bugs

Post 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...
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Re: BOB Bugs

Post 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.
Image
Highest score : 2297
hambone
Posts: 37
Joined: Thu Feb 08, 2007 10:17 am

Re: BOB Bugs

Post 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:

Code: Select all

3 Fallschirmj&#x228;ger Division
which displays as

Code: Select all

3 FallschirmjȨger Division

but in the drop downs (and the game log) it shows up like this:

Code: Select all

3 Fallschirmj?ger Division
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
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Re: BOB Bugs

Post 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.
Image
Highest score : 2297
User avatar
chipv
Head Tech
Head Tech
Posts: 3098
Joined: Mon Apr 28, 2008 5:30 pm

Re: BOB Bugs

Post 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 &#228 not &#x228

The display is wrong as a result. You may also find this mucks up the search.
User avatar
chipv
Head Tech
Head Tech
Posts: 3098
Joined: Mon Apr 28, 2008 5:30 pm

Re: BOB Bugs

Post by chipv »

Just like to add that hambone's RegExp fix for title.replace is absolutely mandatory as & is a special character.
User avatar
chipv
Head Tech
Head Tech
Posts: 3098
Joined: Mon Apr 28, 2008 5:30 pm

Re: BOB Bugs

Post 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?
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Re: BOB Bugs

Post 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.
Image
Highest score : 2297
User avatar
chipv
Head Tech
Head Tech
Posts: 3098
Joined: Mon Apr 28, 2008 5:30 pm

Re: BOB Bugs

Post by chipv »

Fair enough. I can amend the request to correct the umlaut then, I do agree with you.
User avatar
Coleman
Posts: 5402
Joined: Tue Jan 02, 2007 10:36 pm
Gender: Male
Location: Midwest

Re: BOB Bugs

Post 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.
Warning: You may be reading a really old topic.
User avatar
BENJIKAT IS DEAD
Posts: 775
Joined: Sun Jan 06, 2008 9:47 am
Location: Waterloo

Re: BOB Bugs

Post 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.
Image
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Re: BOB Bugs

Post 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.
Image
Highest score : 2297
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Re: BOB Bugs

Post 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=52867

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

Re: BOB Bugs

Post 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.
Image
Highest score : 2297
User avatar
BaldAdonis
Posts: 2334
Joined: Fri Aug 24, 2007 1:57 am
Location: Trapped in Pleasantville with Toby McGuire

Re: BOB Bugs

Post by BaldAdonis »

Have a look at Game 2499372
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Re: BOB Bugs

Post by yeti_c »

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.
Image
Highest score : 2297
grunion
Posts: 148
Joined: Mon Dec 31, 2007 4:16 pm

Re: BOB Bugs

Post 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.
lancehoch
Posts: 4183
Joined: Wed Dec 05, 2007 4:13 pm

Re: BOB Bugs

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

Re: BOB Bugs

Post 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 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
User avatar
chipv
Head Tech
Head Tech
Posts: 3098
Joined: Mon Apr 28, 2008 5:30 pm

Re: BOB Bugs

Post by chipv »

People, have you just started noticing these problems since the medals site rework?

EDIT : i.e. since the ratings and medals upgrade.
Locked

Return to “Tool Archives”