User Pass
Home Sign Up Contact Log In
Forum > Discuss GLB Issues With Catch22 > NOT A BUG - CLOSED > Offense and Defense Switched on Some Replays
GIEFF
offline
Link
 
http://goallineblitz.com/game/replay.pl?game_id=111757&pbp_id=1241267

In this replay, it says the Port Dover Panthers are on offense, but in fact they are on defense.
 
Sigmaforce
offline
Link
 
Yep, its in the known bug list It doesn't affect the actual play, just the roster displays get messed up on turnovers and things, it seems.
 
GIEFF
offline
Link
 
OK, thanks.

This may be an easy fix if you're reading this, Bort:

Before every play, measure the relative y-positions of the center and the ball. Because the home team seems to head north on offense in the first half, and then southin the 2nd half, this will allow you to figure out if the offensive team is the home team. I assume it switches back in overtime to the home team heading south, but I haven't checked this:

Pseudocode:

If (Center is higher than ball) Then (this means the offense is heading south)
--If (Second Half) Then
----Offense = Home Team
--Else (First Half or Overtime)
----Offense = Away Team
Else (Center is lower than ball)
--If (Second Half) Then
----Offense = Away Team
--Else (First Half or Overtime)
----Offense = Home Team
End


Last edited Aug 7, 2008 12:20:44
 
RMiller517
offline
Link
 
Thread locked by moderator.
 


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