GithubHelp home page GithubHelp logo

Rounds which do not end about demoinfo HOT 6 CLOSED

statshelix avatar statshelix commented on May 18, 2024
Rounds which do not end

from demoinfo.

Comments (6)

AyukJason avatar AyukJason commented on May 18, 2024

In that output The string "Started Round number: x" is printed in the parser.RoundStart event while the string "Ended Round number: x" is printed in the parser.RoundEnd event. As you can see, there are rounds which do not end, and statistics based on rounds data is thus erroneous. For example: Rounds 1, 2, 4, 5, 6 do not end.

from demoinfo.

main-- avatar main-- commented on May 18, 2024

This is not a bug. The round start and round end events are generated by the server, we just parse them. It's perfectly possible for a demo to have rounds which don't end or even rounds that never start and there's nothing we can do about it. Sorry.

from demoinfo.

AyukJason avatar AyukJason commented on May 18, 2024

ok thanks

from demoinfo.

Calak avatar Calak commented on May 18, 2024

So, maybe generate a round end if a round start with no previous end occurs?

from demoinfo.

moritzuehling avatar moritzuehling commented on May 18, 2024

Out of the scope of this library in my opinion. It might be interesting ti create a demoino-convenient project, that abstracts demoinfo, and fixes this kind of stuff.

from demoinfo.

main-- avatar main-- commented on May 18, 2024

So, maybe generate a round end if a round start with no previous end occurs?

Out of the scope of this library in my opinion.

More than that, it would also be wrong. DemoInfo's job is parsing demo files. If a demo file contains weird data and there simply is no correct way to automatically handle it (like here), then downstream code is going to get broken data from us anyways. Because of that, it's much better to be honest with them so they can try to make the best of it.

from demoinfo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.