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

Game server trade offers #91

Closed aligatorr89 closed 7 months ago

aligatorr89 commented 7 months ago

Hi again @DoctorMcKay !

As you know, Valve made Steam API Key redundant, and you need to get access token from user, which is shaddy and unfeasible.

Do you know if we can obtain trade offers from CS2 game server? We can still access singular GetTradeOffer endpoint, and seems like CS2Float is using this now. Or anything usefull that would help us?

I can only show appreciation by rewarding you for a guide, so that's what I will do :)

DoctorMcKay commented 7 months ago

No, why would you think this would be possible? Game servers obviously can't trade.

aligatorr89 commented 7 months ago

What about other ways without using session hijack or accessToken ? Access token is a bit weird to describe users they need to copy paste it from console. Also, there is a chance Steam notices weird activity with it and ban account?

DoctorMcKay commented 7 months ago

I'm not here to engineer your systems for you. What's available is what's available.