Questions tagged [steamworks-api]

The Steamworks API is the official API for development for Steam games, applications, etc. It is available to registered developers who have a Steamworks account. The current version is 1.32.

The Steamworks API is the official API for development for Steam games, applications, etc. It is available to registered developers who have a Steamworks account.

The current version is 1.32.

122 questions
10
votes
1 answer

Creating a dylib file on MacOS for use with Python wrapper of Steamworks API

I am a hobbyist programmer trying to integrate the SteamworksForPython API into a Python-based game. This API is a Python wrapper of the Steamworks API, which only officially supports C++. I am working on MacOS Sierra 10.12.6. Blindly following the…
GrimGrom
  • 1,157
  • 2
  • 8
  • 20
7
votes
0 answers

Reading Steam Controller overlay and render it to a VR scene in SteamVR

Background When using a Steam Controller you can configure the touchpads to be complex menus that show up on the screen when you start touching them. These menus are very handy for games with many controls. They look like this: However when…
Scindix
  • 1,022
  • 12
  • 27
5
votes
1 answer

How to do leaderboards in Steamworks.NET?

I am trying to include leaderboards in my application (a game written in C#, using SteamWorks.NET and based on XNA). Steam is initialized properly. On gamestart I call: SteamAPICall_t hSteamAPICall = SteamUserStats.FindLeaderboard("Most active beta…
ares_games
  • 945
  • 2
  • 14
  • 31
5
votes
2 answers

How to retrieve Steam username using SteamWorks API?

How can I obtain the Steam username of the currently used (logged-in) account in my application using the Steam API (which is up and running). The Steam id can (for example) be obtained by: CSteamID id = SteamUser.GetSteamID(); But I cannot find a…
ares_games
  • 945
  • 2
  • 14
  • 31
5
votes
2 answers

Retrieve a list of installed games from the Steam API

I'm working on a Steam Roulette program, and I'm trying to create filters. One of the filters I'd like to implement is (if the user data was loaded with SteamWorks), is to return a list of games (preferably in App ID form) that he/she has installed…
aytimothy
  • 341
  • 13
  • 23
4
votes
1 answer

Steam API Retrieve Personal Game Data

I'm working on an application that lets you view your csgo match history and watch specified matches directly from the app. Right now I have it working for competitive matches. The way I currently have it working is I request matches as if I were in…
4
votes
1 answer

Access violation on program exit with Steamworks and SFML

I get an exception thrown when the program exits when using Steamworks and SFML together: Exception thrown at 0x00007FFA919D024E (ntdll.dll) in Project1.exe: 0xC0000005: Access violation reading location 0x0000000000000010. I've cut back the program…
Julxzs
  • 658
  • 1
  • 8
  • 21
4
votes
1 answer

How to get steamID from Steamworks API in Unity3D in C#?

I'm coding a game in C# in unity3d. I installed the Steamworks API, and now I see that a lot of things like getPersonaName() and avatar need SteamID to fetch them. I want to know how, even if it's the briefest of explanation, just point me in the…
MG lolenstine
  • 727
  • 7
  • 24
4
votes
1 answer

Steamworks checking if a user is logged in

So the code that I've been using to get a user's Steam ID is: CSteamID uid = SteamUser()->GetSteamID(); uint64 pid = uid.ConvertToUint64(); std::ostringstream sin; sin << pid; std::string s = sin.str(); return s.c_str(); This works just fine, but…
David
  • 21,070
  • 7
  • 57
  • 113
3
votes
1 answer

Error "SteamAPI_Init() failed; ipcserver init failed" when game tries to init Steam on Mac

Full error log is: [S_API FAIL] SteamAPI_Init() failed; ipcserver init failed . [S_API] SteamAPI_Init(): SteamAPI_IsSteamRunning() did not locate a running instance of Steam. [S_API] SteamAPI_Init(): Could not determine Steam client install…
eddybox
  • 335
  • 1
  • 8
3
votes
1 answer

Callbacks are not getting triggered while using Steamworks.NET wrapper

I am trying to get around and understand how to properly use Steamworks.NET C# wrapper as I want to use it with my discord bot. Now, most of the functions work, which uses normal callback methods. I got into a wall when I was trying to use three…
Gromis
  • 87
  • 1
  • 14
3
votes
1 answer

Steam API AVGRATE

How Steam calculates the AVGRATE stats in it's api implementation? https://partner.steamgames.com/doc/features/achievements#AVGRATE When I call update method with a window size of 3600 the result is something that I can not understand how calculated…
HojjatJafary
  • 316
  • 1
  • 10
3
votes
0 answers

Get transactionId from Steam on DLC Purchase

i'm trying to implement some custom handling on SteamDLC payment. When client is loading this client send to our server information about which DLC is bought and which is not. But for accounting purposes i need pair this DLC payment with reports.…
3
votes
1 answer

Steam API getting persona name

I have been following the Steam documentation to a t, but I have gotten to the point where I need to retrieve player names based on the steam ID, and Steam has a function for this in their documentation: const char *pchName =…
David
  • 21,070
  • 7
  • 57
  • 113
2
votes
2 answers

SteamAPI_Init() failed. Refer to Valve's documentation or the comment above this line for more information. | Steamworks.NET

[Steamworks.Net] SteamAPI_Init() failed. Refer to Valve's documentation or the comment above this line for more information. It works fine in the Unity editor, but somehow I get an error with something built for Windows. The code is below. Very…
yuki yuki
  • 65
  • 7
1
2 3
8 9