DoctorMcKay / node-globaloffensive

A Node.js module to connect to and interact with the CS2 game coordinator. Mostly used to get item data.
https://www.npmjs.com/package/globaloffensive
MIT License
262 stars 61 forks source link

Q: in CSGO when you click on a friend whilst they are ingame you can request to watch the match, is this something node-globaloffensive can achieve too? #66

Closed iNilo closed 2 years ago

iNilo commented 2 years ago

in CSGO when you click on a friend whilst they are ingame you can request to watch the match, is this something node-globaloffensive can achieve too?

I'm sure the watching itself won't be possible with this library, but I'm trying to explore if I can "watch" a match with code, or at least get enough information with node-globaloffensive to talk to another tool to do its part.

is this a GC thing, or more like a csgo client thing?

Screenshot 2022-02-13 at 12 31 21

Kind regards, iNilo

iNilo commented 2 years ago

https://github.com/DoctorMcKay/node-globaloffensive/issues/23

I'm more looking for "where to get gotv info" since it feels GC is involved somewhere no?

iNilo commented 2 years ago

Discussions in https://dev.doctormckay.com/topic/4109-in-csgo-when-you-click-on-a-friend-whilst-they-are-ingame-you-can-request-to-watch-the-match-is-this-something-node-globaloffensive-can-achieve-too/

m-stilling commented 1 year ago

If there was any way to get a URL for GOTV using node-globaloffensive, I believe you could use it with https://www.npmjs.com/package/demofile DemoFile#parseBroadcast(url). I don't seem to be smart enough to figure this out on my own, though.

Edit: I realize this may not even be enabled for official matchmaking.