bug: won the race but had to race another lap

bug: won the race but had to race another lap

Postby bovineuniversity » 24 May 2011, 17:37

I'm on linux 64-bit, SVN version before 8701 which I updated to today.
So I was racing on Tux Tollway against 8 karts, expert mode, 5 laps. I worked my way up to the front after a couple of laps, and led the rest of the race. Nobody was even close to me as I finished the race, so right as I was going to cross the finish line and win, I was swerving around in victory. :) All of a sudden, I kept going.. it still showed lap 5/5. All of the AI karts were done with the race. I went ahead and did another lap, and came in last. !? It was really bizarre. The only thing that might have happened was that as I was swerving at the finish line I hit the guardrail... RIGHT as I was expecting it to finish. I was actually trying to jump the rail as I finished to see what would happen. :)
bovineuniversity
 
Posts: 66
Joined: 14 Apr 2011, 19:28

Re: bug: won the race but had to race another lap

Postby KroArtem » 24 May 2011, 19:11

Well, this could happen if the finish line is short, so you don't cross it while finishing the 5-th lap. You can also have such problem on the track 'Shiny Suburbs' if you finish the lap right near the fence.
KroArtem
 
Posts: 375
Joined: 26 Aug 2010, 19:04

Re: bug: won the race but had to race another lap

Postby Crendgrim » 24 May 2011, 22:00

Which both *is* a bug IMO...
Crendgrim
 
Posts: 227
Joined: 03 May 2011, 21:59

Re: bug: won the race but had to race another lap

Postby hiker » 25 May 2011, 00:01

Crendgrim {l Wrote}:Which both *is* a bug IMO...

I agree, and this is actually not supposed to happen. Could you please put this in a ticket in trac?

Thanks!
Joerg
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: bug: won the race but had to race another lap

Postby Auria » 25 May 2011, 01:42

Hi,

can you find if some driving pattern makes this happen? I can't see any obvious cause unless you took big shortcuts, as the checklines and drivelines in tux tollway seem OK
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: bug: won the race but had to race another lap

Postby hiker » 25 May 2011, 02:19

Auria {l Wrote}:Hi,

can you find if some driving pattern makes this happen? I can't see any obvious cause unless you took big shortcuts, as the checklines and drivelines in tux tollway seem OK

I could reproduce the problem in shiny suburbs. My suspicion is that the kart is slightly off track (I tested it by driving to the very right of the track), and that there is a problem with the distance along track computation. I am aware of a potential issue if another part of the track would be close to the finish line (think of a U shape), but this is not the case in Shiny Suburbs.

Cheers,
Joerg
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: bug: won the race but had to race another lap

Postby hiker » 25 May 2011, 13:21

I've added it to trac (#253) - the problem is that those tracks have shortcuts, more details in the ticket.

Thanks for the report!
Joerg
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: bug: won the race but had to race another lap

Postby Auria » 26 May 2011, 00:39

Hmm well I am aware about shiny suburbs, however I was not able to reproduce the same problem in tux tollway
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: bug: won the race but had to race another lap

Postby hiker » 26 May 2011, 03:10

Auria {l Wrote}:Hmm well I am aware about shiny suburbs, however I was not able to reproduce the same problem in tux tollway

I could - just make sure to drive to the very left of the road (use --track-debug to see the drivelines) - you have to be off track.
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: bug: won the race but had to race another lap

Postby bovineuniversity » 04 Jun 2011, 01:38

Sorry, I don't have access to trac... but I was just on The Island, racing against 19 karts for 20 laps. I worked my way up to 1st by lap 6. I had to dodge a bowling ball right at the end of lap 6 at the finish line.. off to the left. And I was suddenly #19 of 20 and still on lap 6.
bovineuniversity
 
Posts: 66
Joined: 14 Apr 2011, 19:28

Re: bug: won the race but had to race another lap

Postby Auria » 04 Jun 2011, 17:06

bovineuniversity {l Wrote}:Sorry, I don't have access to trac... but I was just on The Island, racing against 19 karts for 20 laps. I worked my way up to 1st by lap 6. I had to dodge a bowling ball right at the end of lap 6 at the finish line.. off to the left. And I was suddenly #19 of 20 and still on lap 6.


Ok thanks for the report, I created a ticket for this (but you only need an OpenID IIRC to login to sourceforge and post to Trac, so I think you should be able to without much pain)
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Who is online

Users browsing this forum: Google [Bot] and 1 guest