Page 24 of 42

Re: BOB Bugs

Posted: Wed Oct 15, 2008 3:22 pm
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.

Re: BOB Bugs

Posted: Thu Oct 16, 2008 7:01 am
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.

Re: BOB Bugs

Posted: Thu Oct 16, 2008 4:14 pm
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.

Re: BOB Bugs

Posted: Thu Oct 16, 2008 5:31 pm
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.

Re: BOB Bugs

Posted: Thu Oct 16, 2008 5:43 pm
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????

Re: BOB Bugs

Posted: Thu Oct 16, 2008 6:12 pm
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!

Re: BOB Bugs

Posted: Sat Oct 18, 2008 12:28 am
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.

Re: BOB Bugs

Posted: Sat Oct 18, 2008 2:34 am
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);

Re: BOB Bugs

Posted: Sat Oct 18, 2008 1:07 pm
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.

Re: BOB Bugs

Posted: Sat Oct 18, 2008 9:18 pm
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?

Re: BOB Bugs

Posted: Sun Oct 19, 2008 1:10 am
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.

Re: BOB Bugs

Posted: Sun Oct 19, 2008 4:23 am
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

Re: BOB Bugs

Posted: Sun Oct 19, 2008 5:05 am
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.

Re: BOB Bugs

Posted: Sun Oct 19, 2008 9:04 am
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.

Re: BOB Bugs

Posted: Sun Oct 19, 2008 1:32 pm
by kaiser0427
clickable maps still not working after updates

Re: BOB Bugs

Posted: Sun Oct 19, 2008 3:57 pm
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

Re: BOB Bugs

Posted: Fri Oct 24, 2008 2:28 pm
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

Re: BOB Bugs

Posted: Fri Oct 24, 2008 3:49 pm
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.

Re: BOB Bugs

Posted: Sat Oct 25, 2008 10:56 pm
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.

Re: BOB Bugs

Posted: Sun Oct 26, 2008 10:41 am
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.

Re: BOB Bugs

Posted: Sun Oct 26, 2008 10:46 am
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?

Re: BOB Bugs

Posted: Sun Oct 26, 2008 11:22 am
by lancehoch
evil, BOB only reports what it sees. The points are still getting exchanged, BOB is just not seeing the exchange.

Re: BOB Bugs

Posted: Sun Oct 26, 2008 12:31 pm
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

Re: BOB Bugs

Posted: Sun Oct 26, 2008 3:02 pm
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.

Re: BOB Bugs

Posted: Sun Oct 26, 2008 5:39 pm
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.