Bob bug. Nuclear fog games. Statistics table.

Have suggestion for a new or old tool/enhancement? Come on in!

Moderator: Tech Team

Forum rules
Please read the Community Guidelines before posting.
Post Reply
User avatar
Woltato
Posts: 192
Joined: Sat Jan 17, 2009 8:09 pm
Gender: Male
Location: Bingley, UK

Bob bug. Nuclear fog games. Statistics table.

Post by Woltato »

Operating System: Win 7
Browser: Firefox
Scripts/third party programs used: Bob

If the bug happened in a game/s, do not forget to indicate the game number/s.

Concise description:
In nuclear spoils fog game after territories have been nuked the statistics table is showing wrong totals. Presumably this is because the totals are calculated from the game log where there is no indication of who is taken out by a nuke.

e.g. Game 13448271

in this game there are 3 players who've just been nuked that are displaying the wrong totals. It shows 9/11 for one of my own teammates. He's been nuked twice in the last round.

Image

Just a suggestion - the region totals are found in CDATA section of the page source. The 6th piece by ~ is the total number of territories held. Might be an easy way to fix by extracting the totals from here instead of calculating from the game log.
players[1] = new Array("red~~~p r16~2~17~?~?");
players[2] = new Array("red~~~p r10~5~25~?~?");
players[3] = new Array("red~~~p r12~5~19~?~?");
players[4] = new Array("red~~~p r12~4~10~?~?");
players[5] = new Array("green~~~p r12~1~9~12~3");
players[6] = new Array("red~~~p r12~5~16~18~5");
players[7] = new Array("red~~~p r12~5~14~16~4");
players[8] = new Array("red~~~p r11~2~20~23~6");
blakebowling
Posts: 5093
Joined: Wed Jan 23, 2008 12:09 pm
Gender: Male
Location: 127.0.0.1

Re: Bob bug. Nuclear fog games. Statistics table.

Post by blakebowling »

Moved to Tools and Enhancements Bugs.
Post Reply

Return to “Tools Suggestions”