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

Re: BOB Bugs

Post by lancehoch »

BOB seems to be back up and running smoothly, nice work yeti. The BOB Bugs thread is now unlocked again. Also, merged in a wayward thread from Q&A.
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Re: BOB Bugs

Post by yeti_c »

OK - So BOB is now back up and running properly again as of 4.6.5.

Any bugs in 4.6.5 I should be aware of - POST HERE NOW!

C.
Image
Highest score : 2297
User avatar
Esben
Posts: 2
Joined: Mon Jan 21, 2008 12:38 pm
Location: Denmark, Europe.

Re: BOB Bugs

Post by Esben »

First off sorry about posting in the BOB bug report post, all i want is to help clear the problem which has come after site upate.
BOB is working fine always, amazing script Yeti.

And now for what is important UPDATE you ConquerClub - Clickable Maps by clicking Her and installing the updated version.

thx and again i am sorry for posting here.
JDLH
Posts: 30
Joined: Sat Oct 28, 2006 7:35 pm
Location: Vancouver, BC, Canada

Re: BOB Bugs

Post by JDLH »

yeti_c wrote:Any bugs in 4.6.5 I should be aware of - POST HERE NOW!


Thank you for the quick response!

Did you include the fix for the rounding error with team army counts in team games? See my Oct 13 post, "BOB rounding error for teamStrength (v 4.6.3)".

I thought I saw one of the two lines of the fix in 4.6.4, but I don't see any of it in 4.6.5. I might have overlooked it, though.

I'm not seeing the problem in my team game using 4.6.5 at the moment, but maybe those particular army counts don't tickle the bug right now.
User avatar
Dominator7
Posts: 133
Joined: Fri Dec 07, 2007 6:22 pm
Location: Texas

Re: BOB Bugs

Post by Dominator7 »

Points Totals
r:BaldAdonis scored 0 points in this game
g:Chariot of Fire scored 0 points in this game
b:Dominator7 scored 0 points in this game
y:lanyards scored NaN points in this game
p:BENJIKAT IS DEAD scored NaN points in this game
c:TheWreckless1 scored 0 points in this game


This is what I am getting on my maps. Note where it says NaN. Anyone know how to fix this????
User avatar
Calidrmr
Posts: 643
Joined: Wed Sep 12, 2007 5:00 pm
Location: the corner bar...
Contact:

Re: BOB Bugs

Post by Calidrmr »

Dominator7 wrote:
Points Totals
r:BaldAdonis scored 0 points in this game
g:Chariot of Fire scored 0 points in this game
b:Dominator7 scored 0 points in this game
y:lanyards scored NaN points in this game
p:BENJIKAT IS DEAD scored NaN points in this game
c:TheWreckless1 scored 0 points in this game


This is what I am getting on my maps. Note where it says NaN. Anyone know how to fix this????

I'm getting that as well:

Elimination Summary wrote:Points Totals
r:peterBMW scored NaN points in this game
g:josmorgan scored NaN points in this game
b:Calidrmr scored NaN points in this game
y:BlazeFXC scored NaN points in this game


<edit> sorry...i am running the latest version of BOB 4.6.5...thanks!
Image
<Juan_Bottom>You're like the Barry Bonds of drinking. You don't need the practice you just do it because you like it.
User avatar
ZeakCytho
Posts: 1251
Joined: Wed Sep 12, 2007 4:36 pm

Re: BOB Bugs

Post by ZeakCytho »

I'm getting NaNs for all my scores as well - pretty sure score is a real number ;)

This isn't exactly in need of an urgent fix.
yowzer14
Posts: 196
Joined: Sun Dec 24, 2006 10:20 pm
Location: Windsor, Ontario, Canada

Re: BOB Bugs

Post by yowzer14 »

Dominator7 wrote:
Points Totals
r:BaldAdonis scored 0 points in this game
g:Chariot of Fire scored 0 points in this game
b:Dominator7 scored 0 points in this game
y:lanyards scored NaN points in this game
p:BENJIKAT IS DEAD scored NaN points in this game
c:TheWreckless1 scored 0 points in this game


This is what I am getting on my maps. Note where it says NaN. Anyone know how to fix this????

The problem can be fixed easily enough. The 2 lines are 3336 & 3343. Change the two lines as follows;

Line # 3336 FROM

Code: Select all

var points = log[i].substring(log[i].indexOf(str_loses)+5,log[i].indexOf(str_points)-1);

Line # 3336 To

Code: Select all

var points = log[i].substring(log[i].indexOf(str_loses)+str_loses.length,log[i].indexOf(str_points)-1);


Line # 3343 FROM

Code: Select all

var points = log[i].substring(log[i].indexOf(str_gains)+5,log[i].indexOf(str_points)-1);

Line # 3343 To

Code: Select all

var points = log[i].substring(log[i].indexOf(str_gains)+str_gains.length,log[i].indexOf(str_points)-1);
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 knew where it was - it's because "str_gains" links to " gains " whereas those patterns used to match to "gains"

(same with loses)

Cheers for posting that fix Yowzer - it's a good fix.

C.
Image
Highest score : 2297
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 »

Sooooo I feel like this is an old issue that must have been brought up by now, but I haven't been keeping track since I don't play a lot of tourney games.

So tourney games have that wee thing at the top that throws off BOB. No problem, right, I just adjust the map alignment thing up. Problem is when I go to play a normal game on the same map, now the numbers are out of whack the other way.

Is there a simple way to address this? Or am I going to have to keep adjusting the alignment?
THOTA: dingdingdingdingdingdingBOOM

Te Occidere Possunt Sed Te Edere Non Possunt Nefas Est
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Re: BOB Bugs

Post by yeti_c »

Incandenza wrote:Sooooo I feel like this is an old issue that must have been brought up by now, but I haven't been keeping track since I don't play a lot of tourney games.

So tourney games have that wee thing at the top that throws off BOB. No problem, right, I just adjust the map alignment thing up. Problem is when I go to play a normal game on the same map, now the numbers are out of whack the other way.

Is there a simple way to address this? Or am I going to have to keep adjusting the alignment?


At the moment - you just have to adjust - it currently works perfectly for most people - you're the 3rd person I know of that has this problem!

C.
Image
Highest score : 2297
User avatar
MrBenn
Posts: 6880
Joined: Wed Nov 21, 2007 9:32 am
Location: Off Duty

Re: BOB Bugs

Post by MrBenn »

Yeti,

Just played Game 3494377, and the elimination summary was a little messed up:

Elimination Summary wrote:2008-10-19 10:19:37 - tbrown0210 loses 16 points in round - 4
2008-10-19 10:19:37 - petewins1368 loses 16 points in round - 4
2008-10-19 10:19:37 - InsomniaRed gains 16 points in round - 4
2008-10-19 10:19:37 - MrBenn gains 16 points in round - 4
Points Totals
tbrown0210 scored NaN points in this game
petewins1368 scored NaN points in this game
InsomniaRed scored NaN points in this game
MrBenn scored NaN points in this game
Image
PB: 2661 | He's blue... If he were green he would die | No mod would be stupid enough to do that
User avatar
InsomniaRed
Posts: 2246
Joined: Sun Dec 30, 2007 2:58 am
Gender: Female
Location: In Nick's heart

Re: BOB Bugs

Post by InsomniaRed »

MrBenn wrote:Yeti,

Just played Game 3494377, and the elimination summary was a little messed up:

Elimination Summary wrote:2008-10-19 10:19:37 - tbrown0210 loses 16 points in round - 4
2008-10-19 10:19:37 - petewins1368 loses 16 points in round - 4
2008-10-19 10:19:37 - InsomniaRed gains 16 points in round - 4
2008-10-19 10:19:37 - MrBenn gains 16 points in round - 4
Points Totals
tbrown0210 scored NaN points in this game
petewins1368 scored NaN points in this game
InsomniaRed scored NaN points in this game
MrBenn scored NaN points in this game

Yes, what he said ](*,) I've seen a lot of 'NaN' around my games lately. I've got the latest version installed.
      I will always love you Nick, Forever.
Image
      I will always love you Nick, Forever.
yowzer14
Posts: 196
Joined: Sun Dec 24, 2006 10:20 pm
Location: Windsor, Ontario, Canada

Re: BOB Bugs

Post by yowzer14 »

InsomniaRed wrote:
MrBenn wrote:Yeti,

Just played Game 3494377, and the elimination summary was a little messed up:

Elimination Summary wrote:2008-10-19 10:19:37 - tbrown0210 loses 16 points in round - 4
2008-10-19 10:19:37 - petewins1368 loses 16 points in round - 4
2008-10-19 10:19:37 - InsomniaRed gains 16 points in round - 4
2008-10-19 10:19:37 - MrBenn gains 16 points in round - 4
Points Totals
tbrown0210 scored NaN points in this game
petewins1368 scored NaN points in this game
InsomniaRed scored NaN points in this game
MrBenn scored NaN points in this game

Yes, what he said ](*,) I've seen a lot of 'NaN' around my games lately. I've got the latest version installed.

I found the correction and posted it and I'm sure Yeti will get that updated for all shortly.
User avatar
kaiser0427
Posts: 36
Joined: Thu Jun 28, 2007 5:57 pm
Location: Hell
Contact:

Re: BOB Bugs

Post by kaiser0427 »

clickable maps still not working after updates
yowzer14
Posts: 196
Joined: Sun Dec 24, 2006 10:20 pm
Location: Windsor, Ontario, Canada

Re: BOB Bugs

Post by yowzer14 »

kaiser0427 wrote:clickable maps still not working after updates

This thread is for BOB issues only, please check this post http://www.conquerclub.com/forum/viewtopic.php?f=59&t=33227&st=0&sk=t&sd=a&start=405#p1646501
User avatar
Dominator7
Posts: 133
Joined: Fri Dec 07, 2007 6:22 pm
Location: Texas

Re: BOB Bugs

Post by Dominator7 »

yowzer14 wrote:
Dominator7 wrote:
Points Totals
r:BaldAdonis scored 0 points in this game
g:Chariot of Fire scored 0 points in this game
b:Dominator7 scored 0 points in this game
y:lanyards scored NaN points in this game
p:BENJIKAT IS DEAD scored NaN points in this game
c:TheWreckless1 scored 0 points in this game


This is what I am getting on my maps. Note where it says NaN. Anyone know how to fix this????

The problem can be fixed easily enough. The 2 lines are 3336 & 3343. Change the two lines as follows;

Line # 3336 FROM

Code: Select all

var points = log[i].substring(log[i].indexOf(str_loses)+5,log[i].indexOf(str_points)-1);

Line # 3336 To

Code: Select all

var points = log[i].substring(log[i].indexOf(str_loses)+str_loses.length,log[i].indexOf(str_points)-1);


Line # 3343 FROM

Code: Select all

var points = log[i].substring(log[i].indexOf(str_gains)+5,log[i].indexOf(str_points)-1);

Line # 3343 To

Code: Select all

var points = log[i].substring(log[i].indexOf(str_gains)+str_gains.length,log[i].indexOf(str_points)-1);



Where are these line - codes to be adjusted?
kinda lost
yowzer14
Posts: 196
Joined: Sun Dec 24, 2006 10:20 pm
Location: Windsor, Ontario, Canada

Re: BOB Bugs

Post by yowzer14 »

Dominator7 wrote:Where are these line - codes to be adjusted?
kinda lost

Those are the relative line numbers in the Greasemonkey javascript of BOB to be modified.
User avatar
Padrev
Posts: 2
Joined: Wed Jul 11, 2007 12:15 am
Location: Guangzhou

Re: BOB Bugs

Post by Padrev »

Hey all,

Trying to install BOB and it seems the userscripts.org website is down. Is there another source for this script?

Thanks.
I came, I saw, I ran.. far far away.
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 »

yeti_c wrote:Yeah - I knew where it was - it's because "str_gains" links to " gains " whereas those patterns used to match to "gains"
Cheers for posting that fix Yowzer - it's a good fix.
I'm not so sure. It seems like the elimination summary isn't reading the full logs. In Game 3412555, I get the message that everyone was eliminated in round 1, even after making the fix that shows the proper scores.
evilweasel8
Posts: 101
Joined: Tue Jun 17, 2008 2:04 am
Gender: Male
Location: Canada

Re: BOB Bugs

Post by evilweasel8 »

Hey yeti, I was involved in a couple of different terminator games and i had some weird results, in most situations if i make a kill i seem to get the points immediately added to my score, but now and this happens most times now i don't get the points but the log said i did, so i ran BOB and Maprank GL again as to refresh it sort of speak and same thing but this time under the elimination summary it say NaN, I thought this was only happening to me but one guy did a three player kill and should have got 60+ points and got burnt as it would appear, like i says i been on to this a couple a week now and write everybody score down to make sure i got my facts right, i originally used the Q&A forum for a answer so i might have used better detail in the situation there, What you think?.....Out of curiosity what does happen to the points that went no wear? Is there something i missing?
lancehoch
Posts: 4183
Joined: Wed Dec 05, 2007 4:13 pm

Re: BOB Bugs

Post by lancehoch »

evil, BOB only reports what it sees. The points are still getting exchanged, BOB is just not seeing the exchange.
yowzer14
Posts: 196
Joined: Sun Dec 24, 2006 10:20 pm
Location: Windsor, Ontario, Canada

Re: BOB Bugs

Post by yowzer14 »

BaldAdonis wrote:
yeti_c wrote:Yeah - I knew where it was - it's because "str_gains" links to " gains " whereas those patterns used to match to "gains"
Cheers for posting that fix Yowzer - it's a good fix.
I'm not so sure. It seems like the elimination summary isn't reading the full logs. In Game 3412555, I get the message that everyone was eliminated in round 1, even after making the fix that shows the proper scores.

This is the elimination summary I get from that game

Code: Select all

2008-10-12 09:39:04 - karelpietertje eliminated ZeroGig from the game in round - 2
2008-10-13 08:40:40 - sjnap eliminated Sochris from the game in round - 3
2008-10-13 16:10:47 - JustB eliminated heffman from the game in round - 4
2008-10-13 16:11:04 - loes eliminated timo1 from the game in round - 4
2008-10-13 16:11:04 - timo1 loses 5 points in round - 4
2008-10-13 16:11:04 - ZeroGig loses 5 points in round - 4
2008-10-13 16:11:04 - Sochris loses 5 points in round - 4
2008-10-13 16:11:04 - heffman loses 5 points in round - 4
2008-10-13 16:11:04 - karelpietertje gains 5 points in round - 4
2008-10-13 16:11:04 - loes gains 5 points in round - 4
2008-10-13 16:11:04 - JustB gains 5 points in round - 4
2008-10-13 16:11:04 - sjnap gains 5 points in round - 4
Points Totals
timo1 scored -5 points in this game
ZeroGig scored -5 points in this game
Sochris scored -5 points in this game
heffman scored -5 points in this game
karelpietertje scored 5 points in this game
loes scored 5 points in this game
JustB scored 5 points in this game
sjnap scored 5 points in this game
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:
yeti_c wrote:Yeah - I knew where it was - it's because "str_gains" links to " gains " whereas those patterns used to match to "gains"
Cheers for posting that fix Yowzer - it's a good fix.
I'm not so sure. It seems like the elimination summary isn't reading the full logs. In Game 3412555, I get the message that everyone was eliminated in round 1, even after making the fix that shows the proper scores.


Yeah - This is because the game has been archived - and the log is loaded in a different way now...

In order to get these games you will need to have "full log" said to yes - I need to do a change to get this info differently.

C.
Image
Highest score : 2297
evilweasel8
Posts: 101
Joined: Tue Jun 17, 2008 2:04 am
Gender: Male
Location: Canada

Re: BOB Bugs

Post by evilweasel8 »

Fair enough I guess I can't really trust that the points are accurate, right now my points are 1222, the last time i looked they were at 1308, i lost 3 assassin speed games, two at a cost of 16 points and one at 17, total of 49 and also lost a terminator regular game at a cost of 17 bringing my total to 66--, 1308 less 66 is 1242 but like i said my score is 1222, twenty points m.i.a with not being eliminated in any other games at all, and this is the third time i noticed this in the last couple of weeks, the only thing i can think of is once the games are being archived after 5 days i am some how still being penalized somehow, never the less i am discouraged to keep playing over this because i know i am not seeing things and do my home work like writing my points down at the end of any session and note my games history and active games to make sure my facts are right.
Locked

Return to “Tool Archives”