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

Question about GreenWorks - DayZ Discord Rich Presence #309

Open
AlexAnimateMp4 opened this issue Feb 26, 2022 · 0 comments
Open

Question about GreenWorks - DayZ Discord Rich Presence #309

AlexAnimateMp4 opened this issue Feb 26, 2022 · 0 comments

Comments

@AlexAnimateMp4
Copy link

Hello.

I'm working on creating a Discord Rich Presence for DayZ.
For this I have to use the Steam API.
The Steam Web API works fine but the problem is that to access it you need a Steam token.
It would be better to use the Steam client directly.
GreenWorks does, I managed to use GreenWorks and retrieve the logged in user's Steam ID.
But except that I need more information, but I don't know if I can retrieve this information with GreenWorks.

I want this information:

https://developer.valvesoftware.com/wiki/Steam_Web_API#GetPlayerSummaries_.28v0002.29

  • The link of the user's Steam profile - profileurl
  • The identifier of the game played - gameid
  • The IP address and port of the server played - gameserverip
  • The Steam ID of the server being played - gameserversteamid
  • The name of the server being played - name
  • The name of the map played - map

I tried getFriendGamePlayed but it doesn't work properly.

Bonus: I would also like to know if with Steam browser protocol or GreenWorks I can launch DayZ directly with command arguments.

Thanks in advance, have a nice day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant