Cube track question (bug?)

Cube track question (bug?)

Postby bovineuniversity » 28 Jul 2011, 17:27

I'm running the SVN version and have the Cube track installed. I gather that this map was in an older version of STK, but I didn't play it then so maybe this is a known issue.

I played against 10 AI karts, and ended up in 3rd place.. even though my final time was a full 3 seconds faster than the 1st and 2nd place finishers. I noticed that the times of some of the AI karts didn't match up with their final placing either. Is this a bug, or just part of the insanity of the Cube track? :lol:
bovineuniversity
 
Posts: 66
Joined: 14 Apr 2011, 19:28

Re: Cube track question (bug?)

Postby Auria » 29 Jul 2011, 01:39

Hmm can you post a screenshot of the times? this is weird
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: Cube track question (bug?)

Postby hiker » 29 Jul 2011, 06:24

bovineuniversity {l Wrote}:I'm running the SVN version and have the Cube track installed. I gather that this map was in an older version of STK, but I didn't play it then so maybe this is a known issue.

I played against 10 AI karts, and ended up in 3rd place.. even though my final time was a full 3 seconds faster than the 1st and 2nd place finishers. I noticed that the times of some of the AI karts didn't match up with their final placing either. Is this a bug, or just part of the insanity of the Cube track? :lol:

This is certainly not supposed to be the case. I haven't played Cube recently, but I don't expect that any track to produce that effect.

First question: in what place should you have been? I.e. did you finish first (and only the list displayed two karts ahead of you), or did you actually finish third (or something else)?

Can you reproduce this problem? Do you see any inconsistencies in the icon display (assuming you are not using the minimal race gui)? If so, could you try to define DEBUG_KART_RANK in modes/linear_world (there's an #undef somewhere), and give us the output the moment the icon list is incorrect? Note that if AI karts are on a different shortcut, it's hard to define what is correct (i.e. do you measure distance from start, or distance till finish?), and icons might jump if karts go to or come from a shortcut.

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

Re: Cube track question (bug?)

Postby Crendgrim » 29 Jul 2011, 08:53

The problem about The Cube is that STK doesn't show properly who is first. So, if you're taking the ... I think, left way (but it could be the other way around as well, I don't remember exactly), you'll be regarded as being behind the other karts on the right path, though if you drive fast, you finally are displayed as first immediately before the finish line. This looks quite weird, if it's the last lap and a kart seems to be before you, though you win the race...
Crendgrim
 
Posts: 227
Joined: 03 May 2011, 21:59

Re: Cube track question (bug?)

Postby StefanP.MUC » 29 Jul 2011, 09:27

I can confirm this. Just played a quick round on the Cube to review this bug. I played a 4 laps, 4 drivers game.

I was definitly the first one to finish (second one was at least half lap behind). But short before I went throug the finish line my position went up from 1/4 to 3/4. In the summary screen I appeared on first position but my time (~4:30) was around half a minute longer than the second and third place (~ 4:00, it should have been like ~5:00). The fourth place needed, according to the data, around 2/3 longer (~8:00 instead of ~5:00), but the fourth was almost as fast as the other two computer players.

edit: What I also noticed is that on some position of the track the message "Wrong direction" appears, even if you are clearly in the correct dirction. This seems to come from the different height levels crossing each other.
StefanP.MUC
 

Re: Cube track question (bug?)

Postby asciimonster » 29 Jul 2011, 13:01

I know STK has trouble calculating the three valid routes in the cube.
- route 1: Go left on entering, go right at the end of the downward spiral. Exit cube on the right-hand side.
- route 2: Go straight ahead on entering, then turn left at the blue sign. Exit cube on the left-hand side.
- route 3, the long way round: Go left on entering, go left at the end of the downward spiral. Continue straight on. Exit cube on the left-hand side. Basically you now did both route 1 and 2 in sequence.

There is a route that is illegal (indicated by the "go back" signs), therefore your lap will not be counted:
Go straight ahead on entering then take a RIGHT at the blue sign. Exit cube right hand side.

I found that the game has a really hard time figuring out the standings during the lap. I think that route 3 is messing up the calculations...
Also there are some illegal shortcuts possible within the cube I need to adress... :(
asciimonster
 
Posts: 375
Joined: 03 Dec 2009, 18:24

Re: Cube track question (bug?)

Postby utrrrongeeb » 29 Jul 2011, 18:56

While you're thinking about The Cube...

asciimonster {l Wrote}:- route 3, the long way round: Go left on entering, go left at the end of the downward spiral. Continue straight on. Exit cube on the left-hand side. Basically you now did both route 1 and 2 in sequence.

Why is this offered? It looks like a surefire way to get confused, and lose the race.

One other suggestion -- the underside of all the ramps is an ugly grey, which blends together. Could they be textured differently?
Art O.
utrrrongeeb
 
Posts: 4
Joined: 17 Jul 2011, 14:32
Location: Canada

Re: Cube track question (bug?)

Postby Crendgrim » 29 Jul 2011, 19:58

It is meant to be confusing — and the AI takes that route as well. Be careful where you drive! :)
The whole track is confusing, actually..
Crendgrim
 
Posts: 227
Joined: 03 May 2011, 21:59

Re: Cube track question (bug?)

Postby Auria » 29 Jul 2011, 23:32

This is probably a problem with alternative ways; maybe it's time to open a ticket
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: Cube track question (bug?)

Postby Maxxametar » 30 Jul 2011, 21:50

I have made some testing. and think that there are 2 or more bug who cause this problem:
1st bug: I after many test, I got a lap counted twice and I could finish the race 1 lap before the others.
2nd bug:(1 lap, 1 ai[2nd], 1 "human"[1st]) although I was first after ~52 sec the ai time was ~33 sec (right time should be ~1 min) (appears in one of three races)

edit 2nd bug: the ai kart must be 2nd & far behind the 1st kart
Maxxametar
 
Posts: 8
Joined: 03 Jul 2011, 15:22

Re: Cube track question (bug?)

Postby Tuxfan » 30 Jul 2011, 22:56

Confirmation of the 2nd bug: I definitely finished the race with blinky before ogre (in fact he was able to place an anchor on me just after I left the cube, which means the game logic correctly identified me as leading player), but Ogre's time is below mine.
SCREENSHOT-BUG2.jpeg
2nd bug - confirmed
Tuxfan
 
Posts: 92
Joined: 09 Mar 2010, 21:16

Re: Cube track question (bug?)

Postby Arthur » 30 Jul 2011, 23:17

I've seen that 2nd bug as well. Not hard to reproduce.

At times, I've also been leading with quite a gap between me and the rest, but the moment after someone are way past me, and wins the race. No, I'm not that near-sighted, I would have noticed him driving past me, and the distances would have made it impossible (having a good lead on Tux Tollway, and *poof*, he gets a good lead on me). I've not seen the icons switch places at the right moment when it happens, since this happens really seldom. And no, I'm pretty sure it's not a case of me missing the lap line (it happened in the middle of the track). Drives me crazy, but without video evidence it's hard to back it up (and I haven't found a way to reproduce, but it has happened a few times).
Hey pal, I took an oath for justice! "In happy days or tightest tights..." or something like that.
User avatar
Arthur
 
Posts: 1073
Joined: 06 Dec 2009, 00:49

Re: Cube track question (bug?)

Postby Auria » 31 Jul 2011, 03:36

Thanks, I have created a bug report : https://sourceforge.net/apps/trac/super ... ticket/354
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: Cube track question (bug?)

Postby LinuxUser » 01 Aug 2011, 01:46

Arthur {l Wrote}:I've seen that 2nd bug as well. Not hard to reproduce.

At times, I've also been leading with quite a gap between me and the rest, but the moment after someone are way past me, and wins the race. No, I'm not that near-sighted, I would have noticed him driving past me, and the distances would have made it impossible (having a good lead on Tux Tollway, and *poof*, he gets a good lead on me). I've not seen the icons switch places at the right moment when it happens, since this happens really seldom. And no, I'm pretty sure it's not a case of me missing the lap line (it happened in the middle of the track). Drives me crazy, but without video evidence it's hard to back it up (and I haven't found a way to reproduce, but it has happened a few times).

I've seen that too, although admittedly in older versions. I think it seemed to be when a kart got reset just after the lap line, and then put back on the other side but didn't get their lap count reduced (which of course gave them an extra lap). But I could be wrong about what was happening.
LinuxUser
 
Posts: 27
Joined: 06 Apr 2011, 22:38

Re: Cube track question (bug?)

Postby hiker » 01 Aug 2011, 02:35

Hi,

I've updated the ticket with what I guess is the explanation for this bug, and I'll try to fix it.

LinuxUser {l Wrote}:
Arthur {l Wrote}:I've seen that 2nd bug as well. Not hard to reproduce.

At times, I've also been leading with quite a gap between me and the rest, but the moment after someone are way past me, and wins the race. No, I'm not that near-sighted, I would have noticed him driving past me, and the distances would have made it impossible (having a good lead on Tux Tollway, and *poof*, he gets a good lead on me). I've not seen the icons switch places at the right moment when it happens, since this happens really seldom. And no, I'm pretty sure it's not a case of me missing the lap line (it happened in the middle of the track). Drives me crazy, but without video evidence it's hard to back it up (and I haven't found a way to reproduce, but it has happened a few times).

I've seen that too, although admittedly in older versions. I think it seemed to be when a kart got reset just after the lap line, and then put back on the other side but didn't get their lap count reduced (which of course gave them an extra lap). But I could be wrong about what was happening.

The old (pre 0.7) versions might have had this problem, newer versions shouldn't have this issue anymore. Note that esp. in the cube there can be places where a kart suddenly jumps ahead when a shortcut joins back: imagine that you are on a longer path, while the AI is on a shorter one (this can be difficult to see in the best case, impossible in case of the cube ;) ). Now if you are faster than the AI, you will be ahead, since indeed you cover more distance. But once the AI joins your path, it will suddenly be ahead of you (since it had to go less far), and there isn't much we can do about that (well, we could try to somehow make the distance relative to the main driveline distance or so, then it would be more gradual that a kart on a shorter path gets ahead. But this is not trivial for arbitrary graph structures, and I don't think that this jumping ahead is that much of a problem - if you are close enough you can see that e.g. a kart is coming from a shortcut and is ahead of you anyway).

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

Re: Cube track question (bug?)

Postby hiker » 03 Aug 2011, 07:33

Hi,

this should be fixed in r9416. Please let me know if there is still a problem with that track.

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

Who is online

Users browsing this forum: No registered users and 1 guest