Speedrun timer for SuperTuxKart 1.0
5 years ago
France

The speedrun timer is not included in the main release so we'll need separate modded binaries with it.

I have ported back my code to a recent version but there are a few nasty bugs to fix.

It may take a few days to get both linux and windows binaries after I publish the code.

I suggest to avoid doing full-game runs without the timer mod in the meantime, so all the runs can be timed consistently.

Alistair_Findlay المعجبون بهذا
United States

0.10.0 is 1.0 now! :)

Alistair_Findlay المعجبون بهذا
Tasmania, Australia

I've replaced all instances here of "0.10.0" with "1.0"

Alayan المعجبون بهذا
France

I have identified the source of the nasty bug I talked about in my first post.

    if (player != NULL && (getName() == player->getName()));
        is_current_player = true;

The faulty ; at the end of the line with the if made each player during the saving process be marked as the current player so each of them loaded the current times from the speedrun timer and saved them, which propagated junk times.

The code of the functional speedrun timer can be found here : https://github.com/STK-helper/stk-code/tree/Official1.0SpeedrunTimer

EDIT: I think there is something wrong hurting framerates during races. I'll have to investigate further.

EDIT2: I've found nothing wrong so far... Let me know if you notice something weird when testing it or not.

تم التحرير بواسطة الكاتب 5 years ago
Andet المعجبون بهذا
إحصائيات اللعبة
متابعون
77
جولات سريعة
942
اللاعبون
62
الجولات الأخيرة
آخر المواضيع
نُشرت 3 months ago
games:thread_reply_count
نُشرت 5 months ago
games:thread_reply_count
نُشرت 1 year ago
games:thread_reply_count
نُشرت 1 year ago
games:thread_reply_count
نُشرت 2 years ago
games:thread_reply_count
نُشرت 2 years ago
games:thread_reply_count