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 Atilla on Mon May 26, 2008 5:06 pm

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

Re: BOB Bugs

Postby Kilazul on Fri May 30, 2008 8:16 am

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

Re: BOB Bugs

Postby lancehoch on Fri May 30, 2008 9:26 am

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

Re: BOB Bugs

Postby Night Strike on Fri May 30, 2008 4:32 pm

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

Re: BOB Bugs

Postby hambone on Sat May 31, 2008 2:52 pm

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

Re: BOB Bugs

Postby hambone on Sun Jun 01, 2008 1:28 am

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

Re: BOB Bugs

Postby yeti_c on Sun Jun 01, 2008 11:20 am

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

Re: BOB Bugs

Postby hambone on Mon Jun 02, 2008 9:39 pm

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

Re: BOB Bugs

Postby yeti_c on Tue Jun 03, 2008 3:15 am

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
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Re: BOB Bugs

Postby chipv on Tue Jun 03, 2008 3:39 am

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
Captain chipv
Head Tech
Head Tech
 
Posts: 2869
Joined: Mon Apr 28, 2008 5:30 pm

Re: BOB Bugs

Postby chipv on Tue Jun 03, 2008 4:25 am

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

Re: BOB Bugs

Postby chipv on Tue Jun 03, 2008 5:12 am

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
Captain chipv
Head Tech
Head Tech
 
Posts: 2869
Joined: Mon Apr 28, 2008 5:30 pm

Re: BOB Bugs

Postby yeti_c on Tue Jun 03, 2008 5:25 am

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
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Re: BOB Bugs

Postby chipv on Tue Jun 03, 2008 5:28 am

Fair enough. I can amend the request to correct the umlaut then, I do agree with you.
User avatar
Captain chipv
Head Tech
Head Tech
 
Posts: 2869
Joined: Mon Apr 28, 2008 5:30 pm

Re: BOB Bugs

Postby Coleman on Tue Jun 03, 2008 9:29 am

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
Sergeant Coleman
 
Posts: 5402
Joined: Tue Jan 02, 2007 10:36 pm
Location: Midwest

Re: BOB Bugs

Postby BENJIKAT IS DEAD on Tue Jun 03, 2008 9:31 am

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
Colonel BENJIKAT IS DEAD
 
Posts: 775
Joined: Sun Jan 06, 2008 9:47 am
Location: Waterloo

Re: BOB Bugs

Postby yeti_c on Tue Jun 03, 2008 10:37 am

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
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Re: BOB Bugs

Postby yeti_c on Wed Jun 04, 2008 8:35 am

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
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Re: BOB Bugs

Postby yeti_c on Wed Jun 04, 2008 2:05 pm

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
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Re: BOB Bugs

Postby BaldAdonis on Wed Jun 04, 2008 10:43 pm

Have a look at Game 2499372
User avatar
Captain BaldAdonis
 
Posts: 2334
Joined: Fri Aug 24, 2007 1:57 am
Location: Trapped in Pleasantville with Toby McGuire

Re: BOB Bugs

Postby yeti_c on Thu Jun 05, 2008 2:43 am

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

Re: BOB Bugs

Postby grunion on Mon Jun 09, 2008 11:55 am

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.
Sergeant 1st Class grunion
 
Posts: 148
Joined: Mon Dec 31, 2007 4:16 pm

Re: BOB Bugs

Postby lancehoch on Mon Jun 09, 2008 5:35 pm

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

Re: BOB Bugs

Postby Incandenza on Mon Jun 09, 2008 6:12 pm

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
Colonel Incandenza
 
Posts: 4949
Joined: Thu Oct 19, 2006 5:34 pm
Location: Playing Eschaton with a bucket of old tennis balls

Re: BOB Bugs

Postby chipv on Mon Jun 09, 2008 8:14 pm

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

EDIT : i.e. since the ratings and medals upgrade.
User avatar
Captain chipv
Head Tech
Head Tech
 
Posts: 2869
Joined: Mon Apr 28, 2008 5:30 pm

PreviousNext

Return to Tool Archives

Who is online

Users browsing this forum: No registered users