User Pass
Home Sign Up Contact Log In
Forum > Discuss GLB Issues With Catch22 > RESOLVED BUGS > K : energy Undefined and morale undefined - RESOLVED BUG #222
Page:
 
Bobmachinegun
offline
Link
 
Not sure if it's affecting the sim or a bug but

In this game http://goallineblitz.com/game/replay.pl?game_id=1288215

Our kicker have, late in the 2nd, Undefined morale and energy when attempting FG or kicking off. This is a new feature showing instant energy/morale, this is good but how can it be undefined?

The kicker have really low stamina at 8



will add ss later if needed

Edited by lhouse on Aug 15, 2010 11:48:22 (RESOLVED)
Edited by lhouse on Aug 3, 2010 17:40:51 (FILED BUG)
Edited by Djmr on Aug 3, 2010 12:30:49 (undefined values show up when either value is under 10)
Edited by NiborRis on Aug 3, 2010 09:23:48 (Bug, first verification)
Edited by Hokiemon on Aug 3, 2010 07:37:00 (undefined error on energy/morale on replays when value is less than 10)
 
im4ut999
offline
Link
 
Is the build open to team/gms? I think I saw this on our team and it was on players with build closed to me.
 
Bobmachinegun
offline
Link
 
Build is open to gm
at his first appearance, he is 100/100! No problem here

i see it going down to undefined!
 
EagleOtto
offline
Link
 
I had a similiar situation.

FS intercepts the ball and scores a touchdown
http://goallineblitz.com/game/replay.pl?game_id=1292847&pbp_id=2042571
I went to check next play to see how morale responded, and his morale and energy are undefined
http://goallineblitz.com/game/replay.pl?game_id=1292847&pbp_id=2042583

Impossible to check out, unless maybe your a dev or something though
 
NiborRis
offline
Link
 
Just to shed some more light on this, I hit this problem.

http://goallineblitz.com/game/replay.pl?game_id=1291955&pbp_id=2110363

The last tick of the play, several players are not in the play data.

Here's the segment from play_data:

[{id: 'ball',x: 85,y: 285,br: 0,mo: 0},{id: '2149974',x: 94.25,y: 285.5,br: 66,mo: 83},{id: '2167670',x: 81,y: 281.25,br: 46,mo: 79},{id: '2151062',x: 94.5,y: 289.25,br: 76,mo: 82},{id: '2167674',x: 73.25,y: 287,br: 63,mo: 81},{id: '2166396',x: 106.75,y: 286.25,br: 65,mo: 79},{id: '2167680',x: 70.75,y: 285.5,br: 50,mo: 85},{id: '2170468',x: 79.5,y: 281.25,br: 71,mo: 85},{id: '2159054',x: 85,y: 285,br: -127,mo: -127},{id: '2140433',x: 133,y: 293.5,br: 51,mo: 85},{id: '2149956',x: 44.5,y: 294.25,br: 49,mo: 87},{id: '2154186',x: 94.75,y: 258,br: 31,mo: 84},{id: '2158624',x: 70.25,y: 289.5,br: 52,mo: 72},{id: '2144964',x: 82.75,y: 285.75,br: 65,mo: 79}]];

Only 13 players are listed here, and one has a -127 for breath and morale.
All the players that are unlisted get undefined breath/morale on the bars for the whole play, even though only the last tick is incomplete.
 
VolBrian
Rocky Top
offline
Link
 
Maybe I'm not exactly sure what I'm looking for here, but could we get some screenshots or something? The OP replay link takes me to home page, and the builds I'm supposed to look at in EagleOtto's replays are closed.

i see that there is some agreement that a problem probably exists, but I need some more info to make a decision please.
 
Tobysmith6922
offline
Link
 
http://goallineblitz.com/game/replay.pl?game_id=1322647&pbp_id=2510076
Look at the Energy and Morale of the CBs, FS and SS.
When you hover over, they say undefined.
 
VolBrian
Rocky Top
offline
Link
 
Ok, I got it now. Marking likely a bug for the undefined issue. It's difficult to replicate with out being a GM of the teams that have posted replays, but the issue does seem to exist.
 
pabst
offline
Link
 
replay.js -- line 306: if (showBreath && ty >= 10 && mo >= 10 && $('breath_' + id) && $('morale_' + id)) {

What's the purpose of the "ty>= 10" and "mo>=10"? Players who start a play with less than 10 energy/morale never have their current_breath/morale entries updated because of that code. Without a current_breath, the tooltip never gets updated.
 
Bobmachinegun
offline
Link
 
here is my SS. I didn't catch the roll over text stating undefined.

http://img267.imageshack.us/img267/9607/energyundefined.gif

But you can clearly see that both bar (energy & morale) are empty.
Edited by Bobmachinegun on Jul 30, 2010 13:40:26
 
VolBrian
Rocky Top
offline
Link
 
Nice job Bobmachinegun. That will help
 
Asdlfef
offline
Link
 
I don't see the energy and morale bars in any replays. Perhaps Bort has disabled them.
 
VolBrian
Rocky Top
offline
Link
 
Originally posted by Asdlfef
I don't see the energy and morale bars in any replays. Perhaps Bort has disabled them.


That's part of what makes this issue difficult.

You will need to disable greasemonkey if you're using it in FF. You'll need to switch to the fps replays if you're using the Flash, and then I think they should be viewable only if you have a player on the team whose replays you are viewing. You may have to be a GM or owner, not sure.

That's why Bobmachinegun's screen shot is valuable here.
 
crims
offline
Link
 
Originally posted by Asdlfef
I don't see the energy and morale bars in any replays. Perhaps Bort has disabled them.


I only thought you could view if you are on the Team. I can see My teams info but I can't see the other teams.

From Catch22 Post http://goallineblitz.com/game/announcement.pl?id=392

-- Added morale/energy monitoring bars on new replays, viewable by team members only (not available on flash replays yet)
Edited by crims on Aug 2, 2010 21:07:05
Edited by crims on Aug 2, 2010 21:04:41
 
crims
offline
Link
 
Sorry for the double post ........ was trying to edit

Edited by crims on Aug 2, 2010 21:06:54
Edited by crims on Aug 2, 2010 21:06:09
 
Page:
 


You are not logged in. Please log in if you want to post a reply.