Markus
Markus
Hi @87andrewh 👋 Thanks for the report! What's the higher goal here, I assume you want to use that FrameRate for something? Have you considered using `Parser.TickRate` instead? (I know...
That makes sense, thanks for clarifying. If you'd like you can attempt a PR for this (see how `Parser.TickRate()` works). Otherwise I'll try to get to it over the coming...
If you can find another way that'd be great but I'd be happy to accept the fix where we have to advance a frame with a fallback to the demo...
> I was thinking of a way to reopen the demo in a new temporary parser hm, not a fan of that approach tbh. > Oh, I should note that...
could you send a few of these corrupt demos my way? I might have a fix in #237 but I'm not sure, it's a bit messy
> I reeeeally hope I didn't throw you on a wild goose chase due to an old typo. No worries, I have one demo that reproduces this. I just need...
@LarsKoelpin afaik it happens when the map is changed without calling the `stop` command. But just producing testdata locally isn't really valuable as there might be other factors at play....
> I can confirm, that the proposed fix from above works for me tho Sort of, it returns a number that is pretty close to the actual frame-rate, but that...
Hmm, interesting problem. Unfortunately I don't have a quick answer. It would probably be worth it to integrate this directly into the library. Something like `ItemPickup.IsBought` But I think your...
Side note: your current code will think knifes and starter pistols are bought. This may or may not be what you want.