Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GOTV+ Broadcasting #53

Open
BeepIsla opened this issue Mar 18, 2024 · 5 comments · May be fixed by #54
Open

GOTV+ Broadcasting #53

BeepIsla opened this issue Mar 18, 2024 · 5 comments · May be fixed by #54
Labels
type/feature New feature or request

Comments

@BeepIsla
Copy link

Hey,

same feature request as the old S1 parser saul/demofile#373

The broadcast URLs for the current major are https://cstv.challengermode.com/major/primary and https://cstv.challengermode.com/major/secondary

I assume its almost identical to the CSGO one, convars are all the same at least

@saul saul linked a pull request Mar 18, 2024 that will close this issue
@saul saul added the type/feature New feature or request label Mar 18, 2024
@saul
Copy link
Owner

saul commented Mar 18, 2024

Hi, thanks for the suggestion.

WIP PR for this here: #54

The protocol is different but it wasn't too hard to reverse engineer. I can't test it fully as I think the stream finished a couple of hours ago.

Give it a shot and let me know how you get on.

@BeepIsla
Copy link
Author

Thanks for the most part it seems to work except I do not seem to receive any Source1GameEvents events, might be just due to how CSTV broadcasting works? I receive other events though such as EntityEvents, GameEvents, and PacketEvents. I am able to read the game state fine (Rounds played, team scores, players, etc)

@saul
Copy link
Owner

saul commented Mar 19, 2024

It's very possible that legacy Source 1 game events aren't available in CS2 broadcasts.

@LaihoE
Copy link

LaihoE commented Mar 21, 2024

I tried parsing the broadcast myself and I'm seeing a bunch of GE_Source1LegacyGameEvent being fired 🤔 Maybe they fixed it?

@BeepIsla
Copy link
Author

Seems like only some events don't fire, like RoundEnd. RoundOfficiallyEnded and PlayerDeath do work for example. Not sure which ones specifically work and don't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants