User Pass
Home Sign Up Contact Log In
Forum > Discuss GLB Issues With Catch22 > RESOLVED BUGS > Team Teleports at Point When Ball is Intercepted - WILL NOT RESOLVE
Divebomber
offline
Link
 
Both teams move at least some when the ball is intercepted but the offense teleports as much as 10 yds. It happens on every pick. A player also teleports on a fumble. Watch frame by frame at the change of possession.

Game:
http://goallineblitz.com/game/game.pl?game_id=1116792&mode=pbp

Ints:
http://goallineblitz.com/game/replay.pl?game_id=1116792&pbp_id=5931956

http://goallineblitz.com/game/replay.pl?game_id=1116792&pbp_id=5934643

http://goallineblitz.com/game/replay.pl?game_id=1116792&pbp_id=5934463

http://goallineblitz.com/game/replay.pl?game_id=1116792&pbp_id=5933277

http://goallineblitz.com/game/replay.pl?game_id=1116792&pbp_id=5937092

Fumble:
http://goallineblitz.com/game/replay.pl?game_id=1116792&pbp_id=5937180
Edited by Catch22 on Apr 25, 2010 12:01:12
Edited by Sik Wit It on Apr 18, 2010 22:15:53 (needs QA - sik)
Edited by Squab on Apr 13, 2010 21:11:53 (UNSURE)
Edited by Squab on Apr 13, 2010 20:09:28 (LIKELY NOT A BUG)
 
SeattleNiner
NINERS
offline
Link
 
looks normal to me...
 
Squab
offline
Link
 
I'm not sure, but I think you're talking about that random glitch after the turnover, it doesn't really affect the play and everything goes back to normal. Is that what you mean?
 
Divebomber
offline
Link
 
When I pause the replay and watch frame by frame I see players teleport as much as 10 yds.

http://goallineblitz.com/game/replay.pl?game_id=1116792&pbp_id=5934643

The QB goes from the 45 to the 35, the WR closest to the ball goes from the 27 to the 32, the WR on the 38 goes to the 32, the HB goes from the 36 to the 41, and many other players jump short distances in an unusual manner. I disabled all greasemonkey scripts and I still see it happening. I don't know how that could be considered normal.
Edited by Divebomber on Apr 13, 2010 21:08:27
 
pabst
offline
Link
 
Originally posted by Squab
I'm not sure, but I think you're talking about that random glitch after the turnover, it doesn't really affect the play and everything goes back to normal. Is that what you mean?


Fix me.
83 // Odd, half frame
84 var data = play_data[cf];
85 var data2 = play_data[cf + 1];
86 if (data2.id != data.id) {
87 .... if (i >= 11) {
88 .... .... data2 = play_data[cf + 1][i - 11];
89 .... }
90 .... else {
91 .... .... data2 = play_data[cf + 1][i + 11];
92 .... }
93 }
 
Squab
offline
Link
 
I see what you mean, I guess it just doesn't really seem like that big of a deal. I'll change my determination to unsure.

Oh, and pabst4bugsmod lol.
 
Catch22
offline
Link
 
Originally posted by pabst
Fix me.
83 // Odd, half frame
84 var data = play_data[cf];
85 var data2 = play_data[cf + 1];
86 if (data2.id != data.id) {
87 .... if (i >= 11) {
88 .... .... data2 = play_data[cf + 1][i - 11];
89 .... }
90 .... else {
91 .... .... data2 = play_data[cf + 1][i + 11];
92 .... }
93 }


Explain what that means and I might forward it to Bort if it's a solution. No clue what it means as a whole though (I mean I know that it's looking at variable data, doing some if then or if else statements looking at variable i but not sure what the issue is).
 
pabst
offline
Link
 
Originally posted by Catch22
Explain what that means and I might forward it to Bort if it's a solution. No clue what it means as a whole though (I mean I know that it's looking at variable data, doing some if then or if else statements looking at variable i but not sure what the issue is).


Basically, we don't have 20fps replays, we have 10fps replays. We get to 20fps by interpolating an extra frame. Take frame 1 & 2, average a player's position from each frame together, and you get frame 1.5 (the "odd" frame). Every players position is held in an array: ball, team1, then team2. When changes of possession occur, teams will swap positions in the array.

Line 86 of Bort's code detects the swap and tries to fix it by adding or subtracting 11 (# of players per team). 1st player on the first team becomes the 1st player on the second, and so on. For this to work, the players on each team must always be in the same order. On changes of possession, the player order (not just the team order) can change. So, some players' positions on the "odd" frame are being averaged together from two entirely different players. That's why it looks like they teleport, and, because there are no odd frames when you watch at 10fps, you'll only see this problem at 20fps.

Here's the script to print out the player data: http://userscripts.org/scripts/show/74316
The image is from the first play listed. Look at the data & data2 columns and the problem is obvious. As to how to fix it, you have to search for the correct player id's or figure out why they're swapping in the first place. The +11/-11 stuff won't always work.
 
PsychoWard
plop
offline
Link
 
Originally posted by pabst
Basically, we don't have 20fps replays, we have 10fps replays. We get to 20fps by interpolating an extra frame. Take frame 1 & 2, average a player's position from each frame together, and you get frame 1.5 (the "odd" frame). Every players position is held in an array: ball, team1, then team2. When changes of possession occur, teams will swap positions in the array.

Line 86 of Bort's code detects the swap and tries to fix it by adding or subtracting 11 (# of players per team). 1st player on the first team becomes the 1st player on the second, and so on. For this to work, the players on each team must always be in the same order. On changes of possession, the player order (not just the team order) can change. So, some players' positions on the "odd" frame are being averaged together from two entirely different players. That's why it looks like they teleport, and, because there are no odd frames when you watch at 10fps, you'll only see this problem at 20fps.

Here's the script to print out the player data: http://userscripts.org/scripts/show/74316
The image is from the first play listed. Look at the data & data2 columns and the problem is obvious. As to how to fix it, you have to search for the correct player id's or figure out why they're swapping in the first place. The +11/-11 stuff won't always work.


pabst for lead coder imo

pay the man
 
Sik Wit It
offline
Link
 
I know this is a commonly posted bug that we usually lock, but if pabst does have a solution, it probably wouldn't be too hard to fix. I'm just going to send to QA so Catch doesn't forget about it, and it doesn't get lost among the rest of the threads in the main forum.
Edited by Sik Wit It on Apr 18, 2010 22:15:39
 
Squab
offline
Link
 
Originally posted by jcool18
Here are a few from this season, Im going to really try to look at all my plays to see how often it is happening.
Watch right after the pick.
http://goallineblitz.com/game/replay.pl?game_id=1125678&pbp_id=8036226
http://goallineblitz.com/game/replay.pl?game_id=1125701&pbp_id=3909742



Originally posted by r87
Yea, I've noticed this too.

I took some screenshots of yours to break it down over the span of four ticks around the INT.

http://i40.tinypic.com/16hulpw.png

http://i43.tinypic.com/np3o8x.png

http://i44.tinypic.com/zkjrl3.png

It seems to be a mostly visual error on the sim, because they teleport back on the very next tick.

 
Catch22
offline
Link
 
Bort said he's aware of the issue, just not something he's going to take the time to fix right now.
 


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