TextLib::TimeToText(); Reports not made xx:xx:xxx

You can talk about ManiaScript for ManiaPlanet here

Moderator: English Moderator

Post Reply
User avatar
w1lla
Posts: 2287
Joined: 15 Jun 2010, 11:09
Location: Netherlands
Contact:

TextLib::TimeToText(); Reports not made xx:xx:xxx

Post by w1lla »

Hi,
It seemed this is broken since Alpha stage?!

TextLib::TimeToText(25518, True); doesnt show 0:25:518. but only 0:25:51

Tried couple of things but it doesnt seem to work properly.

With kind regards,

w1lla.
TM² Info
SM Info
QM Info

OS: Windows 10 x64 Professional
MB: MSI 970A-G46
Processor: AMD FX-6300 3500 mHz
RAM Memory: 16 GB DDR3
Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
KB: Logitech G510s
Mouse: Logitech G300s
Mode Creation
ManiaScript Docs
User avatar
Slig
Posts: 637
Joined: 15 Jun 2010, 11:52
Location: TraXicoLand

Re: TextLib::TimeToText(); Reports not made xx:xx:xxx

Post by Slig »

And btw, shouldn't it be 0:25.518 (it's a decimal fraction of second) ?
User avatar
steeffeen
Translator
Translator
Posts: 2463
Joined: 14 Oct 2012, 16:22
Location: Germany

Re: TextLib::TimeToText(); Reports not made xx:xx:xxx

Post by steeffeen »

just wanted to add that it doesn't work properly for > 60 minutes
TextLib::TimeToText(65*60*1000) will output "5:00"
Slig wrote:And btw, shouldn't it be 0:25.518 (it's a decimal fraction of second) ?
actually it's fine ingame, just a small mistake by w1lla ;)
"0:00.123"
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

    ManiaControl, FancyManiaLinks
    User avatar
    w1lla
    Posts: 2287
    Joined: 15 Jun 2010, 11:09
    Location: Netherlands
    Contact:

    Re: TextLib::TimeToText(); Reports not made xx:xx:xxx

    Post by w1lla »

    The scoreboard at tab and end map gives out x:xx.xx so it was basicly two bugs in 1
    Last edited by w1lla on 08 Sep 2013, 08:37, edited 1 time in total.
    TM² Info
    SM Info
    QM Info

    OS: Windows 10 x64 Professional
    MB: MSI 970A-G46
    Processor: AMD FX-6300 3500 mHz
    RAM Memory: 16 GB DDR3
    Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
    KB: Logitech G510s
    Mouse: Logitech G300s
    Mode Creation
    ManiaScript Docs
    User avatar
    steeffeen
    Translator
    Translator
    Posts: 2463
    Joined: 14 Oct 2012, 16:22
    Location: Germany

    Re: TextLib::TimeToText(); Reports not made xx:xx:xxx

    Post by steeffeen »

    w1lla wrote:Really why I scoreboard its still old
    sorry?
      Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

      ManiaControl, FancyManiaLinks
      Post Reply

      Return to “ManiaScript”

      Who is online

      Users browsing this forum: No registered users and 2 guests